public class ScopedRoleMembership extends Entity implements com.github.davidmoten.odata.client.ODataEntityType
| Modifier and Type | Class and Description |
|---|---|
static class |
ScopedRoleMembership.Builder |
| Modifier and Type | Field and Description |
|---|---|
protected String |
administrativeUnitId |
protected String |
roleId |
protected Identity |
roleMemberInfo |
changedFields, contextPath, id, odataType, unmappedFields| Modifier | Constructor and Description |
|---|---|
protected |
ScopedRoleMembership() |
| Modifier and Type | Method and Description |
|---|---|
static ScopedRoleMembership.Builder |
builderScopedRoleMembership()
Returns a builder which is used to create a new
instance of this class (given that this class is immutable).
|
Optional<String> |
getAdministrativeUnitId() |
com.github.davidmoten.odata.client.internal.ChangedFields |
getChangedFields() |
Optional<String> |
getRoleId() |
Optional<Identity> |
getRoleMemberInfo() |
com.github.davidmoten.odata.client.internal.UnmappedFields |
getUnmappedFields() |
String |
odataTypeName() |
ScopedRoleMembership |
patch()
Submits only changed fields for update and returns an
immutable copy of
this with changed fields reset. |
void |
postInject(boolean addKeysToContextPath) |
ScopedRoleMembership |
put()
Submits all fields for update and returns an immutable copy of
this
with changed fields reset (they were ignored anyway). |
String |
toString() |
ScopedRoleMembership |
withAdministrativeUnitId(String administrativeUnitId) |
ScopedRoleMembership |
withRoleId(String roleId) |
ScopedRoleMembership |
withRoleMemberInfo(Identity roleMemberInfo) |
protected String roleId
protected String administrativeUnitId
protected Identity roleMemberInfo
public String odataTypeName()
odataTypeName in interface com.github.davidmoten.odata.client.ODataTypeodataTypeName in class Entitypublic static ScopedRoleMembership.Builder builderScopedRoleMembership()
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 ScopedRoleMembership withRoleId(String roleId)
public ScopedRoleMembership withAdministrativeUnitId(String administrativeUnitId)
public ScopedRoleMembership withRoleMemberInfo(Identity roleMemberInfo)
public com.github.davidmoten.odata.client.internal.UnmappedFields getUnmappedFields()
getUnmappedFields in interface com.github.davidmoten.odata.client.ODataTypegetUnmappedFields in class Entitypublic ScopedRoleMembership patch()
this with changed fields reset.public ScopedRoleMembership put()
this
with changed fields reset (they were ignored anyway).Copyright © 2018–2020. All rights reserved.