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