Share via


MicrosoftGraphCurrencyColumn Class

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

Implements

public final class MicrosoftGraphCurrencyColumn
implements JsonSerializable<MicrosoftGraphCurrencyColumn>

Represents a currency column.

Constructor Summary

Constructor Description
MicrosoftGraphCurrencyColumn()

Creates an instance of MicrosoftGraphCurrencyColumn class.

Method Summary

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

Get the additionalProperties property: currencyColumn.

static MicrosoftGraphCurrencyColumn fromJson(JsonReader jsonReader)

Reads an instance of MicrosoftGraphCurrencyColumn from the JsonReader.

String locale()

Get the locale property: Specifies the locale from which to infer the currency symbol.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

MicrosoftGraphCurrencyColumn withAdditionalProperties(Map<String,Object> additionalProperties)

Set the additionalProperties property: currencyColumn.

MicrosoftGraphCurrencyColumn withLocale(String locale)

Set the locale property: Specifies the locale from which to infer the currency symbol.

Methods inherited from java.lang.Object

Constructor Details

MicrosoftGraphCurrencyColumn

public MicrosoftGraphCurrencyColumn()

Creates an instance of MicrosoftGraphCurrencyColumn class.

Method Details

additionalProperties

public Map<String,Object> additionalProperties()

Get the additionalProperties property: currencyColumn.

Returns:

the additionalProperties value.

fromJson

public static MicrosoftGraphCurrencyColumn fromJson(JsonReader jsonReader)

Reads an instance of MicrosoftGraphCurrencyColumn from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

locale

public String locale()

Get the locale property: Specifies the locale from which to infer the currency symbol.

Returns:

the locale value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

withAdditionalProperties

public MicrosoftGraphCurrencyColumn withAdditionalProperties(Map<String,Object> additionalProperties)

Set the additionalProperties property: currencyColumn.

Parameters:

additionalProperties - the additionalProperties value to set.

Returns:

the MicrosoftGraphCurrencyColumn object itself.

withLocale

public MicrosoftGraphCurrencyColumn withLocale(String locale)

Set the locale property: Specifies the locale from which to infer the currency symbol.

Parameters:

locale - the locale value to set.

Returns:

the MicrosoftGraphCurrencyColumn object itself.

Applies to