Class DirectoryObject
- java.lang.Object
-
- odata.msgraph.client.entity.Entity
-
- odata.msgraph.client.entity.DirectoryObject
-
- All Implemented Interfaces:
com.github.davidmoten.odata.client.ODataEntityType,com.github.davidmoten.odata.client.ODataType
- Direct Known Subclasses:
AdministrativeUnit,Application,AppRoleAssignment,Contract,Device,DirectoryObjectPartnerReference,DirectoryRole,DirectoryRoleTemplate,Endpoint,ExtensionProperty,Group,GroupSettingTemplate,Organization,OrgContact,PolicyBase,ResourceSpecificPermissionGrant,ServicePrincipal,User
public class DirectoryObject extends Entity implements com.github.davidmoten.odata.client.ODataEntityType
Org.OData.Capabilities.V1.ChangeTracking
Supported = true
Org.OData.Capabilities.V1.CountRestrictions
Countable = false
Org.OData.Capabilities.V1.ExpandRestrictions
Expandable = false
Org.OData.Capabilities.V1.FilterRestrictions
Filterable = false
Org.OData.Capabilities.V1.NavigationRestrictions
Referenceable = false
Org.OData.Capabilities.V1.SelectRestrictions
Selectable = false
Org.OData.Capabilities.V1.SkipSupported
false
Org.OData.Capabilities.V1.CountRestrictions
Countable = true
Org.OData.Capabilities.V1.ExpandRestrictions
Expandable = true
Org.OData.Capabilities.V1.FilterRestrictions
Filterable = true
Org.OData.Capabilities.V1.NavigationRestrictions
Referenceable = true
Org.OData.Capabilities.V1.SkipSupported
true
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classDirectoryObject.Builder
-
Field Summary
Fields Modifier and Type Field Description protected OffsetDateTimedeletedDateTime-
Fields inherited from class odata.msgraph.client.entity.Entity
changedFields, contextPath, id, odataType, unmappedFields
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedDirectoryObject()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static DirectoryObject.BuilderbuilderDirectoryObject()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.CollectionPageNonEntityRequest<String>checkMemberGroups(List<String> groupIds)com.github.davidmoten.odata.client.CollectionPageNonEntityRequest<String>checkMemberObjects(List<String> ids)com.github.davidmoten.odata.client.internal.ChangedFieldsgetChangedFields()Optional<OffsetDateTime>getDeletedDateTime()com.github.davidmoten.odata.client.CollectionPageNonEntityRequest<String>getMemberGroups(Boolean securityEnabledOnly)com.github.davidmoten.odata.client.CollectionPageNonEntityRequest<String>getMemberObjects(Boolean securityEnabledOnly)com.github.davidmoten.odata.client.UnmappedFieldsgetUnmappedFields()StringodataTypeName()DirectoryObjectpatch()Submits only changed fields for update and returns an immutable copy ofthiswith changed fields reset.voidpostInject(boolean addKeysToContextPath)DirectoryObjectput()Submits all fields for update and returns an immutable copy ofthiswith changed fields reset (they were ignored anyway).com.github.davidmoten.odata.client.ActionRequestReturningNonCollectionUnwrapped<DirectoryObject>restore()StringtoString()DirectoryObjectwithDeletedDateTime(OffsetDateTime deletedDateTime)DirectoryObjectwithUnmappedField(String name, Object value)
-
-
-
Field Detail
-
deletedDateTime
protected OffsetDateTime deletedDateTime
-
-
Method Detail
-
odataTypeName
public String odataTypeName()
- Specified by:
odataTypeNamein interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
odataTypeNamein classEntity
-
builderDirectoryObject
public static DirectoryObject.Builder builderDirectoryObject()
Returns a builder which is used to create a new instance of this class (given that this class is immutable).- Returns:
- a new Builder for this class
-
getChangedFields
public com.github.davidmoten.odata.client.internal.ChangedFields getChangedFields()
- Specified by:
getChangedFieldsin interfacecom.github.davidmoten.odata.client.ODataEntityType- Overrides:
getChangedFieldsin classEntity
-
postInject
public void postInject(boolean addKeysToContextPath)
- Specified by:
postInjectin interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
postInjectin classEntity
-
getDeletedDateTime
public Optional<OffsetDateTime> getDeletedDateTime()
-
withDeletedDateTime
public DirectoryObject withDeletedDateTime(OffsetDateTime deletedDateTime)
-
withUnmappedField
public DirectoryObject withUnmappedField(String name, Object value)
- Overrides:
withUnmappedFieldin classEntity
-
getUnmappedFields
public com.github.davidmoten.odata.client.UnmappedFields getUnmappedFields()
- Specified by:
getUnmappedFieldsin interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
getUnmappedFieldsin classEntity
-
patch
public DirectoryObject patch()
Submits only changed fields for update and returns an immutable copy ofthiswith changed fields reset.
-
put
public DirectoryObject put()
Submits all fields for update and returns an immutable copy ofthiswith changed fields reset (they were ignored anyway).
-
checkMemberGroups
public com.github.davidmoten.odata.client.CollectionPageNonEntityRequest<String> checkMemberGroups(List<String> groupIds)
-
checkMemberObjects
public com.github.davidmoten.odata.client.CollectionPageNonEntityRequest<String> checkMemberObjects(List<String> ids)
-
getMemberGroups
public com.github.davidmoten.odata.client.CollectionPageNonEntityRequest<String> getMemberGroups(Boolean securityEnabledOnly)
-
getMemberObjects
public com.github.davidmoten.odata.client.CollectionPageNonEntityRequest<String> getMemberObjects(Boolean securityEnabledOnly)
-
restore
public com.github.davidmoten.odata.client.ActionRequestReturningNonCollectionUnwrapped<DirectoryObject> restore()
-
-