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

MicrosoftGraphDefaultColumnValue Class

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

Implements

public final class MicrosoftGraphDefaultColumnValue
implements JsonSerializable<MicrosoftGraphDefaultColumnValue>

defaultColumnValue.

Constructor Summary

Constructor Description
MicrosoftGraphDefaultColumnValue()

Creates an instance of MicrosoftGraphDefaultColumnValue class.

Method Summary

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

Get the additionalProperties property: defaultColumnValue.

String formula()

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

static MicrosoftGraphDefaultColumnValue fromJson(JsonReader jsonReader)

Reads an instance of MicrosoftGraphDefaultColumnValue from the JsonReader.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

String value()

Get the value property: The direct value to use as the default value for this column.

MicrosoftGraphDefaultColumnValue withAdditionalProperties(Map<String,Object> additionalProperties)

Set the additionalProperties property: defaultColumnValue.

MicrosoftGraphDefaultColumnValue withFormula(String formula)

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

MicrosoftGraphDefaultColumnValue withValue(String value)

Set the value property: The direct value to use as the default value for this column.

Methods inherited from java.lang.Object

Constructor Details

MicrosoftGraphDefaultColumnValue

public MicrosoftGraphDefaultColumnValue()

Creates an instance of MicrosoftGraphDefaultColumnValue class.

Method Details

additionalProperties

public Map additionalProperties()

Get the additionalProperties property: defaultColumnValue.

Returns:

the additionalProperties value.

formula

public String formula()

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

Returns:

the formula value.

fromJson

public static MicrosoftGraphDefaultColumnValue fromJson(JsonReader jsonReader)

Reads an instance of MicrosoftGraphDefaultColumnValue from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

value

public String value()

Get the value property: The direct value to use as the default value for this column.

Returns:

the value value.

withAdditionalProperties

public MicrosoftGraphDefaultColumnValue withAdditionalProperties(Map additionalProperties)

Set the additionalProperties property: defaultColumnValue.

Parameters:

additionalProperties - the additionalProperties value to set.

Returns:

the MicrosoftGraphDefaultColumnValue object itself.

withFormula

public MicrosoftGraphDefaultColumnValue withFormula(String formula)

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

Parameters:

formula - the formula value to set.

Returns:

the MicrosoftGraphDefaultColumnValue object itself.

withValue

public MicrosoftGraphDefaultColumnValue withValue(String value)

Set the value property: The direct value to use as the default value for this column.

Parameters:

value - the value value to set.

Returns:

the MicrosoftGraphDefaultColumnValue object itself.

Applies to