public class DeviceConfigurationGroupAssignment extends Entity implements com.github.davidmoten.odata.client.ODataEntityType
| Modifier and Type | Class and Description |
|---|---|
static class |
DeviceConfigurationGroupAssignment.Builder |
| Modifier and Type | Field and Description |
|---|---|
protected Boolean |
excludeGroup |
protected String |
targetGroupId |
changedFields, contextPath, id, odataType, unmappedFields| Modifier | Constructor and Description |
|---|---|
protected |
DeviceConfigurationGroupAssignment() |
| Modifier and Type | Method and Description |
|---|---|
static DeviceConfigurationGroupAssignment.Builder |
builderDeviceConfigurationGroupAssignment()
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() |
DeviceConfigurationRequest |
getDeviceConfiguration()
“The navigation link to the Device Configuration being 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 configuration to.”
|
com.github.davidmoten.odata.client.internal.UnmappedFields |
getUnmappedFields() |
String |
odataTypeName() |
DeviceConfigurationGroupAssignment |
patch()
Submits only changed fields for update and returns an
immutable copy of
this with changed fields reset. |
void |
postInject(boolean addKeysToContextPath) |
DeviceConfigurationGroupAssignment |
put()
Submits all fields for update and returns an immutable copy of
this
with changed fields reset (they were ignored anyway). |
String |
toString() |
DeviceConfigurationGroupAssignment |
withExcludeGroup(Boolean excludeGroup)
Returns an immutable copy of
this with just the excludeGroup
field changed. |
DeviceConfigurationGroupAssignment |
withTargetGroupId(String targetGroupId)
Returns an immutable copy of
this with just the targetGroupId
field changed. |
protected String targetGroupId
protected Boolean excludeGroup
protected DeviceConfigurationGroupAssignment()
public String odataTypeName()
odataTypeName in interface com.github.davidmoten.odata.client.ODataTypeodataTypeName in class Entitypublic static DeviceConfigurationGroupAssignment.Builder builderDeviceConfigurationGroupAssignment()
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 DeviceConfigurationGroupAssignment 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 configuration to.”
targetGroupId - new value of targetGroupId field (as defined in service metadata)this with just the targetGroupId field changedpublic Optional<Boolean> getExcludeGroup()
public DeviceConfigurationGroupAssignment 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 DeviceConfigurationRequest getDeviceConfiguration()
public com.github.davidmoten.odata.client.internal.UnmappedFields getUnmappedFields()
getUnmappedFields in interface com.github.davidmoten.odata.client.ODataTypegetUnmappedFields in class Entitypublic DeviceConfigurationGroupAssignment patch()
this with changed fields reset.public DeviceConfigurationGroupAssignment put()
this
with changed fields reset (they were ignored anyway).Copyright © 2018–2020. All rights reserved.