Class MicrosoftGraphNumberColumn
- java.lang.Object
-
- com.azure.resourcemanager.authorization.fluent.models.MicrosoftGraphNumberColumn
-
public final class MicrosoftGraphNumberColumn extends Object
numberColumn.
-
-
Constructor Summary
Constructors Constructor Description MicrosoftGraphNumberColumn()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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.Double
maximum()
Get the maximum property: The maximum permitted value.Double
minimum()
Get the minimum property: The minimum permitted value.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.
-
-
-
Method Detail
-
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.
-
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.
-
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.
-
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.
-
maximum
public Double maximum()
Get the maximum property: The maximum permitted value.- Returns:
- the maximum value.
-
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.
-
minimum
public Double minimum()
Get the minimum property: The minimum permitted value.- Returns:
- the minimum value.
-
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.
-
additionalProperties
public Map<String,Object> additionalProperties()
Get the additionalProperties property: numberColumn.- Returns:
- the additionalProperties value.
-
withAdditionalProperties
public MicrosoftGraphNumberColumn withAdditionalProperties(Map<String,Object> additionalProperties)
Set the additionalProperties property: numberColumn.- Parameters:
additionalProperties
- the additionalProperties value to set.- Returns:
- the MicrosoftGraphNumberColumn object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
-