SigninCard クラス

  • java.lang.Object
    • com.microsoft.bot.schema.SigninCard

public class SigninCard

サインイン要求を表すカード。

フィールドの概要

修飾子と型 フィールドと説明
static final java.lang.String CONTENTTYPE

コンストラクターの概要

コンストラクター 説明
SigninCard()

メソッドの概要

修飾子と型 メソッドと説明
java.util.List<CardAction> getButtons()

ボタンの値を取得します。

java.lang.String getText()

テキスト値を取得します。

void setButtons(CardAction[] withButtons)

ボタンの値を設定します。

void setButtons(List<CardAction> withButtons)

ボタンの値を設定します。

void setText(String withText)

テキスト値を設定します。

Attachment toAttachment()

このカードの @{link Attachment} を作成します。

メソッドの継承元: java.lang.Object

java.lang.Object.clone java.lang.Object.equals java.lang.Object.finalize java.lang.Object.getClass java.lang.Object.hashCode java.lang.Object.notify java.lang.Object.notifyAll java.lang.Object.toString java.lang.Object.wait java.lang.Object.wait java.lang.Object.wait

フィールドの詳細

CONTENTTYPE

public static final String CONTENTTYPE

コンストラクターの詳細

SigninCard

public SigninCard()

メソッドの詳細

getButtons

public List getButtons()

ボタンの値を取得します。

戻り値:

ボタンの値

getText

public String getText()

テキスト値を取得します。

戻り値:

テキスト値

setButtons

public void setButtons(CardAction[] withButtons)

ボタンの値を設定します。

パラメーター:

withButtons - 設定するボタンの値

setButtons

public void setButtons(List withButtons)

ボタンの値を設定します。

パラメーター:

withButtons - 設定するボタンの値

setText

public void setText(String withText)

テキスト値を設定します。

パラメーター:

withText - 設定するテキスト値

toAttachment

public Attachment toAttachment()

このカードの @{link Attachment} を作成します。

戻り値:

カードを含む Attachment オブジェクト。

適用対象