public class DeviceHealthScript extends Entity implements com.github.davidmoten.odata.client.ODataEntityType
| Modifier and Type | Class and Description |
|---|---|
static class |
DeviceHealthScript.Builder |
| Modifier and Type | Field and Description |
|---|---|
protected OffsetDateTime |
createdDateTime |
protected String |
description |
protected byte[] |
detectionScriptContent |
protected List<DeviceHealthScriptParameter> |
detectionScriptParameters |
protected String |
detectionScriptParametersNextLink |
protected String |
displayName |
protected Boolean |
enforceSignatureCheck |
protected String |
highestAvailableVersion |
protected Boolean |
isGlobalScript |
protected OffsetDateTime |
lastModifiedDateTime |
protected String |
publisher |
protected byte[] |
remediationScriptContent |
protected List<DeviceHealthScriptParameter> |
remediationScriptParameters |
protected String |
remediationScriptParametersNextLink |
protected List<String> |
roleScopeTagIds |
protected String |
roleScopeTagIdsNextLink |
protected Boolean |
runAs32Bit |
protected RunAsAccountType |
runAsAccount |
protected String |
version |
changedFields, contextPath, id, odataType, unmappedFields| Modifier | Constructor and Description |
|---|---|
protected |
DeviceHealthScript() |
| Modifier and Type | Method and Description |
|---|---|
com.github.davidmoten.odata.client.ActionRequestNoReturn |
assign(List<DeviceHealthScriptAssignment> deviceHealthScriptAssignments) |
static DeviceHealthScript.Builder |
builderDeviceHealthScript()
Returns a builder which is used to create a new
instance of this class (given that this class is immutable).
|
DeviceHealthScriptAssignmentCollectionRequest |
getAssignments()
“The list of group assignments for the device health script”
|
com.github.davidmoten.odata.client.internal.ChangedFields |
getChangedFields() |
Optional<OffsetDateTime> |
getCreatedDateTime()
“The timestamp of when the device health script was created.
|
Optional<String> |
getDescription()
“Description of the device health script”
|
Optional<byte[]> |
getDetectionScriptContent()
“The entire content of the detection powershell script”
|
com.github.davidmoten.odata.client.CollectionPage<DeviceHealthScriptParameter> |
getDetectionScriptParameters()
“List of ComplexType DetectionScriptParameters objects.”
|
com.github.davidmoten.odata.client.CollectionPage<DeviceHealthScriptParameter> |
getDetectionScriptParameters(com.github.davidmoten.odata.client.HttpRequestOptions options)
“List of ComplexType DetectionScriptParameters objects.”
|
DeviceHealthScriptDeviceStateCollectionRequest |
getDeviceRunStates()
“List of run states for the device health script across all devices”
|
Optional<String> |
getDisplayName()
“Name of the device health script”
|
Optional<Boolean> |
getEnforceSignatureCheck()
“Indicate whether the script signature needs be checked”
|
com.github.davidmoten.odata.client.ActionRequestReturningNonCollection<String> |
getGlobalScriptHighestAvailableVersion() |
Optional<String> |
getHighestAvailableVersion()
“Highest available version for a Microsoft Proprietary script”
|
Optional<Boolean> |
getIsGlobalScript()
“Determines if this is Microsoft Proprietary Script.
|
Optional<OffsetDateTime> |
getLastModifiedDateTime()
“The timestamp of when the device health script was modified.
|
Optional<String> |
getPublisher()
“Name of the device health script publisher”
|
com.github.davidmoten.odata.client.FunctionRequestReturningNonCollectionUnwrapped<DeviceHealthScriptRemediationHistory> |
getRemediationHistory() |
Optional<byte[]> |
getRemediationScriptContent()
“The entire content of the remediation powershell script”
|
com.github.davidmoten.odata.client.CollectionPage<DeviceHealthScriptParameter> |
getRemediationScriptParameters()
“List of ComplexType RemediationScriptParameters objects.”
|
com.github.davidmoten.odata.client.CollectionPage<DeviceHealthScriptParameter> |
getRemediationScriptParameters(com.github.davidmoten.odata.client.HttpRequestOptions options)
“List of ComplexType RemediationScriptParameters objects.”
|
com.github.davidmoten.odata.client.CollectionPage<String> |
getRoleScopeTagIds()
“List of Scope Tag IDs for the device health script”
|
com.github.davidmoten.odata.client.CollectionPage<String> |
getRoleScopeTagIds(com.github.davidmoten.odata.client.HttpRequestOptions options)
“List of Scope Tag IDs for the device health script”
|
Optional<Boolean> |
getRunAs32Bit()
“Indicate whether PowerShell script(s) should run as 32-bit”
|
Optional<RunAsAccountType> |
getRunAsAccount()
“Indicates the type of execution context”
|
DeviceHealthScriptRunSummaryRequest |
getRunSummary()
“High level run summary for device health script.”
|
com.github.davidmoten.odata.client.internal.UnmappedFields |
getUnmappedFields() |
Optional<String> |
getVersion()
“Version of the device health script”
|
String |
odataTypeName() |
DeviceHealthScript |
patch()
Submits only changed fields for update and returns an
immutable copy of
this with changed fields reset. |
void |
postInject(boolean addKeysToContextPath) |
DeviceHealthScript |
put()
Submits all fields for update and returns an immutable copy of
this
with changed fields reset (they were ignored anyway). |
String |
toString() |
com.github.davidmoten.odata.client.ActionRequestReturningNonCollection<String> |
updateGlobalScript(String version) |
DeviceHealthScript |
withCreatedDateTime(OffsetDateTime createdDateTime)
Returns an immutable copy of
this with just the createdDateTime
field changed. |
DeviceHealthScript |
withDescription(String description)
Returns an immutable copy of
this with just the description
field changed. |
DeviceHealthScript |
withDetectionScriptContent(byte[] detectionScriptContent)
Returns an immutable copy of
this with just the detectionScriptContent field changed. |
DeviceHealthScript |
withDisplayName(String displayName)
Returns an immutable copy of
this with just the displayName
field changed. |
DeviceHealthScript |
withEnforceSignatureCheck(Boolean enforceSignatureCheck)
Returns an immutable copy of
this with just the enforceSignatureCheck field changed. |
DeviceHealthScript |
withHighestAvailableVersion(String highestAvailableVersion)
Returns an immutable copy of
this with just the highestAvailableVersion field changed. |
DeviceHealthScript |
withIsGlobalScript(Boolean isGlobalScript)
Returns an immutable copy of
this with just the isGlobalScript
field changed. |
DeviceHealthScript |
withLastModifiedDateTime(OffsetDateTime lastModifiedDateTime)
Returns an immutable copy of
this with just the lastModifiedDateTime field changed. |
DeviceHealthScript |
withPublisher(String publisher)
Returns an immutable copy of
this with just the publisher field
changed. |
DeviceHealthScript |
withRemediationScriptContent(byte[] remediationScriptContent)
Returns an immutable copy of
this with just the remediationScriptContent field changed. |
DeviceHealthScript |
withRunAs32Bit(Boolean runAs32Bit)
Returns an immutable copy of
this with just the runAs32Bit field
changed. |
DeviceHealthScript |
withRunAsAccount(RunAsAccountType runAsAccount)
Returns an immutable copy of
this with just the runAsAccount
field changed. |
DeviceHealthScript |
withVersion(String version)
Returns an immutable copy of
this with just the version field
changed. |
protected String publisher
protected String version
protected String displayName
protected String description
protected byte[] detectionScriptContent
protected byte[] remediationScriptContent
protected OffsetDateTime createdDateTime
protected OffsetDateTime lastModifiedDateTime
protected RunAsAccountType runAsAccount
protected Boolean enforceSignatureCheck
protected Boolean runAs32Bit
protected String roleScopeTagIdsNextLink
protected Boolean isGlobalScript
protected String highestAvailableVersion
protected List<DeviceHealthScriptParameter> detectionScriptParameters
protected String detectionScriptParametersNextLink
protected List<DeviceHealthScriptParameter> remediationScriptParameters
protected String remediationScriptParametersNextLink
public String odataTypeName()
odataTypeName in interface com.github.davidmoten.odata.client.ODataTypeodataTypeName in class Entitypublic static DeviceHealthScript.Builder builderDeviceHealthScript()
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> getPublisher()
public DeviceHealthScript withPublisher(String publisher)
this with just the publisher 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.
“Name of the device health script publisher”
publisher - new value of publisher field (as defined in service metadata)this with just the publisher field changedpublic Optional<String> getVersion()
public DeviceHealthScript withVersion(String version)
this with just the version 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.
“Version of the device health script”
version - new value of version field (as defined in service metadata)this with just the version field changedpublic Optional<String> getDisplayName()
public DeviceHealthScript withDisplayName(String displayName)
this with just the displayName
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.
“Name of the device health script”
displayName - new value of displayName field (as defined in service metadata)this with just the displayName field changedpublic Optional<String> getDescription()
public DeviceHealthScript withDescription(String description)
this with just the description
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.
“Description of the device health script”
description - new value of description field (as defined in service metadata)this with just the description field changedpublic Optional<byte[]> getDetectionScriptContent()
public DeviceHealthScript withDetectionScriptContent(byte[] detectionScriptContent)
this with just the detectionScriptContent 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 entire content of the detection powershell script”
detectionScriptContent - new value of detectionScriptContent field (as defined in service metadata)this with just the detectionScriptContent field changedpublic Optional<byte[]> getRemediationScriptContent()
public DeviceHealthScript withRemediationScriptContent(byte[] remediationScriptContent)
this with just the remediationScriptContent 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 entire content of the remediation powershell script”
remediationScriptContent - new value of remediationScriptContent field (as defined in service metadata)this with just the remediationScriptContent field changedpublic Optional<OffsetDateTime> getCreatedDateTime()
Org.OData.Core.V1.Computed
true
Org.OData.Core.V1.Permissions
public DeviceHealthScript withCreatedDateTime(OffsetDateTime createdDateTime)
this with just the createdDateTime
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 timestamp of when the device health script was created. This property is read-only.”
Org.OData.Core.V1.Computed
true
Org.OData.Core.V1.Permissions
createdDateTime - new value of createdDateTime field (as defined in service metadata)this with just the createdDateTime field changedpublic Optional<OffsetDateTime> getLastModifiedDateTime()
Org.OData.Core.V1.Computed
true
Org.OData.Core.V1.Permissions
public DeviceHealthScript withLastModifiedDateTime(OffsetDateTime lastModifiedDateTime)
this with just the lastModifiedDateTime 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 timestamp of when the device health script was modified. This property is read-only.”
Org.OData.Core.V1.Computed
true
Org.OData.Core.V1.Permissions
lastModifiedDateTime - new value of lastModifiedDateTime field (as defined in service metadata)this with just the lastModifiedDateTime field changedpublic Optional<RunAsAccountType> getRunAsAccount()
public DeviceHealthScript withRunAsAccount(RunAsAccountType runAsAccount)
this with just the runAsAccount
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.
“Indicates the type of execution context”
runAsAccount - new value of runAsAccount field (as defined in service metadata)this with just the runAsAccount field changedpublic Optional<Boolean> getEnforceSignatureCheck()
public DeviceHealthScript withEnforceSignatureCheck(Boolean enforceSignatureCheck)
this with just the enforceSignatureCheck 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.
“Indicate whether the script signature needs be checked”
enforceSignatureCheck - new value of enforceSignatureCheck field (as defined in service metadata)this with just the enforceSignatureCheck field changedpublic Optional<Boolean> getRunAs32Bit()
public DeviceHealthScript withRunAs32Bit(Boolean runAs32Bit)
this with just the runAs32Bit 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.
“Indicate whether PowerShell script(s) should run as 32-bit”
runAs32Bit - new value of runAs32Bit field (as defined in service metadata)this with just the runAs32Bit field changedpublic com.github.davidmoten.odata.client.CollectionPage<String> getRoleScopeTagIds()
public com.github.davidmoten.odata.client.CollectionPage<String> getRoleScopeTagIds(com.github.davidmoten.odata.client.HttpRequestOptions options)
public Optional<Boolean> getIsGlobalScript()
public DeviceHealthScript withIsGlobalScript(Boolean isGlobalScript)
this with just the isGlobalScript
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.
“Determines if this is Microsoft Proprietary Script. Proprietary scripts are read -only”
isGlobalScript - new value of isGlobalScript field (as defined in service metadata)this with just the isGlobalScript field changedpublic Optional<String> getHighestAvailableVersion()
public DeviceHealthScript withHighestAvailableVersion(String highestAvailableVersion)
this with just the highestAvailableVersion 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.
“Highest available version for a Microsoft Proprietary script”
highestAvailableVersion - new value of highestAvailableVersion field (as defined in service metadata)this with just the highestAvailableVersion field changedpublic com.github.davidmoten.odata.client.CollectionPage<DeviceHealthScriptParameter> getDetectionScriptParameters()
public com.github.davidmoten.odata.client.CollectionPage<DeviceHealthScriptParameter> getDetectionScriptParameters(com.github.davidmoten.odata.client.HttpRequestOptions options)
public com.github.davidmoten.odata.client.CollectionPage<DeviceHealthScriptParameter> getRemediationScriptParameters()
public com.github.davidmoten.odata.client.CollectionPage<DeviceHealthScriptParameter> getRemediationScriptParameters(com.github.davidmoten.odata.client.HttpRequestOptions options)
public DeviceHealthScriptAssignmentCollectionRequest getAssignments()
public DeviceHealthScriptRunSummaryRequest getRunSummary()
public DeviceHealthScriptDeviceStateCollectionRequest getDeviceRunStates()
public com.github.davidmoten.odata.client.internal.UnmappedFields getUnmappedFields()
getUnmappedFields in interface com.github.davidmoten.odata.client.ODataTypegetUnmappedFields in class Entitypublic DeviceHealthScript patch()
this with changed fields reset.public DeviceHealthScript put()
this
with changed fields reset (they were ignored anyway).public com.github.davidmoten.odata.client.ActionRequestNoReturn assign(List<DeviceHealthScriptAssignment> deviceHealthScriptAssignments)
public com.github.davidmoten.odata.client.ActionRequestReturningNonCollection<String> updateGlobalScript(String version)
public com.github.davidmoten.odata.client.ActionRequestReturningNonCollection<String> getGlobalScriptHighestAvailableVersion()
public com.github.davidmoten.odata.client.FunctionRequestReturningNonCollectionUnwrapped<DeviceHealthScriptRemediationHistory> getRemediationHistory()
Copyright © 2018–2020. All rights reserved.