// Code generated by msgraph-generate.go DO NOT EDIT. package msgraph import "time" // DeviceHealthScriptDeviceState Contains properties for device run state of the device health script. type DeviceHealthScriptDeviceState struct { // Entity is the base model of DeviceHealthScriptDeviceState Entity // DetectionState Detection state from the lastest device health script execution DetectionState *RunState `json:"detectionState,omitempty"` // LastStateUpdateDateTime The last timestamp of when the device health script executed LastStateUpdateDateTime *time.Time `json:"lastStateUpdateDateTime,omitempty"` // ExpectedStateUpdateDateTime The next timestamp of when the device health script is expected to execute ExpectedStateUpdateDateTime *time.Time `json:"expectedStateUpdateDateTime,omitempty"` // LastSyncDateTime The last time that Intune Managment Extension synced with Intune LastSyncDateTime *time.Time `json:"lastSyncDateTime,omitempty"` // PreRemediationDetectionScriptOutput Output of the detection script before remediation PreRemediationDetectionScriptOutput *string `json:"preRemediationDetectionScriptOutput,omitempty"` // PreRemediationDetectionScriptError Error from the detection script before remediation PreRemediationDetectionScriptError *string `json:"preRemediationDetectionScriptError,omitempty"` // RemediationScriptError Error output of the remediation script RemediationScriptError *string `json:"remediationScriptError,omitempty"` // PostRemediationDetectionScriptOutput Detection script output after remediation PostRemediationDetectionScriptOutput *string `json:"postRemediationDetectionScriptOutput,omitempty"` // PostRemediationDetectionScriptError Error from the detection script after remediation PostRemediationDetectionScriptError *string `json:"postRemediationDetectionScriptError,omitempty"` // RemediationState Remediation state from the lastest device health script execution RemediationState *RemediationState `json:"remediationState,omitempty"` // ManagedDevice undocumented ManagedDevice *ManagedDevice `json:"managedDevice,omitempty"` }