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

package com.azure.resourcemanager.networkcloud.models;

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

/** AvailableUpgrade represents an upgrade available for a Kubernetes cluster. */
@Immutable
public final class AvailableUpgrade {
    /*
     * The version lifecycle indicator.
     */
    @JsonProperty(value = "availabilityLifecycle", access = JsonProperty.Access.WRITE_ONLY)
    private AvailabilityLifecycle availabilityLifecycle;

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

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

    /**
     * Get the availabilityLifecycle property: The version lifecycle indicator.
     *
     * @return the availabilityLifecycle value.
     */
    public AvailabilityLifecycle availabilityLifecycle() {
        return this.availabilityLifecycle;
    }

    /**
     * Get the version property: The version available for upgrading.
     *
     * @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() {
    }
}
