public class UnifiedRoleDefinition extends Entity implements com.github.davidmoten.odata.client.ODataEntityType
| Modifier and Type | Class and Description |
|---|---|
static class |
UnifiedRoleDefinition.Builder |
| Modifier and Type | Field and Description |
|---|---|
protected String |
description |
protected String |
displayName |
protected Boolean |
isBuiltIn |
protected Boolean |
isEnabled |
protected List<String> |
resourceScopes |
protected String |
resourceScopesNextLink |
protected List<UnifiedRolePermission> |
rolePermissions |
protected String |
rolePermissionsNextLink |
protected String |
templateId |
protected String |
version |
changedFields, contextPath, id, odataType, unmappedFields| Modifier | Constructor and Description |
|---|---|
protected |
UnifiedRoleDefinition() |
| Modifier and Type | Method and Description |
|---|---|
static UnifiedRoleDefinition.Builder |
builderUnifiedRoleDefinition()
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> |
getDescription() |
Optional<String> |
getDisplayName() |
Optional<Boolean> |
getIsBuiltIn() |
Optional<Boolean> |
getIsEnabled() |
com.github.davidmoten.odata.client.CollectionPage<String> |
getResourceScopes() |
com.github.davidmoten.odata.client.CollectionPage<UnifiedRolePermission> |
getRolePermissions() |
Optional<String> |
getTemplateId() |
com.github.davidmoten.odata.client.internal.UnmappedFields |
getUnmappedFields() |
Optional<String> |
getVersion() |
String |
odataTypeName() |
UnifiedRoleDefinition |
patch()
Submits only changed fields for update and returns an
immutable copy of
this with changed fields reset. |
void |
postInject(boolean addKeysToContextPath) |
UnifiedRoleDefinition |
put()
Submits all fields for update and returns an immutable copy of
this
with changed fields reset (they were ignored anyway). |
String |
toString() |
UnifiedRoleDefinition |
withDescription(String description) |
UnifiedRoleDefinition |
withDisplayName(String displayName) |
UnifiedRoleDefinition |
withIsBuiltIn(Boolean isBuiltIn) |
UnifiedRoleDefinition |
withIsEnabled(Boolean isEnabled) |
UnifiedRoleDefinition |
withTemplateId(String templateId) |
UnifiedRoleDefinition |
withVersion(String version) |
protected String description
protected String displayName
protected Boolean isBuiltIn
protected Boolean isEnabled
protected String resourceScopesNextLink
protected List<UnifiedRolePermission> rolePermissions
protected String rolePermissionsNextLink
protected String templateId
protected String version
public String odataTypeName()
odataTypeName in interface com.github.davidmoten.odata.client.ODataTypeodataTypeName in class Entitypublic static UnifiedRoleDefinition.Builder builderUnifiedRoleDefinition()
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 UnifiedRoleDefinition withDescription(String description)
public UnifiedRoleDefinition withDisplayName(String displayName)
public UnifiedRoleDefinition withIsBuiltIn(Boolean isBuiltIn)
public UnifiedRoleDefinition withIsEnabled(Boolean isEnabled)
public com.github.davidmoten.odata.client.CollectionPage<String> getResourceScopes()
public com.github.davidmoten.odata.client.CollectionPage<UnifiedRolePermission> getRolePermissions()
public UnifiedRoleDefinition withTemplateId(String templateId)
public UnifiedRoleDefinition withVersion(String version)
public com.github.davidmoten.odata.client.internal.UnmappedFields getUnmappedFields()
getUnmappedFields in interface com.github.davidmoten.odata.client.ODataTypegetUnmappedFields in class Entitypublic UnifiedRoleDefinition patch()
this with changed fields reset.public UnifiedRoleDefinition put()
this
with changed fields reset (they were ignored anyway).Copyright © 2018–2020. All rights reserved.