ServiceProvider Class

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

Implements

public final class ServiceProvider
implements JsonSerializable<ServiceProvider>

Service Provider Definition.

Constructor Summary

Constructor Description
ServiceProvider()

Creates an instance of ServiceProvider class.

Method Summary

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

Reads an instance of ServiceProvider from the JsonReader.

ServiceProviderProperties properties()

Get the properties property: The Properties of a Service Provider Object.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

ServiceProvider withProperties(ServiceProviderProperties properties)

Set the properties property: The Properties of a Service Provider Object.

Methods inherited from java.lang.Object

Constructor Details

ServiceProvider

public ServiceProvider()

Creates an instance of ServiceProvider class.

Method Details

fromJson

public static ServiceProvider fromJson(JsonReader jsonReader)

Reads an instance of ServiceProvider from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

properties

public ServiceProviderProperties properties()

Get the properties property: The Properties of a Service Provider Object.

Returns:

the properties value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

withProperties

public ServiceProvider withProperties(ServiceProviderProperties properties)

Set the properties property: The Properties of a Service Provider Object.

Parameters:

properties - the properties value to set.

Returns:

the ServiceProvider object itself.

Applies to