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

package com.azure.resourcemanager.azureadexternalidentities.implementation;

import com.azure.resourcemanager.azureadexternalidentities.fluent.models.OperationDetailInner;
import com.azure.resourcemanager.azureadexternalidentities.models.OperationDetail;
import com.azure.resourcemanager.azureadexternalidentities.models.OperationDisplay;

public final class OperationDetailImpl implements OperationDetail {
    private OperationDetailInner innerObject;

    private final com.azure.resourcemanager.azureadexternalidentities.ExternalIdentitiesConfigurationManager
        serviceManager;

    OperationDetailImpl(
        OperationDetailInner innerObject,
        com.azure.resourcemanager.azureadexternalidentities.ExternalIdentitiesConfigurationManager serviceManager) {
        this.innerObject = innerObject;
        this.serviceManager = serviceManager;
    }

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

    public Boolean isDataAction() {
        return this.innerModel().isDataAction();
    }

    public OperationDisplay display() {
        return this.innerModel().display();
    }

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

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

    private com.azure.resourcemanager.azureadexternalidentities.ExternalIdentitiesConfigurationManager manager() {
        return this.serviceManager;
    }
}
