ConversationAccount 类
- java.
lang. Object - com.
microsoft. bot. schema. ConversationAccount
- com.
public class ConversationAccount
对话帐户表示通道中会话的标识。
构造函数摘要
构造函数 | 说明 |
---|---|
ConversationAccount() |
空对话 |
ConversationAccount(boolean withIsGroup, String withId, String withName) |
初始化 Conversation |
ConversationAccount(boolean withIsGroup, String withConversationType, String withId, String withName, String withAadObjectId, RoleTypes withRole, String withTenantId) |
初始化 Conversation |
ConversationAccount(String withId) |
初始化 Conversation |
方法摘要
修饰符和类型 | 方法和描述 |
---|---|
static
Conversation |
clone(ConversationAccount conversationAccount)
执行对话 |
java.lang.String |
getAadObjectId()
在 Azure Active Directory (AAD) 中获取此帐户 #aadObjectId 。 |
java.lang.String |
getConversationType()
获取 #conversationType 值。 |
java.lang.String |
getId()
获取 #id 值。 |
java.lang.String |
getName()
获取 #name 值。 |
java.util.Map<java.lang.String,com.fasterxml.jackson.databind.JsonNode> |
getProperties()
溢出属性。 |
Role |
getRole()
获取 #role 值。 |
java.lang.String |
getTenantId()
获取此会话的 #tenantId。 |
boolean |
isGroup()
获取 #isGroup 值。 |
void |
setAadObjectId(String withAadObjectId)
在 Azure Active Directory (AAD) 中设置此帐户 #aadObjectId 。 |
void |
setConversationType(String withConversationType)
#conversationType设置值。 |
void |
setId(String withId)
#id设置值。 |
void |
setIsGroup(boolean withIsGroup)
#isGroup设置值。 |
void |
setName(String withName)
#name设置值。 |
void |
setProperties(String key, JsonNode value)
设置溢出属性。 |
void |
setRole(RoleTypes withRole)
#role设置值。 |
void |
setTenantId(String withTenantId)
设置此对话的 #tenantId。 |
方法继承自 java.lang.Object
构造函数详细信息
ConversationAccount
public ConversationAccount()
空 ConversationAccount。
ConversationAccount
public ConversationAccount(boolean withIsGroup, String withId, String withName)
初始化 ConversationAccount 类的新实例。
Parameters:
ConversationAccount
public ConversationAccount(boolean withIsGroup, String withConversationType, String withId, String withName, String withAadObjectId, RoleTypes withRole, String withTenantId)
初始化 ConversationAccount 类的新实例。
Parameters:
ConversationAccount
public ConversationAccount(String withId)
初始化 ConversationAccount 类的新实例。
Parameters:
方法详细信息
clone
public static ConversationAccount clone(ConversationAccount conversationAccount)
执行 ConversationAccount 的深层复制。
Parameters:
Returns:
getAadObjectId
public String getAadObjectId()
在 Azure Active Directory (AAD) 中获取此帐户 #aadObjectId 。
Returns:
getConversationType
public String getConversationType()
获取 #conversationType 值。
Returns:
getId
public String getId()
获取 #id 值。
Returns:
getName
public String getName()
获取 #name 值。
Returns:
getProperties
public Map
溢出属性。 此处可访问对象中未建模为第一类属性的属性。 注意:属性值可以嵌套。
Returns:
getRole
public RoleTypes getRole()
获取 #role 值。
Returns:
getTenantId
public String getTenantId()
获取此会话的 #tenantId。
Returns:
isGroup
public boolean isGroup()
获取 #isGroup 值。
Returns:
setAadObjectId
public void setAadObjectId(String withAadObjectId)
在 Azure Active Directory (AAD) 中设置此帐户 #aadObjectId 。
Parameters:
setConversationType
public void setConversationType(String withConversationType)
#conversationType设置值。
Parameters:
setId
public void setId(String withId)
#id设置值。
Parameters:
setIsGroup
public void setIsGroup(boolean withIsGroup)
#isGroup设置值。
Parameters:
setName
public void setName(String withName)
#name设置值。
Parameters:
setProperties
public void setProperties(String key, JsonNode value)
设置溢出属性。
Parameters:
setRole
public void setRole(RoleTypes withRole)
#role设置值。
Parameters:
setTenantId
public void setTenantId(String withTenantId)
设置此对话的 #tenantId。
Parameters: