Class UnifiedStorageQuota

java.lang.Object
com.microsoft.graph.models.Entity
com.microsoft.graph.models.UnifiedStorageQuota
All Implemented Interfaces:
com.microsoft.kiota.serialization.AdditionalDataHolder, com.microsoft.kiota.serialization.Parsable, com.microsoft.kiota.store.BackedModel

@Generated("com.microsoft.kiota") public class UnifiedStorageQuota extends Entity implements com.microsoft.kiota.serialization.Parsable
  • Constructor Details

    • UnifiedStorageQuota

      public UnifiedStorageQuota()
      Instantiates a new UnifiedStorageQuota and sets the default values.
  • Method Details

    • createFromDiscriminatorValue

      @Nonnull public static UnifiedStorageQuota createFromDiscriminatorValue(@Nonnull com.microsoft.kiota.serialization.ParseNode parseNode)
      Creates a new instance of the appropriate class based on discriminator value
      Parameters:
      parseNode - The parse node to use to read the discriminator value and create the object
      Returns:
      a UnifiedStorageQuota
    • getDeleted

      @Nullable public Long getDeleted()
      Gets the deleted property value. The deleted property
      Returns:
      a Long
    • getFieldDeserializers

      @Nonnull public Map<String,Consumer<com.microsoft.kiota.serialization.ParseNode>> getFieldDeserializers()
      The deserialization information for the current model
      Specified by:
      getFieldDeserializers in interface com.microsoft.kiota.serialization.Parsable
      Overrides:
      getFieldDeserializers in class Entity
      Returns:
      a Map<String,Consumer<com.microsoft.kiota.serialization.ParseNode>>
    • getManageWebUrl

      @Nullable public String getManageWebUrl()
      Gets the manageWebUrl property value. The manageWebUrl property
      Returns:
      a String
    • getRemaining

      @Nullable public Long getRemaining()
      Gets the remaining property value. The remaining property
      Returns:
      a Long
    • getServices

      @Nullable public List<ServiceStorageQuotaBreakdown> getServices()
      Gets the services property value. The services property
      Returns:
      a List<ServiceStorageQuotaBreakdown>
    • getState

      @Nullable public String getState()
      Gets the state property value. The state property
      Returns:
      a String
    • getTotal

      @Nullable public Long getTotal()
      Gets the total property value. The total property
      Returns:
      a Long
    • getUsed

      @Nullable public Long getUsed()
      Gets the used property value. The used property
      Returns:
      a Long
    • serialize

      public void serialize(@Nonnull com.microsoft.kiota.serialization.SerializationWriter writer)
      Serializes information the current object
      Specified by:
      serialize in interface com.microsoft.kiota.serialization.Parsable
      Overrides:
      serialize in class Entity
      Parameters:
      writer - Serialization writer to use to serialize this model
    • setDeleted

      public void setDeleted(@Nullable Long value)
      Sets the deleted property value. The deleted property
      Parameters:
      value - Value to set for the deleted property.
    • setManageWebUrl

      public void setManageWebUrl(@Nullable String value)
      Sets the manageWebUrl property value. The manageWebUrl property
      Parameters:
      value - Value to set for the manageWebUrl property.
    • setRemaining

      public void setRemaining(@Nullable Long value)
      Sets the remaining property value. The remaining property
      Parameters:
      value - Value to set for the remaining property.
    • setServices

      public void setServices(@Nullable List<ServiceStorageQuotaBreakdown> value)
      Sets the services property value. The services property
      Parameters:
      value - Value to set for the services property.
    • setState

      public void setState(@Nullable String value)
      Sets the state property value. The state property
      Parameters:
      value - Value to set for the state property.
    • setTotal

      public void setTotal(@Nullable Long value)
      Sets the total property value. The total property
      Parameters:
      value - Value to set for the total property.
    • setUsed

      public void setUsed(@Nullable Long value)
      Sets the used property value. The used property
      Parameters:
      value - Value to set for the used property.