Class HostSettingsResponseInner
java.lang.Object
com.azure.resourcemanager.botservice.fluent.models.HostSettingsResponseInner
- All Implemented Interfaces:
com.azure.json.JsonSerializable<HostSettingsResponseInner>
public final class HostSettingsResponseInner
extends Object
implements com.azure.json.JsonSerializable<HostSettingsResponseInner>
The response body returned for a request to Bot Service Management to check per subscription hostSettings.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of HostSettingsResponseInner class. -
Method Summary
Modifier and TypeMethodDescriptionGet the botOpenIdMetadata property: Same as ToBotFromChannelOpenIdMetadataUrl, used by SDK < v4.12.static HostSettingsResponseInnerfromJson(com.azure.json.JsonReader jsonReader) Reads an instance of HostSettingsResponseInner from the JsonReader.oAuthUrl()Get the oAuthUrl property: For in-conversation bot user authentication.Get the toBotFromChannelOpenIdMetadataUrl property: For verifying incoming tokens from the channels.Get the toBotFromChannelTokenIssuer property: For verifying incoming tokens from the channels.Get the toBotFromEmulatorOpenIdMetadataUrl property: For verifying incoming tokens from bot emulator.Get the toChannelFromBotLoginUrl property: For getting access token to channels from bot host.Get the toChannelFromBotOAuthScope property: For getting access token to channels from bot host.com.azure.json.JsonWritertoJson(com.azure.json.JsonWriter jsonWriter) voidvalidate()Validates the instance.Get the validateAuthority property: Per cloud OAuth setting on whether authority is validated.withBotOpenIdMetadata(String botOpenIdMetadata) Set the botOpenIdMetadata property: Same as ToBotFromChannelOpenIdMetadataUrl, used by SDK < v4.12.withOAuthUrl(String oAuthUrl) Set the oAuthUrl property: For in-conversation bot user authentication.withToBotFromChannelOpenIdMetadataUrl(String toBotFromChannelOpenIdMetadataUrl) Set the toBotFromChannelOpenIdMetadataUrl property: For verifying incoming tokens from the channels.withToBotFromChannelTokenIssuer(String toBotFromChannelTokenIssuer) Set the toBotFromChannelTokenIssuer property: For verifying incoming tokens from the channels.withToBotFromEmulatorOpenIdMetadataUrl(String toBotFromEmulatorOpenIdMetadataUrl) Set the toBotFromEmulatorOpenIdMetadataUrl property: For verifying incoming tokens from bot emulator.withToChannelFromBotLoginUrl(String toChannelFromBotLoginUrl) Set the toChannelFromBotLoginUrl property: For getting access token to channels from bot host.withToChannelFromBotOAuthScope(String toChannelFromBotOAuthScope) Set the toChannelFromBotOAuthScope property: For getting access token to channels from bot host.withValidateAuthority(Boolean validateAuthority) Set the validateAuthority property: Per cloud OAuth setting on whether authority is validated.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
-
HostSettingsResponseInner
public HostSettingsResponseInner()Creates an instance of HostSettingsResponseInner class.
-
-
Method Details
-
oAuthUrl
Get the oAuthUrl property: For in-conversation bot user authentication.- Returns:
- the oAuthUrl value.
-
withOAuthUrl
Set the oAuthUrl property: For in-conversation bot user authentication.- Parameters:
oAuthUrl- the oAuthUrl value to set.- Returns:
- the HostSettingsResponseInner object itself.
-
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
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
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
Get the toChannelFromBotLoginUrl property: For getting access token to channels from bot host.- Returns:
- the toChannelFromBotLoginUrl value.
-
withToChannelFromBotLoginUrl
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
Get the toChannelFromBotOAuthScope property: For getting access token to channels from bot host.- Returns:
- the toChannelFromBotOAuthScope value.
-
withToChannelFromBotOAuthScope
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
Get the validateAuthority property: Per cloud OAuth setting on whether authority is validated.- Returns:
- the validateAuthority value.
-
withValidateAuthority
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
Get the botOpenIdMetadata property: Same as ToBotFromChannelOpenIdMetadataUrl, used by SDK < v4.12.- Returns:
- the botOpenIdMetadata value.
-
withBotOpenIdMetadata
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.
-
toJson
- Specified by:
toJsonin interfacecom.azure.json.JsonSerializable<HostSettingsResponseInner>- Throws:
IOException
-
fromJson
public static HostSettingsResponseInner fromJson(com.azure.json.JsonReader jsonReader) throws IOException Reads an instance of HostSettingsResponseInner from the JsonReader.- Parameters:
jsonReader- The JsonReader being read.- Returns:
- An instance of HostSettingsResponseInner 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 HostSettingsResponseInner.
-