public class RemoteActionAudit extends Entity implements com.github.davidmoten.odata.client.ODataEntityType
| Modifier and Type | Class and Description |
|---|---|
static class |
RemoteActionAudit.Builder |
| Modifier and Type | Field and Description |
|---|---|
protected RemoteAction |
action |
protected ActionState |
actionState |
protected String |
deviceDisplayName |
protected String |
deviceIMEI |
protected String |
deviceOwnerUserPrincipalName |
protected String |
initiatedByUserPrincipalName |
protected String |
managedDeviceId |
protected OffsetDateTime |
requestDateTime |
protected String |
userName |
changedFields, contextPath, id, odataType, unmappedFields| Modifier | Constructor and Description |
|---|---|
protected |
RemoteActionAudit() |
| Modifier and Type | Method and Description |
|---|---|
static RemoteActionAudit.Builder |
builderRemoteActionAudit()
Returns a builder which is used to create a new
instance of this class (given that this class is immutable).
|
Optional<RemoteAction> |
getAction()
“The action name.”
|
Optional<ActionState> |
getActionState()
“Action state.”
|
com.github.davidmoten.odata.client.internal.ChangedFields |
getChangedFields() |
Optional<String> |
getDeviceDisplayName()
“Intune device name.”
|
Optional<String> |
getDeviceIMEI()
“IMEI of the device.”
|
Optional<String> |
getDeviceOwnerUserPrincipalName()
“Upn of the device owner.”
|
Optional<String> |
getInitiatedByUserPrincipalName()
“User who initiated the device action, format is UPN.”
|
Optional<String> |
getManagedDeviceId()
“Action target.”
|
Optional<OffsetDateTime> |
getRequestDateTime()
“Time when the action was issued, given in UTC.”
|
com.github.davidmoten.odata.client.internal.UnmappedFields |
getUnmappedFields() |
Optional<String> |
getUserName()
“[deprecated] Please use InitiatedByUserPrincipalName instead.”
|
String |
odataTypeName() |
RemoteActionAudit |
patch()
Submits only changed fields for update and returns an
immutable copy of
this with changed fields reset. |
void |
postInject(boolean addKeysToContextPath) |
RemoteActionAudit |
put()
Submits all fields for update and returns an immutable copy of
this
with changed fields reset (they were ignored anyway). |
String |
toString() |
RemoteActionAudit |
withAction(RemoteAction action)
Returns an immutable copy of
this with just the action field
changed. |
RemoteActionAudit |
withActionState(ActionState actionState)
Returns an immutable copy of
this with just the actionState
field changed. |
RemoteActionAudit |
withDeviceDisplayName(String deviceDisplayName)
Returns an immutable copy of
this with just the deviceDisplayName
field changed. |
RemoteActionAudit |
withDeviceIMEI(String deviceIMEI)
Returns an immutable copy of
this with just the deviceIMEI field
changed. |
RemoteActionAudit |
withDeviceOwnerUserPrincipalName(String deviceOwnerUserPrincipalName)
Returns an immutable copy of
this with just the deviceOwnerUserPrincipalName field changed. |
RemoteActionAudit |
withInitiatedByUserPrincipalName(String initiatedByUserPrincipalName)
Returns an immutable copy of
this with just the initiatedByUserPrincipalName field changed. |
RemoteActionAudit |
withManagedDeviceId(String managedDeviceId)
Returns an immutable copy of
this with just the managedDeviceId
field changed. |
RemoteActionAudit |
withRequestDateTime(OffsetDateTime requestDateTime)
Returns an immutable copy of
this with just the requestDateTime
field changed. |
RemoteActionAudit |
withUserName(String userName)
Returns an immutable copy of
this with just the userName field
changed. |
protected String deviceDisplayName
protected String userName
protected String initiatedByUserPrincipalName
protected RemoteAction action
protected OffsetDateTime requestDateTime
protected String deviceOwnerUserPrincipalName
protected String deviceIMEI
protected ActionState actionState
protected String managedDeviceId
public String odataTypeName()
odataTypeName in interface com.github.davidmoten.odata.client.ODataTypeodataTypeName in class Entitypublic static RemoteActionAudit.Builder builderRemoteActionAudit()
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<String> getDeviceDisplayName()
public RemoteActionAudit withDeviceDisplayName(String deviceDisplayName)
this with just the deviceDisplayName
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.
“Intune device name.”
deviceDisplayName - new value of deviceDisplayName field (as defined in service metadata)this with just the deviceDisplayName field changedpublic Optional<String> getUserName()
public RemoteActionAudit 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.
“[deprecated] Please use InitiatedByUserPrincipalName instead.”
userName - new value of userName field (as defined in service metadata)this with just the userName field changedpublic Optional<String> getInitiatedByUserPrincipalName()
public RemoteActionAudit withInitiatedByUserPrincipalName(String initiatedByUserPrincipalName)
this with just the initiatedByUserPrincipalName 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 who initiated the device action, format is UPN.”
initiatedByUserPrincipalName - new value of initiatedByUserPrincipalName field (as defined in service metadata)this with just the initiatedByUserPrincipalName field changedpublic Optional<RemoteAction> getAction()
public RemoteActionAudit withAction(RemoteAction action)
this with just the action 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.
“The action name.”
action - new value of action field (as defined in service metadata)this with just the action field changedpublic Optional<OffsetDateTime> getRequestDateTime()
public RemoteActionAudit withRequestDateTime(OffsetDateTime requestDateTime)
this with just the requestDateTime
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.
“Time when the action was issued, given in UTC.”
requestDateTime - new value of requestDateTime field (as defined in service metadata)this with just the requestDateTime field changedpublic Optional<String> getDeviceOwnerUserPrincipalName()
public RemoteActionAudit withDeviceOwnerUserPrincipalName(String deviceOwnerUserPrincipalName)
this with just the deviceOwnerUserPrincipalName 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.
“Upn of the device owner.”
deviceOwnerUserPrincipalName - new value of deviceOwnerUserPrincipalName field (as defined in service metadata)this with just the deviceOwnerUserPrincipalName field changedpublic Optional<String> getDeviceIMEI()
public RemoteActionAudit withDeviceIMEI(String deviceIMEI)
this with just the deviceIMEI 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.
“IMEI of the device.”
deviceIMEI - new value of deviceIMEI field (as defined in service metadata)this with just the deviceIMEI field changedpublic Optional<ActionState> getActionState()
public RemoteActionAudit withActionState(ActionState actionState)
this with just the actionState
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.
“Action state.”
actionState - new value of actionState field (as defined in service metadata)this with just the actionState field changedpublic Optional<String> getManagedDeviceId()
public RemoteActionAudit withManagedDeviceId(String managedDeviceId)
this with just the managedDeviceId
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.
“Action target.”
managedDeviceId - new value of managedDeviceId field (as defined in service metadata)this with just the managedDeviceId field changedpublic com.github.davidmoten.odata.client.internal.UnmappedFields getUnmappedFields()
getUnmappedFields in interface com.github.davidmoten.odata.client.ODataTypegetUnmappedFields in class Entitypublic RemoteActionAudit patch()
this with changed fields reset.public RemoteActionAudit put()
this
with changed fields reset (they were ignored anyway).Copyright © 2018–2020. All rights reserved.