Package odata.msgraph.client.entity
Class PrintUsage
- java.lang.Object
-
- odata.msgraph.client.entity.Entity
-
- odata.msgraph.client.entity.PrintUsage
-
- All Implemented Interfaces:
com.github.davidmoten.odata.client.ODataEntityType,com.github.davidmoten.odata.client.ODataType
- Direct Known Subclasses:
PrintUsageByPrinter,PrintUsageByUser
public class PrintUsage extends Entity implements com.github.davidmoten.odata.client.ODataEntityType
-
-
Field Summary
Fields Modifier and Type Field Description protected LongblackAndWhitePageCountprotected LongcolorPageCountprotected LongcompletedBlackAndWhiteJobCountprotected LongcompletedColorJobCountprotected LongcompletedJobCountprotected LongdoubleSidedSheetCountprotected LongincompleteJobCountprotected LongmediaSheetCountprotected LongpageCountprotected LongsingleSidedSheetCountprotected LocalDateusageDate-
Fields inherited from class odata.msgraph.client.entity.Entity
changedFields, contextPath, id, odataType, unmappedFields
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedPrintUsage()
-
Method Summary
-
-
-
Field Detail
-
blackAndWhitePageCount
protected Long blackAndWhitePageCount
-
colorPageCount
protected Long colorPageCount
-
completedBlackAndWhiteJobCount
protected Long completedBlackAndWhiteJobCount
-
completedColorJobCount
protected Long completedColorJobCount
-
completedJobCount
protected Long completedJobCount
-
doubleSidedSheetCount
protected Long doubleSidedSheetCount
-
incompleteJobCount
protected Long incompleteJobCount
-
mediaSheetCount
protected Long mediaSheetCount
-
pageCount
protected Long pageCount
-
singleSidedSheetCount
protected Long singleSidedSheetCount
-
usageDate
protected LocalDate usageDate
-
-
Method Detail
-
odataTypeName
public String odataTypeName()
- Specified by:
odataTypeNamein interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
odataTypeNamein classEntity
-
getChangedFields
public com.github.davidmoten.odata.client.internal.ChangedFields getChangedFields()
- Specified by:
getChangedFieldsin interfacecom.github.davidmoten.odata.client.ODataEntityType- Overrides:
getChangedFieldsin classEntity
-
postInject
public void postInject(boolean addKeysToContextPath)
- Specified by:
postInjectin interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
postInjectin classEntity
-
withBlackAndWhitePageCount
public PrintUsage withBlackAndWhitePageCount(Long blackAndWhitePageCount)
-
withColorPageCount
public PrintUsage withColorPageCount(Long colorPageCount)
-
withCompletedBlackAndWhiteJobCount
public PrintUsage withCompletedBlackAndWhiteJobCount(Long completedBlackAndWhiteJobCount)
-
withCompletedColorJobCount
public PrintUsage withCompletedColorJobCount(Long completedColorJobCount)
-
withCompletedJobCount
public PrintUsage withCompletedJobCount(Long completedJobCount)
-
withDoubleSidedSheetCount
public PrintUsage withDoubleSidedSheetCount(Long doubleSidedSheetCount)
-
withIncompleteJobCount
public PrintUsage withIncompleteJobCount(Long incompleteJobCount)
-
withMediaSheetCount
public PrintUsage withMediaSheetCount(Long mediaSheetCount)
-
withPageCount
public PrintUsage withPageCount(Long pageCount)
-
withSingleSidedSheetCount
public PrintUsage withSingleSidedSheetCount(Long singleSidedSheetCount)
-
withUsageDate
public PrintUsage withUsageDate(LocalDate usageDate)
-
withUnmappedField
public PrintUsage withUnmappedField(String name, Object value)
- Overrides:
withUnmappedFieldin classEntity
-
getUnmappedFields
public com.github.davidmoten.odata.client.UnmappedFields getUnmappedFields()
- Specified by:
getUnmappedFieldsin interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
getUnmappedFieldsin classEntity
-
patch
public PrintUsage patch()
Submits only changed fields for update and returns an immutable copy ofthiswith changed fields reset.
-
put
public PrintUsage put()
Submits all fields for update and returns an immutable copy ofthiswith changed fields reset (they were ignored anyway).
-
-