Package com.microsoft.graph.models
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
-
Field Summary
Fields inherited from class com.microsoft.graph.models.Entity
backingStore
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic PrintUsage
createFromDiscriminatorValue
(com.microsoft.kiota.serialization.ParseNode parseNode) Creates a new instance of the appropriate class based on discriminator valueGets the blackAndWhitePageCount property value.Gets the colorPageCount property value.Gets the completedBlackAndWhiteJobCount property value.Gets the completedColorJobCount property value.Gets the completedJobCount property value.Gets the doubleSidedSheetCount property value.The deserialization information for the current modelGets the incompleteJobCount property value.Gets the mediaSheetCount property value.Gets the pageCount property value.Gets the singleSidedSheetCount property value.Gets the usageDate property value.void
serialize
(com.microsoft.kiota.serialization.SerializationWriter writer) Serializes information the current objectvoid
setBlackAndWhitePageCount
(Long value) Sets the blackAndWhitePageCount property value.void
setColorPageCount
(Long value) Sets the colorPageCount property value.void
Sets the completedBlackAndWhiteJobCount property value.void
setCompletedColorJobCount
(Long value) Sets the completedColorJobCount property value.void
setCompletedJobCount
(Long value) Sets the completedJobCount property value.void
setDoubleSidedSheetCount
(Long value) Sets the doubleSidedSheetCount property value.void
setIncompleteJobCount
(Long value) Sets the incompleteJobCount property value.void
setMediaSheetCount
(Long value) Sets the mediaSheetCount property value.void
setPageCount
(Long value) Sets the pageCount property value.void
setSingleSidedSheetCount
(Long value) Sets the singleSidedSheetCount property value.void
setUsageDate
(LocalDate value) Sets the usageDate property value.Methods inherited from class com.microsoft.graph.models.Entity
getAdditionalData, getBackingStore, getId, getOdataType, setAdditionalData, setBackingStore, setId, setOdataType
-
Constructor Details
-
PrintUsage
public PrintUsage()Instantiates a newPrintUsage
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
Gets the blackAndWhitePageCount property value. The blackAndWhitePageCount property- Returns:
- a
Long
-
getColorPageCount
Gets the colorPageCount property value. The colorPageCount property- Returns:
- a
Long
-
getCompletedBlackAndWhiteJobCount
Gets the completedBlackAndWhiteJobCount property value. The completedBlackAndWhiteJobCount property- Returns:
- a
Long
-
getCompletedColorJobCount
Gets the completedColorJobCount property value. The completedColorJobCount property- Returns:
- a
Long
-
getCompletedJobCount
Gets the completedJobCount property value. The completedJobCount property- Returns:
- a
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 interfacecom.microsoft.kiota.serialization.Parsable
- Overrides:
getFieldDeserializers
in classEntity
- Returns:
- a
Map<String,
Consumer<com.microsoft.kiota.serialization.ParseNode>>
-
getIncompleteJobCount
Gets the incompleteJobCount property value. The incompleteJobCount property- Returns:
- a
Long
-
getMediaSheetCount
Gets the mediaSheetCount property value. The mediaSheetCount property- Returns:
- a
Long
-
getPageCount
Gets the pageCount property value. The pageCount property- Returns:
- a
Long
-
getSingleSidedSheetCount
Gets the singleSidedSheetCount property value. The singleSidedSheetCount property- Returns:
- a
Long
-
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 -
setBlackAndWhitePageCount
Sets the blackAndWhitePageCount property value. The blackAndWhitePageCount property- Parameters:
value
- Value to set for the blackAndWhitePageCount property.
-
setColorPageCount
Sets the colorPageCount property value. The colorPageCount property- Parameters:
value
- Value to set for the colorPageCount property.
-
setCompletedBlackAndWhiteJobCount
Sets the completedBlackAndWhiteJobCount property value. The completedBlackAndWhiteJobCount property- Parameters:
value
- Value to set for the completedBlackAndWhiteJobCount property.
-
setCompletedColorJobCount
Sets the completedColorJobCount property value. The completedColorJobCount property- Parameters:
value
- Value to set for the completedColorJobCount property.
-
setCompletedJobCount
Sets the completedJobCount property value. The completedJobCount property- Parameters:
value
- Value to set for the completedJobCount property.
-
setDoubleSidedSheetCount
Sets the doubleSidedSheetCount property value. The doubleSidedSheetCount property- Parameters:
value
- Value to set for the doubleSidedSheetCount property.
-
setIncompleteJobCount
Sets the incompleteJobCount property value. The incompleteJobCount property- Parameters:
value
- Value to set for the incompleteJobCount property.
-
setMediaSheetCount
Sets the mediaSheetCount property value. The mediaSheetCount property- Parameters:
value
- Value to set for the mediaSheetCount property.
-
setPageCount
Sets the pageCount property value. The pageCount property- Parameters:
value
- Value to set for the pageCount property.
-
setSingleSidedSheetCount
Sets the singleSidedSheetCount property value. The singleSidedSheetCount property- Parameters:
value
- Value to set for the singleSidedSheetCount property.
-
setUsageDate
Sets the usageDate property value. The usageDate property- Parameters:
value
- Value to set for the usageDate property.
-