public class DeviceManagementScriptRunSummary extends Entity implements com.github.davidmoten.odata.client.ODataEntityType
| Modifier and Type | Class and Description |
|---|---|
static class |
DeviceManagementScriptRunSummary.Builder |
| Modifier and Type | Field and Description |
|---|---|
protected Integer |
errorDeviceCount |
protected Integer |
errorUserCount |
protected Integer |
successDeviceCount |
protected Integer |
successUserCount |
changedFields, contextPath, id, odataType, unmappedFields| Modifier | Constructor and Description |
|---|---|
protected |
DeviceManagementScriptRunSummary() |
| Modifier and Type | Method and Description |
|---|---|
static DeviceManagementScriptRunSummary.Builder |
builderDeviceManagementScriptRunSummary()
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> |
getErrorDeviceCount()
“Error device count.”
|
Optional<Integer> |
getErrorUserCount()
“Error user count.”
|
Optional<Integer> |
getSuccessDeviceCount()
“Success device count.”
|
Optional<Integer> |
getSuccessUserCount()
“Success user count.”
|
com.github.davidmoten.odata.client.internal.UnmappedFields |
getUnmappedFields() |
String |
odataTypeName() |
DeviceManagementScriptRunSummary |
patch()
Submits only changed fields for update and returns an
immutable copy of
this with changed fields reset. |
void |
postInject(boolean addKeysToContextPath) |
DeviceManagementScriptRunSummary |
put()
Submits all fields for update and returns an immutable copy of
this
with changed fields reset (they were ignored anyway). |
String |
toString() |
DeviceManagementScriptRunSummary |
withErrorDeviceCount(Integer errorDeviceCount)
Returns an immutable copy of
this with just the errorDeviceCount
field changed. |
DeviceManagementScriptRunSummary |
withErrorUserCount(Integer errorUserCount)
Returns an immutable copy of
this with just the errorUserCount
field changed. |
DeviceManagementScriptRunSummary |
withSuccessDeviceCount(Integer successDeviceCount)
Returns an immutable copy of
this with just the successDeviceCount field changed. |
DeviceManagementScriptRunSummary |
withSuccessUserCount(Integer successUserCount)
Returns an immutable copy of
this with just the successUserCount
field changed. |
protected Integer successDeviceCount
protected Integer errorDeviceCount
protected Integer successUserCount
protected Integer errorUserCount
public String odataTypeName()
odataTypeName in interface com.github.davidmoten.odata.client.ODataTypeodataTypeName in class Entitypublic static DeviceManagementScriptRunSummary.Builder builderDeviceManagementScriptRunSummary()
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> getSuccessDeviceCount()
public DeviceManagementScriptRunSummary withSuccessDeviceCount(Integer successDeviceCount)
this with just the successDeviceCount 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.
“Success device count.”
successDeviceCount - new value of successDeviceCount field (as defined in service metadata)this with just the successDeviceCount field changedpublic Optional<Integer> getErrorDeviceCount()
public DeviceManagementScriptRunSummary withErrorDeviceCount(Integer errorDeviceCount)
this with just the errorDeviceCount
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.
“Error device count.”
errorDeviceCount - new value of errorDeviceCount field (as defined in service metadata)this with just the errorDeviceCount field changedpublic Optional<Integer> getSuccessUserCount()
public DeviceManagementScriptRunSummary withSuccessUserCount(Integer successUserCount)
this with just the successUserCount
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.
“Success user count.”
successUserCount - new value of successUserCount field (as defined in service metadata)this with just the successUserCount field changedpublic Optional<Integer> getErrorUserCount()
public DeviceManagementScriptRunSummary withErrorUserCount(Integer errorUserCount)
this with just the errorUserCount
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.
“Error user count.”
errorUserCount - new value of errorUserCount field (as defined in service metadata)this with just the errorUserCount field changedpublic com.github.davidmoten.odata.client.internal.UnmappedFields getUnmappedFields()
getUnmappedFields in interface com.github.davidmoten.odata.client.ODataTypegetUnmappedFields in class Entitypublic DeviceManagementScriptRunSummary patch()
this with changed fields reset.public DeviceManagementScriptRunSummary put()
this
with changed fields reset (they were ignored anyway).Copyright © 2018–2020. All rights reserved.