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 LongcompletedBlackAndWhiteJobCountprotected LongcompletedColorJobCountprotected LongincompleteJobCountprotected LocalDateusageDate-
Fields inherited from class odata.msgraph.client.entity.Entity
changedFields, contextPath, id, odataType, unmappedFields
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedPrintUsage()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description com.github.davidmoten.odata.client.internal.ChangedFieldsgetChangedFields()Optional<Long>getCompletedBlackAndWhiteJobCount()Optional<Long>getCompletedColorJobCount()Optional<Long>getIncompleteJobCount()com.github.davidmoten.odata.client.UnmappedFieldsgetUnmappedFields()Optional<LocalDate>getUsageDate()StringodataTypeName()PrintUsagepatch()Submits only changed fields for update and returns an immutable copy ofthiswith changed fields reset.voidpostInject(boolean addKeysToContextPath)PrintUsageput()Submits all fields for update and returns an immutable copy ofthiswith changed fields reset (they were ignored anyway).StringtoString()PrintUsagewithCompletedBlackAndWhiteJobCount(Long completedBlackAndWhiteJobCount)PrintUsagewithCompletedColorJobCount(Long completedColorJobCount)PrintUsagewithIncompleteJobCount(Long incompleteJobCount)PrintUsagewithUnmappedField(String name, String value)PrintUsagewithUsageDate(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
-
withCompletedBlackAndWhiteJobCount
public PrintUsage withCompletedBlackAndWhiteJobCount(Long completedBlackAndWhiteJobCount)
-
withCompletedColorJobCount
public PrintUsage withCompletedColorJobCount(Long completedColorJobCount)
-
withIncompleteJobCount
public PrintUsage withIncompleteJobCount(Long incompleteJobCount)
-
withUsageDate
public PrintUsage withUsageDate(LocalDate usageDate)
-
withUnmappedField
public PrintUsage withUnmappedField(String name, String 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).
-
-