public class DeviceComplianceScriptDeviceState extends Entity implements com.github.davidmoten.odata.client.ODataEntityType
| Modifier and Type | Class and Description |
|---|---|
static class |
DeviceComplianceScriptDeviceState.Builder |
| Modifier and Type | Field and Description |
|---|---|
protected RunState |
detectionState |
protected OffsetDateTime |
expectedStateUpdateDateTime |
protected OffsetDateTime |
lastStateUpdateDateTime |
protected OffsetDateTime |
lastSyncDateTime |
protected String |
scriptError |
protected String |
scriptOutput |
changedFields, contextPath, id, odataType, unmappedFields| Modifier | Constructor and Description |
|---|---|
protected |
DeviceComplianceScriptDeviceState() |
| Modifier and Type | Method and Description |
|---|---|
static DeviceComplianceScriptDeviceState.Builder |
builderDeviceComplianceScriptDeviceState()
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<RunState> |
getDetectionState()
“Detection state from the lastest device compliance script execution”
|
Optional<OffsetDateTime> |
getExpectedStateUpdateDateTime()
“The next timestamp of when the device compliance script is expected to execute”
|
Optional<OffsetDateTime> |
getLastStateUpdateDateTime()
“The last timestamp of when the device compliance script executed”
|
Optional<OffsetDateTime> |
getLastSyncDateTime()
“The last time that Intune Managment Extension synced with Intune”
|
ManagedDeviceRequest |
getManagedDevice()
“The managed device on which the device compliance script executed”
|
Optional<String> |
getScriptError()
“Error from the detection script”
|
Optional<String> |
getScriptOutput()
“Output of the detection script”
|
com.github.davidmoten.odata.client.internal.UnmappedFields |
getUnmappedFields() |
String |
odataTypeName() |
DeviceComplianceScriptDeviceState |
patch()
Submits only changed fields for update and returns an
immutable copy of
this with changed fields reset. |
void |
postInject(boolean addKeysToContextPath) |
DeviceComplianceScriptDeviceState |
put()
Submits all fields for update and returns an immutable copy of
this
with changed fields reset (they were ignored anyway). |
String |
toString() |
DeviceComplianceScriptDeviceState |
withDetectionState(RunState detectionState)
Returns an immutable copy of
this with just the detectionState
field changed. |
DeviceComplianceScriptDeviceState |
withExpectedStateUpdateDateTime(OffsetDateTime expectedStateUpdateDateTime)
Returns an immutable copy of
this with just the expectedStateUpdateDateTime field changed. |
DeviceComplianceScriptDeviceState |
withLastStateUpdateDateTime(OffsetDateTime lastStateUpdateDateTime)
Returns an immutable copy of
this with just the lastStateUpdateDateTime field changed. |
DeviceComplianceScriptDeviceState |
withLastSyncDateTime(OffsetDateTime lastSyncDateTime)
Returns an immutable copy of
this with just the lastSyncDateTime
field changed. |
DeviceComplianceScriptDeviceState |
withScriptError(String scriptError)
Returns an immutable copy of
this with just the scriptError
field changed. |
DeviceComplianceScriptDeviceState |
withScriptOutput(String scriptOutput)
Returns an immutable copy of
this with just the scriptOutput
field changed. |
protected RunState detectionState
protected OffsetDateTime lastStateUpdateDateTime
protected OffsetDateTime expectedStateUpdateDateTime
protected OffsetDateTime lastSyncDateTime
protected String scriptOutput
protected String scriptError
public String odataTypeName()
odataTypeName in interface com.github.davidmoten.odata.client.ODataTypeodataTypeName in class Entitypublic static DeviceComplianceScriptDeviceState.Builder builderDeviceComplianceScriptDeviceState()
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<RunState> getDetectionState()
public DeviceComplianceScriptDeviceState withDetectionState(RunState detectionState)
this with just the detectionState
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.
“Detection state from the lastest device compliance script execution”
detectionState - new value of detectionState field (as defined in service metadata)this with just the detectionState field changedpublic Optional<OffsetDateTime> getLastStateUpdateDateTime()
public DeviceComplianceScriptDeviceState withLastStateUpdateDateTime(OffsetDateTime lastStateUpdateDateTime)
this with just the lastStateUpdateDateTime 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 last timestamp of when the device compliance script executed”
lastStateUpdateDateTime - new value of lastStateUpdateDateTime field (as defined in service metadata)this with just the lastStateUpdateDateTime field changedpublic Optional<OffsetDateTime> getExpectedStateUpdateDateTime()
public DeviceComplianceScriptDeviceState withExpectedStateUpdateDateTime(OffsetDateTime expectedStateUpdateDateTime)
this with just the expectedStateUpdateDateTime 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 next timestamp of when the device compliance script is expected to execute”
expectedStateUpdateDateTime - new value of expectedStateUpdateDateTime field (as defined in service metadata)this with just the expectedStateUpdateDateTime field changedpublic Optional<OffsetDateTime> getLastSyncDateTime()
public DeviceComplianceScriptDeviceState withLastSyncDateTime(OffsetDateTime lastSyncDateTime)
this with just the lastSyncDateTime
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 last time that Intune Managment Extension synced with Intune”
lastSyncDateTime - new value of lastSyncDateTime field (as defined in service metadata)this with just the lastSyncDateTime field changedpublic Optional<String> getScriptOutput()
public DeviceComplianceScriptDeviceState withScriptOutput(String scriptOutput)
this with just the scriptOutput
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.
“Output of the detection script”
scriptOutput - new value of scriptOutput field (as defined in service metadata)this with just the scriptOutput field changedpublic Optional<String> getScriptError()
public DeviceComplianceScriptDeviceState withScriptError(String scriptError)
this with just the scriptError
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 from the detection script”
scriptError - new value of scriptError field (as defined in service metadata)this with just the scriptError field changedpublic ManagedDeviceRequest getManagedDevice()
public com.github.davidmoten.odata.client.internal.UnmappedFields getUnmappedFields()
getUnmappedFields in interface com.github.davidmoten.odata.client.ODataTypegetUnmappedFields in class Entitypublic DeviceComplianceScriptDeviceState patch()
this with changed fields reset.public DeviceComplianceScriptDeviceState put()
this
with changed fields reset (they were ignored anyway).Copyright © 2018–2020. All rights reserved.