Class HostSettingsResponseInner

java.lang.Object
com.azure.resourcemanager.botservice.fluent.models.HostSettingsResponseInner

public final class HostSettingsResponseInner extends Object
The response body returned for a request to Bot Service Management to check per subscription hostSettings.
  • Constructor Details

    • HostSettingsResponseInner

      public HostSettingsResponseInner()
  • Method Details

    • oAuthUrl

      public String oAuthUrl()
      Get the oAuthUrl property: For in-conversation bot user authentication.
      Returns:
      the oAuthUrl value.
    • withOAuthUrl

      public HostSettingsResponseInner withOAuthUrl(String oAuthUrl)
      Set the oAuthUrl property: For in-conversation bot user authentication.
      Parameters:
      oAuthUrl - the oAuthUrl value to set.
      Returns:
      the HostSettingsResponseInner object itself.
    • toBotFromChannelOpenIdMetadataUrl

      public String toBotFromChannelOpenIdMetadataUrl()
      Get the toBotFromChannelOpenIdMetadataUrl property: For verifying incoming tokens from the channels.
      Returns:
      the toBotFromChannelOpenIdMetadataUrl value.
    • withToBotFromChannelOpenIdMetadataUrl

      public HostSettingsResponseInner withToBotFromChannelOpenIdMetadataUrl(String toBotFromChannelOpenIdMetadataUrl)
      Set the toBotFromChannelOpenIdMetadataUrl property: For verifying incoming tokens from the channels.
      Parameters:
      toBotFromChannelOpenIdMetadataUrl - the toBotFromChannelOpenIdMetadataUrl value to set.
      Returns:
      the HostSettingsResponseInner object itself.
    • toBotFromChannelTokenIssuer

      public String toBotFromChannelTokenIssuer()
      Get the toBotFromChannelTokenIssuer property: For verifying incoming tokens from the channels.
      Returns:
      the toBotFromChannelTokenIssuer value.
    • withToBotFromChannelTokenIssuer

      public HostSettingsResponseInner withToBotFromChannelTokenIssuer(String toBotFromChannelTokenIssuer)
      Set the toBotFromChannelTokenIssuer property: For verifying incoming tokens from the channels.
      Parameters:
      toBotFromChannelTokenIssuer - the toBotFromChannelTokenIssuer value to set.
      Returns:
      the HostSettingsResponseInner object itself.
    • toBotFromEmulatorOpenIdMetadataUrl

      public String toBotFromEmulatorOpenIdMetadataUrl()
      Get the toBotFromEmulatorOpenIdMetadataUrl property: For verifying incoming tokens from bot emulator.
      Returns:
      the toBotFromEmulatorOpenIdMetadataUrl value.
    • withToBotFromEmulatorOpenIdMetadataUrl

      public HostSettingsResponseInner withToBotFromEmulatorOpenIdMetadataUrl(String toBotFromEmulatorOpenIdMetadataUrl)
      Set the toBotFromEmulatorOpenIdMetadataUrl property: For verifying incoming tokens from bot emulator.
      Parameters:
      toBotFromEmulatorOpenIdMetadataUrl - the toBotFromEmulatorOpenIdMetadataUrl value to set.
      Returns:
      the HostSettingsResponseInner object itself.
    • toChannelFromBotLoginUrl

      public String toChannelFromBotLoginUrl()
      Get the toChannelFromBotLoginUrl property: For getting access token to channels from bot host.
      Returns:
      the toChannelFromBotLoginUrl value.
    • withToChannelFromBotLoginUrl

      public HostSettingsResponseInner withToChannelFromBotLoginUrl(String toChannelFromBotLoginUrl)
      Set the toChannelFromBotLoginUrl property: For getting access token to channels from bot host.
      Parameters:
      toChannelFromBotLoginUrl - the toChannelFromBotLoginUrl value to set.
      Returns:
      the HostSettingsResponseInner object itself.
    • toChannelFromBotOAuthScope

      public String toChannelFromBotOAuthScope()
      Get the toChannelFromBotOAuthScope property: For getting access token to channels from bot host.
      Returns:
      the toChannelFromBotOAuthScope value.
    • withToChannelFromBotOAuthScope

      public HostSettingsResponseInner withToChannelFromBotOAuthScope(String toChannelFromBotOAuthScope)
      Set the toChannelFromBotOAuthScope property: For getting access token to channels from bot host.
      Parameters:
      toChannelFromBotOAuthScope - the toChannelFromBotOAuthScope value to set.
      Returns:
      the HostSettingsResponseInner object itself.
    • validateAuthority

      public Boolean validateAuthority()
      Get the validateAuthority property: Per cloud OAuth setting on whether authority is validated.
      Returns:
      the validateAuthority value.
    • withValidateAuthority

      public HostSettingsResponseInner withValidateAuthority(Boolean validateAuthority)
      Set the validateAuthority property: Per cloud OAuth setting on whether authority is validated.
      Parameters:
      validateAuthority - the validateAuthority value to set.
      Returns:
      the HostSettingsResponseInner object itself.
    • botOpenIdMetadata

      public String botOpenIdMetadata()
      Get the botOpenIdMetadata property: Same as toBotFromChannelOpenIdMetadataUrl, used by SDK < v4.12.
      Returns:
      the botOpenIdMetadata value.
    • withBotOpenIdMetadata

      public HostSettingsResponseInner withBotOpenIdMetadata(String botOpenIdMetadata)
      Set the botOpenIdMetadata property: Same as toBotFromChannelOpenIdMetadataUrl, used by SDK < v4.12.
      Parameters:
      botOpenIdMetadata - the botOpenIdMetadata value to set.
      Returns:
      the HostSettingsResponseInner object itself.
    • validate

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