public class PolicySetAssignment extends Entity implements com.github.davidmoten.odata.client.ODataEntityType
| Modifier and Type | Class and Description |
|---|---|
static class |
PolicySetAssignment.Builder |
| Modifier and Type | Field and Description |
|---|---|
protected OffsetDateTime |
lastModifiedDateTime |
protected DeviceAndAppManagementAssignmentTarget |
target |
changedFields, contextPath, id, odataType, unmappedFields| Modifier | Constructor and Description |
|---|---|
protected |
PolicySetAssignment() |
| Modifier and Type | Method and Description |
|---|---|
static PolicySetAssignment.Builder |
builderPolicySetAssignment()
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<OffsetDateTime> |
getLastModifiedDateTime()
“Last modified time of the PolicySetAssignment.”
|
Optional<DeviceAndAppManagementAssignmentTarget> |
getTarget()
“The target group of PolicySetAssignment”
|
com.github.davidmoten.odata.client.internal.UnmappedFields |
getUnmappedFields() |
String |
odataTypeName() |
PolicySetAssignment |
patch()
Submits only changed fields for update and returns an
immutable copy of
this with changed fields reset. |
void |
postInject(boolean addKeysToContextPath) |
PolicySetAssignment |
put()
Submits all fields for update and returns an immutable copy of
this
with changed fields reset (they were ignored anyway). |
String |
toString() |
PolicySetAssignment |
withLastModifiedDateTime(OffsetDateTime lastModifiedDateTime)
Returns an immutable copy of
this with just the lastModifiedDateTime field changed. |
PolicySetAssignment |
withTarget(DeviceAndAppManagementAssignmentTarget target)
Returns an immutable copy of
this with just the target field
changed. |
protected OffsetDateTime lastModifiedDateTime
protected DeviceAndAppManagementAssignmentTarget target
public String odataTypeName()
odataTypeName in interface com.github.davidmoten.odata.client.ODataTypeodataTypeName in class Entitypublic static PolicySetAssignment.Builder builderPolicySetAssignment()
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<OffsetDateTime> getLastModifiedDateTime()
public PolicySetAssignment 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.
“Last modified time of the PolicySetAssignment.”
lastModifiedDateTime - new value of lastModifiedDateTime field (as defined in service metadata)this with just the lastModifiedDateTime field changedpublic Optional<DeviceAndAppManagementAssignmentTarget> getTarget()
public PolicySetAssignment 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 target group of PolicySetAssignment”
target - new value of target field (as defined in service metadata)this with just the target field changedpublic com.github.davidmoten.odata.client.internal.UnmappedFields getUnmappedFields()
getUnmappedFields in interface com.github.davidmoten.odata.client.ODataTypegetUnmappedFields in class Entitypublic PolicySetAssignment patch()
this with changed fields reset.public PolicySetAssignment put()
this
with changed fields reset (they were ignored anyway).Copyright © 2018–2020. All rights reserved.