Class 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

    • Field Detail

      • assignedLabelsNextLink

        protected String assignedLabelsNextLink
      • assignedLicensesNextLink

        protected String assignedLicensesNextLink
      • classification

        protected String classification
      • createdByAppId

        protected String createdByAppId
      • description

        protected String description
      • displayName

        protected String displayName
      • groupTypesNextLink

        protected String groupTypesNextLink
      • hasMembersWithLicenseErrors

        protected Boolean hasMembersWithLicenseErrors
      • infoCatalogs

        protected List<String> infoCatalogs
      • infoCatalogsNextLink

        protected String infoCatalogsNextLink
      • isAssignableToRole

        protected Boolean isAssignableToRole
      • 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
      • 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
      • proxyAddresses

        protected List<String> proxyAddresses
      • proxyAddressesNextLink

        protected String proxyAddressesNextLink
      • resourceBehaviorOptions

        protected List<String> resourceBehaviorOptions
      • resourceBehaviorOptionsNextLink

        protected String resourceBehaviorOptionsNextLink
      • resourceProvisioningOptions

        protected List<String> resourceProvisioningOptions
      • resourceProvisioningOptionsNextLink

        protected String resourceProvisioningOptionsNextLink
      • securityEnabled

        protected Boolean securityEnabled
      • securityIdentifier

        protected String securityIdentifier
      • theme

        protected String theme
      • visibility

        protected String visibility
      • 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
      • isArchived

        protected Boolean isArchived
    • Constructor Detail

      • Group

        protected Group()
    • Method Detail

      • odataTypeName

        public String odataTypeName()
        Specified by:
        odataTypeName in interface com.github.davidmoten.odata.client.ODataType
        Overrides:
        odataTypeName in class DirectoryObject
      • 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:
        getChangedFields in interface com.github.davidmoten.odata.client.ODataEntityType
        Overrides:
        getChangedFields in class DirectoryObject
      • postInject

        public void postInject​(boolean addKeysToContextPath)
        Specified by:
        postInject in interface com.github.davidmoten.odata.client.ODataType
        Overrides:
        postInject in class DirectoryObject
      • getAssignedLabels

        public com.github.davidmoten.odata.client.CollectionPage<AssignedLabel> getAssignedLabels()
      • 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()
      • getAssignedLicenses

        public com.github.davidmoten.odata.client.CollectionPage<AssignedLicense> getAssignedLicenses​(com.github.davidmoten.odata.client.HttpRequestOptions options)
      • withClassification

        public Group withClassification​(String classification)
      • withCreatedByAppId

        public Group withCreatedByAppId​(String createdByAppId)
      • withDescription

        public Group withDescription​(String description)
      • withDisplayName

        public Group withDisplayName​(String displayName)
      • withExpirationDateTime

        public Group withExpirationDateTime​(OffsetDateTime expirationDateTime)
      • getGroupTypes

        public com.github.davidmoten.odata.client.CollectionPage<String> getGroupTypes()
      • withGroupTypes

        public Group withGroupTypes​(List<String> groupTypes)
      • getGroupTypes

        public com.github.davidmoten.odata.client.CollectionPage<String> getGroupTypes​(com.github.davidmoten.odata.client.HttpRequestOptions options)
      • getHasMembersWithLicenseErrors

        public Optional<Boolean> getHasMembersWithLicenseErrors()
      • withHasMembersWithLicenseErrors

        public Group withHasMembersWithLicenseErrors​(Boolean hasMembersWithLicenseErrors)
      • getInfoCatalogs

        public com.github.davidmoten.odata.client.CollectionPage<String> getInfoCatalogs()
      • withInfoCatalogs

        public Group withInfoCatalogs​(List<String> infoCatalogs)
      • getInfoCatalogs

        public com.github.davidmoten.odata.client.CollectionPage<String> getInfoCatalogs​(com.github.davidmoten.odata.client.HttpRequestOptions options)
      • withIsAssignableToRole

        public Group withIsAssignableToRole​(Boolean isAssignableToRole)
      • withMailEnabled

        public Group withMailEnabled​(Boolean mailEnabled)
      • withMailNickname

        public Group withMailNickname​(String mailNickname)
      • withMdmAppId

        public Group withMdmAppId​(String mdmAppId)
      • withMembershipRule

        public Group withMembershipRule​(String membershipRule)
      • getMembershipRuleProcessingState

        public Optional<String> getMembershipRuleProcessingState()
      • withMembershipRuleProcessingState

        public Group withMembershipRuleProcessingState​(String membershipRuleProcessingState)
      • getOnPremisesDomainName

        public Optional<String> getOnPremisesDomainName()
      • withOnPremisesDomainName

        public Group withOnPremisesDomainName​(String onPremisesDomainName)
      • withOnPremisesLastSyncDateTime

        public Group withOnPremisesLastSyncDateTime​(OffsetDateTime onPremisesLastSyncDateTime)
      • getOnPremisesNetBiosName

        public Optional<String> getOnPremisesNetBiosName()
      • withOnPremisesNetBiosName

        public Group withOnPremisesNetBiosName​(String onPremisesNetBiosName)
      • getOnPremisesProvisioningErrors

        public com.github.davidmoten.odata.client.CollectionPage<OnPremisesProvisioningError> getOnPremisesProvisioningErrors()
      • getOnPremisesProvisioningErrors

        public com.github.davidmoten.odata.client.CollectionPage<OnPremisesProvisioningError> getOnPremisesProvisioningErrors​(com.github.davidmoten.odata.client.HttpRequestOptions options)
      • getOnPremisesSamAccountName

        public Optional<String> getOnPremisesSamAccountName()
      • withOnPremisesSamAccountName

        public Group withOnPremisesSamAccountName​(String onPremisesSamAccountName)
      • getOnPremisesSecurityIdentifier

        public Optional<String> getOnPremisesSecurityIdentifier()
      • withOnPremisesSecurityIdentifier

        public Group withOnPremisesSecurityIdentifier​(String onPremisesSecurityIdentifier)
      • getOnPremisesSyncEnabled

        public Optional<Boolean> getOnPremisesSyncEnabled()
      • withOnPremisesSyncEnabled

        public Group withOnPremisesSyncEnabled​(Boolean onPremisesSyncEnabled)
      • withOrganizationId

        public Group withOrganizationId​(String organizationId)
      • getPreferredDataLocation

        public Optional<String> getPreferredDataLocation()
      • withPreferredDataLocation

        public Group withPreferredDataLocation​(String preferredDataLocation)
      • getPreferredLanguage

        public Optional<String> getPreferredLanguage()
      • withPreferredLanguage

        public Group withPreferredLanguage​(String preferredLanguage)
      • getProxyAddresses

        public com.github.davidmoten.odata.client.CollectionPage<String> getProxyAddresses()
      • withProxyAddresses

        public Group withProxyAddresses​(List<String> proxyAddresses)
      • getProxyAddresses

        public com.github.davidmoten.odata.client.CollectionPage<String> getProxyAddresses​(com.github.davidmoten.odata.client.HttpRequestOptions options)
      • 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)
      • withSecurityEnabled

        public Group withSecurityEnabled​(Boolean securityEnabled)
      • getSecurityIdentifier

        public Optional<String> getSecurityIdentifier()
      • withSecurityIdentifier

        public Group withSecurityIdentifier​(String securityIdentifier)
      • withVisibility

        public Group withVisibility​(String visibility)
      • getAllowExternalSenders

        public Optional<Boolean> getAllowExternalSenders()
      • withAllowExternalSenders

        public Group withAllowExternalSenders​(Boolean allowExternalSenders)
      • getAutoSubscribeNewMembers

        public Optional<Boolean> getAutoSubscribeNewMembers()
      • withAutoSubscribeNewMembers

        public Group withAutoSubscribeNewMembers​(Boolean autoSubscribeNewMembers)
      • getHideFromAddressLists

        public Optional<Boolean> getHideFromAddressLists()
      • withHideFromAddressLists

        public Group withHideFromAddressLists​(Boolean hideFromAddressLists)
      • getHideFromOutlookClients

        public Optional<Boolean> getHideFromOutlookClients()
      • withHideFromOutlookClients

        public Group withHideFromOutlookClients​(Boolean hideFromOutlookClients)
      • withIsFavorite

        public Group withIsFavorite​(Boolean isFavorite)
      • withIsSubscribedByMail

        public Group withIsSubscribedByMail​(Boolean isSubscribedByMail)
      • getUnseenConversationsCount

        public Optional<Integer> getUnseenConversationsCount()
      • withUnseenConversationsCount

        public Group withUnseenConversationsCount​(Integer unseenConversationsCount)
      • withUnseenCount

        public Group withUnseenCount​(Integer unseenCount)
      • getUnseenMessagesCount

        public Optional<Integer> getUnseenMessagesCount()
      • withUnseenMessagesCount

        public Group withUnseenMessagesCount​(Integer unseenMessagesCount)
      • withIsArchived

        public Group withIsArchived​(Boolean isArchived)
      • 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
      • 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
      • getUnmappedFields

        public com.github.davidmoten.odata.client.UnmappedFields getUnmappedFields()
        Specified by:
        getUnmappedFields in interface com.github.davidmoten.odata.client.ODataType
        Overrides:
        getUnmappedFields in class DirectoryObject
      • patch

        public Group patch()
        Submits only changed fields for update and returns an immutable copy of this with changed fields reset.
        Overrides:
        patch in class DirectoryObject
        Returns:
        a copy of this with 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 of this with changed fields reset (they were ignored anyway).
        Overrides:
        put in class DirectoryObject
        Returns:
        a copy of this with 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()