你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

MicrosoftGraphTextColumn Class

  • java.lang.Object
    • com.azure.resourcemanager.authorization.fluent.models.MicrosoftGraphTextColumn

Implements

public final class MicrosoftGraphTextColumn
implements JsonSerializable<MicrosoftGraphTextColumn>

textColumn.

Constructor Summary

Constructor Description
MicrosoftGraphTextColumn()

Creates an instance of MicrosoftGraphTextColumn class.

Method Summary

Modifier and Type Method and Description
Map<String,Object> additionalProperties()

Get the additionalProperties property: textColumn.

Boolean allowMultipleLines()

Get the allowMultipleLines property: Whether to allow multiple lines of text.

Boolean appendChangesToExistingText()

Get the appendChangesToExistingText property: Whether updates to this column should replace existing text, or append to it.

static MicrosoftGraphTextColumn fromJson(JsonReader jsonReader)

Reads an instance of MicrosoftGraphTextColumn from the JsonReader.

Integer linesForEditing()

Get the linesForEditing property: The size of the text box.

Integer maxLength()

Get the maxLength property: The maximum number of characters for the value.

String textType()

Get the textType property: The type of text being stored.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

MicrosoftGraphTextColumn withAdditionalProperties(Map<String,Object> additionalProperties)

Set the additionalProperties property: textColumn.

MicrosoftGraphTextColumn withAllowMultipleLines(Boolean allowMultipleLines)

Set the allowMultipleLines property: Whether to allow multiple lines of text.

MicrosoftGraphTextColumn withAppendChangesToExistingText(Boolean appendChangesToExistingText)

Set the appendChangesToExistingText property: Whether updates to this column should replace existing text, or append to it.

MicrosoftGraphTextColumn withLinesForEditing(Integer linesForEditing)

Set the linesForEditing property: The size of the text box.

MicrosoftGraphTextColumn withMaxLength(Integer maxLength)

Set the maxLength property: The maximum number of characters for the value.

MicrosoftGraphTextColumn withTextType(String textType)

Set the textType property: The type of text being stored.

Methods inherited from java.lang.Object

Constructor Details

MicrosoftGraphTextColumn

public MicrosoftGraphTextColumn()

Creates an instance of MicrosoftGraphTextColumn class.

Method Details

additionalProperties

public Map additionalProperties()

Get the additionalProperties property: textColumn.

Returns:

the additionalProperties value.

allowMultipleLines

public Boolean allowMultipleLines()

Get the allowMultipleLines property: Whether to allow multiple lines of text.

Returns:

the allowMultipleLines value.

appendChangesToExistingText

public Boolean appendChangesToExistingText()

Get the appendChangesToExistingText property: Whether updates to this column should replace existing text, or append to it.

Returns:

the appendChangesToExistingText value.

fromJson

public static MicrosoftGraphTextColumn fromJson(JsonReader jsonReader)

Reads an instance of MicrosoftGraphTextColumn from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of MicrosoftGraphTextColumn if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.

Throws:

IOException

- If an error occurs while reading the MicrosoftGraphTextColumn.

linesForEditing

public Integer linesForEditing()

Get the linesForEditing property: The size of the text box.

Returns:

the linesForEditing value.

maxLength

public Integer maxLength()

Get the maxLength property: The maximum number of characters for the value.

Returns:

the maxLength value.

textType

public String textType()

Get the textType property: The type of text being stored. Must be one of plain or richText.

Returns:

the textType value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

withAdditionalProperties

public MicrosoftGraphTextColumn withAdditionalProperties(Map additionalProperties)

Set the additionalProperties property: textColumn.

Parameters:

additionalProperties - the additionalProperties value to set.

Returns:

the MicrosoftGraphTextColumn object itself.

withAllowMultipleLines

public MicrosoftGraphTextColumn withAllowMultipleLines(Boolean allowMultipleLines)

Set the allowMultipleLines property: Whether to allow multiple lines of text.

Parameters:

allowMultipleLines - the allowMultipleLines value to set.

Returns:

the MicrosoftGraphTextColumn object itself.

withAppendChangesToExistingText

public MicrosoftGraphTextColumn withAppendChangesToExistingText(Boolean appendChangesToExistingText)

Set the appendChangesToExistingText property: Whether updates to this column should replace existing text, or append to it.

Parameters:

appendChangesToExistingText - the appendChangesToExistingText value to set.

Returns:

the MicrosoftGraphTextColumn object itself.

withLinesForEditing

public MicrosoftGraphTextColumn withLinesForEditing(Integer linesForEditing)

Set the linesForEditing property: The size of the text box.

Parameters:

linesForEditing - the linesForEditing value to set.

Returns:

the MicrosoftGraphTextColumn object itself.

withMaxLength

public MicrosoftGraphTextColumn withMaxLength(Integer maxLength)

Set the maxLength property: The maximum number of characters for the value.

Parameters:

maxLength - the maxLength value to set.

Returns:

the MicrosoftGraphTextColumn object itself.

withTextType

public MicrosoftGraphTextColumn withTextType(String textType)

Set the textType property: The type of text being stored. Must be one of plain or richText.

Parameters:

textType - the textType value to set.

Returns:

the MicrosoftGraphTextColumn object itself.

Applies to