你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
MicrosoftGraphChoiceColumn Class
- java.
lang. Object - com.
azure. resourcemanager. authorization. fluent. models. MicrosoftGraphChoiceColumn
- com.
Implements
public final class MicrosoftGraphChoiceColumn
implements JsonSerializable<MicrosoftGraphChoiceColumn>
choiceColumn.
Constructor Summary
Constructor | Description |
---|---|
MicrosoftGraphChoiceColumn() |
Creates an instance of Microsoft |
Method Summary
Modifier and Type | Method and Description |
---|---|
Map<String,Object> |
additionalProperties()
Get the additional |
Boolean |
allowTextEntry()
Get the allow |
List<String> |
choices()
Get the choices property: The list of values available for this column. |
String |
displayAs()
Get the display |
static
Microsoft |
fromJson(JsonReader jsonReader)
Reads an instance of Microsoft |
Json |
toJson(JsonWriter jsonWriter) |
void |
validate()
Validates the instance. |
Microsoft |
withAdditionalProperties(Map<String,Object> additionalProperties)
Set the additional |
Microsoft |
withAllowTextEntry(Boolean allowTextEntry)
Set the allow |
Microsoft |
withChoices(List<String> choices)
Set the choices property: The list of values available for this column. |
Microsoft |
withDisplayAs(String displayAs)
Set the display |
Methods inherited from java.lang.Object
Constructor Details
MicrosoftGraphChoiceColumn
public MicrosoftGraphChoiceColumn()
Creates an instance of MicrosoftGraphChoiceColumn class.
Method Details
additionalProperties
public Map
Get the additionalProperties property: choiceColumn.
Returns:
allowTextEntry
public Boolean allowTextEntry()
Get the allowTextEntry property: If true, allows custom values that aren't in the configured choices.
Returns:
choices
public List
Get the choices property: The list of values available for this column.
Returns:
displayAs
public String displayAs()
Get the displayAs property: How the choices are to be presented in the UX. Must be one of checkBoxes, dropDownMenu, or radioButtons.
Returns:
fromJson
public static MicrosoftGraphChoiceColumn fromJson(JsonReader jsonReader)
Reads an instance of MicrosoftGraphChoiceColumn from the JsonReader.
Parameters:
Returns:
Throws:
toJson
validate
public void validate()
Validates the instance.
withAdditionalProperties
public MicrosoftGraphChoiceColumn withAdditionalProperties(Map
Set the additionalProperties property: choiceColumn.
Parameters:
Returns:
withAllowTextEntry
public MicrosoftGraphChoiceColumn withAllowTextEntry(Boolean allowTextEntry)
Set the allowTextEntry property: If true, allows custom values that aren't in the configured choices.
Parameters:
Returns:
withChoices
public MicrosoftGraphChoiceColumn withChoices(List
Set the choices property: The list of values available for this column.
Parameters:
Returns:
withDisplayAs
public MicrosoftGraphChoiceColumn withDisplayAs(String displayAs)
Set the displayAs property: How the choices are to be presented in the UX. Must be one of checkBoxes, dropDownMenu, or radioButtons.
Parameters:
Returns: