Class DirectLineChannelProperties

java.lang.Object
com.azure.resourcemanager.botservice.models.DirectLineChannelProperties

public final class DirectLineChannelProperties extends Object
The parameters to provide for the Direct Line channel.
  • Constructor Details

    • DirectLineChannelProperties

      public DirectLineChannelProperties()
  • Method Details

    • sites

      public List<DirectLineSite> sites()
      Get the sites property: The list of Direct Line sites.
      Returns:
      the sites value.
    • withSites

      public DirectLineChannelProperties withSites(List<DirectLineSite> sites)
      Set the sites property: The list of Direct Line sites.
      Parameters:
      sites - the sites value to set.
      Returns:
      the DirectLineChannelProperties object itself.
    • directLineEmbedCode

      public String directLineEmbedCode()
      Get the directLineEmbedCode property: Direct Line embed code of the resource.
      Returns:
      the directLineEmbedCode value.
    • withDirectLineEmbedCode

      public DirectLineChannelProperties withDirectLineEmbedCode(String directLineEmbedCode)
      Set the directLineEmbedCode property: Direct Line embed code of the resource.
      Parameters:
      directLineEmbedCode - the directLineEmbedCode value to set.
      Returns:
      the DirectLineChannelProperties object itself.
    • validate

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