Class Group
- java.lang.Object
-
- odata.msgraph.client.beta.entity.Entity
-
- odata.msgraph.client.beta.entity.DirectoryObject
-
- odata.msgraph.client.beta.entity.Group
-
- All Implemented Interfaces:
com.github.davidmoten.odata.client.ODataEntityType,com.github.davidmoten.odata.client.ODataType
public class Group extends DirectoryObject implements com.github.davidmoten.odata.client.ODataEntityType
Org.OData.Capabilities.V1.ChangeTracking
Supported = true
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classGroup.Builder
-
Field Summary
-
Fields inherited from class odata.msgraph.client.beta.entity.DirectoryObject
deletedDateTime
-
Fields inherited from class odata.msgraph.client.beta.entity.Entity
changedFields, contextPath, id, odataType, unmappedFields
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedGroup()
-
Method Summary
-
Methods inherited from class odata.msgraph.client.beta.entity.DirectoryObject
builderDirectoryObject, checkMemberGroups, checkMemberObjects, getDeletedDateTime, getMemberGroups, getMemberObjects, restore, withDeletedDateTime
-
-
-
-
Field Detail
-
assignedLabels
protected List<AssignedLabel> assignedLabels
-
assignedLabelsNextLink
protected String assignedLabelsNextLink
-
assignedLicenses
protected List<AssignedLicense> assignedLicenses
-
assignedLicensesNextLink
protected String assignedLicensesNextLink
-
classification
protected String classification
-
createdByAppId
protected String createdByAppId
-
createdDateTime
protected OffsetDateTime createdDateTime
-
description
protected String description
-
displayName
protected String displayName
-
expirationDateTime
protected OffsetDateTime expirationDateTime
-
groupTypesNextLink
protected String groupTypesNextLink
-
hasMembersWithLicenseErrors
protected Boolean hasMembersWithLicenseErrors
-
infoCatalogsNextLink
protected String infoCatalogsNextLink
-
isAssignableToRole
protected Boolean isAssignableToRole
-
licenseProcessingState
protected LicenseProcessingState licenseProcessingState
-
mail
protected String mail
-
mailEnabled
protected Boolean mailEnabled
-
mailNickname
protected String mailNickname
-
mdmAppId
protected String mdmAppId
-
membershipRule
protected String membershipRule
-
membershipRuleProcessingState
protected String membershipRuleProcessingState
-
onPremisesDomainName
protected String onPremisesDomainName
-
onPremisesLastSyncDateTime
protected OffsetDateTime onPremisesLastSyncDateTime
-
onPremisesNetBiosName
protected String onPremisesNetBiosName
-
onPremisesProvisioningErrors
protected List<OnPremisesProvisioningError> onPremisesProvisioningErrors
-
onPremisesProvisioningErrorsNextLink
protected String onPremisesProvisioningErrorsNextLink
-
onPremisesSamAccountName
protected String onPremisesSamAccountName
-
onPremisesSecurityIdentifier
protected String onPremisesSecurityIdentifier
-
onPremisesSyncEnabled
protected Boolean onPremisesSyncEnabled
-
organizationId
protected String organizationId
-
preferredDataLocation
protected String preferredDataLocation
-
preferredLanguage
protected String preferredLanguage
-
proxyAddressesNextLink
protected String proxyAddressesNextLink
-
renewedDateTime
protected OffsetDateTime renewedDateTime
-
resourceBehaviorOptionsNextLink
protected String resourceBehaviorOptionsNextLink
-
resourceProvisioningOptionsNextLink
protected String resourceProvisioningOptionsNextLink
-
securityEnabled
protected Boolean securityEnabled
-
securityIdentifier
protected String securityIdentifier
-
theme
protected String theme
-
visibility
protected String visibility
-
accessType
protected GroupAccessType accessType
-
allowExternalSenders
protected Boolean allowExternalSenders
-
autoSubscribeNewMembers
protected Boolean autoSubscribeNewMembers
-
hideFromAddressLists
protected Boolean hideFromAddressLists
-
hideFromOutlookClients
protected Boolean hideFromOutlookClients
-
isFavorite
protected Boolean isFavorite
-
isSubscribedByMail
protected Boolean isSubscribedByMail
-
unseenConversationsCount
protected Integer unseenConversationsCount
-
unseenCount
protected Integer unseenCount
-
unseenMessagesCount
protected Integer unseenMessagesCount
-
membershipRuleProcessingStatus
protected MembershipRuleProcessingStatus membershipRuleProcessingStatus
-
isArchived
protected Boolean isArchived
-
-
Method Detail
-
odataTypeName
public String odataTypeName()
- Specified by:
odataTypeNamein interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
odataTypeNamein classDirectoryObject
-
builderGroup
public static Group.Builder builderGroup()
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 classDirectoryObject
-
postInject
public void postInject(boolean addKeysToContextPath)
- Specified by:
postInjectin interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
postInjectin classDirectoryObject
-
getAssignedLabels
public com.github.davidmoten.odata.client.CollectionPage<AssignedLabel> getAssignedLabels()
-
withAssignedLabels
public Group withAssignedLabels(List<AssignedLabel> assignedLabels)
-
getAssignedLabels
public com.github.davidmoten.odata.client.CollectionPage<AssignedLabel> getAssignedLabels(com.github.davidmoten.odata.client.HttpRequestOptions options)
-
getAssignedLicenses
public com.github.davidmoten.odata.client.CollectionPage<AssignedLicense> getAssignedLicenses()
-
withAssignedLicenses
public Group withAssignedLicenses(List<AssignedLicense> assignedLicenses)
-
getAssignedLicenses
public com.github.davidmoten.odata.client.CollectionPage<AssignedLicense> getAssignedLicenses(com.github.davidmoten.odata.client.HttpRequestOptions options)
-
getCreatedDateTime
public Optional<OffsetDateTime> getCreatedDateTime()
-
withCreatedDateTime
public Group withCreatedDateTime(OffsetDateTime createdDateTime)
-
getExpirationDateTime
public Optional<OffsetDateTime> getExpirationDateTime()
-
withExpirationDateTime
public Group withExpirationDateTime(OffsetDateTime expirationDateTime)
-
getGroupTypes
public com.github.davidmoten.odata.client.CollectionPage<String> getGroupTypes()
-
getGroupTypes
public com.github.davidmoten.odata.client.CollectionPage<String> getGroupTypes(com.github.davidmoten.odata.client.HttpRequestOptions options)
-
withHasMembersWithLicenseErrors
public Group withHasMembersWithLicenseErrors(Boolean hasMembersWithLicenseErrors)
-
getInfoCatalogs
public com.github.davidmoten.odata.client.CollectionPage<String> getInfoCatalogs()
-
getInfoCatalogs
public com.github.davidmoten.odata.client.CollectionPage<String> getInfoCatalogs(com.github.davidmoten.odata.client.HttpRequestOptions options)
-
getLicenseProcessingState
public Optional<LicenseProcessingState> getLicenseProcessingState()
-
withLicenseProcessingState
public Group withLicenseProcessingState(LicenseProcessingState licenseProcessingState)
-
withMembershipRuleProcessingState
public Group withMembershipRuleProcessingState(String membershipRuleProcessingState)
-
getOnPremisesLastSyncDateTime
public Optional<OffsetDateTime> getOnPremisesLastSyncDateTime()
-
withOnPremisesLastSyncDateTime
public Group withOnPremisesLastSyncDateTime(OffsetDateTime onPremisesLastSyncDateTime)
-
getOnPremisesProvisioningErrors
public com.github.davidmoten.odata.client.CollectionPage<OnPremisesProvisioningError> getOnPremisesProvisioningErrors()
-
withOnPremisesProvisioningErrors
public Group withOnPremisesProvisioningErrors(List<OnPremisesProvisioningError> onPremisesProvisioningErrors)
-
getOnPremisesProvisioningErrors
public com.github.davidmoten.odata.client.CollectionPage<OnPremisesProvisioningError> getOnPremisesProvisioningErrors(com.github.davidmoten.odata.client.HttpRequestOptions options)
-
withOnPremisesSamAccountName
public Group withOnPremisesSamAccountName(String onPremisesSamAccountName)
-
withOnPremisesSecurityIdentifier
public Group withOnPremisesSecurityIdentifier(String onPremisesSecurityIdentifier)
-
getProxyAddresses
public com.github.davidmoten.odata.client.CollectionPage<String> getProxyAddresses()
-
getProxyAddresses
public com.github.davidmoten.odata.client.CollectionPage<String> getProxyAddresses(com.github.davidmoten.odata.client.HttpRequestOptions options)
-
getRenewedDateTime
public Optional<OffsetDateTime> getRenewedDateTime()
-
withRenewedDateTime
public Group withRenewedDateTime(OffsetDateTime renewedDateTime)
-
getResourceBehaviorOptions
public com.github.davidmoten.odata.client.CollectionPage<String> getResourceBehaviorOptions()
-
withResourceBehaviorOptions
public Group withResourceBehaviorOptions(List<String> resourceBehaviorOptions)
-
getResourceBehaviorOptions
public com.github.davidmoten.odata.client.CollectionPage<String> getResourceBehaviorOptions(com.github.davidmoten.odata.client.HttpRequestOptions options)
-
getResourceProvisioningOptions
public com.github.davidmoten.odata.client.CollectionPage<String> getResourceProvisioningOptions()
-
withResourceProvisioningOptions
public Group withResourceProvisioningOptions(List<String> resourceProvisioningOptions)
-
getResourceProvisioningOptions
public com.github.davidmoten.odata.client.CollectionPage<String> getResourceProvisioningOptions(com.github.davidmoten.odata.client.HttpRequestOptions options)
-
getAccessType
public Optional<GroupAccessType> getAccessType()
-
withAccessType
public Group withAccessType(GroupAccessType accessType)
-
withAutoSubscribeNewMembers
public Group withAutoSubscribeNewMembers(Boolean autoSubscribeNewMembers)
-
withUnseenConversationsCount
public Group withUnseenConversationsCount(Integer unseenConversationsCount)
-
getMembershipRuleProcessingStatus
public Optional<MembershipRuleProcessingStatus> getMembershipRuleProcessingStatus()
-
withMembershipRuleProcessingStatus
public Group withMembershipRuleProcessingStatus(MembershipRuleProcessingStatus membershipRuleProcessingStatus)
-
withUnmappedField
public Group withUnmappedField(String name, String value)
- Overrides:
withUnmappedFieldin classDirectoryObject
-
getAppRoleAssignments
public AppRoleAssignmentCollectionRequest getAppRoleAssignments()
-
getCreatedOnBehalfOf
public DirectoryObjectRequest getCreatedOnBehalfOf()
-
getEndpoints
public EndpointCollectionRequest getEndpoints()
-
getMemberOf
public DirectoryObjectCollectionRequest getMemberOf()
-
getMembers
public DirectoryObjectCollectionRequest getMembers()
-
getMembersWithLicenseErrors
public DirectoryObjectCollectionRequest getMembersWithLicenseErrors()
-
getOwners
public DirectoryObjectCollectionRequest getOwners()
-
getPermissionGrants
public ResourceSpecificPermissionGrantCollectionRequest getPermissionGrants()
-
getSettings
public DirectorySettingCollectionRequest getSettings()
-
getTransitiveMemberOf
public DirectoryObjectCollectionRequest getTransitiveMemberOf()
-
getTransitiveMembers
public DirectoryObjectCollectionRequest getTransitiveMembers()
-
getAcceptedSenders
public DirectoryObjectCollectionRequest getAcceptedSenders()
Org.OData.Capabilities.V1.ChangeTracking
Supported = false
Org.OData.Capabilities.V1.ExpandRestrictions
Expandable = false
Org.OData.Capabilities.V1.SearchRestrictions
Searchable = false
Org.OData.Capabilities.V1.UpdateRestrictions
Updatable = false
- Returns:
- navigational property acceptedSenders
-
getCalendar
public CalendarRequest getCalendar()
Org.OData.Capabilities.V1.ChangeTracking
Supported = false
Org.OData.Capabilities.V1.DeleteRestrictions
Deletable = false
Org.OData.Capabilities.V1.ExpandRestrictions
Expandable = false
Org.OData.Capabilities.V1.InsertRestrictions
Insertable = false
Org.OData.Capabilities.V1.SearchRestrictions
Searchable = false
Org.OData.Capabilities.V1.UpdateRestrictions
Updatable = false
- Returns:
- navigational property calendar
-
getCalendarView
public EventCollectionRequest getCalendarView()
Org.OData.Capabilities.V1.ChangeTracking
Supported = true
Org.OData.Capabilities.V1.DeleteRestrictions
Deletable = false
Org.OData.Capabilities.V1.ExpandRestrictions
Expandable = false
Org.OData.Capabilities.V1.InsertRestrictions
Insertable = false
Org.OData.Capabilities.V1.SearchRestrictions
Searchable = false
Org.OData.Capabilities.V1.UpdateRestrictions
Updatable = false
- Returns:
- navigational property calendarView
-
getConversations
public ConversationCollectionRequest getConversations()
Org.OData.Capabilities.V1.ChangeTracking
Supported = false
Org.OData.Capabilities.V1.ExpandRestrictions
Expandable = false
Org.OData.Capabilities.V1.UpdateRestrictions
Updatable = false
- Returns:
- navigational property conversations
-
getEvents
public EventCollectionRequest getEvents()
Org.OData.Capabilities.V1.ChangeTracking
Supported = false
Org.OData.Capabilities.V1.ExpandRestrictions
Expandable = false
Org.OData.Capabilities.V1.SearchRestrictions
Searchable = false
- Returns:
- navigational property events
-
getRejectedSenders
public DirectoryObjectCollectionRequest getRejectedSenders()
Org.OData.Capabilities.V1.ChangeTracking
Supported = false
Org.OData.Capabilities.V1.ExpandRestrictions
Expandable = false
Org.OData.Capabilities.V1.SearchRestrictions
Searchable = false
Org.OData.Capabilities.V1.UpdateRestrictions
Updatable = false
- Returns:
- navigational property rejectedSenders
-
getThreads
public ConversationThreadCollectionRequest getThreads()
Org.OData.Capabilities.V1.ChangeTracking
Supported = false
Org.OData.Capabilities.V1.ExpandRestrictions
Expandable = false
Org.OData.Capabilities.V1.SearchRestrictions
Searchable = false
- Returns:
- navigational property threads
-
getDrive
public DriveRequest getDrive()
-
getDrives
public DriveCollectionRequest getDrives()
-
getSites
public SiteCollectionRequest getSites()
-
getExtensions
public ExtensionCollectionRequest getExtensions()
-
getGroupLifecyclePolicies
public GroupLifecyclePolicyCollectionRequest getGroupLifecyclePolicies()
-
getPlanner
public PlannerGroupRequest getPlanner()
-
getOnenote
public OnenoteRequest getOnenote()
-
getPhoto
public ProfilePhotoRequest getPhoto()
Org.OData.Capabilities.V1.ChangeTracking
Supported = false
Org.OData.Capabilities.V1.DeleteRestrictions
Deletable = false
Org.OData.Capabilities.V1.ExpandRestrictions
Expandable = false
Org.OData.Capabilities.V1.InsertRestrictions
Insertable = false
Org.OData.Capabilities.V1.SearchRestrictions
Searchable = false
- Returns:
- navigational property photo
-
getPhotos
public ProfilePhotoCollectionRequest getPhotos()
Org.OData.Capabilities.V1.ChangeTracking
Supported = false
Org.OData.Capabilities.V1.DeleteRestrictions
Deletable = false
Org.OData.Capabilities.V1.ExpandRestrictions
Expandable = false
Org.OData.Capabilities.V1.InsertRestrictions
Insertable = false
Org.OData.Capabilities.V1.SearchRestrictions
Searchable = false
Org.OData.Capabilities.V1.UpdateRestrictions
Updatable = false
- Returns:
- navigational property photos
-
getTeam
public TeamRequest getTeam()
-
getUnmappedFields
public com.github.davidmoten.odata.client.UnmappedFields getUnmappedFields()
- Specified by:
getUnmappedFieldsin interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
getUnmappedFieldsin classDirectoryObject
-
patch
public Group patch()
Submits only changed fields for update and returns an immutable copy ofthiswith changed fields reset.- Overrides:
patchin classDirectoryObject- Returns:
- a copy of
thiswith changed fields reset - Throws:
com.github.davidmoten.odata.client.ClientException- if HTTP response is not as expected
-
put
public Group put()
Submits all fields for update and returns an immutable copy ofthiswith changed fields reset (they were ignored anyway).- Overrides:
putin classDirectoryObject- Returns:
- a copy of
thiswith changed fields reset - Throws:
com.github.davidmoten.odata.client.ClientException- if HTTP response is not as expected
-
assignLicense
public com.github.davidmoten.odata.client.ActionRequestReturningNonCollectionUnwrapped<Group> assignLicense(List<AssignedLicense> addLicenses, List<String> removeLicenses)
-
checkGrantedPermissionsForApp
public com.github.davidmoten.odata.client.CollectionPageNonEntityRequest<ResourceSpecificPermissionGrant> checkGrantedPermissionsForApp()
-
validateProperties
public com.github.davidmoten.odata.client.ActionRequestNoReturn validateProperties(String displayName, String mailNickname, String onBehalfOfUserId)
-
addFavorite
public com.github.davidmoten.odata.client.ActionRequestNoReturn addFavorite()
-
removeFavorite
public com.github.davidmoten.odata.client.ActionRequestNoReturn removeFavorite()
-
resetUnseenCount
public com.github.davidmoten.odata.client.ActionRequestNoReturn resetUnseenCount()
-
subscribeByMail
public com.github.davidmoten.odata.client.ActionRequestNoReturn subscribeByMail()
-
unsubscribeByMail
public com.github.davidmoten.odata.client.ActionRequestNoReturn unsubscribeByMail()
-
evaluateDynamicMembership
public com.github.davidmoten.odata.client.ActionRequestReturningNonCollectionUnwrapped<EvaluateDynamicMembershipResult> evaluateDynamicMembership(String memberId)
-
renew
public com.github.davidmoten.odata.client.ActionRequestNoReturn renew()
-
toString
public String toString()
- Overrides:
toStringin classDirectoryObject
-
-