public class EBookInstallSummary extends Entity implements com.github.davidmoten.odata.client.ODataEntityType
| Modifier and Type | Class and Description |
|---|---|
static class |
EBookInstallSummary.Builder |
| Modifier and Type | Field and Description |
|---|---|
protected Integer |
failedDeviceCount |
protected Integer |
failedUserCount |
protected Integer |
installedDeviceCount |
protected Integer |
installedUserCount |
protected Integer |
notInstalledDeviceCount |
protected Integer |
notInstalledUserCount |
changedFields, contextPath, id, odataType, unmappedFields| Modifier | Constructor and Description |
|---|---|
protected |
EBookInstallSummary() |
| Modifier and Type | Method and Description |
|---|---|
static EBookInstallSummary.Builder |
builderEBookInstallSummary()
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<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.internal.UnmappedFields |
getUnmappedFields() |
String |
odataTypeName() |
EBookInstallSummary |
patch()
Submits only changed fields for update and returns an
immutable copy of
this with changed fields reset. |
void |
postInject(boolean addKeysToContextPath) |
EBookInstallSummary |
put()
Submits all fields for update and returns an immutable copy of
this
with changed fields reset (they were ignored anyway). |
String |
toString() |
EBookInstallSummary |
withFailedDeviceCount(Integer failedDeviceCount)
Returns an immutable copy of
this with just the failedDeviceCount
field changed. |
EBookInstallSummary |
withFailedUserCount(Integer failedUserCount)
Returns an immutable copy of
this with just the failedUserCount
field changed. |
EBookInstallSummary |
withInstalledDeviceCount(Integer installedDeviceCount)
Returns an immutable copy of
this with just the installedDeviceCount field changed. |
EBookInstallSummary |
withInstalledUserCount(Integer installedUserCount)
Returns an immutable copy of
this with just the installedUserCount field changed. |
EBookInstallSummary |
withNotInstalledDeviceCount(Integer notInstalledDeviceCount)
Returns an immutable copy of
this with just the notInstalledDeviceCount field changed. |
EBookInstallSummary |
withNotInstalledUserCount(Integer notInstalledUserCount)
Returns an immutable copy of
this with just the notInstalledUserCount field changed. |
protected Integer installedDeviceCount
protected Integer failedDeviceCount
protected Integer notInstalledDeviceCount
protected Integer installedUserCount
protected Integer failedUserCount
protected Integer notInstalledUserCount
public String odataTypeName()
odataTypeName in interface com.github.davidmoten.odata.client.ODataTypeodataTypeName in class Entitypublic static EBookInstallSummary.Builder builderEBookInstallSummary()
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 Optional<Integer> getInstalledDeviceCount()
public EBookInstallSummary withInstalledDeviceCount(Integer installedDeviceCount)
this with just the installedDeviceCount field changed. Field description below. The field name is
also added to an internal map of changed fields in the returned object so that
when this.patch() is called (if available)on the returned object only
the changed fields are submitted.
“Number of Devices that have successfully installed this book.”
installedDeviceCount - new value of installedDeviceCount field (as defined in service metadata)this with just the installedDeviceCount field changedpublic Optional<Integer> getFailedDeviceCount()
public EBookInstallSummary withFailedDeviceCount(Integer failedDeviceCount)
this with just the failedDeviceCount
field changed. Field description below. The field name is also added to an
internal map of changed fields in the returned object so that when this.
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.”
failedDeviceCount - new value of failedDeviceCount field (as defined in service metadata)this with just the failedDeviceCount field changedpublic Optional<Integer> getNotInstalledDeviceCount()
public EBookInstallSummary withNotInstalledDeviceCount(Integer notInstalledDeviceCount)
this with just the notInstalledDeviceCount field changed. Field description below. The field name
is also added to an internal map of changed fields in the returned object so
that when this.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.”
notInstalledDeviceCount - new value of notInstalledDeviceCount field (as defined in service metadata)this with just the notInstalledDeviceCount field changedpublic Optional<Integer> getInstalledUserCount()
public EBookInstallSummary withInstalledUserCount(Integer installedUserCount)
this with just the installedUserCount field changed. Field description below. The field name is
also added to an internal map of changed fields in the returned object so that
when this.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.”
installedUserCount - new value of installedUserCount field (as defined in service metadata)this with just the installedUserCount field changedpublic Optional<Integer> getFailedUserCount()
public EBookInstallSummary withFailedUserCount(Integer failedUserCount)
this with just the failedUserCount
field changed. Field description below. The field name is also added to an
internal map of changed fields in the returned object so that when this.
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.”
failedUserCount - new value of failedUserCount field (as defined in service metadata)this with just the failedUserCount field changedpublic Optional<Integer> getNotInstalledUserCount()
public EBookInstallSummary withNotInstalledUserCount(Integer notInstalledUserCount)
this with just the notInstalledUserCount field changed. Field description below. The field name is
also added to an internal map of changed fields in the returned object so that
when this.patch() is called (if available)on the returned object only
the changed fields are submitted.
“Number of Users that did not install this book.”
notInstalledUserCount - new value of notInstalledUserCount field (as defined in service metadata)this with just the notInstalledUserCount field changedpublic com.github.davidmoten.odata.client.internal.UnmappedFields getUnmappedFields()
getUnmappedFields in interface com.github.davidmoten.odata.client.ODataTypegetUnmappedFields in class Entitypublic EBookInstallSummary patch()
this with changed fields reset.public EBookInstallSummary put()
this
with changed fields reset (they were ignored anyway).Copyright © 2018–2020. All rights reserved.