public class DeviceCompliancePolicyGroupAssignment extends Entity implements com.github.davidmoten.odata.client.ODataEntityType
| Modifier and Type | Class and Description |
|---|---|
static class |
DeviceCompliancePolicyGroupAssignment.Builder |
| Modifier and Type | Field and Description |
|---|---|
protected Boolean |
excludeGroup |
protected String |
targetGroupId |
changedFields, contextPath, id, odataType, unmappedFields| Modifier | Constructor and Description |
|---|---|
protected |
DeviceCompliancePolicyGroupAssignment() |
| Modifier and Type | Method and Description |
|---|---|
static DeviceCompliancePolicyGroupAssignment.Builder |
builderDeviceCompliancePolicyGroupAssignment()
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() |
DeviceCompliancePolicyRequest |
getDeviceCompliancePolicy()
“The navigation link to the device compliance polic targeted.”
|
Optional<Boolean> |
getExcludeGroup()
“Indicates if this group is should be excluded.
|
Optional<String> |
getTargetGroupId()
“The Id of the AAD group we are targeting the device compliance policy to.”
|
com.github.davidmoten.odata.client.internal.UnmappedFields |
getUnmappedFields() |
String |
odataTypeName() |
DeviceCompliancePolicyGroupAssignment |
patch()
Submits only changed fields for update and returns an
immutable copy of
this with changed fields reset. |
void |
postInject(boolean addKeysToContextPath) |
DeviceCompliancePolicyGroupAssignment |
put()
Submits all fields for update and returns an immutable copy of
this
with changed fields reset (they were ignored anyway). |
String |
toString() |
DeviceCompliancePolicyGroupAssignment |
withExcludeGroup(Boolean excludeGroup)
Returns an immutable copy of
this with just the excludeGroup
field changed. |
DeviceCompliancePolicyGroupAssignment |
withTargetGroupId(String targetGroupId)
Returns an immutable copy of
this with just the targetGroupId
field changed. |
protected String targetGroupId
protected Boolean excludeGroup
protected DeviceCompliancePolicyGroupAssignment()
public String odataTypeName()
odataTypeName in interface com.github.davidmoten.odata.client.ODataTypeodataTypeName in class Entitypublic static DeviceCompliancePolicyGroupAssignment.Builder builderDeviceCompliancePolicyGroupAssignment()
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<String> getTargetGroupId()
public DeviceCompliancePolicyGroupAssignment withTargetGroupId(String targetGroupId)
this with just the targetGroupId
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 Id of the AAD group we are targeting the device compliance policy to.”
targetGroupId - new value of targetGroupId field (as defined in service metadata)this with just the targetGroupId field changedpublic Optional<Boolean> getExcludeGroup()
public DeviceCompliancePolicyGroupAssignment withExcludeGroup(Boolean excludeGroup)
this with just the excludeGroup
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.
“Indicates if this group is should be excluded. Defaults that the group should be included”
excludeGroup - new value of excludeGroup field (as defined in service metadata)this with just the excludeGroup field changedpublic DeviceCompliancePolicyRequest getDeviceCompliancePolicy()
public com.github.davidmoten.odata.client.internal.UnmappedFields getUnmappedFields()
getUnmappedFields in interface com.github.davidmoten.odata.client.ODataTypegetUnmappedFields in class Entitypublic DeviceCompliancePolicyGroupAssignment patch()
this with changed fields reset.public DeviceCompliancePolicyGroupAssignment put()
this
with changed fields reset (they were ignored anyway).Copyright © 2018–2020. All rights reserved.