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

package com.azure.resourcemanager.hybridnetwork.implementation;

import com.azure.resourcemanager.hybridnetwork.fluent.models.DeviceRegistrationKeyInner;
import com.azure.resourcemanager.hybridnetwork.models.DeviceRegistrationKey;

public final class DeviceRegistrationKeyImpl implements DeviceRegistrationKey {
    private DeviceRegistrationKeyInner innerObject;

    private final com.azure.resourcemanager.hybridnetwork.HybridNetworkManager serviceManager;

    DeviceRegistrationKeyImpl(
        DeviceRegistrationKeyInner innerObject,
        com.azure.resourcemanager.hybridnetwork.HybridNetworkManager serviceManager) {
        this.innerObject = innerObject;
        this.serviceManager = serviceManager;
    }

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

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

    private com.azure.resourcemanager.hybridnetwork.HybridNetworkManager manager() {
        return this.serviceManager;
    }
}
