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

package com.azure.resourcemanager.servicefabric.fluent.models;

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

/**
 * The list of intermediate cluster code versions for an upgrade or downgrade. Or minimum and maximum upgradable version
 * if no target was given.
 */
@Fluent
public final class UpgradableVersionPathResultInner {
    /*
     * The supportedPath property.
     */
    @JsonProperty(value = "supportedPath")
    private List<String> supportedPath;

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

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

    /**
     * Set the supportedPath property: The supportedPath property.
     *
     * @param supportedPath the supportedPath value to set.
     * @return the UpgradableVersionPathResultInner object itself.
     */
    public UpgradableVersionPathResultInner withSupportedPath(List<String> supportedPath) {
        this.supportedPath = supportedPath;
        return this;
    }

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