ServiceProviderProperties Class

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

Implements

public final class ServiceProviderProperties
implements JsonSerializable<ServiceProviderProperties>

The Object used to describe a Service Provider supported by Bot Service.

Constructor Summary

Constructor Description
ServiceProviderProperties()

Creates an instance of ServiceProviderProperties class.

Method Summary

Modifier and Type Method and Description
String devPortalUrl()

Get the devPortalUrl property: URL of Dev Portal.

String displayName()

Get the displayName property: Display Name of the Service Provider.

static ServiceProviderProperties fromJson(JsonReader jsonReader)

Reads an instance of ServiceProviderProperties from the JsonReader.

String iconUrl()

Get the iconUrl property: The URL of icon.

String id()

Get the id property: Id for Service Provider.

List<ServiceProviderParameter> parameters()

Get the parameters property: The list of parameters for the Service Provider.

String serviceProviderName()

Get the serviceProviderName property: Name of the Service Provider.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

ServiceProviderProperties withIconUrl(String iconUrl)

Set the iconUrl property: The URL of icon.

ServiceProviderProperties withParameters(List<ServiceProviderParameter> parameters)

Set the parameters property: The list of parameters for the Service Provider.

Methods inherited from java.lang.Object

Constructor Details

ServiceProviderProperties

public ServiceProviderProperties()

Creates an instance of ServiceProviderProperties class.

Method Details

devPortalUrl

public String devPortalUrl()

Get the devPortalUrl property: URL of Dev Portal.

Returns:

the devPortalUrl value.

displayName

public String displayName()

Get the displayName property: Display Name of the Service Provider.

Returns:

the displayName value.

fromJson

public static ServiceProviderProperties fromJson(JsonReader jsonReader)

Reads an instance of ServiceProviderProperties from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

iconUrl

public String iconUrl()

Get the iconUrl property: The URL of icon.

Returns:

the iconUrl value.

id

public String id()

Get the id property: Id for Service Provider.

Returns:

the id value.

parameters

public List<ServiceProviderParameter> parameters()

Get the parameters property: The list of parameters for the Service Provider.

Returns:

the parameters value.

serviceProviderName

public String serviceProviderName()

Get the serviceProviderName property: Name of the Service Provider.

Returns:

the serviceProviderName value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

withIconUrl

public ServiceProviderProperties withIconUrl(String iconUrl)

Set the iconUrl property: The URL of icon.

Parameters:

iconUrl - the iconUrl value to set.

Returns:

the ServiceProviderProperties object itself.

withParameters

public ServiceProviderProperties withParameters(List<ServiceProviderParameter> parameters)

Set the parameters property: The list of parameters for the Service Provider.

Parameters:

parameters - the parameters value to set.

Returns:

the ServiceProviderProperties object itself.

Applies to