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

package com.azure.resourcemanager.apimanagement.models;

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

/** API Version set base parameters. */
@Fluent
public class ApiVersionSetEntityBase {
    /*
     * Description of API Version Set.
     */
    @JsonProperty(value = "description")
    private String description;

    /*
     * Name of query parameter that indicates the API Version if
     * versioningScheme is set to `query`.
     */
    @JsonProperty(value = "versionQueryName")
    private String versionQueryName;

    /*
     * Name of HTTP header parameter that indicates the API Version if
     * versioningScheme is set to `header`.
     */
    @JsonProperty(value = "versionHeaderName")
    private String versionHeaderName;

    /**
     * Get the description property: Description of API Version Set.
     *
     * @return the description value.
     */
    public String description() {
        return this.description;
    }

    /**
     * Set the description property: Description of API Version Set.
     *
     * @param description the description value to set.
     * @return the ApiVersionSetEntityBase object itself.
     */
    public ApiVersionSetEntityBase withDescription(String description) {
        this.description = description;
        return this;
    }

    /**
     * Get the versionQueryName property: Name of query parameter that indicates the API Version if versioningScheme is
     * set to `query`.
     *
     * @return the versionQueryName value.
     */
    public String versionQueryName() {
        return this.versionQueryName;
    }

    /**
     * Set the versionQueryName property: Name of query parameter that indicates the API Version if versioningScheme is
     * set to `query`.
     *
     * @param versionQueryName the versionQueryName value to set.
     * @return the ApiVersionSetEntityBase object itself.
     */
    public ApiVersionSetEntityBase withVersionQueryName(String versionQueryName) {
        this.versionQueryName = versionQueryName;
        return this;
    }

    /**
     * Get the versionHeaderName property: Name of HTTP header parameter that indicates the API Version if
     * versioningScheme is set to `header`.
     *
     * @return the versionHeaderName value.
     */
    public String versionHeaderName() {
        return this.versionHeaderName;
    }

    /**
     * Set the versionHeaderName property: Name of HTTP header parameter that indicates the API Version if
     * versioningScheme is set to `header`.
     *
     * @param versionHeaderName the versionHeaderName value to set.
     * @return the ApiVersionSetEntityBase object itself.
     */
    public ApiVersionSetEntityBase withVersionHeaderName(String versionHeaderName) {
        this.versionHeaderName = versionHeaderName;
        return this;
    }

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