public class TermsAndConditionsGroupAssignment extends Entity implements com.github.davidmoten.odata.client.ODataEntityType
| Modifier and Type | Class and Description |
|---|---|
static class |
TermsAndConditionsGroupAssignment.Builder |
| Modifier and Type | Field and Description |
|---|---|
protected String |
targetGroupId |
changedFields, contextPath, id, odataType, unmappedFields| Modifier | Constructor and Description |
|---|---|
protected |
TermsAndConditionsGroupAssignment() |
| Modifier and Type | Method and Description |
|---|---|
static TermsAndConditionsGroupAssignment.Builder |
builderTermsAndConditionsGroupAssignment()
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<String> |
getTargetGroupId()
“Unique identifier of a group that the T&C policy is assigned to.”
|
TermsAndConditionsRequest |
getTermsAndConditions()
“Navigation link to the terms and conditions that are assigned.”
|
com.github.davidmoten.odata.client.internal.UnmappedFields |
getUnmappedFields() |
String |
odataTypeName() |
TermsAndConditionsGroupAssignment |
patch()
Submits only changed fields for update and returns an
immutable copy of
this with changed fields reset. |
void |
postInject(boolean addKeysToContextPath) |
TermsAndConditionsGroupAssignment |
put()
Submits all fields for update and returns an immutable copy of
this
with changed fields reset (they were ignored anyway). |
String |
toString() |
TermsAndConditionsGroupAssignment |
withTargetGroupId(String targetGroupId)
Returns an immutable copy of
this with just the targetGroupId
field changed. |
protected String targetGroupId
public String odataTypeName()
odataTypeName in interface com.github.davidmoten.odata.client.ODataTypeodataTypeName in class Entitypublic static TermsAndConditionsGroupAssignment.Builder builderTermsAndConditionsGroupAssignment()
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 TermsAndConditionsGroupAssignment 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.
“Unique identifier of a group that the T&C policy is assigned to.”
targetGroupId - new value of targetGroupId field (as defined in service metadata)this with just the targetGroupId field changedpublic TermsAndConditionsRequest getTermsAndConditions()
public com.github.davidmoten.odata.client.internal.UnmappedFields getUnmappedFields()
getUnmappedFields in interface com.github.davidmoten.odata.client.ODataTypegetUnmappedFields in class Entitypublic TermsAndConditionsGroupAssignment patch()
this with changed fields reset.public TermsAndConditionsGroupAssignment put()
this
with changed fields reset (they were ignored anyway).Copyright © 2018–2020. All rights reserved.