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 Details

    • ServiceProviderProperties

      public ServiceProviderProperties()
      Creates an instance of ServiceProviderProperties class.
  • Method Details

    • id

      public String id()
      Get the id property: Id for Service Provider.
      Returns:
      the id value.
    • displayName

      public String displayName()
      Get the displayName property: Display Name of the Service Provider.
      Returns:
      the displayName value.
    • serviceProviderName

      public String serviceProviderName()
      Get the serviceProviderName property: Name of the Service Provider.
      Returns:
      the serviceProviderName value.
    • devPortalUrl

      public String devPortalUrl()
      Get the devPortalUrl property: URL of Dev Portal.
      Returns:
      the devPortalUrl value.
    • iconUrl

      public String iconUrl()
      Get the iconUrl property: The URL of icon.
      Returns:
      the iconUrl value.
    • 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.
    • parameters

      public List<ServiceProviderParameter> parameters()
      Get the parameters property: The list of parameters for the Service Provider.
      Returns:
      the parameters value.
    • 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.
    • validate

      public void validate()
      Validates the instance.
      Throws:
      IllegalArgumentException - thrown if the instance is not valid.
    • toJson

      public com.azure.json.JsonWriter toJson(com.azure.json.JsonWriter jsonWriter) throws IOException
      Specified by:
      toJson in interface com.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.