public class PrintUsageSummaryByPrinter extends Entity implements com.github.davidmoten.odata.client.ODataEntityType
| Modifier and Type | Class and Description |
|---|---|
static class |
PrintUsageSummaryByPrinter.Builder |
| Modifier and Type | Field and Description |
|---|---|
protected Long |
completedBlackAndWhiteJobCount |
protected Long |
completedColorJobCount |
protected Long |
incompleteJobCount |
protected String |
printerId |
protected LocalDate |
usageDate |
changedFields, contextPath, id, odataType, unmappedFields| Modifier | Constructor and Description |
|---|---|
protected |
PrintUsageSummaryByPrinter() |
| Modifier and Type | Method and Description |
|---|---|
static PrintUsageSummaryByPrinter.Builder |
builderPrintUsageSummaryByPrinter()
Returns a builder which is used to create a new
instance of this class (given that this class is immutable).
|
com.github.davidmoten.odata.client.internal.ChangedFields |
getChangedFields() |
Optional<Long> |
getCompletedBlackAndWhiteJobCount() |
Optional<Long> |
getCompletedColorJobCount() |
Optional<Long> |
getIncompleteJobCount() |
Optional<String> |
getPrinterId() |
com.github.davidmoten.odata.client.internal.UnmappedFields |
getUnmappedFields() |
Optional<LocalDate> |
getUsageDate() |
String |
odataTypeName() |
PrintUsageSummaryByPrinter |
patch()
Submits only changed fields for update and returns an
immutable copy of
this with changed fields reset. |
void |
postInject(boolean addKeysToContextPath) |
PrintUsageSummaryByPrinter |
put()
Submits all fields for update and returns an immutable copy of
this
with changed fields reset (they were ignored anyway). |
String |
toString() |
PrintUsageSummaryByPrinter |
withCompletedBlackAndWhiteJobCount(Long completedBlackAndWhiteJobCount) |
PrintUsageSummaryByPrinter |
withCompletedColorJobCount(Long completedColorJobCount) |
PrintUsageSummaryByPrinter |
withIncompleteJobCount(Long incompleteJobCount) |
PrintUsageSummaryByPrinter |
withPrinterId(String printerId) |
PrintUsageSummaryByPrinter |
withUsageDate(LocalDate usageDate) |
protected String printerId
protected LocalDate usageDate
protected Long completedBlackAndWhiteJobCount
protected Long completedColorJobCount
protected Long incompleteJobCount
public String odataTypeName()
odataTypeName in interface com.github.davidmoten.odata.client.ODataTypeodataTypeName in class Entitypublic static PrintUsageSummaryByPrinter.Builder builderPrintUsageSummaryByPrinter()
public com.github.davidmoten.odata.client.internal.ChangedFields getChangedFields()
getChangedFields in interface com.github.davidmoten.odata.client.ODataEntityTypegetChangedFields in class Entitypublic void postInject(boolean addKeysToContextPath)
postInject in interface com.github.davidmoten.odata.client.ODataTypepostInject in class Entitypublic PrintUsageSummaryByPrinter withPrinterId(String printerId)
public PrintUsageSummaryByPrinter withUsageDate(LocalDate usageDate)
public PrintUsageSummaryByPrinter withCompletedBlackAndWhiteJobCount(Long completedBlackAndWhiteJobCount)
public PrintUsageSummaryByPrinter withCompletedColorJobCount(Long completedColorJobCount)
public PrintUsageSummaryByPrinter withIncompleteJobCount(Long incompleteJobCount)
public com.github.davidmoten.odata.client.internal.UnmappedFields getUnmappedFields()
getUnmappedFields in interface com.github.davidmoten.odata.client.ODataTypegetUnmappedFields in class Entitypublic PrintUsageSummaryByPrinter patch()
this with changed fields reset.public PrintUsageSummaryByPrinter put()
this
with changed fields reset (they were ignored anyway).Copyright © 2018–2020. All rights reserved.