public class UserInstallStateSummary extends Entity implements com.github.davidmoten.odata.client.ODataEntityType
| Modifier and Type | Class and Description |
|---|---|
static class |
UserInstallStateSummary.Builder |
| Modifier and Type | Field and Description |
|---|---|
protected Integer |
failedDeviceCount |
protected Integer |
installedDeviceCount |
protected Integer |
notInstalledDeviceCount |
protected String |
userName |
changedFields, contextPath, id, odataType, unmappedFields| Modifier | Constructor and Description |
|---|---|
protected |
UserInstallStateSummary() |
| Modifier and Type | Method and Description |
|---|---|
static UserInstallStateSummary.Builder |
builderUserInstallStateSummary()
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() |
DeviceInstallStateCollectionRequest |
getDeviceStates()
“The install state of the eBook.”
|
Optional<Integer> |
getFailedDeviceCount()
“Failed Device Count.”
|
Optional<Integer> |
getInstalledDeviceCount()
“Installed Device Count.”
|
Optional<Integer> |
getNotInstalledDeviceCount()
“Not installed device count.”
|
com.github.davidmoten.odata.client.internal.UnmappedFields |
getUnmappedFields() |
Optional<String> |
getUserName()
“User name.”
|
String |
odataTypeName() |
UserInstallStateSummary |
patch()
Submits only changed fields for update and returns an
immutable copy of
this with changed fields reset. |
void |
postInject(boolean addKeysToContextPath) |
UserInstallStateSummary |
put()
Submits all fields for update and returns an immutable copy of
this
with changed fields reset (they were ignored anyway). |
String |
toString() |
UserInstallStateSummary |
withFailedDeviceCount(Integer failedDeviceCount)
Returns an immutable copy of
this with just the failedDeviceCount
field changed. |
UserInstallStateSummary |
withInstalledDeviceCount(Integer installedDeviceCount)
Returns an immutable copy of
this with just the installedDeviceCount field changed. |
UserInstallStateSummary |
withNotInstalledDeviceCount(Integer notInstalledDeviceCount)
Returns an immutable copy of
this with just the notInstalledDeviceCount field changed. |
UserInstallStateSummary |
withUserName(String userName)
Returns an immutable copy of
this with just the userName field
changed. |
protected String userName
protected Integer installedDeviceCount
protected Integer failedDeviceCount
protected Integer notInstalledDeviceCount
public String odataTypeName()
odataTypeName in interface com.github.davidmoten.odata.client.ODataTypeodataTypeName in class Entitypublic static UserInstallStateSummary.Builder builderUserInstallStateSummary()
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 UserInstallStateSummary withUserName(String userName)
this with just the userName 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.
“User name.”
userName - new value of userName field (as defined in service metadata)this with just the userName field changedpublic Optional<Integer> getInstalledDeviceCount()
public UserInstallStateSummary 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.
“Installed Device Count.”
installedDeviceCount - new value of installedDeviceCount field (as defined in service metadata)this with just the installedDeviceCount field changedpublic Optional<Integer> getFailedDeviceCount()
public UserInstallStateSummary 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.
“Failed Device Count.”
failedDeviceCount - new value of failedDeviceCount field (as defined in service metadata)this with just the failedDeviceCount field changedpublic Optional<Integer> getNotInstalledDeviceCount()
public UserInstallStateSummary 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.
“Not installed device count.”
notInstalledDeviceCount - new value of notInstalledDeviceCount field (as defined in service metadata)this with just the notInstalledDeviceCount field changedpublic DeviceInstallStateCollectionRequest getDeviceStates()
public com.github.davidmoten.odata.client.internal.UnmappedFields getUnmappedFields()
getUnmappedFields in interface com.github.davidmoten.odata.client.ODataTypegetUnmappedFields in class Entitypublic UserInstallStateSummary patch()
this with changed fields reset.public UserInstallStateSummary put()
this
with changed fields reset (they were ignored anyway).Copyright © 2018–2020. All rights reserved.