public class DirectoryRole extends DirectoryObject implements com.github.davidmoten.odata.client.ODataEntityType
Org.OData.Capabilities.V1.ChangeTracking
Supported = true
Org.OData.Capabilities.V1.TopSupported
false
| Modifier and Type | Class and Description |
|---|---|
static class |
DirectoryRole.Builder |
| Modifier and Type | Field and Description |
|---|---|
protected String |
description |
protected String |
displayName |
protected String |
roleTemplateId |
deletedDateTimechangedFields, contextPath, id, odataType, unmappedFields| Modifier | Constructor and Description |
|---|---|
protected |
DirectoryRole() |
| Modifier and Type | Method and Description |
|---|---|
static DirectoryRole.Builder |
builderDirectoryRole()
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() |
DirectoryObjectCollectionRequest |
getMembers() |
Optional<String> |
getRoleTemplateId() |
ScopedRoleMembershipCollectionRequest |
getScopedMembers() |
com.github.davidmoten.odata.client.internal.UnmappedFields |
getUnmappedFields() |
String |
odataTypeName() |
DirectoryRole |
patch()
Submits only changed fields for update and returns an
immutable copy of
this with changed fields reset. |
void |
postInject(boolean addKeysToContextPath) |
DirectoryRole |
put()
Submits all fields for update and returns an immutable copy of
this
with changed fields reset (they were ignored anyway). |
String |
toString() |
DirectoryRole |
withDescription(String description) |
DirectoryRole |
withDisplayName(String displayName) |
DirectoryRole |
withRoleTemplateId(String roleTemplateId) |
builderDirectoryObject, checkMemberGroups, checkMemberObjects, getDeletedDateTime, getMemberGroups, getMemberObjects, restore, withDeletedDateTimeprotected String description
protected String displayName
protected String roleTemplateId
public String odataTypeName()
odataTypeName in interface com.github.davidmoten.odata.client.ODataTypeodataTypeName in class DirectoryObjectpublic static DirectoryRole.Builder builderDirectoryRole()
public com.github.davidmoten.odata.client.internal.ChangedFields getChangedFields()
getChangedFields in interface com.github.davidmoten.odata.client.ODataEntityTypegetChangedFields in class DirectoryObjectpublic void postInject(boolean addKeysToContextPath)
postInject in interface com.github.davidmoten.odata.client.ODataTypepostInject in class DirectoryObjectpublic DirectoryRole withDescription(String description)
public DirectoryRole withDisplayName(String displayName)
public DirectoryRole withRoleTemplateId(String roleTemplateId)
public DirectoryObjectCollectionRequest getMembers()
public ScopedRoleMembershipCollectionRequest getScopedMembers()
public com.github.davidmoten.odata.client.internal.UnmappedFields getUnmappedFields()
getUnmappedFields in interface com.github.davidmoten.odata.client.ODataTypegetUnmappedFields in class DirectoryObjectpublic DirectoryRole patch()
this with changed fields reset.patch in class DirectoryObjectthis with changed fields resetcom.github.davidmoten.odata.client.ClientException - if HTTP response is not as expectedpublic DirectoryRole put()
this
with changed fields reset (they were ignored anyway).put in class DirectoryObjectthis with changed fields resetcom.github.davidmoten.odata.client.ClientException - if HTTP response is not as expectedpublic String toString()
toString in class DirectoryObjectCopyright © 2018–2020. All rights reserved.