Class ServiceProviderProperties
java.lang.Object
com.azure.resourcemanager.botservice.models.ServiceProviderProperties
- All Implemented Interfaces:
com.azure.json.JsonSerializable<ServiceProviderProperties>
public final class ServiceProviderProperties
extends Object
implements com.azure.json.JsonSerializable<ServiceProviderProperties>
The Object used to describe a Service Provider supported by Bot Service.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of ServiceProviderProperties class. -
Method Summary
Modifier and TypeMethodDescriptionGet the devPortalUrl property: URL of Dev Portal.Get the displayName property: Display Name of the Service Provider.static ServiceProviderPropertiesfromJson(com.azure.json.JsonReader jsonReader) Reads an instance of ServiceProviderProperties from the JsonReader.iconUrl()Get the iconUrl property: The URL of icon.id()Get the id property: Id for Service Provider.Get the parameters property: The list of parameters for the Service Provider.Get the serviceProviderName property: Name of the Service Provider.com.azure.json.JsonWritertoJson(com.azure.json.JsonWriter jsonWriter) voidvalidate()Validates the instance.withIconUrl(String iconUrl) Set the iconUrl property: The URL of icon.withParameters(List<ServiceProviderParameter> parameters) Set the parameters property: The list of parameters for the Service Provider.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.azure.json.JsonSerializable
toJson, toJson, toJsonBytes, toJsonString
-
Constructor Details
-
ServiceProviderProperties
public ServiceProviderProperties()Creates an instance of ServiceProviderProperties class.
-
-
Method Details
-
id
Get the id property: Id for Service Provider.- Returns:
- the id value.
-
displayName
Get the displayName property: Display Name of the Service Provider.- Returns:
- the displayName value.
-
serviceProviderName
Get the serviceProviderName property: Name of the Service Provider.- Returns:
- the serviceProviderName value.
-
devPortalUrl
Get the devPortalUrl property: URL of Dev Portal.- Returns:
- the devPortalUrl value.
-
iconUrl
Get the iconUrl property: The URL of icon.- Returns:
- the iconUrl value.
-
withIconUrl
Set the iconUrl property: The URL of icon.- Parameters:
iconUrl- the iconUrl value to set.- Returns:
- the ServiceProviderProperties object itself.
-
parameters
Get the parameters property: The list of parameters for the Service Provider.- Returns:
- the parameters value.
-
withParameters
Set the parameters property: The list of parameters for the Service Provider.- Parameters:
parameters- the parameters value to set.- Returns:
- the ServiceProviderProperties object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
toJson
- Specified by:
toJsonin interfacecom.azure.json.JsonSerializable<ServiceProviderProperties>- Throws:
IOException
-
fromJson
public static ServiceProviderProperties fromJson(com.azure.json.JsonReader jsonReader) throws IOException 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.
-