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

package com.azure.resourcemanager.apimanagement.implementation;

import com.azure.resourcemanager.apimanagement.fluent.models.TagResourceContractInner;
import com.azure.resourcemanager.apimanagement.models.ApiTagResourceContractProperties;
import com.azure.resourcemanager.apimanagement.models.OperationTagResourceContractProperties;
import com.azure.resourcemanager.apimanagement.models.ProductTagResourceContractProperties;
import com.azure.resourcemanager.apimanagement.models.TagResourceContract;
import com.azure.resourcemanager.apimanagement.models.TagResourceContractProperties;

public final class TagResourceContractImpl implements TagResourceContract {
    private TagResourceContractInner innerObject;

    private final com.azure.resourcemanager.apimanagement.ApiManagementManager serviceManager;

    TagResourceContractImpl(
        TagResourceContractInner innerObject,
        com.azure.resourcemanager.apimanagement.ApiManagementManager serviceManager) {
        this.innerObject = innerObject;
        this.serviceManager = serviceManager;
    }

    public TagResourceContractProperties tag() {
        return this.innerModel().tag();
    }

    public ApiTagResourceContractProperties api() {
        return this.innerModel().api();
    }

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

    public ProductTagResourceContractProperties product() {
        return this.innerModel().product();
    }

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

    private com.azure.resourcemanager.apimanagement.ApiManagementManager manager() {
        return this.serviceManager;
    }
}
