SkillConversationIdFactoryOptions Class

  • java.lang.Object
    • com.microsoft.bot.builder.skills.SkillConversationIdFactoryOptions

public class SkillConversationIdFactoryOptions

A class defining the parameters used in {@link SkillConversationIdFactoryBase#createSkillConversationId(SkillConversationI FactoryOptions,System#getThreading()#getCancellationToken())} .

Constructor Summary

Constructor Description
SkillConversationIdFactoryOptions()

Method Summary

Modifier and Type Method and Description
Activity getActivity()

Gets the activity which will be sent to the skill.

BotFrameworkSkill getBotFrameworkSkill()

Gets the skill to create the conversation Id for.

java.lang.String getFromBotId()

Gets the id of the parent bot that is messaging the skill.

java.lang.String getFromBotOAuthScope()

Gets the oauth audience scope, used during token retrieval (either https://api.getbotframework().com or bot app id).

void setActivity(Activity withActivity)

Sets the activity which will be sent to the skill.

void setBotFrameworkSkill(BotFrameworkSkill withBotFrameworkSkill)

Sets the skill to create the conversation Id for.

void setFromBotId(String withFromBotId)

Sets the id of the parent bot that is messaging the skill.

void setFromBotOAuthScope(String withFromBotOAuthScope)

Sets the oauth audience scope, used during token retrieval (either https://api.getbotframework().com or bot app id).

Methods inherited from java.lang.Object

java.lang.Object.clone java.lang.Object.equals java.lang.Object.finalize java.lang.Object.getClass java.lang.Object.hashCode java.lang.Object.notify java.lang.Object.notifyAll java.lang.Object.toString java.lang.Object.wait java.lang.Object.wait java.lang.Object.wait

Constructor Details

SkillConversationIdFactoryOptions

public SkillConversationIdFactoryOptions()

Method Details

getActivity

public Activity getActivity()

Gets the activity which will be sent to the skill.

Returns:

the Activity value as a getActivity().

getBotFrameworkSkill

public BotFrameworkSkill getBotFrameworkSkill()

Gets the skill to create the conversation Id for.

Returns:

the BotFrameworkSkill value as a getBotFrameworkSkill().

getFromBotId

public String getFromBotId()

Gets the id of the parent bot that is messaging the skill.

Returns:

the FromBotId value as a String.

getFromBotOAuthScope

public String getFromBotOAuthScope()

Gets the oauth audience scope, used during token retrieval (either https://api.getbotframework().com or bot app id).

Returns:

the FromBotOAuthScope value as a String.

setActivity

public void setActivity(Activity withActivity)

Sets the activity which will be sent to the skill.

Parameters:

withActivity - The Activity value.

setBotFrameworkSkill

public void setBotFrameworkSkill(BotFrameworkSkill withBotFrameworkSkill)

Sets the skill to create the conversation Id for.

Parameters:

withBotFrameworkSkill - The BotFrameworkSkill value.

setFromBotId

public void setFromBotId(String withFromBotId)

Sets the id of the parent bot that is messaging the skill.

Parameters:

withFromBotId - The FromBotId value.

setFromBotOAuthScope

public void setFromBotOAuthScope(String withFromBotOAuthScope)

Sets the oauth audience scope, used during token retrieval (either https://api.getbotframework().com or bot app id).

Parameters:

withFromBotOAuthScope - The FromBotOAuthScope value.

Applies to