// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// Code generated by Microsoft (R) AutoRest Code Generator.

package com.azure.resourcemanager.automation.implementation;

import com.azure.resourcemanager.automation.fluent.models.GraphicalRunbookContentInner;
import com.azure.resourcemanager.automation.models.GraphicalRunbookContent;
import com.azure.resourcemanager.automation.models.RawGraphicalRunbookContent;

public final class GraphicalRunbookContentImpl implements GraphicalRunbookContent {
    private GraphicalRunbookContentInner innerObject;

    private final com.azure.resourcemanager.automation.AutomationManager serviceManager;

    GraphicalRunbookContentImpl(
        GraphicalRunbookContentInner innerObject,
        com.azure.resourcemanager.automation.AutomationManager serviceManager) {
        this.innerObject = innerObject;
        this.serviceManager = serviceManager;
    }

    public RawGraphicalRunbookContent rawContent() {
        return this.innerModel().rawContent();
    }

    public String graphRunbookJson() {
        return this.innerModel().graphRunbookJson();
    }

    public GraphicalRunbookContentInner innerModel() {
        return this.innerObject;
    }

    private com.azure.resourcemanager.automation.AutomationManager manager() {
        return this.serviceManager;
    }
}
