public class DeviceHealthScriptAssignment extends Entity implements com.github.davidmoten.odata.client.ODataEntityType
| Modifier and Type | Class and Description |
|---|---|
static class |
DeviceHealthScriptAssignment.Builder |
| Modifier and Type | Field and Description |
|---|---|
protected Boolean |
runRemediationScript |
protected DeviceHealthScriptRunSchedule |
runSchedule |
protected DeviceAndAppManagementAssignmentTarget |
target |
changedFields, contextPath, id, odataType, unmappedFields| Modifier | Constructor and Description |
|---|---|
protected |
DeviceHealthScriptAssignment() |
| Modifier and Type | Method and Description |
|---|---|
static DeviceHealthScriptAssignment.Builder |
builderDeviceHealthScriptAssignment()
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<Boolean> |
getRunRemediationScript()
“Determine whether we want to run detection script only or run both detection
script and remediation script”
|
Optional<DeviceHealthScriptRunSchedule> |
getRunSchedule()
“Script run schedule for the target group”
|
Optional<DeviceAndAppManagementAssignmentTarget> |
getTarget()
“The Azure Active Directory group we are targeting the script to”
|
com.github.davidmoten.odata.client.internal.UnmappedFields |
getUnmappedFields() |
String |
odataTypeName() |
DeviceHealthScriptAssignment |
patch()
Submits only changed fields for update and returns an
immutable copy of
this with changed fields reset. |
void |
postInject(boolean addKeysToContextPath) |
DeviceHealthScriptAssignment |
put()
Submits all fields for update and returns an immutable copy of
this
with changed fields reset (they were ignored anyway). |
String |
toString() |
DeviceHealthScriptAssignment |
withRunRemediationScript(Boolean runRemediationScript)
Returns an immutable copy of
this with just the runRemediationScript field changed. |
DeviceHealthScriptAssignment |
withRunSchedule(DeviceHealthScriptRunSchedule runSchedule)
Returns an immutable copy of
this with just the runSchedule
field changed. |
DeviceHealthScriptAssignment |
withTarget(DeviceAndAppManagementAssignmentTarget target)
Returns an immutable copy of
this with just the target field
changed. |
protected DeviceAndAppManagementAssignmentTarget target
protected Boolean runRemediationScript
protected DeviceHealthScriptRunSchedule runSchedule
public String odataTypeName()
odataTypeName in interface com.github.davidmoten.odata.client.ODataTypeodataTypeName in class Entitypublic static DeviceHealthScriptAssignment.Builder builderDeviceHealthScriptAssignment()
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<DeviceAndAppManagementAssignmentTarget> getTarget()
public DeviceHealthScriptAssignment withTarget(DeviceAndAppManagementAssignmentTarget target)
this with just the target 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 Azure Active Directory group we are targeting the script to”
target - new value of target field (as defined in service metadata)this with just the target field changedpublic Optional<Boolean> getRunRemediationScript()
public DeviceHealthScriptAssignment withRunRemediationScript(Boolean runRemediationScript)
this with just the runRemediationScript 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.
“Determine whether we want to run detection script only or run both detection script and remediation script”
runRemediationScript - new value of runRemediationScript field (as defined in service metadata)this with just the runRemediationScript field changedpublic Optional<DeviceHealthScriptRunSchedule> getRunSchedule()
public DeviceHealthScriptAssignment withRunSchedule(DeviceHealthScriptRunSchedule runSchedule)
this with just the runSchedule
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.
“Script run schedule for the target group”
runSchedule - new value of runSchedule field (as defined in service metadata)this with just the runSchedule field changedpublic com.github.davidmoten.odata.client.internal.UnmappedFields getUnmappedFields()
getUnmappedFields in interface com.github.davidmoten.odata.client.ODataTypegetUnmappedFields in class Entitypublic DeviceHealthScriptAssignment patch()
this with changed fields reset.public DeviceHealthScriptAssignment put()
this
with changed fields reset (they were ignored anyway).Copyright © 2018–2020. All rights reserved.