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

package com.azure.resourcemanager.fluidrelay.implementation;

import com.azure.core.management.SystemData;
import com.azure.resourcemanager.fluidrelay.fluent.models.FluidRelayContainerInner;
import com.azure.resourcemanager.fluidrelay.models.FluidRelayContainer;
import com.azure.resourcemanager.fluidrelay.models.ProvisioningState;
import java.time.OffsetDateTime;

public final class FluidRelayContainerImpl implements FluidRelayContainer {
    private FluidRelayContainerInner innerObject;

    private final com.azure.resourcemanager.fluidrelay.FluidRelayManager serviceManager;

    FluidRelayContainerImpl(
        FluidRelayContainerInner innerObject, com.azure.resourcemanager.fluidrelay.FluidRelayManager 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 SystemData systemData() {
        return this.innerModel().systemData();
    }

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

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

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

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

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

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

    private com.azure.resourcemanager.fluidrelay.FluidRelayManager manager() {
        return this.serviceManager;
    }
}
