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

package com.azure.resourcemanager.batchai.implementation;

import com.azure.resourcemanager.batchai.fluent.models.ExperimentInner;
import com.azure.resourcemanager.batchai.models.Experiment;
import com.azure.resourcemanager.batchai.models.ProvisioningState;
import java.time.OffsetDateTime;

public final class ExperimentImpl implements Experiment {
    private ExperimentInner innerObject;

    private final com.azure.resourcemanager.batchai.BatchAIManager serviceManager;

    ExperimentImpl(ExperimentInner innerObject, com.azure.resourcemanager.batchai.BatchAIManager 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 OffsetDateTime creationTime() {
        return this.innerModel().creationTime();
    }

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

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

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

    private com.azure.resourcemanager.batchai.BatchAIManager manager() {
        return this.serviceManager;
    }
}
