public class DeviceManagementScript extends Entity implements com.github.davidmoten.odata.client.ODataEntityType
| Modifier and Type | Class and Description |
|---|---|
static class |
DeviceManagementScript.Builder |
| Modifier and Type | Field and Description |
|---|---|
protected OffsetDateTime |
createdDateTime |
protected String |
description |
protected String |
displayName |
protected Boolean |
enforceSignatureCheck |
protected String |
fileName |
protected OffsetDateTime |
lastModifiedDateTime |
protected List<String> |
roleScopeTagIds |
protected String |
roleScopeTagIdsNextLink |
protected Boolean |
runAs32Bit |
protected RunAsAccountType |
runAsAccount |
protected byte[] |
scriptContent |
changedFields, contextPath, id, odataType, unmappedFields| Modifier | Constructor and Description |
|---|---|
protected |
DeviceManagementScript() |
| Modifier and Type | Method and Description |
|---|---|
com.github.davidmoten.odata.client.ActionRequestNoReturn |
assign(List<DeviceManagementScriptGroupAssignment> deviceManagementScriptGroupAssignments,
List<DeviceManagementScriptAssignment> deviceManagementScriptAssignments) |
static DeviceManagementScript.Builder |
builderDeviceManagementScript()
Returns a builder which is used to create a new
instance of this class (given that this class is immutable).
|
DeviceManagementScriptAssignmentCollectionRequest |
getAssignments()
“The list of group assignments for the device management script.”
|
com.github.davidmoten.odata.client.internal.ChangedFields |
getChangedFields() |
Optional<OffsetDateTime> |
getCreatedDateTime()
“The date and time the device management script was created.
|
Optional<String> |
getDescription()
“Optional description for the device management script.”
|
DeviceManagementScriptDeviceStateCollectionRequest |
getDeviceRunStates()
“List of run states for this script across all devices.”
|
Optional<String> |
getDisplayName()
“Name of the device management script.”
|
Optional<Boolean> |
getEnforceSignatureCheck()
“Indicate whether the script signature needs be checked.”
|
Optional<String> |
getFileName()
“Script file name.”
|
DeviceManagementScriptGroupAssignmentCollectionRequest |
getGroupAssignments()
“The list of group assignments for the device management script.”
|
Optional<OffsetDateTime> |
getLastModifiedDateTime()
“The date and time the device management script was last modified.
|
com.github.davidmoten.odata.client.CollectionPage<String> |
getRoleScopeTagIds()
“List of Scope Tag IDs for this PowerShellScript instance.”
|
com.github.davidmoten.odata.client.CollectionPage<String> |
getRoleScopeTagIds(com.github.davidmoten.odata.client.HttpRequestOptions options)
“List of Scope Tag IDs for this PowerShellScript instance.”
|
Optional<Boolean> |
getRunAs32Bit()
“A value indicating whether the PowerShell script should run as 32-bit”
|
Optional<RunAsAccountType> |
getRunAsAccount()
“Indicates the type of execution context.”
|
DeviceManagementScriptRunSummaryRequest |
getRunSummary()
“Run summary for device management script.”
|
Optional<byte[]> |
getScriptContent()
“The script content.”
|
com.github.davidmoten.odata.client.internal.UnmappedFields |
getUnmappedFields() |
DeviceManagementScriptUserStateCollectionRequest |
getUserRunStates()
“List of run states for this script across all users.”
|
String |
odataTypeName() |
DeviceManagementScript |
patch()
Submits only changed fields for update and returns an
immutable copy of
this with changed fields reset. |
void |
postInject(boolean addKeysToContextPath) |
DeviceManagementScript |
put()
Submits all fields for update and returns an immutable copy of
this
with changed fields reset (they were ignored anyway). |
String |
toString() |
DeviceManagementScript |
withCreatedDateTime(OffsetDateTime createdDateTime)
Returns an immutable copy of
this with just the createdDateTime
field changed. |
DeviceManagementScript |
withDescription(String description)
Returns an immutable copy of
this with just the description
field changed. |
DeviceManagementScript |
withDisplayName(String displayName)
Returns an immutable copy of
this with just the displayName
field changed. |
DeviceManagementScript |
withEnforceSignatureCheck(Boolean enforceSignatureCheck)
Returns an immutable copy of
this with just the enforceSignatureCheck field changed. |
DeviceManagementScript |
withFileName(String fileName)
Returns an immutable copy of
this with just the fileName field
changed. |
DeviceManagementScript |
withLastModifiedDateTime(OffsetDateTime lastModifiedDateTime)
Returns an immutable copy of
this with just the lastModifiedDateTime field changed. |
DeviceManagementScript |
withRunAs32Bit(Boolean runAs32Bit)
Returns an immutable copy of
this with just the runAs32Bit field
changed. |
DeviceManagementScript |
withRunAsAccount(RunAsAccountType runAsAccount)
Returns an immutable copy of
this with just the runAsAccount
field changed. |
DeviceManagementScript |
withScriptContent(byte[] scriptContent)
Returns an immutable copy of
this with just the scriptContent
field changed. |
protected Boolean enforceSignatureCheck
protected Boolean runAs32Bit
protected String displayName
protected String description
protected byte[] scriptContent
protected OffsetDateTime createdDateTime
protected OffsetDateTime lastModifiedDateTime
protected RunAsAccountType runAsAccount
protected String fileName
protected String roleScopeTagIdsNextLink
public String odataTypeName()
odataTypeName in interface com.github.davidmoten.odata.client.ODataTypeodataTypeName in class Entitypublic static DeviceManagementScript.Builder builderDeviceManagementScript()
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<Boolean> getEnforceSignatureCheck()
public DeviceManagementScript 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 DeviceManagementScript 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.
“A value indicating whether the PowerShell script should run as 32-bit”
runAs32Bit - new value of runAs32Bit field (as defined in service metadata)this with just the runAs32Bit field changedpublic Optional<String> getDisplayName()
public DeviceManagementScript 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 management script.”
displayName - new value of displayName field (as defined in service metadata)this with just the displayName field changedpublic Optional<String> getDescription()
public DeviceManagementScript 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.
“Optional description for the device management script.”
description - new value of description field (as defined in service metadata)this with just the description field changedpublic Optional<byte[]> getScriptContent()
public DeviceManagementScript withScriptContent(byte[] scriptContent)
this with just the scriptContent
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 script content.”
scriptContent - new value of scriptContent field (as defined in service metadata)this with just the scriptContent field changedpublic Optional<OffsetDateTime> getCreatedDateTime()
Org.OData.Core.V1.Computed
true
Org.OData.Core.V1.Permissions
public DeviceManagementScript 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 date and time the device management 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 DeviceManagementScript 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 date and time the device management script was last 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 DeviceManagementScript 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 DeviceManagementScript withFileName(String fileName)
this with just the fileName 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 file name.”
fileName - new value of fileName field (as defined in service metadata)this with just the fileName 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 DeviceManagementScriptGroupAssignmentCollectionRequest getGroupAssignments()
public DeviceManagementScriptAssignmentCollectionRequest getAssignments()
public DeviceManagementScriptRunSummaryRequest getRunSummary()
public DeviceManagementScriptDeviceStateCollectionRequest getDeviceRunStates()
public DeviceManagementScriptUserStateCollectionRequest getUserRunStates()
public com.github.davidmoten.odata.client.internal.UnmappedFields getUnmappedFields()
getUnmappedFields in interface com.github.davidmoten.odata.client.ODataTypegetUnmappedFields in class Entitypublic DeviceManagementScript patch()
this with changed fields reset.public DeviceManagementScript put()
this
with changed fields reset (they were ignored anyway).public com.github.davidmoten.odata.client.ActionRequestNoReturn assign(List<DeviceManagementScriptGroupAssignment> deviceManagementScriptGroupAssignments, List<DeviceManagementScriptAssignment> deviceManagementScriptAssignments)
Copyright © 2018–2020. All rights reserved.