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