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

package com.azure.resourcemanager.labservices.models;

import com.azure.core.annotation.Immutable;
import com.fasterxml.jackson.annotation.JsonProperty;
import java.util.List;

/** The restriction details. */
@Immutable
public final class LabServicesSkuRestrictions {
    /*
     * The type of restriction.
     */
    @JsonProperty(value = "type", access = JsonProperty.Access.WRITE_ONLY)
    private RestrictionType type;

    /*
     * The values of the restriction.
     */
    @JsonProperty(value = "values", access = JsonProperty.Access.WRITE_ONLY)
    private List<String> values;

    /*
     * The reason for the restriction.
     */
    @JsonProperty(value = "reasonCode", access = JsonProperty.Access.WRITE_ONLY)
    private RestrictionReasonCode reasonCode;

    /**
     * Get the type property: The type of restriction.
     *
     * @return the type value.
     */
    public RestrictionType type() {
        return this.type;
    }

    /**
     * Get the values property: The values of the restriction.
     *
     * @return the values value.
     */
    public List<String> values() {
        return this.values;
    }

    /**
     * Get the reasonCode property: The reason for the restriction.
     *
     * @return the reasonCode value.
     */
    public RestrictionReasonCode reasonCode() {
        return this.reasonCode;
    }

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