MicrosoftGraphChoiceColumn Class
- java.
lang. Object - com.
azure. resourcemanager. authorization. fluent. models. MicrosoftGraphChoiceColumn
- com.
Implements
public final class MicrosoftGraphChoiceColumn
implements JsonSerializable<MicrosoftGraphChoiceColumn>
Represents a choice column.
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<String,Object> additionalProperties()
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<String> choices()
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<String,Object> additionalProperties)
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<String> choices)
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: