public class DeviceConfigurationAssignment extends Entity implements com.github.davidmoten.odata.client.ODataEntityType
| Modifier and Type | Class and Description |
|---|---|
static class |
DeviceConfigurationAssignment.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 |
DeviceConfigurationAssignment() |
| Modifier and Type | Method and Description |
|---|---|
static DeviceConfigurationAssignment.Builder |
builderDeviceConfigurationAssignment()
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()
“The assignment source for the device configuration, direct or parcel/policySet.
|
Optional<String> |
getSourceId()
“The identifier of the source of the assignment.
|
Optional<DeviceAndAppManagementAssignmentTarget> |
getTarget()
“The assignment target for the device configuration.”
|
com.github.davidmoten.odata.client.internal.UnmappedFields |
getUnmappedFields() |
String |
odataTypeName() |
DeviceConfigurationAssignment |
patch()
Submits only changed fields for update and returns an
immutable copy of
this with changed fields reset. |
void |
postInject(boolean addKeysToContextPath) |
DeviceConfigurationAssignment |
put()
Submits all fields for update and returns an immutable copy of
this
with changed fields reset (they were ignored anyway). |
String |
toString() |
DeviceConfigurationAssignment |
withSource(DeviceAndAppManagementAssignmentSource source)
Returns an immutable copy of
this with just the source field
changed. |
DeviceConfigurationAssignment |
withSourceId(String sourceId)
Returns an immutable copy of
this with just the sourceId field
changed. |
DeviceConfigurationAssignment |
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 DeviceConfigurationAssignment.Builder builderDeviceConfigurationAssignment()
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 DeviceConfigurationAssignment 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 device configuration.”
target - new value of target field (as defined in service metadata)this with just the target field changedpublic Optional<DeviceAndAppManagementAssignmentSource> getSource()
Org.OData.Core.V1.Computed
true
Org.OData.Core.V1.Permissions
public DeviceConfigurationAssignment 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.
“The assignment source for the device configuration, direct or parcel/policySet. This property is read-only.”
Org.OData.Core.V1.Computed
true
Org.OData.Core.V1.Permissions
source - new value of source field (as defined in service metadata)this with just the source field changedpublic Optional<String> getSourceId()
Org.OData.Core.V1.Computed
true
Org.OData.Core.V1.Permissions
public DeviceConfigurationAssignment 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.
“The identifier of the source of the assignment. This property is read-only.”
Org.OData.Core.V1.Computed
true
Org.OData.Core.V1.Permissions
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 DeviceConfigurationAssignment patch()
this with changed fields reset.public DeviceConfigurationAssignment put()
this
with changed fields reset (they were ignored anyway).Copyright © 2018–2020. All rights reserved.