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

package com.azure.resourcemanager.cognitiveservices.implementation;

import com.azure.resourcemanager.cognitiveservices.fluent.models.CommitmentTierInner;
import com.azure.resourcemanager.cognitiveservices.models.CommitmentCost;
import com.azure.resourcemanager.cognitiveservices.models.CommitmentQuota;
import com.azure.resourcemanager.cognitiveservices.models.CommitmentTier;
import com.azure.resourcemanager.cognitiveservices.models.HostingModel;

public final class CommitmentTierImpl implements CommitmentTier {
    private CommitmentTierInner innerObject;

    private final com.azure.resourcemanager.cognitiveservices.CognitiveServicesManager serviceManager;

    CommitmentTierImpl(
        CommitmentTierInner innerObject,
        com.azure.resourcemanager.cognitiveservices.CognitiveServicesManager serviceManager) {
        this.innerObject = innerObject;
        this.serviceManager = serviceManager;
    }

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

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

    public HostingModel hostingModel() {
        return this.innerModel().hostingModel();
    }

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

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

    public Integer maxCount() {
        return this.innerModel().maxCount();
    }

    public CommitmentQuota quota() {
        return this.innerModel().quota();
    }

    public CommitmentCost cost() {
        return this.innerModel().cost();
    }

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

    private com.azure.resourcemanager.cognitiveservices.CognitiveServicesManager manager() {
        return this.serviceManager;
    }
}
