MicrosoftGraphSizeRange Class

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

Implements

public final class MicrosoftGraphSizeRange
implements JsonSerializable<MicrosoftGraphSizeRange>

sizeRange.

Constructor Summary

Constructor Description
MicrosoftGraphSizeRange()

Creates an instance of MicrosoftGraphSizeRange class.

Method Summary

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

Get the additionalProperties property: sizeRange.

static MicrosoftGraphSizeRange fromJson(JsonReader jsonReader)

Reads an instance of MicrosoftGraphSizeRange from the JsonReader.

Integer maximumSize()

Get the maximumSize property: The maximum size (in kilobytes) that an incoming message must have in order for a condition or exception to apply.

Integer minimumSize()

Get the minimumSize property: The minimum size (in kilobytes) that an incoming message must have in order for a condition or exception to apply.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

MicrosoftGraphSizeRange withAdditionalProperties(Map<String,Object> additionalProperties)

Set the additionalProperties property: sizeRange.

MicrosoftGraphSizeRange withMaximumSize(Integer maximumSize)

Set the maximumSize property: The maximum size (in kilobytes) that an incoming message must have in order for a condition or exception to apply.

MicrosoftGraphSizeRange withMinimumSize(Integer minimumSize)

Set the minimumSize property: The minimum size (in kilobytes) that an incoming message must have in order for a condition or exception to apply.

Methods inherited from java.lang.Object

Constructor Details

MicrosoftGraphSizeRange

public MicrosoftGraphSizeRange()

Creates an instance of MicrosoftGraphSizeRange class.

Method Details

additionalProperties

public Map additionalProperties()

Get the additionalProperties property: sizeRange.

Returns:

the additionalProperties value.

fromJson

public static MicrosoftGraphSizeRange fromJson(JsonReader jsonReader)

Reads an instance of MicrosoftGraphSizeRange from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

maximumSize

public Integer maximumSize()

Get the maximumSize property: The maximum size (in kilobytes) that an incoming message must have in order for a condition or exception to apply.

Returns:

the maximumSize value.

minimumSize

public Integer minimumSize()

Get the minimumSize property: The minimum size (in kilobytes) that an incoming message must have in order for a condition or exception to apply.

Returns:

the minimumSize value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

withAdditionalProperties

public MicrosoftGraphSizeRange withAdditionalProperties(Map additionalProperties)

Set the additionalProperties property: sizeRange.

Parameters:

additionalProperties - the additionalProperties value to set.

Returns:

the MicrosoftGraphSizeRange object itself.

withMaximumSize

public MicrosoftGraphSizeRange withMaximumSize(Integer maximumSize)

Set the maximumSize property: The maximum size (in kilobytes) that an incoming message must have in order for a condition or exception to apply.

Parameters:

maximumSize - the maximumSize value to set.

Returns:

the MicrosoftGraphSizeRange object itself.

withMinimumSize

public MicrosoftGraphSizeRange withMinimumSize(Integer minimumSize)

Set the minimumSize property: The minimum size (in kilobytes) that an incoming message must have in order for a condition or exception to apply.

Parameters:

minimumSize - the minimumSize value to set.

Returns:

the MicrosoftGraphSizeRange object itself.

Applies to