// 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.AgentRegistrationInner;
import com.azure.resourcemanager.automation.models.AgentRegistration;
import com.azure.resourcemanager.automation.models.AgentRegistrationKeys;

public final class AgentRegistrationImpl implements AgentRegistration {
    private AgentRegistrationInner innerObject;

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

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

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

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

    public AgentRegistrationKeys keys() {
        return this.innerModel().keys();
    }

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

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

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