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

package com.azure.resourcemanager.billingbenefits.implementation;

import com.azure.core.management.SystemData;
import com.azure.resourcemanager.billingbenefits.fluent.models.SavingsPlanOrderAliasModelInner;
import com.azure.resourcemanager.billingbenefits.models.AppliedScopeProperties;
import com.azure.resourcemanager.billingbenefits.models.AppliedScopeType;
import com.azure.resourcemanager.billingbenefits.models.BillingPlan;
import com.azure.resourcemanager.billingbenefits.models.Commitment;
import com.azure.resourcemanager.billingbenefits.models.ProvisioningState;
import com.azure.resourcemanager.billingbenefits.models.SavingsPlanOrderAliasModel;
import com.azure.resourcemanager.billingbenefits.models.Sku;
import com.azure.resourcemanager.billingbenefits.models.Term;

public final class SavingsPlanOrderAliasModelImpl implements SavingsPlanOrderAliasModel {
    private SavingsPlanOrderAliasModelInner innerObject;

    private final com.azure.resourcemanager.billingbenefits.BillingBenefitsManager serviceManager;

    SavingsPlanOrderAliasModelImpl(
        SavingsPlanOrderAliasModelInner innerObject,
        com.azure.resourcemanager.billingbenefits.BillingBenefitsManager serviceManager) {
        this.innerObject = innerObject;
        this.serviceManager = serviceManager;
    }

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

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

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

    public Sku sku() {
        return this.innerModel().sku();
    }

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

    public SystemData systemData() {
        return this.innerModel().systemData();
    }

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

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

    public ProvisioningState provisioningState() {
        return this.innerModel().provisioningState();
    }

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

    public Term term() {
        return this.innerModel().term();
    }

    public BillingPlan billingPlan() {
        return this.innerModel().billingPlan();
    }

    public AppliedScopeType appliedScopeType() {
        return this.innerModel().appliedScopeType();
    }

    public AppliedScopeProperties appliedScopeProperties() {
        return this.innerModel().appliedScopeProperties();
    }

    public Commitment commitment() {
        return this.innerModel().commitment();
    }

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

    private com.azure.resourcemanager.billingbenefits.BillingBenefitsManager manager() {
        return this.serviceManager;
    }
}
