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

package com.azure.resourcemanager.logic.models;

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

/** The parameters to generate upgraded definition. */
@Fluent
public final class GenerateUpgradedDefinitionParameters {
    /*
     * The target schema version.
     */
    @JsonProperty(value = "targetSchemaVersion")
    private String targetSchemaVersion;

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

    /**
     * Get the targetSchemaVersion property: The target schema version.
     *
     * @return the targetSchemaVersion value.
     */
    public String targetSchemaVersion() {
        return this.targetSchemaVersion;
    }

    /**
     * Set the targetSchemaVersion property: The target schema version.
     *
     * @param targetSchemaVersion the targetSchemaVersion value to set.
     * @return the GenerateUpgradedDefinitionParameters object itself.
     */
    public GenerateUpgradedDefinitionParameters withTargetSchemaVersion(String targetSchemaVersion) {
        this.targetSchemaVersion = targetSchemaVersion;
        return this;
    }

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