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

MicrosoftGraphCalculatedColumn Class

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

Implements

public final class MicrosoftGraphCalculatedColumn
implements JsonSerializable<MicrosoftGraphCalculatedColumn>

calculatedColumn.

Constructor Summary

Constructor Description
MicrosoftGraphCalculatedColumn()

Creates an instance of MicrosoftGraphCalculatedColumn class.

Method Summary

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

Get the additionalProperties property: calculatedColumn.

String format()

Get the format property: For dateTime output types, the format of the value.

String formula()

Get the formula property: The formula used to compute the value for this column.

static MicrosoftGraphCalculatedColumn fromJson(JsonReader jsonReader)

Reads an instance of MicrosoftGraphCalculatedColumn from the JsonReader.

String outputType()

Get the outputType property: The output type used to format values in this column.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

MicrosoftGraphCalculatedColumn withAdditionalProperties(Map<String,Object> additionalProperties)

Set the additionalProperties property: calculatedColumn.

MicrosoftGraphCalculatedColumn withFormat(String format)

Set the format property: For dateTime output types, the format of the value.

MicrosoftGraphCalculatedColumn withFormula(String formula)

Set the formula property: The formula used to compute the value for this column.

MicrosoftGraphCalculatedColumn withOutputType(String outputType)

Set the outputType property: The output type used to format values in this column.

Methods inherited from java.lang.Object

Constructor Details

MicrosoftGraphCalculatedColumn

public MicrosoftGraphCalculatedColumn()

Creates an instance of MicrosoftGraphCalculatedColumn class.

Method Details

additionalProperties

public Map additionalProperties()

Get the additionalProperties property: calculatedColumn.

Returns:

the additionalProperties value.

format

public String format()

Get the format property: For dateTime output types, the format of the value. Must be one of dateOnly or dateTime.

Returns:

the format value.

formula

public String formula()

Get the formula property: The formula used to compute the value for this column.

Returns:

the formula value.

fromJson

public static MicrosoftGraphCalculatedColumn fromJson(JsonReader jsonReader)

Reads an instance of MicrosoftGraphCalculatedColumn from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of MicrosoftGraphCalculatedColumn 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 MicrosoftGraphCalculatedColumn.

outputType

public String outputType()

Get the outputType property: The output type used to format values in this column. Must be one of boolean, currency, dateTime, number, or text.

Returns:

the outputType value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

withAdditionalProperties

public MicrosoftGraphCalculatedColumn withAdditionalProperties(Map additionalProperties)

Set the additionalProperties property: calculatedColumn.

Parameters:

additionalProperties - the additionalProperties value to set.

Returns:

the MicrosoftGraphCalculatedColumn object itself.

withFormat

public MicrosoftGraphCalculatedColumn withFormat(String format)

Set the format property: For dateTime output types, the format of the value. Must be one of dateOnly or dateTime.

Parameters:

format - the format value to set.

Returns:

the MicrosoftGraphCalculatedColumn object itself.

withFormula

public MicrosoftGraphCalculatedColumn withFormula(String formula)

Set the formula property: The formula used to compute the value for this column.

Parameters:

formula - the formula value to set.

Returns:

the MicrosoftGraphCalculatedColumn object itself.

withOutputType

public MicrosoftGraphCalculatedColumn withOutputType(String outputType)

Set the outputType property: The output type used to format values in this column. Must be one of boolean, currency, dateTime, number, or text.

Parameters:

outputType - the outputType value to set.

Returns:

the MicrosoftGraphCalculatedColumn object itself.

Applies to