// 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.fluent.models;

import com.azure.core.annotation.Immutable;
import com.azure.resourcemanager.avs.models.TrialStatus;
import com.fasterxml.jackson.annotation.JsonProperty;

/** Subscription trial availability. */
@Immutable
public final class TrialInner {
    /*
     * Trial status
     */
    @JsonProperty(value = "status", access = JsonProperty.Access.WRITE_ONLY)
    private TrialStatus status;

    /*
     * Number of trial hosts available
     */
    @JsonProperty(value = "availableHosts", access = JsonProperty.Access.WRITE_ONLY)
    private Integer availableHosts;

    /** Creates an instance of TrialInner class. */
    public TrialInner() {
    }

    /**
     * Get the status property: Trial status.
     *
     * @return the status value.
     */
    public TrialStatus status() {
        return this.status;
    }

    /**
     * Get the availableHosts property: Number of trial hosts available.
     *
     * @return the availableHosts value.
     */
    public Integer availableHosts() {
        return this.availableHosts;
    }

    /**
     * Validates the instance.
     *
     * @throws IllegalArgumentException thrown if the instance is not valid.
     */
    public void validate() {
    }
}
