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

package com.azure.resourcemanager.avs.implementation;

import com.azure.resourcemanager.avs.fluent.models.TrialInner;
import com.azure.resourcemanager.avs.models.Trial;
import com.azure.resourcemanager.avs.models.TrialStatus;

public final class TrialImpl implements Trial {
    private TrialInner innerObject;

    private final com.azure.resourcemanager.avs.AvsManager serviceManager;

    TrialImpl(TrialInner innerObject, com.azure.resourcemanager.avs.AvsManager serviceManager) {
        this.innerObject = innerObject;
        this.serviceManager = serviceManager;
    }

    public TrialStatus status() {
        return this.innerModel().status();
    }

    public Integer availableHosts() {
        return this.innerModel().availableHosts();
    }

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

    private com.azure.resourcemanager.avs.AvsManager manager() {
        return this.serviceManager;
    }
}
