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

package com.azure.analytics.synapse.artifacts.models;

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

/** Definition of a single parameter for an entity. */
@Fluent
public final class ParameterSpecification {
    /*
     * Parameter type.
     */
    @JsonProperty(value = "type", required = true)
    private ParameterType type;

    /*
     * Default value of parameter.
     */
    @JsonProperty(value = "defaultValue")
    private Object defaultValue;

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

    /**
     * Get the type property: Parameter type.
     *
     * @return the type value.
     */
    public ParameterType getType() {
        return this.type;
    }

    /**
     * Set the type property: Parameter type.
     *
     * @param type the type value to set.
     * @return the ParameterSpecification object itself.
     */
    public ParameterSpecification setType(ParameterType type) {
        this.type = type;
        return this;
    }

    /**
     * Get the defaultValue property: Default value of parameter.
     *
     * @return the defaultValue value.
     */
    public Object getDefaultValue() {
        return this.defaultValue;
    }

    /**
     * Set the defaultValue property: Default value of parameter.
     *
     * @param defaultValue the defaultValue value to set.
     * @return the ParameterSpecification object itself.
     */
    public ParameterSpecification setDefaultValue(Object defaultValue) {
        this.defaultValue = defaultValue;
        return this;
    }
}
