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

package com.azure.resourcemanager.extendedlocation.implementation;

import com.azure.resourcemanager.extendedlocation.fluent.models.CustomLocationOperationInner;
import com.azure.resourcemanager.extendedlocation.models.CustomLocationOperation;

public final class CustomLocationOperationImpl implements CustomLocationOperation {
    private CustomLocationOperationInner innerObject;

    private final com.azure.resourcemanager.extendedlocation.CustomLocationsManager serviceManager;

    CustomLocationOperationImpl(
        CustomLocationOperationInner innerObject,
        com.azure.resourcemanager.extendedlocation.CustomLocationsManager serviceManager) {
        this.innerObject = innerObject;
        this.serviceManager = serviceManager;
    }

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

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

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

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

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

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

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

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

    private com.azure.resourcemanager.extendedlocation.CustomLocationsManager manager() {
        return this.serviceManager;
    }
}
