// 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.SavingsPlanModelInner;
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.ExtendedStatusInfo;
import com.azure.resourcemanager.billingbenefits.models.ProvisioningState;
import com.azure.resourcemanager.billingbenefits.models.RenewProperties;
import com.azure.resourcemanager.billingbenefits.models.SavingsPlanModel;
import com.azure.resourcemanager.billingbenefits.models.Sku;
import com.azure.resourcemanager.billingbenefits.models.Term;
import com.azure.resourcemanager.billingbenefits.models.Utilization;
import java.time.OffsetDateTime;

public final class SavingsPlanModelImpl implements SavingsPlanModel {
    private SavingsPlanModelInner innerObject;

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

    SavingsPlanModelImpl(
        SavingsPlanModelInner 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 SystemData systemData() {
        return this.innerModel().systemData();
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

    public OffsetDateTime effectiveDateTime() {
        return this.innerModel().effectiveDateTime();
    }

    public OffsetDateTime expiryDateTime() {
        return this.innerModel().expiryDateTime();
    }

    public OffsetDateTime purchaseDateTime() {
        return this.innerModel().purchaseDateTime();
    }

    public OffsetDateTime benefitStartTime() {
        return this.innerModel().benefitStartTime();
    }

    public ExtendedStatusInfo extendedStatusInfo() {
        return this.innerModel().extendedStatusInfo();
    }

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

    public Utilization utilization() {
        return this.innerModel().utilization();
    }

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

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

    public RenewProperties renewProperties() {
        return this.innerModel().renewProperties();
    }

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

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