public class AdministrativeUnit extends DirectoryObject implements com.github.davidmoten.odata.client.ODataEntityType
Org.OData.Capabilities.V1.ChangeTracking
Supported = true
| Modifier and Type | Class and Description |
|---|---|
static class |
AdministrativeUnit.Builder |
| Modifier and Type | Field and Description |
|---|---|
protected String |
description |
protected String |
displayName |
protected String |
visibility |
deletedDateTimechangedFields, contextPath, id, odataType, unmappedFields| Modifier | Constructor and Description |
|---|---|
protected |
AdministrativeUnit() |
| Modifier and Type | Method and Description |
|---|---|
static AdministrativeUnit.Builder |
builderAdministrativeUnit()
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() |
ExtensionCollectionRequest |
getExtensions() |
DirectoryObjectCollectionRequest |
getMembers() |
ScopedRoleMembershipCollectionRequest |
getScopedRoleMembers() |
com.github.davidmoten.odata.client.internal.UnmappedFields |
getUnmappedFields() |
Optional<String> |
getVisibility() |
String |
odataTypeName() |
AdministrativeUnit |
patch()
Submits only changed fields for update and returns an
immutable copy of
this with changed fields reset. |
void |
postInject(boolean addKeysToContextPath) |
AdministrativeUnit |
put()
Submits all fields for update and returns an immutable copy of
this
with changed fields reset (they were ignored anyway). |
String |
toString() |
AdministrativeUnit |
withDescription(String description) |
AdministrativeUnit |
withDisplayName(String displayName) |
AdministrativeUnit |
withVisibility(String visibility) |
builderDirectoryObject, checkMemberGroups, checkMemberObjects, getDeletedDateTime, getMemberGroups, getMemberObjects, restore, withDeletedDateTimeprotected String displayName
protected String description
protected String visibility
public String odataTypeName()
odataTypeName in interface com.github.davidmoten.odata.client.ODataTypeodataTypeName in class DirectoryObjectpublic static AdministrativeUnit.Builder builderAdministrativeUnit()
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 AdministrativeUnit withDisplayName(String displayName)
public AdministrativeUnit withDescription(String description)
public AdministrativeUnit withVisibility(String visibility)
public DirectoryObjectCollectionRequest getMembers()
public ScopedRoleMembershipCollectionRequest getScopedRoleMembers()
public ExtensionCollectionRequest getExtensions()
public com.github.davidmoten.odata.client.internal.UnmappedFields getUnmappedFields()
getUnmappedFields in interface com.github.davidmoten.odata.client.ODataTypegetUnmappedFields in class DirectoryObjectpublic AdministrativeUnit 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 AdministrativeUnit 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.