public class WindowsAutopilotDeploymentProfileAssignment extends Entity implements com.github.davidmoten.odata.client.ODataEntityType
| Modifier and Type | Class and Description |
|---|---|
static class |
WindowsAutopilotDeploymentProfileAssignment.Builder |
| Modifier and Type | Field and Description |
|---|---|
protected DeviceAndAppManagementAssignmentSource |
source |
protected String |
sourceId |
protected DeviceAndAppManagementAssignmentTarget |
target |
changedFields, contextPath, id, odataType, unmappedFields| Modifier | Constructor and Description |
|---|---|
protected |
WindowsAutopilotDeploymentProfileAssignment() |
| Modifier and Type | Method and Description |
|---|---|
static WindowsAutopilotDeploymentProfileAssignment.Builder |
builderWindowsAutopilotDeploymentProfileAssignment()
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<DeviceAndAppManagementAssignmentSource> |
getSource()
“Type of resource used for deployment to a group, direct or parcel/policySet”
|
Optional<String> |
getSourceId()
“Identifier for resource used for deployment to a group”
|
Optional<DeviceAndAppManagementAssignmentTarget> |
getTarget()
“The assignment target for the Windows Autopilot deployment profile.”
|
com.github.davidmoten.odata.client.internal.UnmappedFields |
getUnmappedFields() |
String |
odataTypeName() |
WindowsAutopilotDeploymentProfileAssignment |
patch()
Submits only changed fields for update and returns an
immutable copy of
this with changed fields reset. |
void |
postInject(boolean addKeysToContextPath) |
WindowsAutopilotDeploymentProfileAssignment |
put()
Submits all fields for update and returns an immutable copy of
this
with changed fields reset (they were ignored anyway). |
String |
toString() |
WindowsAutopilotDeploymentProfileAssignment |
withSource(DeviceAndAppManagementAssignmentSource source)
Returns an immutable copy of
this with just the source field
changed. |
WindowsAutopilotDeploymentProfileAssignment |
withSourceId(String sourceId)
Returns an immutable copy of
this with just the sourceId field
changed. |
WindowsAutopilotDeploymentProfileAssignment |
withTarget(DeviceAndAppManagementAssignmentTarget target)
Returns an immutable copy of
this with just the target field
changed. |
protected DeviceAndAppManagementAssignmentTarget target
protected DeviceAndAppManagementAssignmentSource source
protected String sourceId
protected WindowsAutopilotDeploymentProfileAssignment()
public String odataTypeName()
odataTypeName in interface com.github.davidmoten.odata.client.ODataTypeodataTypeName in class Entitypublic static WindowsAutopilotDeploymentProfileAssignment.Builder builderWindowsAutopilotDeploymentProfileAssignment()
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 WindowsAutopilotDeploymentProfileAssignment 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 assignment target for the Windows Autopilot deployment profile.”
target - new value of target field (as defined in service metadata)this with just the target field changedpublic Optional<DeviceAndAppManagementAssignmentSource> getSource()
public WindowsAutopilotDeploymentProfileAssignment withSource(DeviceAndAppManagementAssignmentSource source)
this with just the source 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.
“Type of resource used for deployment to a group, direct or parcel/policySet”
source - new value of source field (as defined in service metadata)this with just the source field changedpublic Optional<String> getSourceId()
public WindowsAutopilotDeploymentProfileAssignment withSourceId(String sourceId)
this with just the sourceId 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.
“Identifier for resource used for deployment to a group”
sourceId - new value of sourceId field (as defined in service metadata)this with just the sourceId field changedpublic com.github.davidmoten.odata.client.internal.UnmappedFields getUnmappedFields()
getUnmappedFields in interface com.github.davidmoten.odata.client.ODataTypegetUnmappedFields in class Entitypublic WindowsAutopilotDeploymentProfileAssignment patch()
this with changed fields reset.public WindowsAutopilotDeploymentProfileAssignment put()
this
with changed fields reset (they were ignored anyway).Copyright © 2018–2020. All rights reserved.