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