// 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.VMExtensionPayloadInner;
import com.azure.resourcemanager.dynatrace.models.VMExtensionPayload;

public final class VMExtensionPayloadImpl implements VMExtensionPayload {
    private VMExtensionPayloadInner innerObject;

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

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

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

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

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

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