Share via


ServiceProviderParameterMetadata Class

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

Implements

public final class ServiceProviderParameterMetadata
implements JsonSerializable<ServiceProviderParameterMetadata>

Meta data for the Service Provider.

Constructor Summary

Constructor Description
ServiceProviderParameterMetadata()

Creates an instance of ServiceProviderParameterMetadata class.

Method Summary

Modifier and Type Method and Description
ServiceProviderParameterMetadataConstraints constraints()

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

static ServiceProviderParameterMetadata fromJson(JsonReader jsonReader)

Reads an instance of ServiceProviderParameterMetadata from the JsonReader.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

ServiceProviderParameterMetadata withConstraints(ServiceProviderParameterMetadataConstraints constraints)

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

Methods inherited from java.lang.Object

Constructor Details

ServiceProviderParameterMetadata

public ServiceProviderParameterMetadata()

Creates an instance of ServiceProviderParameterMetadata class.

Method Details

constraints

public ServiceProviderParameterMetadataConstraints constraints()

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

Returns:

the constraints value.

fromJson

public static ServiceProviderParameterMetadata fromJson(JsonReader jsonReader)

Reads an instance of ServiceProviderParameterMetadata from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of ServiceProviderParameterMetadata 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 ServiceProviderParameterMetadata.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

withConstraints

public ServiceProviderParameterMetadata withConstraints(ServiceProviderParameterMetadataConstraints constraints)

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

Parameters:

constraints - the constraints value to set.

Returns:

the ServiceProviderParameterMetadata object itself.

Applies to