ConversationAccount 類別
- java.
lang. Object - com.
microsoft. bot. schema. ConversationAccount
- com.
public class ConversationAccount
交談帳戶代表通道內交談的身分識別。
建構函式摘要
| 建構函式 | Description |
|---|---|
| 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 類別的新實例。
參數:
ConversationAccount
public ConversationAccount(boolean withIsGroup, String withConversationType, String withId, String withName, String withAadObjectId, RoleTypes withRole, String withTenantId)
初始化 ConversationAccount 類別的新實例。
參數:
ConversationAccount
public ConversationAccount(String withId)
初始化 ConversationAccount 類別的新實例。
參數:
方法詳細資料
clone
public static ConversationAccount clone(ConversationAccount conversationAccount)
執行 ConversationAccount 的深層複本。
參數:
傳回:
getAadObjectId
public String getAadObjectId()
取得此帳戶在 Azure Active Directory (AAD) 內的 #aadObjectId。
傳回:
getConversationType
public String getConversationType()
取得 #conversationType 值。
傳回:
getId
public String getId()
取得 #id 值。
傳回:
getName
public String getName()
取得 #name 值。
傳回:
getProperties
public Map
溢位屬性。 您可以在這裏存取未模型化為 物件中第一類屬性的屬性。 注意:屬性值可以是巢狀的。
傳回:
getRole
public RoleTypes getRole()
取得 #role 值。
傳回:
getTenantId
public String getTenantId()
取得此交談的 #tenantId。
傳回:
isGroup
public boolean isGroup()
取得 #isGroup 值。
傳回:
setAadObjectId
public void setAadObjectId(String withAadObjectId)
設定此帳戶在 Azure Active Directory (AAD) 內的 #aadObjectId。
參數:
setConversationType
public void setConversationType(String withConversationType)
設定 #conversationType 值。
參數:
setId
public void setId(String withId)
設定 #id 值。
參數:
setIsGroup
public void setIsGroup(boolean withIsGroup)
設定 #isGroup 值。
參數:
setName
public void setName(String withName)
設定 #name 值。
參數:
setProperties
public void setProperties(String key, JsonNode value)
設定溢位屬性。
參數:
setRole
public void setRole(RoleTypes withRole)
設定 #role 值。
參數:
setTenantId
public void setTenantId(String withTenantId)
設定此交談的 #tenantId。
參數: