Class OverallPrintUsageSummary
- java.lang.Object
-
- odata.msgraph.client.beta.complex.OverallPrintUsageSummary
-
- All Implemented Interfaces:
com.github.davidmoten.odata.client.ODataType
public class OverallPrintUsageSummary extends Object implements com.github.davidmoten.odata.client.ODataType
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classOverallPrintUsageSummary.Builder
-
Field Summary
Fields Modifier and Type Field Description protected IntegeractivePrintersCountprotected IntegeractiveUsersCountprotected com.github.davidmoten.odata.client.ContextPathcontextPathprotected IntegerdaysInPeriodprotected StringodataTypeprotected List<PrinterUsageSummary>topPrintersprotected StringtopPrintersNextLinkprotected List<UserPrintUsageSummary>topUsersprotected StringtopUsersNextLinkprotected IntegertotalIncompleteJobsprotected IntegertotalJobsProcessedprotected com.github.davidmoten.odata.client.internal.UnmappedFieldsImplunmappedFields
-
Constructor Summary
Constructors Modifier Constructor Description protectedOverallPrintUsageSummary()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static OverallPrintUsageSummary.Builderbuilder()Returns a builder which is used to create a new instance of this class (given that this class is immutable).Optional<Integer>getActivePrintersCount()Optional<Integer>getActiveUsersCount()Optional<Integer>getDaysInPeriod()com.github.davidmoten.odata.client.CollectionPage<PrinterUsageSummary>getTopPrinters()com.github.davidmoten.odata.client.CollectionPage<PrinterUsageSummary>getTopPrinters(com.github.davidmoten.odata.client.HttpRequestOptions options)com.github.davidmoten.odata.client.CollectionPage<UserPrintUsageSummary>getTopUsers()com.github.davidmoten.odata.client.CollectionPage<UserPrintUsageSummary>getTopUsers(com.github.davidmoten.odata.client.HttpRequestOptions options)Optional<Integer>getTotalIncompleteJobs()Optional<Integer>getTotalJobsProcessed()com.github.davidmoten.odata.client.UnmappedFieldsgetUnmappedFields()StringodataTypeName()voidpostInject(boolean addKeysToContextPath)StringtoString()OverallPrintUsageSummarywithActivePrintersCount(Integer activePrintersCount)OverallPrintUsageSummarywithActiveUsersCount(Integer activeUsersCount)OverallPrintUsageSummarywithDaysInPeriod(Integer daysInPeriod)OverallPrintUsageSummarywithTotalIncompleteJobs(Integer totalIncompleteJobs)OverallPrintUsageSummarywithTotalJobsProcessed(Integer totalJobsProcessed)OverallPrintUsageSummarywithUnmappedField(String name, String value)
-
-
-
Field Detail
-
contextPath
protected com.github.davidmoten.odata.client.ContextPath contextPath
-
unmappedFields
protected com.github.davidmoten.odata.client.internal.UnmappedFieldsImpl unmappedFields
-
odataType
protected String odataType
-
activePrintersCount
protected Integer activePrintersCount
-
activeUsersCount
protected Integer activeUsersCount
-
daysInPeriod
protected Integer daysInPeriod
-
topPrinters
protected List<PrinterUsageSummary> topPrinters
-
topPrintersNextLink
protected String topPrintersNextLink
-
topUsers
protected List<UserPrintUsageSummary> topUsers
-
topUsersNextLink
protected String topUsersNextLink
-
totalIncompleteJobs
protected Integer totalIncompleteJobs
-
totalJobsProcessed
protected Integer totalJobsProcessed
-
-
Method Detail
-
odataTypeName
public String odataTypeName()
- Specified by:
odataTypeNamein interfacecom.github.davidmoten.odata.client.ODataType
-
withActivePrintersCount
public OverallPrintUsageSummary withActivePrintersCount(Integer activePrintersCount)
-
withActiveUsersCount
public OverallPrintUsageSummary withActiveUsersCount(Integer activeUsersCount)
-
withDaysInPeriod
public OverallPrintUsageSummary withDaysInPeriod(Integer daysInPeriod)
-
getTopPrinters
public com.github.davidmoten.odata.client.CollectionPage<PrinterUsageSummary> getTopPrinters()
-
getTopPrinters
public com.github.davidmoten.odata.client.CollectionPage<PrinterUsageSummary> getTopPrinters(com.github.davidmoten.odata.client.HttpRequestOptions options)
-
getTopUsers
public com.github.davidmoten.odata.client.CollectionPage<UserPrintUsageSummary> getTopUsers()
-
getTopUsers
public com.github.davidmoten.odata.client.CollectionPage<UserPrintUsageSummary> getTopUsers(com.github.davidmoten.odata.client.HttpRequestOptions options)
-
withTotalIncompleteJobs
public OverallPrintUsageSummary withTotalIncompleteJobs(Integer totalIncompleteJobs)
-
withTotalJobsProcessed
public OverallPrintUsageSummary withTotalJobsProcessed(Integer totalJobsProcessed)
-
withUnmappedField
public OverallPrintUsageSummary withUnmappedField(String name, String value)
-
getUnmappedFields
public com.github.davidmoten.odata.client.UnmappedFields getUnmappedFields()
- Specified by:
getUnmappedFieldsin interfacecom.github.davidmoten.odata.client.ODataType
-
postInject
public void postInject(boolean addKeysToContextPath)
- Specified by:
postInjectin interfacecom.github.davidmoten.odata.client.ODataType
-
builder
public static OverallPrintUsageSummary.Builder builder()
Returns a builder which is used to create a new instance of this class (given that this class is immutable).- Returns:
- a new Builder for this class
-
-