O365ConnectorCardInputBase Class

  • java.lang.Object
    • com.microsoft.bot.schema.teams.O365ConnectorCardInputBase

public class O365ConnectorCardInputBase

O365 connector card input for ActionCard action.

Constructor Summary

Constructor Description
O365ConnectorCardInputBase()

Method Summary

Modifier and Type Method and Description
java.lang.String getId()

Gets the input Id.

java.lang.Boolean getRequired()

Gets whether this input is a required field.

java.lang.String getTitle()

Gets input title that will be shown as the placeholder.

java.lang.String getType()

Gets input type name.

java.lang.String getValue()

Gets default value for this input field.

void setId(String withId)

Sets the input Id.

void setRequired(Boolean withRequired)

Sets whether this input is a required field.

void setTitle(String withTitle)

Sets input title that will be shown as the placeholder.

void setType(String withType)

Sets input type name.

void setValue(String withValue)

Sets default value for this input field.

Methods inherited from 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

Constructor Details

O365ConnectorCardInputBase

public O365ConnectorCardInputBase()

Method Details

getId

public String getId()

Gets the input Id. It must be unique per entire O365 connector card.

Returns:

The card id.

getRequired

public Boolean getRequired()

Gets whether this input is a required field. Default value is false.

Returns:

True if required input.

getTitle

public String getTitle()

Gets input title that will be shown as the placeholder.

Returns:

The input title.

getType

public String getType()

Gets input type name. Possible values include: 'textInput', 'dateInput', 'multichoiceInput'

Returns:

The input type.

getValue

public String getValue()

Gets default value for this input field.

Returns:

The default input value.

setId

public void setId(String withId)

Sets the input Id. It must be unique per entire O365 connector card.

Parameters:

withId - The card id.

setRequired

public void setRequired(Boolean withRequired)

Sets whether this input is a required field.

Parameters:

withRequired - True if required input.

setTitle

public void setTitle(String withTitle)

Sets input title that will be shown as the placeholder.

Parameters:

withTitle - The input title.

setType

public void setType(String withType)

Sets input type name. Possible values include: 'textInput', 'dateInput', 'multichoiceInput'

Parameters:

withType - The input type.

setValue

public void setValue(String withValue)

Sets default value for this input field.

Parameters:

withValue - The default input value.

Applies to