public class TargetedManagedAppPolicyAssignment extends Entity implements com.github.davidmoten.odata.client.ODataEntityType
| Modifier and Type | Class and Description |
|---|---|
static class |
TargetedManagedAppPolicyAssignment.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 |
TargetedManagedAppPolicyAssignment() |
| Modifier and Type | Method and Description |
|---|---|
static TargetedManagedAppPolicyAssignment.Builder |
builderTargetedManagedAppPolicyAssignment()
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()
“Identifier for deployment to a group or app”
|
com.github.davidmoten.odata.client.internal.UnmappedFields |
getUnmappedFields() |
String |
odataTypeName() |
TargetedManagedAppPolicyAssignment |
patch()
Submits only changed fields for update and returns an
immutable copy of
this with changed fields reset. |
void |
postInject(boolean addKeysToContextPath) |
TargetedManagedAppPolicyAssignment |
put()
Submits all fields for update and returns an immutable copy of
this
with changed fields reset (they were ignored anyway). |
String |
toString() |
TargetedManagedAppPolicyAssignment |
withSource(DeviceAndAppManagementAssignmentSource source)
Returns an immutable copy of
this with just the source field
changed. |
TargetedManagedAppPolicyAssignment |
withSourceId(String sourceId)
Returns an immutable copy of
this with just the sourceId field
changed. |
TargetedManagedAppPolicyAssignment |
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 TargetedManagedAppPolicyAssignment()
public String odataTypeName()
odataTypeName in interface com.github.davidmoten.odata.client.ODataTypeodataTypeName in class Entitypublic static TargetedManagedAppPolicyAssignment.Builder builderTargetedManagedAppPolicyAssignment()
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 TargetedManagedAppPolicyAssignment 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.
“Identifier for deployment to a group or app”
target - new value of target field (as defined in service metadata)this with just the target field changedpublic Optional<DeviceAndAppManagementAssignmentSource> getSource()
public TargetedManagedAppPolicyAssignment 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 TargetedManagedAppPolicyAssignment 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 TargetedManagedAppPolicyAssignment patch()
this with changed fields reset.public TargetedManagedAppPolicyAssignment put()
this
with changed fields reset (they were ignored anyway).Copyright © 2018–2020. All rights reserved.