Compartilhar via


MicrosoftGraphNumberColumn Class

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

Implements

public final class MicrosoftGraphNumberColumn
implements JsonSerializable<MicrosoftGraphNumberColumn>

numberColumn.

Constructor Summary

Constructor Description
MicrosoftGraphNumberColumn()

Creates an instance of MicrosoftGraphNumberColumn class.

Method Summary

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

Get the additionalProperties property: numberColumn.

String decimalPlaces()

Get the decimalPlaces property: How many decimal places to display.

String displayAs()

Get the displayAs property: How the value should be presented in the UX.

static MicrosoftGraphNumberColumn fromJson(JsonReader jsonReader)

Reads an instance of MicrosoftGraphNumberColumn from the JsonReader.

Double maximum()

Get the maximum property: The maximum permitted value.

Double minimum()

Get the minimum property: The minimum permitted value.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

MicrosoftGraphNumberColumn withAdditionalProperties(Map<String,Object> additionalProperties)

Set the additionalProperties property: numberColumn.

MicrosoftGraphNumberColumn withDecimalPlaces(String decimalPlaces)

Set the decimalPlaces property: How many decimal places to display.

MicrosoftGraphNumberColumn withDisplayAs(String displayAs)

Set the displayAs property: How the value should be presented in the UX.

MicrosoftGraphNumberColumn withMaximum(Double maximum)

Set the maximum property: The maximum permitted value.

MicrosoftGraphNumberColumn withMinimum(Double minimum)

Set the minimum property: The minimum permitted value.

Methods inherited from java.lang.Object

Constructor Details

MicrosoftGraphNumberColumn

public MicrosoftGraphNumberColumn()

Creates an instance of MicrosoftGraphNumberColumn class.

Method Details

additionalProperties

public Map additionalProperties()

Get the additionalProperties property: numberColumn.

Returns:

the additionalProperties value.

decimalPlaces

public String decimalPlaces()

Get the decimalPlaces property: How many decimal places to display. See below for information about the possible values.

Returns:

the decimalPlaces value.

displayAs

public String displayAs()

Get the displayAs property: How the value should be presented in the UX. Must be one of number or percentage. If unspecified, treated as number.

Returns:

the displayAs value.

fromJson

public static MicrosoftGraphNumberColumn fromJson(JsonReader jsonReader)

Reads an instance of MicrosoftGraphNumberColumn from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

maximum

public Double maximum()

Get the maximum property: The maximum permitted value.

Returns:

the maximum value.

minimum

public Double minimum()

Get the minimum property: The minimum permitted value.

Returns:

the minimum value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

withAdditionalProperties

public MicrosoftGraphNumberColumn withAdditionalProperties(Map additionalProperties)

Set the additionalProperties property: numberColumn.

Parameters:

additionalProperties - the additionalProperties value to set.

Returns:

the MicrosoftGraphNumberColumn object itself.

withDecimalPlaces

public MicrosoftGraphNumberColumn withDecimalPlaces(String decimalPlaces)

Set the decimalPlaces property: How many decimal places to display. See below for information about the possible values.

Parameters:

decimalPlaces - the decimalPlaces value to set.

Returns:

the MicrosoftGraphNumberColumn object itself.

withDisplayAs

public MicrosoftGraphNumberColumn withDisplayAs(String displayAs)

Set the displayAs property: How the value should be presented in the UX. Must be one of number or percentage. If unspecified, treated as number.

Parameters:

displayAs - the displayAs value to set.

Returns:

the MicrosoftGraphNumberColumn object itself.

withMaximum

public MicrosoftGraphNumberColumn withMaximum(Double maximum)

Set the maximum property: The maximum permitted value.

Parameters:

maximum - the maximum value to set.

Returns:

the MicrosoftGraphNumberColumn object itself.

withMinimum

public MicrosoftGraphNumberColumn withMinimum(Double minimum)

Set the minimum property: The minimum permitted value.

Parameters:

minimum - the minimum value to set.

Returns:

the MicrosoftGraphNumberColumn object itself.

Applies to