Class ServiceProviderParameter
java.lang.Object
com.azure.resourcemanager.botservice.models.ServiceProviderParameter
- All Implemented Interfaces:
com.azure.json.JsonSerializable<ServiceProviderParameter>
public final class ServiceProviderParameter
extends Object
implements com.azure.json.JsonSerializable<ServiceProviderParameter>
Extra Parameters specific to each Service Provider.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of ServiceProviderParameter class. -
Method Summary
Modifier and TypeMethodDescriptionGet the defaultProperty property: Default Name for the Service Provider.Get the description property: Description of the Service Provider.Get the displayName property: Display Name of the Service Provider.static ServiceProviderParameterfromJson(com.azure.json.JsonReader jsonReader) Reads an instance of ServiceProviderParameter from the JsonReader.helpUrl()Get the helpUrl property: Help Url for the Service Provider.metadata()Get the metadata property: Meta data for the Service Provider.name()Get the name property: Name of the Service Provider.com.azure.json.JsonWritertoJson(com.azure.json.JsonWriter jsonWriter) type()Get the type property: Type of the Service Provider.voidvalidate()Validates the instance.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
-
ServiceProviderParameter
public ServiceProviderParameter()Creates an instance of ServiceProviderParameter class.
-
-
Method Details
-
name
Get the name property: Name of the Service Provider.- Returns:
- the name value.
-
type
Get the type property: Type of the Service Provider.- Returns:
- the type value.
-
displayName
Get the displayName property: Display Name of the Service Provider.- Returns:
- the displayName value.
-
description
Get the description property: Description of the Service Provider.- Returns:
- the description value.
-
helpUrl
Get the helpUrl property: Help Url for the Service Provider.- Returns:
- the helpUrl value.
-
defaultProperty
Get the defaultProperty property: Default Name for the Service Provider.- Returns:
- the defaultProperty value.
-
metadata
Get the metadata property: Meta data for the Service Provider.- Returns:
- the metadata value.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
toJson
- Specified by:
toJsonin interfacecom.azure.json.JsonSerializable<ServiceProviderParameter>- Throws:
IOException
-
fromJson
public static ServiceProviderParameter fromJson(com.azure.json.JsonReader jsonReader) throws IOException Reads an instance of ServiceProviderParameter from the JsonReader.- Parameters:
jsonReader- The JsonReader being read.- Returns:
- An instance of ServiceProviderParameter 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 ServiceProviderParameter.
-