public class UnifiedRoleAssignment extends Entity implements com.github.davidmoten.odata.client.ODataEntityType
| Modifier and Type | Class and Description |
|---|---|
static class |
UnifiedRoleAssignment.Builder |
| Modifier and Type | Field and Description |
|---|---|
protected String |
principalId |
protected String |
resourceScope |
protected String |
roleDefinitionId |
changedFields, contextPath, id, odataType, unmappedFields| Modifier | Constructor and Description |
|---|---|
protected |
UnifiedRoleAssignment() |
| Modifier and Type | Method and Description |
|---|---|
static UnifiedRoleAssignment.Builder |
builderUnifiedRoleAssignment()
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() |
DirectoryObjectRequest |
getPrincipal() |
Optional<String> |
getPrincipalId() |
Optional<String> |
getResourceScope() |
UnifiedRoleDefinitionRequest |
getRoleDefinition() |
Optional<String> |
getRoleDefinitionId() |
com.github.davidmoten.odata.client.internal.UnmappedFields |
getUnmappedFields() |
String |
odataTypeName() |
UnifiedRoleAssignment |
patch()
Submits only changed fields for update and returns an
immutable copy of
this with changed fields reset. |
void |
postInject(boolean addKeysToContextPath) |
UnifiedRoleAssignment |
put()
Submits all fields for update and returns an immutable copy of
this
with changed fields reset (they were ignored anyway). |
String |
toString() |
UnifiedRoleAssignment |
withPrincipalId(String principalId) |
UnifiedRoleAssignment |
withResourceScope(String resourceScope) |
UnifiedRoleAssignment |
withRoleDefinitionId(String roleDefinitionId) |
protected String principalId
protected String resourceScope
protected String roleDefinitionId
public String odataTypeName()
odataTypeName in interface com.github.davidmoten.odata.client.ODataTypeodataTypeName in class Entitypublic static UnifiedRoleAssignment.Builder builderUnifiedRoleAssignment()
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 UnifiedRoleAssignment withPrincipalId(String principalId)
public UnifiedRoleAssignment withResourceScope(String resourceScope)
public UnifiedRoleAssignment withRoleDefinitionId(String roleDefinitionId)
public DirectoryObjectRequest getPrincipal()
public UnifiedRoleDefinitionRequest getRoleDefinition()
public com.github.davidmoten.odata.client.internal.UnmappedFields getUnmappedFields()
getUnmappedFields in interface com.github.davidmoten.odata.client.ODataTypegetUnmappedFields in class Entitypublic UnifiedRoleAssignment patch()
this with changed fields reset.public UnifiedRoleAssignment put()
this
with changed fields reset (they were ignored anyway).Copyright © 2018–2020. All rights reserved.