Поделиться через


ParameterSpecification Class

  • java.lang.Object
    • com.azure.analytics.synapse.artifacts.models.ParameterSpecification

Implements

public final class ParameterSpecification
implements JsonSerializable<ParameterSpecification>

Definition of a single parameter for an entity.

Constructor Summary

Constructor Description
ParameterSpecification()

Creates an instance of ParameterSpecification class.

Method Summary

Modifier and Type Method and Description
static ParameterSpecification fromJson(JsonReader jsonReader)

Reads an instance of ParameterSpecification from the JsonReader.

Object getDefaultValue()

Get the defaultValue property: Default value of parameter.

ParameterType getType()

Get the type property: Parameter type.

ParameterSpecification setDefaultValue(Object defaultValue)

Set the defaultValue property: Default value of parameter.

ParameterSpecification setType(ParameterType type)

Set the type property: Parameter type.

JsonWriter toJson(JsonWriter jsonWriter)

Methods inherited from java.lang.Object

Constructor Details

ParameterSpecification

public ParameterSpecification()

Creates an instance of ParameterSpecification class.

Method Details

fromJson

public static ParameterSpecification fromJson(JsonReader jsonReader)

Reads an instance of ParameterSpecification from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of ParameterSpecification if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.

Throws:

IOException

- If the deserialized JSON object was missing any required properties.

getDefaultValue

public Object getDefaultValue()

Get the defaultValue property: Default value of parameter.

Returns:

the defaultValue value.

getType

public ParameterType getType()

Get the type property: Parameter type.

Returns:

the type value.

setDefaultValue

public ParameterSpecification setDefaultValue(Object defaultValue)

Set the defaultValue property: Default value of parameter.

Parameters:

defaultValue - the defaultValue value to set.

Returns:

the ParameterSpecification object itself.

setType

public ParameterSpecification setType(ParameterType type)

Set the type property: Parameter type.

Parameters:

type - the type value to set.

Returns:

the ParameterSpecification object itself.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

Applies to