ConversationAccount Class
- java.
lang. Object - com.
microsoft. bot. schema. ConversationAccount
- com.
public class ConversationAccount
Conversation account represents the identity of the conversation within a channel.
Constructor Summary
| Constructor | Description |
|---|---|
| ConversationAccount() |
Empty Conversation |
| ConversationAccount(boolean withIsGroup, String withId, String withName) |
Initializes a new instance of the Conversation |
| ConversationAccount(boolean withIsGroup, String withConversationType, String withId, String withName, String withAadObjectId, RoleTypes withRole, String withTenantId) |
Initializes a new instance of the Conversation |
| ConversationAccount(String withId) |
Initializes a new instance of the Conversation |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Conversation |
clone(ConversationAccount conversationAccount)
Performs a deep copy of a Conversation |
| java.lang.String |
getAadObjectId()
Gets this account's #aadObjectId within Azure Active Directory (AAD). |
| java.lang.String |
getConversationType()
Get the #conversationType value. |
| java.lang.String |
getId()
Get the #id value. |
| java.lang.String |
getName()
Get the #name value. |
| java.util.Map<java.lang.String,com.fasterxml.jackson.databind.JsonNode> |
getProperties()
Overflow properties. |
|
Role |
getRole()
Get the #role value. |
| java.lang.String |
getTenantId()
Gets this conversation's #tenantId. |
| boolean |
isGroup()
Get the #isGroup value. |
| void |
setAadObjectId(String withAadObjectId)
Sets this account's #aadObjectId within Azure Active Directory (AAD). |
| void |
setConversationType(String withConversationType)
Set the #conversationType value. |
| void |
setId(String withId)
Set the #id value. |
| void |
setIsGroup(boolean withIsGroup)
Set the #isGroup value. |
| void |
setName(String withName)
Set the #name value. |
| void |
setProperties(String key, JsonNode value)
Set overflow properties. |
| void |
setRole(RoleTypes withRole)
Set the #role value. |
| void |
setTenantId(String withTenantId)
Sets this conversation's #tenantId. |
Methods inherited from java.lang.Object
Constructor Details
ConversationAccount
public ConversationAccount()
Empty ConversationAccount.
ConversationAccount
public ConversationAccount(boolean withIsGroup, String withId, String withName)
Initializes a new instance of the ConversationAccount class.
Parameters:
ConversationAccount
public ConversationAccount(boolean withIsGroup, String withConversationType, String withId, String withName, String withAadObjectId, RoleTypes withRole, String withTenantId)
Initializes a new instance of the ConversationAccount class.
Parameters:
ConversationAccount
public ConversationAccount(String withId)
Initializes a new instance of the ConversationAccount class.
Parameters:
Method Details
clone
public static ConversationAccount clone(ConversationAccount conversationAccount)
Performs a deep copy of a ConversationAccount.
Parameters:
Returns:
getAadObjectId
public String getAadObjectId()
Gets this account's #aadObjectId within Azure Active Directory (AAD).
Returns:
getConversationType
public String getConversationType()
Get the #conversationType value.
Returns:
getId
public String getId()
Get the #id value.
Returns:
getName
public String getName()
Get the #name value.
Returns:
getProperties
public Map
Overflow properties. Properties that are not modelled as first class properties in the object are accessible here. Note: A property value can be be nested.
Returns:
getRole
public RoleTypes getRole()
Get the #role value.
Returns:
getTenantId
public String getTenantId()
Gets this conversation's #tenantId.
Returns:
isGroup
public boolean isGroup()
Get the #isGroup value.
Returns:
setAadObjectId
public void setAadObjectId(String withAadObjectId)
Sets this account's #aadObjectId within Azure Active Directory (AAD).
Parameters:
setConversationType
public void setConversationType(String withConversationType)
Set the #conversationType value.
Parameters:
setId
public void setId(String withId)
Set the #id value.
Parameters:
setIsGroup
public void setIsGroup(boolean withIsGroup)
Set the #isGroup value.
Parameters:
setName
public void setName(String withName)
Set the #name value.
Parameters:
setProperties
public void setProperties(String key, JsonNode value)
Set overflow properties.
Parameters:
setRole
public void setRole(RoleTypes withRole)
Set the #role value.
Parameters:
setTenantId
public void setTenantId(String withTenantId)
Sets this conversation's #tenantId.
Parameters: