Class PrintUsage

java.lang.Object
com.microsoft.graph.models.Entity
com.microsoft.graph.models.PrintUsage
All Implemented Interfaces:
com.microsoft.kiota.serialization.AdditionalDataHolder, com.microsoft.kiota.serialization.Parsable, com.microsoft.kiota.store.BackedModel
Direct Known Subclasses:
PrintUsageByPrinter, PrintUsageByUser

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

    • PrintUsage

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

    • createFromDiscriminatorValue

      @Nonnull public static PrintUsage 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 PrintUsage
    • getBlackAndWhitePageCount

      @Nullable public Long getBlackAndWhitePageCount()
      Gets the blackAndWhitePageCount property value. The blackAndWhitePageCount property
      Returns:
      a Long
    • getColorPageCount

      @Nullable public Long getColorPageCount()
      Gets the colorPageCount property value. The colorPageCount property
      Returns:
      a Long
    • getCompletedBlackAndWhiteJobCount

      @Nullable public Long getCompletedBlackAndWhiteJobCount()
      Gets the completedBlackAndWhiteJobCount property value. The completedBlackAndWhiteJobCount property
      Returns:
      a Long
    • getCompletedColorJobCount

      @Nullable public Long getCompletedColorJobCount()
      Gets the completedColorJobCount property value. The completedColorJobCount property
      Returns:
      a Long
    • getCompletedJobCount

      @Nullable public Long getCompletedJobCount()
      Gets the completedJobCount property value. The completedJobCount property
      Returns:
      a Long
    • getDoubleSidedSheetCount

      @Nullable public Long getDoubleSidedSheetCount()
      Gets the doubleSidedSheetCount property value. The doubleSidedSheetCount 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>>
    • getIncompleteJobCount

      @Nullable public Long getIncompleteJobCount()
      Gets the incompleteJobCount property value. The incompleteJobCount property
      Returns:
      a Long
    • getMediaSheetCount

      @Nullable public Long getMediaSheetCount()
      Gets the mediaSheetCount property value. The mediaSheetCount property
      Returns:
      a Long
    • getPageCount

      @Nullable public Long getPageCount()
      Gets the pageCount property value. The pageCount property
      Returns:
      a Long
    • getSingleSidedSheetCount

      @Nullable public Long getSingleSidedSheetCount()
      Gets the singleSidedSheetCount property value. The singleSidedSheetCount property
      Returns:
      a Long
    • getUsageDate

      @Nullable public LocalDate getUsageDate()
      Gets the usageDate property value. The usageDate property
      Returns:
      a LocalDate
    • 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
    • setBlackAndWhitePageCount

      public void setBlackAndWhitePageCount(@Nullable Long value)
      Sets the blackAndWhitePageCount property value. The blackAndWhitePageCount property
      Parameters:
      value - Value to set for the blackAndWhitePageCount property.
    • setColorPageCount

      public void setColorPageCount(@Nullable Long value)
      Sets the colorPageCount property value. The colorPageCount property
      Parameters:
      value - Value to set for the colorPageCount property.
    • setCompletedBlackAndWhiteJobCount

      public void setCompletedBlackAndWhiteJobCount(@Nullable Long value)
      Sets the completedBlackAndWhiteJobCount property value. The completedBlackAndWhiteJobCount property
      Parameters:
      value - Value to set for the completedBlackAndWhiteJobCount property.
    • setCompletedColorJobCount

      public void setCompletedColorJobCount(@Nullable Long value)
      Sets the completedColorJobCount property value. The completedColorJobCount property
      Parameters:
      value - Value to set for the completedColorJobCount property.
    • setCompletedJobCount

      public void setCompletedJobCount(@Nullable Long value)
      Sets the completedJobCount property value. The completedJobCount property
      Parameters:
      value - Value to set for the completedJobCount property.
    • setDoubleSidedSheetCount

      public void setDoubleSidedSheetCount(@Nullable Long value)
      Sets the doubleSidedSheetCount property value. The doubleSidedSheetCount property
      Parameters:
      value - Value to set for the doubleSidedSheetCount property.
    • setIncompleteJobCount

      public void setIncompleteJobCount(@Nullable Long value)
      Sets the incompleteJobCount property value. The incompleteJobCount property
      Parameters:
      value - Value to set for the incompleteJobCount property.
    • setMediaSheetCount

      public void setMediaSheetCount(@Nullable Long value)
      Sets the mediaSheetCount property value. The mediaSheetCount property
      Parameters:
      value - Value to set for the mediaSheetCount property.
    • setPageCount

      public void setPageCount(@Nullable Long value)
      Sets the pageCount property value. The pageCount property
      Parameters:
      value - Value to set for the pageCount property.
    • setSingleSidedSheetCount

      public void setSingleSidedSheetCount(@Nullable Long value)
      Sets the singleSidedSheetCount property value. The singleSidedSheetCount property
      Parameters:
      value - Value to set for the singleSidedSheetCount property.
    • setUsageDate

      public void setUsageDate(@Nullable LocalDate value)
      Sets the usageDate property value. The usageDate property
      Parameters:
      value - Value to set for the usageDate property.