Share via


MicrosoftGraphStoragePlanInformation Class

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

Implements

public final class MicrosoftGraphStoragePlanInformation
implements JsonSerializable<MicrosoftGraphStoragePlanInformation>

Represents a storage plan information.

Constructor Summary

Constructor Description
MicrosoftGraphStoragePlanInformation()

Creates an instance of MicrosoftGraphStoragePlanInformation class.

Method Summary

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

Get the additionalProperties property: storagePlanInformation.

static MicrosoftGraphStoragePlanInformation fromJson(JsonReader jsonReader)

Reads an instance of MicrosoftGraphStoragePlanInformation from the JsonReader.

JsonWriter toJson(JsonWriter jsonWriter)
Boolean upgradeAvailable()

Get the upgradeAvailable property: Indicates whether there are higher storage quota plans available.

void validate()

Validates the instance.

MicrosoftGraphStoragePlanInformation withAdditionalProperties(Map<String,Object> additionalProperties)

Set the additionalProperties property: storagePlanInformation.

MicrosoftGraphStoragePlanInformation withUpgradeAvailable(Boolean upgradeAvailable)

Set the upgradeAvailable property: Indicates whether there are higher storage quota plans available.

Methods inherited from java.lang.Object

Constructor Details

MicrosoftGraphStoragePlanInformation

public MicrosoftGraphStoragePlanInformation()

Creates an instance of MicrosoftGraphStoragePlanInformation class.

Method Details

additionalProperties

public Map<String,Object> additionalProperties()

Get the additionalProperties property: storagePlanInformation.

Returns:

the additionalProperties value.

fromJson

public static MicrosoftGraphStoragePlanInformation fromJson(JsonReader jsonReader)

Reads an instance of MicrosoftGraphStoragePlanInformation from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

upgradeAvailable

public Boolean upgradeAvailable()

Get the upgradeAvailable property: Indicates whether there are higher storage quota plans available. Read-only.

Returns:

the upgradeAvailable value.

validate

public void validate()

Validates the instance.

withAdditionalProperties

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

Set the additionalProperties property: storagePlanInformation.

Parameters:

additionalProperties - the additionalProperties value to set.

Returns:

the MicrosoftGraphStoragePlanInformation object itself.

withUpgradeAvailable

public MicrosoftGraphStoragePlanInformation withUpgradeAvailable(Boolean upgradeAvailable)

Set the upgradeAvailable property: Indicates whether there are higher storage quota plans available. Read-only.

Parameters:

upgradeAvailable - the upgradeAvailable value to set.

Returns:

the MicrosoftGraphStoragePlanInformation object itself.

Applies to