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

package com.azure.resourcemanager.subscription.implementation;

import com.azure.resourcemanager.subscription.fluent.models.CanceledSubscriptionIdInner;
import com.azure.resourcemanager.subscription.models.CanceledSubscriptionId;

public final class CanceledSubscriptionIdImpl implements CanceledSubscriptionId {
    private CanceledSubscriptionIdInner innerObject;

    private final com.azure.resourcemanager.subscription.SubscriptionManager serviceManager;

    CanceledSubscriptionIdImpl(
        CanceledSubscriptionIdInner innerObject,
        com.azure.resourcemanager.subscription.SubscriptionManager serviceManager) {
        this.innerObject = innerObject;
        this.serviceManager = serviceManager;
    }

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

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

    private com.azure.resourcemanager.subscription.SubscriptionManager manager() {
        return this.serviceManager;
    }
}
