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

package com.azure.resourcemanager.managednetworkfabric.implementation;

import com.azure.resourcemanager.managednetworkfabric.fluent.models.GetDeviceStatusPropertiesInner;
import com.azure.resourcemanager.managednetworkfabric.models.GetDeviceStatusProperties;
import com.azure.resourcemanager.managednetworkfabric.models.OperationalStatus;
import com.azure.resourcemanager.managednetworkfabric.models.PowerCycleState;

public final class GetDeviceStatusPropertiesImpl implements GetDeviceStatusProperties {
    private GetDeviceStatusPropertiesInner innerObject;

    private final com.azure.resourcemanager.managednetworkfabric.ManagedNetworkFabricManager serviceManager;

    GetDeviceStatusPropertiesImpl(
        GetDeviceStatusPropertiesInner innerObject,
        com.azure.resourcemanager.managednetworkfabric.ManagedNetworkFabricManager serviceManager) {
        this.innerObject = innerObject;
        this.serviceManager = serviceManager;
    }

    public OperationalStatus operationalStatus() {
        return this.innerModel().operationalStatus();
    }

    public PowerCycleState powerCycleState() {
        return this.innerModel().powerCycleState();
    }

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

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

    private com.azure.resourcemanager.managednetworkfabric.ManagedNetworkFabricManager manager() {
        return this.serviceManager;
    }
}
