public class DeviceHealthScriptDeviceState extends Entity implements com.github.davidmoten.odata.client.ODataEntityType
| Modifier and Type | Class and Description |
|---|---|
static class |
DeviceHealthScriptDeviceState.Builder |
| Modifier and Type | Field and Description |
|---|---|
protected RunState |
detectionState |
protected OffsetDateTime |
expectedStateUpdateDateTime |
protected OffsetDateTime |
lastStateUpdateDateTime |
protected OffsetDateTime |
lastSyncDateTime |
protected String |
postRemediationDetectionScriptError |
protected String |
postRemediationDetectionScriptOutput |
protected String |
preRemediationDetectionScriptError |
protected String |
preRemediationDetectionScriptOutput |
protected String |
remediationScriptError |
protected RemediationState |
remediationState |
changedFields, contextPath, id, odataType, unmappedFields| Modifier | Constructor and Description |
|---|---|
protected |
DeviceHealthScriptDeviceState() |
| Modifier and Type | Method and Description |
|---|---|
static DeviceHealthScriptDeviceState.Builder |
builderDeviceHealthScriptDeviceState()
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 health script execution”
|
Optional<OffsetDateTime> |
getExpectedStateUpdateDateTime()
“The next timestamp of when the device health script is expected to execute”
|
Optional<OffsetDateTime> |
getLastStateUpdateDateTime()
“The last timestamp of when the device health script executed”
|
Optional<OffsetDateTime> |
getLastSyncDateTime()
“The last time that Intune Managment Extension synced with Intune”
|
ManagedDeviceRequest |
getManagedDevice()
“The managed device on which the device health script executed”
|
Optional<String> |
getPostRemediationDetectionScriptError()
“Error from the detection script after remediation”
|
Optional<String> |
getPostRemediationDetectionScriptOutput()
“Detection script output after remediation”
|
Optional<String> |
getPreRemediationDetectionScriptError()
“Error from the detection script before remediation”
|
Optional<String> |
getPreRemediationDetectionScriptOutput()
“Output of the detection script before remediation”
|
Optional<String> |
getRemediationScriptError()
“Error output of the remediation script”
|
Optional<RemediationState> |
getRemediationState()
“Remediation state from the lastest device health script execution”
|
com.github.davidmoten.odata.client.internal.UnmappedFields |
getUnmappedFields() |
String |
odataTypeName() |
DeviceHealthScriptDeviceState |
patch()
Submits only changed fields for update and returns an
immutable copy of
this with changed fields reset. |
void |
postInject(boolean addKeysToContextPath) |
DeviceHealthScriptDeviceState |
put()
Submits all fields for update and returns an immutable copy of
this
with changed fields reset (they were ignored anyway). |
String |
toString() |
DeviceHealthScriptDeviceState |
withDetectionState(RunState detectionState)
Returns an immutable copy of
this with just the detectionState
field changed. |
DeviceHealthScriptDeviceState |
withExpectedStateUpdateDateTime(OffsetDateTime expectedStateUpdateDateTime)
Returns an immutable copy of
this with just the expectedStateUpdateDateTime field changed. |
DeviceHealthScriptDeviceState |
withLastStateUpdateDateTime(OffsetDateTime lastStateUpdateDateTime)
Returns an immutable copy of
this with just the lastStateUpdateDateTime field changed. |
DeviceHealthScriptDeviceState |
withLastSyncDateTime(OffsetDateTime lastSyncDateTime)
Returns an immutable copy of
this with just the lastSyncDateTime
field changed. |
DeviceHealthScriptDeviceState |
withPostRemediationDetectionScriptError(String postRemediationDetectionScriptError)
Returns an immutable copy of
this with just the postRemediationDetectionScriptError field changed. |
DeviceHealthScriptDeviceState |
withPostRemediationDetectionScriptOutput(String postRemediationDetectionScriptOutput)
Returns an immutable copy of
this with just the postRemediationDetectionScriptOutput field changed. |
DeviceHealthScriptDeviceState |
withPreRemediationDetectionScriptError(String preRemediationDetectionScriptError)
Returns an immutable copy of
this with just the preRemediationDetectionScriptError field changed. |
DeviceHealthScriptDeviceState |
withPreRemediationDetectionScriptOutput(String preRemediationDetectionScriptOutput)
Returns an immutable copy of
this with just the preRemediationDetectionScriptOutput field changed. |
DeviceHealthScriptDeviceState |
withRemediationScriptError(String remediationScriptError)
Returns an immutable copy of
this with just the remediationScriptError field changed. |
DeviceHealthScriptDeviceState |
withRemediationState(RemediationState remediationState)
Returns an immutable copy of
this with just the remediationState
field changed. |
protected RunState detectionState
protected OffsetDateTime lastStateUpdateDateTime
protected OffsetDateTime expectedStateUpdateDateTime
protected OffsetDateTime lastSyncDateTime
protected String preRemediationDetectionScriptOutput
protected String preRemediationDetectionScriptError
protected String remediationScriptError
protected String postRemediationDetectionScriptOutput
protected String postRemediationDetectionScriptError
protected RemediationState remediationState
public String odataTypeName()
odataTypeName in interface com.github.davidmoten.odata.client.ODataTypeodataTypeName in class Entitypublic static DeviceHealthScriptDeviceState.Builder builderDeviceHealthScriptDeviceState()
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 DeviceHealthScriptDeviceState 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 health script execution”
detectionState - new value of detectionState field (as defined in service metadata)this with just the detectionState field changedpublic Optional<OffsetDateTime> getLastStateUpdateDateTime()
public DeviceHealthScriptDeviceState 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 health script executed”
lastStateUpdateDateTime - new value of lastStateUpdateDateTime field (as defined in service metadata)this with just the lastStateUpdateDateTime field changedpublic Optional<OffsetDateTime> getExpectedStateUpdateDateTime()
public DeviceHealthScriptDeviceState 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 health 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 DeviceHealthScriptDeviceState 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> getPreRemediationDetectionScriptOutput()
public DeviceHealthScriptDeviceState withPreRemediationDetectionScriptOutput(String preRemediationDetectionScriptOutput)
this with just the preRemediationDetectionScriptOutput 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 before remediation”
preRemediationDetectionScriptOutput - new value of preRemediationDetectionScriptOutput field (as defined in service metadata)this with just the preRemediationDetectionScriptOutput field changedpublic Optional<String> getPreRemediationDetectionScriptError()
public DeviceHealthScriptDeviceState withPreRemediationDetectionScriptError(String preRemediationDetectionScriptError)
this with just the preRemediationDetectionScriptError 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 before remediation”
preRemediationDetectionScriptError - new value of preRemediationDetectionScriptError field (as defined in service metadata)this with just the preRemediationDetectionScriptError field changedpublic Optional<String> getRemediationScriptError()
public DeviceHealthScriptDeviceState withRemediationScriptError(String remediationScriptError)
this with just the remediationScriptError 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 output of the remediation script”
remediationScriptError - new value of remediationScriptError field (as defined in service metadata)this with just the remediationScriptError field changedpublic Optional<String> getPostRemediationDetectionScriptOutput()
public DeviceHealthScriptDeviceState withPostRemediationDetectionScriptOutput(String postRemediationDetectionScriptOutput)
this with just the postRemediationDetectionScriptOutput 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 script output after remediation”
postRemediationDetectionScriptOutput - new value of postRemediationDetectionScriptOutput field (as defined in service metadata)this with just the postRemediationDetectionScriptOutput field changedpublic Optional<String> getPostRemediationDetectionScriptError()
public DeviceHealthScriptDeviceState withPostRemediationDetectionScriptError(String postRemediationDetectionScriptError)
this with just the postRemediationDetectionScriptError 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 after remediation”
postRemediationDetectionScriptError - new value of postRemediationDetectionScriptError field (as defined in service metadata)this with just the postRemediationDetectionScriptError field changedpublic Optional<RemediationState> getRemediationState()
public DeviceHealthScriptDeviceState withRemediationState(RemediationState remediationState)
this with just the remediationState
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.
“Remediation state from the lastest device health script execution”
remediationState - new value of remediationState field (as defined in service metadata)this with just the remediationState 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 DeviceHealthScriptDeviceState patch()
this with changed fields reset.public DeviceHealthScriptDeviceState put()
this
with changed fields reset (they were ignored anyway).Copyright © 2018–2020. All rights reserved.