Package odata.msgraph.client.beta.entity
Class EBookInstallSummary
- java.lang.Object
-
- odata.msgraph.client.beta.entity.Entity
-
- odata.msgraph.client.beta.entity.EBookInstallSummary
-
- All Implemented Interfaces:
com.github.davidmoten.odata.client.ODataEntityType,com.github.davidmoten.odata.client.ODataType
public class EBookInstallSummary extends Entity implements com.github.davidmoten.odata.client.ODataEntityType
“Contains properties for the installation summary of a book for a device.”
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classEBookInstallSummary.Builder
-
Field Summary
Fields Modifier and Type Field Description protected IntegerfailedDeviceCountprotected IntegerfailedUserCountprotected IntegerinstalledDeviceCountprotected IntegerinstalledUserCountprotected IntegernotInstalledDeviceCountprotected IntegernotInstalledUserCount-
Fields inherited from class odata.msgraph.client.beta.entity.Entity
changedFields, contextPath, id, odataType, unmappedFields
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedEBookInstallSummary()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static EBookInstallSummary.BuilderbuilderEBookInstallSummary()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.ChangedFieldsgetChangedFields()Optional<Integer>getFailedDeviceCount()“Number of Devices that have failed to install this book.”Optional<Integer>getFailedUserCount()“Number of Users that have 1 or more device that failed to install this book.”Optional<Integer>getInstalledDeviceCount()“Number of Devices that have successfully installed this book.”Optional<Integer>getInstalledUserCount()“Number of Users whose devices have all succeeded to install this book.”Optional<Integer>getNotInstalledDeviceCount()“Number of Devices that does not have this book installed.”Optional<Integer>getNotInstalledUserCount()“Number of Users that did not install this book.”com.github.davidmoten.odata.client.UnmappedFieldsgetUnmappedFields()StringodataTypeName()EBookInstallSummarypatch()Submits only changed fields for update and returns an immutable copy ofthiswith changed fields reset.voidpostInject(boolean addKeysToContextPath)EBookInstallSummaryput()Submits all fields for update and returns an immutable copy ofthiswith changed fields reset (they were ignored anyway).StringtoString()EBookInstallSummarywithFailedDeviceCount(Integer failedDeviceCount)Returns an immutable copy ofthiswith just thefailedDeviceCountfield changed.EBookInstallSummarywithFailedUserCount(Integer failedUserCount)Returns an immutable copy ofthiswith just thefailedUserCountfield changed.EBookInstallSummarywithInstalledDeviceCount(Integer installedDeviceCount)Returns an immutable copy ofthiswith just theinstalledDeviceCountfield changed.EBookInstallSummarywithInstalledUserCount(Integer installedUserCount)Returns an immutable copy ofthiswith just theinstalledUserCountfield changed.EBookInstallSummarywithNotInstalledDeviceCount(Integer notInstalledDeviceCount)Returns an immutable copy ofthiswith just thenotInstalledDeviceCountfield changed.EBookInstallSummarywithNotInstalledUserCount(Integer notInstalledUserCount)Returns an immutable copy ofthiswith just thenotInstalledUserCountfield changed.EBookInstallSummarywithUnmappedField(String name, String value)
-
-
-
Field Detail
-
failedDeviceCount
protected Integer failedDeviceCount
-
failedUserCount
protected Integer failedUserCount
-
installedDeviceCount
protected Integer installedDeviceCount
-
installedUserCount
protected Integer installedUserCount
-
notInstalledDeviceCount
protected Integer notInstalledDeviceCount
-
notInstalledUserCount
protected Integer notInstalledUserCount
-
-
Method Detail
-
odataTypeName
public String odataTypeName()
- Specified by:
odataTypeNamein interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
odataTypeNamein classEntity
-
builderEBookInstallSummary
public static EBookInstallSummary.Builder builderEBookInstallSummary()
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
-
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
-
getFailedDeviceCount
public Optional<Integer> getFailedDeviceCount()
“Number of Devices that have failed to install this book.”- Returns:
- property failedDeviceCount
-
withFailedDeviceCount
public EBookInstallSummary withFailedDeviceCount(Integer failedDeviceCount)
Returns an immutable copy ofthiswith just thefailedDeviceCountfield changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that whenthis. patch()is called (if available)on the returned object only the changed fields are submitted.“Number of Devices that have failed to install this book.”
- Parameters:
failedDeviceCount- new value offailedDeviceCountfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thefailedDeviceCountfield changed
-
getFailedUserCount
public Optional<Integer> getFailedUserCount()
“Number of Users that have 1 or more device that failed to install this book.”- Returns:
- property failedUserCount
-
withFailedUserCount
public EBookInstallSummary withFailedUserCount(Integer failedUserCount)
Returns an immutable copy ofthiswith just thefailedUserCountfield changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that whenthis. patch()is called (if available)on the returned object only the changed fields are submitted.“Number of Users that have 1 or more device that failed to install this book.”
- Parameters:
failedUserCount- new value offailedUserCountfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thefailedUserCountfield changed
-
getInstalledDeviceCount
public Optional<Integer> getInstalledDeviceCount()
“Number of Devices that have successfully installed this book.”- Returns:
- property installedDeviceCount
-
withInstalledDeviceCount
public EBookInstallSummary withInstalledDeviceCount(Integer installedDeviceCount)
Returns an immutable copy ofthiswith just theinstalledDeviceCountfield changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that whenthis.patch()is called (if available)on the returned object only the changed fields are submitted.“Number of Devices that have successfully installed this book.”
- Parameters:
installedDeviceCount- new value ofinstalledDeviceCountfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theinstalledDeviceCountfield changed
-
getInstalledUserCount
public Optional<Integer> getInstalledUserCount()
“Number of Users whose devices have all succeeded to install this book.”- Returns:
- property installedUserCount
-
withInstalledUserCount
public EBookInstallSummary withInstalledUserCount(Integer installedUserCount)
Returns an immutable copy ofthiswith just theinstalledUserCountfield changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that whenthis.patch()is called (if available)on the returned object only the changed fields are submitted.“Number of Users whose devices have all succeeded to install this book.”
- Parameters:
installedUserCount- new value ofinstalledUserCountfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theinstalledUserCountfield changed
-
getNotInstalledDeviceCount
public Optional<Integer> getNotInstalledDeviceCount()
“Number of Devices that does not have this book installed.”- Returns:
- property notInstalledDeviceCount
-
withNotInstalledDeviceCount
public EBookInstallSummary withNotInstalledDeviceCount(Integer notInstalledDeviceCount)
Returns an immutable copy ofthiswith just thenotInstalledDeviceCountfield changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that whenthis.patch()is called (if available)on the returned object only the changed fields are submitted.“Number of Devices that does not have this book installed.”
- Parameters:
notInstalledDeviceCount- new value ofnotInstalledDeviceCountfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thenotInstalledDeviceCountfield changed
-
getNotInstalledUserCount
public Optional<Integer> getNotInstalledUserCount()
“Number of Users that did not install this book.”- Returns:
- property notInstalledUserCount
-
withNotInstalledUserCount
public EBookInstallSummary withNotInstalledUserCount(Integer notInstalledUserCount)
Returns an immutable copy ofthiswith just thenotInstalledUserCountfield changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that whenthis.patch()is called (if available)on the returned object only the changed fields are submitted.“Number of Users that did not install this book.”
- Parameters:
notInstalledUserCount- new value ofnotInstalledUserCountfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thenotInstalledUserCountfield changed
-
withUnmappedField
public EBookInstallSummary 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 EBookInstallSummary patch()
Submits only changed fields for update and returns an immutable copy ofthiswith changed fields reset.
-
put
public EBookInstallSummary put()
Submits all fields for update and returns an immutable copy ofthiswith changed fields reset (they were ignored anyway).
-
-