ChannelAccount クラス
- java.
lang. Object - com.
microsoft. bot. schema. ChannelAccount
- com.
public class ChannelAccount
メッセージをルーティングするために必要なチャネル アカウント情報。
コンストラクターの概要
| コンストラクター | 説明 |
|---|---|
| ChannelAccount() |
Channel |
| ChannelAccount(String withId) |
Channel |
| ChannelAccount(String withId, String withName) |
Channel |
| ChannelAccount(String withId, String withName, RoleTypes withRole) |
Channel |
| ChannelAccount(String withId, String withName, RoleTypes withRole, String withAadObjectId) |
Channel |
メソッドの概要
| 修飾子と型 | メソッドと説明 |
|---|---|
|
static
Channel |
clone(ChannelAccount channelAccount)
チャネル |
|
static
java.util.List<Channel |
cloneList(List<ChannelAccount> channelAccounts)
チャネル |
| java.lang.String |
getAadObjectId()
Azure Active Directory (AAD) 内のこのアカウントのオブジェクト ID。 |
| java.lang.String |
getId()
このチャネルのユーザーまたはボットのチャネル ID (例: joe@smith。com |
| java.lang.String |
getName()
フレンドリ名を表示します。 |
| java.util.Map<java.lang.String,com.fasterxml.jackson.databind.JsonNode> |
getProperties()
オーバーフロー プロパティ。 |
|
Role |
getRole()
アカウントの背後にあるエンティティのロール (例: ユーザー、ボットなど)。 |
| void |
setAadObjectId(String withAadObjectId)
Azure Active Directory (AAD) 内のこのアカウントのオブジェクト ID。 |
| void |
setId(String withId)
このチャネルのユーザーまたはボットのチャネル ID (例: joe@smith。com |
| void |
setName(String withName)
フレンドリ名を表示します。 |
| void |
setProperties(String key, JsonNode value)
オーバーフロー プロパティを設定します。 |
| void |
setRole(RoleTypes withRole)
アカウントの背後にあるエンティティのロール (例: ユーザー、ボットなど)。 |
メソッドの継承元: java.lang.Object
コンストラクターの詳細
ChannelAccount
public ChannelAccount()
ChannelAccount クラスの新しいインスタンスを初期化します。
ChannelAccount
public ChannelAccount(String withId)
ChannelAccount クラスの新しいインスタンスを初期化します。
パラメーター:
ChannelAccount
public ChannelAccount(String withId, String withName)
ChannelAccount クラスの新しいインスタンスを初期化します。
パラメーター:
ChannelAccount
public ChannelAccount(String withId, String withName, RoleTypes withRole)
ChannelAccount クラスの新しいインスタンスを初期化します。
パラメーター:
ChannelAccount
public ChannelAccount(String withId, String withName, RoleTypes withRole, String withAadObjectId)
ChannelAccount クラスの新しいインスタンスを初期化します。
パラメーター:
メソッドの詳細
clone
public static ChannelAccount clone(ChannelAccount channelAccount)
ChannelAccount のディープ コピーを実行します。
パラメーター:
戻り値:
cloneList
public static List
ChannelAccounts のリストの詳細コピーを実行します。
パラメーター:
戻り値:
getAadObjectId
public String getAadObjectId()
Azure Active Directory (AAD) 内のこのアカウントのオブジェクト ID。
戻り値:
getId
public String getId()
このチャネルのユーザーまたはボットのチャネル ID (例: joe@smith.com、または @joesmith または123456)。
戻り値:
getName
public String getName()
フレンドリ名を表示します。
戻り値:
getProperties
public Map
オーバーフロー プロパティ。 オブジェクトのファースト クラス プロパティとしてモデル化されていないプロパティには、ここでアクセスできます。 注: プロパティ値は入れ子にすることができます。
戻り値:
getRole
public RoleTypes getRole()
アカウントの背後にあるエンティティのロール (例: ユーザー、ボットなど)。
戻り値:
setAadObjectId
public void setAadObjectId(String withAadObjectId)
Azure Active Directory (AAD) 内のこのアカウントのオブジェクト ID。
パラメーター:
setId
public void setId(String withId)
このチャネルのユーザーまたはボットのチャネル ID (例: joe@smith.com、または @joesmith または123456)。
パラメーター:
setName
public void setName(String withName)
フレンドリ名を表示します。
パラメーター:
setProperties
public void setProperties(String key, JsonNode value)
オーバーフロー プロパティを設定します。
パラメーター:
setRole
public void setRole(RoleTypes withRole)
アカウントの背後にあるエンティティのロール (例: ユーザー、ボットなど)。
パラメーター: