HostSettingsResponseInner Class

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

Implements

public final class HostSettingsResponseInner
implements JsonSerializable<HostSettingsResponseInner>

The response body returned for a request to Bot Service Management to check per subscription hostSettings.

Constructor Summary

Constructor Description
HostSettingsResponseInner()

Creates an instance of HostSettingsResponseInner class.

Method Summary

Modifier and Type Method and Description
String botOpenIdMetadata()

Get the botOpenIdMetadata property: Same as toBotFromChannelOpenIdMetadataUrl, used by SDK < v4.12.

static HostSettingsResponseInner fromJson(JsonReader jsonReader)

Reads an instance of HostSettingsResponseInner from the JsonReader.

String oAuthUrl()

Get the oAuthUrl property: For in-conversation bot user authentication.

String toBotFromChannelOpenIdMetadataUrl()

Get the toBotFromChannelOpenIdMetadataUrl property: For verifying incoming tokens from the channels.

String toBotFromChannelTokenIssuer()

Get the toBotFromChannelTokenIssuer property: For verifying incoming tokens from the channels.

String toBotFromEmulatorOpenIdMetadataUrl()

Get the toBotFromEmulatorOpenIdMetadataUrl property: For verifying incoming tokens from bot emulator.

String toChannelFromBotLoginUrl()

Get the toChannelFromBotLoginUrl property: For getting access token to channels from bot host.

String toChannelFromBotOAuthScope()

Get the toChannelFromBotOAuthScope property: For getting access token to channels from bot host.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

Boolean validateAuthority()

Get the validateAuthority property: Per cloud OAuth setting on whether authority is validated.

HostSettingsResponseInner withBotOpenIdMetadata(String botOpenIdMetadata)

Set the botOpenIdMetadata property: Same as toBotFromChannelOpenIdMetadataUrl, used by SDK < v4.12.

HostSettingsResponseInner withOAuthUrl(String oAuthUrl)

Set the oAuthUrl property: For in-conversation bot user authentication.

HostSettingsResponseInner withToBotFromChannelOpenIdMetadataUrl(String toBotFromChannelOpenIdMetadataUrl)

Set the toBotFromChannelOpenIdMetadataUrl property: For verifying incoming tokens from the channels.

HostSettingsResponseInner withToBotFromChannelTokenIssuer(String toBotFromChannelTokenIssuer)

Set the toBotFromChannelTokenIssuer property: For verifying incoming tokens from the channels.

HostSettingsResponseInner withToBotFromEmulatorOpenIdMetadataUrl(String toBotFromEmulatorOpenIdMetadataUrl)

Set the toBotFromEmulatorOpenIdMetadataUrl property: For verifying incoming tokens from bot emulator.

HostSettingsResponseInner withToChannelFromBotLoginUrl(String toChannelFromBotLoginUrl)

Set the toChannelFromBotLoginUrl property: For getting access token to channels from bot host.

HostSettingsResponseInner withToChannelFromBotOAuthScope(String toChannelFromBotOAuthScope)

Set the toChannelFromBotOAuthScope property: For getting access token to channels from bot host.

HostSettingsResponseInner withValidateAuthority(Boolean validateAuthority)

Set the validateAuthority property: Per cloud OAuth setting on whether authority is validated.

Methods inherited from java.lang.Object

Constructor Details

HostSettingsResponseInner

public HostSettingsResponseInner()

Creates an instance of HostSettingsResponseInner class.

Method Details

botOpenIdMetadata

public String botOpenIdMetadata()

Get the botOpenIdMetadata property: Same as toBotFromChannelOpenIdMetadataUrl, used by SDK < v4.12.

Returns:

the botOpenIdMetadata value.

fromJson

public static HostSettingsResponseInner fromJson(JsonReader jsonReader)

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.

oAuthUrl

public String oAuthUrl()

Get the oAuthUrl property: For in-conversation bot user authentication.

Returns:

the oAuthUrl value.

toBotFromChannelOpenIdMetadataUrl

public String toBotFromChannelOpenIdMetadataUrl()

Get the toBotFromChannelOpenIdMetadataUrl property: For verifying incoming tokens from the channels.

Returns:

the toBotFromChannelOpenIdMetadataUrl value.

toBotFromChannelTokenIssuer

public String toBotFromChannelTokenIssuer()

Get the toBotFromChannelTokenIssuer property: For verifying incoming tokens from the channels.

Returns:

the toBotFromChannelTokenIssuer value.

toBotFromEmulatorOpenIdMetadataUrl

public String toBotFromEmulatorOpenIdMetadataUrl()

Get the toBotFromEmulatorOpenIdMetadataUrl property: For verifying incoming tokens from bot emulator.

Returns:

the toBotFromEmulatorOpenIdMetadataUrl value.

toChannelFromBotLoginUrl

public String toChannelFromBotLoginUrl()

Get the toChannelFromBotLoginUrl property: For getting access token to channels from bot host.

Returns:

the toChannelFromBotLoginUrl value.

toChannelFromBotOAuthScope

public String toChannelFromBotOAuthScope()

Get the toChannelFromBotOAuthScope property: For getting access token to channels from bot host.

Returns:

the toChannelFromBotOAuthScope value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

validateAuthority

public Boolean validateAuthority()

Get the validateAuthority property: Per cloud OAuth setting on whether authority is validated.

Returns:

the validateAuthority 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.

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.

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.

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.

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.

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.

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.

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.

Applies to