ServiceProviderParameterMetadataConstraints Class

  • java.lang.Object
    • com.azure.resourcemanager.botservice.models.ServiceProviderParameterMetadataConstraints

Implements

public final class ServiceProviderParameterMetadataConstraints
implements JsonSerializable<ServiceProviderParameterMetadataConstraints>

the constraints of the bot meta data.

Constructor Summary

Constructor Description
ServiceProviderParameterMetadataConstraints()

Creates an instance of ServiceProviderParameterMetadataConstraints class.

Method Summary

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

Reads an instance of ServiceProviderParameterMetadataConstraints from the JsonReader.

Boolean required()

Get the required property: Whether required the constraints of the bot meta data.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

ServiceProviderParameterMetadataConstraints withRequired(Boolean required)

Set the required property: Whether required the constraints of the bot meta data.

Methods inherited from java.lang.Object

Constructor Details

ServiceProviderParameterMetadataConstraints

public ServiceProviderParameterMetadataConstraints()

Creates an instance of ServiceProviderParameterMetadataConstraints class.

Method Details

fromJson

public static ServiceProviderParameterMetadataConstraints fromJson(JsonReader jsonReader)

Reads an instance of ServiceProviderParameterMetadataConstraints from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

Throws:

IOException

- If an error occurs while reading the ServiceProviderParameterMetadataConstraints.

required

public Boolean required()

Get the required property: Whether required the constraints of the bot meta data.

Returns:

the required value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

withRequired

public ServiceProviderParameterMetadataConstraints withRequired(Boolean required)

Set the required property: Whether required the constraints of the bot meta data.

Parameters:

required - the required value to set.

Returns:

the ServiceProviderParameterMetadataConstraints object itself.

Applies to