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

package com.azure.resourcemanager.dynatrace.implementation;

import com.azure.resourcemanager.dynatrace.fluent.models.LinkableEnvironmentResponseInner;
import com.azure.resourcemanager.dynatrace.models.LinkableEnvironmentResponse;
import com.azure.resourcemanager.dynatrace.models.PlanData;

public final class LinkableEnvironmentResponseImpl implements LinkableEnvironmentResponse {
    private LinkableEnvironmentResponseInner innerObject;

    private final com.azure.resourcemanager.dynatrace.DynatraceManager serviceManager;

    LinkableEnvironmentResponseImpl(
        LinkableEnvironmentResponseInner innerObject,
        com.azure.resourcemanager.dynatrace.DynatraceManager serviceManager) {
        this.innerObject = innerObject;
        this.serviceManager = serviceManager;
    }

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

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

    public PlanData planData() {
        return this.innerModel().planData();
    }

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

    private com.azure.resourcemanager.dynatrace.DynatraceManager manager() {
        return this.serviceManager;
    }
}
