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

package com.azure.resourcemanager.resourceconnector.models;

import com.azure.core.annotation.Immutable;
import com.fasterxml.jackson.annotation.JsonProperty;

/** The SupportedVersionCatalogVersionData object for appliance. */
@Immutable
public final class SupportedVersionCatalogVersionData {
    /*
     * The image audience name for the version available for upgrade.
     */
    @JsonProperty(value = "audience", access = JsonProperty.Access.WRITE_ONLY)
    private String audience;

    /*
     * The image catalog name for the version available for upgrade.
     */
    @JsonProperty(value = "catalog", access = JsonProperty.Access.WRITE_ONLY)
    private String catalog;

    /*
     * The image offer name for the version available for upgrade.
     */
    @JsonProperty(value = "offer", access = JsonProperty.Access.WRITE_ONLY)
    private String offer;

    /*
     * The image version for the version available for upgrade.
     */
    @JsonProperty(value = "version", access = JsonProperty.Access.WRITE_ONLY)
    private String version;

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

    /**
     * Get the audience property: The image audience name for the version available for upgrade.
     *
     * @return the audience value.
     */
    public String audience() {
        return this.audience;
    }

    /**
     * Get the catalog property: The image catalog name for the version available for upgrade.
     *
     * @return the catalog value.
     */
    public String catalog() {
        return this.catalog;
    }

    /**
     * Get the offer property: The image offer name for the version available for upgrade.
     *
     * @return the offer value.
     */
    public String offer() {
        return this.offer;
    }

    /**
     * Get the version property: The image version for the version available for upgrade.
     *
     * @return the version value.
     */
    public String version() {
        return this.version;
    }

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