Class MicrosoftGraphGroupInner
java.lang.Object
com.azure.resourcemanager.authorization.fluent.models.MicrosoftGraphEntity
com.azure.resourcemanager.authorization.fluent.models.MicrosoftGraphDirectoryObjectInner
com.azure.resourcemanager.authorization.fluent.models.MicrosoftGraphGroupInner
group
Represents an Azure Active Directory object. The directoryObject type is the base type for many other directory entity types.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of MicrosoftGraphGroupInner class. -
Method Summary
Modifier and TypeMethodDescriptionGet the acceptedSenders property: The list of users or groups that are allowed to create post's or calendar events in this group.Get the additionalProperties property: Represents an Azure Active Directory object.Get the allowExternalSenders property: Indicates if people external to the organization can send messages to the group.Get the appRoleAssignments property: The appRoleAssignments property.Get the assignedLabels property: The list of sensitivity label pairs (label ID, label name) associated with an Microsoft 365 group.Get the assignedLicenses property: The licenses that are assigned to the group.Get the autoSubscribeNewMembers property: Indicates if new members added to the group will be auto-subscribed to receive email notifications.calendar()Get the calendar property: calendar.Get the calendarView property: The calendar view for the calendar.Get the classification property: Describes a classification for the group (such as low, medium or high business impact).Get the conversations property: The group's conversations.Get the createdDateTime property: Timestamp of when the group was created.Get the createdOnBehalfOf property: directoryObjectGet the description property: An optional description for the group.Get the displayName property: The display name for the group.drive()Get the drive property: drive.drives()Get the drives property: The group's drives.events()Get the events property: The group's calendar events.Get the expirationDateTime property: Timestamp of when the group is set to expire.Get the extensions property: The collection of open extensions defined for the group.Get the groupLifecyclePolicies property: The collection of lifecycle policies for this group.Get the groupTypes property: Specifies the group type and its membership.Get the hasMembersWithLicenseErrors property: Indicates whether there are members in this group that have license errors from its group-based license assignment.Get the hideFromAddressLists property: True if the group is not displayed in certain parts of the Outlook UI: the Address Book, address lists for selecting message recipients, and the Browse Groups dialog for searching groups; otherwise, false.Get the hideFromOutlookClients property: True if the group is not displayed in Outlook clients, such as Outlook for Windows and Outlook on the web; otherwise, false.Get the isArchived property: The isArchived property.Get the isSubscribedByMail property: Indicates whether the signed-in user is subscribed to receive email conversations.Get the licenseProcessingState property: licenseProcessingState.mail()Get the mail property: The SMTP address for the group, for example, 'serviceadmins@contoso.onmicrosoft.com'.Get the mailEnabled property: Specifies whether the group is mail-enabled.Get the mailNickname property: The mailNickname property.memberOf()Get the memberOf property: Groups that this group is a member of.members()Get the members property: Users and groups that are members of this group.Get the membershipRule property: The rule that determines members for this group if the group is a dynamic group (groupTypes contains DynamicMembership).Get the membershipRuleProcessingState property: Indicates whether the dynamic membership processing is on or paused.Get the membersWithLicenseErrors property: A list of group members with license errors from this group-based license assignment.onenote()Get the onenote property: onenote.Get the onPremisesDomainName property: The onPremisesDomainName property.Get the onPremisesLastSyncDateTime property: The onPremisesLastSyncDateTime property.Get the onPremisesNetBiosName property: The onPremisesNetBiosName property.Get the onPremisesProvisioningErrors property: The onPremisesProvisioningErrors property.Get the onPremisesSamAccountName property: Contains the on-premises SAM account name synchronized from the on-premises directory.Get the onPremisesSecurityIdentifier property: Contains the on-premises security identifier (SID) for the group that was synchronized from on-premises to the cloud.Get the onPremisesSyncEnabled property: true if this group is synced from an on-premises directory; false if this group was originally synced from an on-premises directory but is no longer synced; null if this object has never been synced from an on-premises directory (default).owners()Get the owners property: The owners of the group.Get the permissionGrants property: The permissionGrants property.photo()Get the photo property: profilePhoto.photos()Get the photos property: The profile photos owned by the group.planner()Get the planner property: plannerGroup.Get the preferredDataLocation property: The preferred data location for the group.Get the preferredLanguage property: The preferred language for an Microsoft 365 group.Get the proxyAddresses property: The proxyAddresses property.Get the rejectedSenders property: The list of users or groups that are not allowed to create posts or calendar events in this group.Get the renewedDateTime property: Timestamp of when the group was last renewed.Get the securityEnabled property: Specifies whether the group is a security group.Get the securityIdentifier property: Security identifier of the group, used in Windows scenarios.settings()Get the settings property: Read-only.sites()Get the sites property: The list of SharePoint sites in this group.team()Get the team property: team.theme()Get the theme property: Specifies an Microsoft 365 group's color theme.threads()Get the threads property: The group's conversation threads.Get the transitiveMemberOf property: The transitiveMemberOf property.Get the transitiveMembers property: The transitiveMembers property.Get the unseenCount property: Count of conversations that have received new posts since the signed-in user last visited the group.voidvalidate()Validates the instance.Get the visibility property: Specifies the visibility of a Microsoft 365 group.withAcceptedSenders(List<MicrosoftGraphDirectoryObjectInner> acceptedSenders) Set the acceptedSenders property: The list of users or groups that are allowed to create post's or calendar events in this group.withAdditionalProperties(Map<String, Object> additionalProperties) Set the additionalProperties property: Represents an Azure Active Directory object.withAllowExternalSenders(Boolean allowExternalSenders) Set the allowExternalSenders property: Indicates if people external to the organization can send messages to the group.withAppRoleAssignments(List<MicrosoftGraphAppRoleAssignment> appRoleAssignments) Set the appRoleAssignments property: The appRoleAssignments property.withAssignedLabels(List<MicrosoftGraphAssignedLabel> assignedLabels) Set the assignedLabels property: The list of sensitivity label pairs (label ID, label name) associated with an Microsoft 365 group.withAssignedLicenses(List<MicrosoftGraphAssignedLicense> assignedLicenses) Set the assignedLicenses property: The licenses that are assigned to the group.withAutoSubscribeNewMembers(Boolean autoSubscribeNewMembers) Set the autoSubscribeNewMembers property: Indicates if new members added to the group will be auto-subscribed to receive email notifications.withCalendar(MicrosoftGraphCalendar calendar) Set the calendar property: calendar.withCalendarView(List<MicrosoftGraphEvent> calendarView) Set the calendarView property: The calendar view for the calendar.withClassification(String classification) Set the classification property: Describes a classification for the group (such as low, medium or high business impact).withConversations(List<MicrosoftGraphConversation> conversations) Set the conversations property: The group's conversations.withCreatedDateTime(OffsetDateTime createdDateTime) Set the createdDateTime property: Timestamp of when the group was created.withCreatedOnBehalfOf(MicrosoftGraphDirectoryObjectInner createdOnBehalfOf) Set the createdOnBehalfOf property: directoryObjectwithDeletedDateTime(OffsetDateTime deletedDateTime) Set the deletedDateTime property: The deletedDateTime property.withDescription(String description) Set the description property: An optional description for the group.withDisplayName(String displayName) Set the displayName property: The display name for the group.withDrive(MicrosoftGraphDrive drive) Set the drive property: drive.withDrives(List<MicrosoftGraphDrive> drives) Set the drives property: The group's drives.withEvents(List<MicrosoftGraphEvent> events) Set the events property: The group's calendar events.withExpirationDateTime(OffsetDateTime expirationDateTime) Set the expirationDateTime property: Timestamp of when the group is set to expire.withExtensions(List<MicrosoftGraphExtension> extensions) Set the extensions property: The collection of open extensions defined for the group.withGroupLifecyclePolicies(List<MicrosoftGraphGroupLifecyclePolicy> groupLifecyclePolicies) Set the groupLifecyclePolicies property: The collection of lifecycle policies for this group.withGroupTypes(List<String> groupTypes) Set the groupTypes property: Specifies the group type and its membership.withHasMembersWithLicenseErrors(Boolean hasMembersWithLicenseErrors) Set the hasMembersWithLicenseErrors property: Indicates whether there are members in this group that have license errors from its group-based license assignment.withHideFromAddressLists(Boolean hideFromAddressLists) Set the hideFromAddressLists property: True if the group is not displayed in certain parts of the Outlook UI: the Address Book, address lists for selecting message recipients, and the Browse Groups dialog for searching groups; otherwise, false.withHideFromOutlookClients(Boolean hideFromOutlookClients) Set the hideFromOutlookClients property: True if the group is not displayed in Outlook clients, such as Outlook for Windows and Outlook on the web; otherwise, false.Set the id property: Read-only.withIsArchived(Boolean isArchived) Set the isArchived property: The isArchived property.withIsSubscribedByMail(Boolean isSubscribedByMail) Set the isSubscribedByMail property: Indicates whether the signed-in user is subscribed to receive email conversations.withLicenseProcessingState(MicrosoftGraphLicenseProcessingState licenseProcessingState) Set the licenseProcessingState property: licenseProcessingState.Set the mail property: The SMTP address for the group, for example, 'serviceadmins@contoso.onmicrosoft.com'.withMailEnabled(Boolean mailEnabled) Set the mailEnabled property: Specifies whether the group is mail-enabled.withMailNickname(String mailNickname) Set the mailNickname property: The mailNickname property.withMemberOf(List<MicrosoftGraphDirectoryObjectInner> memberOf) Set the memberOf property: Groups that this group is a member of.Set the members property: Users and groups that are members of this group.withMembershipRule(String membershipRule) Set the membershipRule property: The rule that determines members for this group if the group is a dynamic group (groupTypes contains DynamicMembership).withMembershipRuleProcessingState(String membershipRuleProcessingState) Set the membershipRuleProcessingState property: Indicates whether the dynamic membership processing is on or paused.withMembersWithLicenseErrors(List<MicrosoftGraphDirectoryObjectInner> membersWithLicenseErrors) Set the membersWithLicenseErrors property: A list of group members with license errors from this group-based license assignment.withOnenote(MicrosoftGraphOnenote onenote) Set the onenote property: onenote.withOnPremisesDomainName(String onPremisesDomainName) Set the onPremisesDomainName property: The onPremisesDomainName property.withOnPremisesLastSyncDateTime(OffsetDateTime onPremisesLastSyncDateTime) Set the onPremisesLastSyncDateTime property: The onPremisesLastSyncDateTime property.withOnPremisesNetBiosName(String onPremisesNetBiosName) Set the onPremisesNetBiosName property: The onPremisesNetBiosName property.withOnPremisesProvisioningErrors(List<MicrosoftGraphOnPremisesProvisioningError> onPremisesProvisioningErrors) Set the onPremisesProvisioningErrors property: The onPremisesProvisioningErrors property.withOnPremisesSamAccountName(String onPremisesSamAccountName) Set the onPremisesSamAccountName property: Contains the on-premises SAM account name synchronized from the on-premises directory.withOnPremisesSecurityIdentifier(String onPremisesSecurityIdentifier) Set the onPremisesSecurityIdentifier property: Contains the on-premises security identifier (SID) for the group that was synchronized from on-premises to the cloud.withOnPremisesSyncEnabled(Boolean onPremisesSyncEnabled) Set the onPremisesSyncEnabled property: true if this group is synced from an on-premises directory; false if this group was originally synced from an on-premises directory but is no longer synced; null if this object has never been synced from an on-premises directory (default).Set the owners property: The owners of the group.withPermissionGrants(List<MicrosoftGraphResourceSpecificPermissionGrant> permissionGrants) Set the permissionGrants property: The permissionGrants property.Set the photo property: profilePhoto.withPhotos(List<MicrosoftGraphProfilePhoto> photos) Set the photos property: The profile photos owned by the group.withPlanner(MicrosoftGraphPlannerGroup planner) Set the planner property: plannerGroup.withPreferredDataLocation(String preferredDataLocation) Set the preferredDataLocation property: The preferred data location for the group.withPreferredLanguage(String preferredLanguage) Set the preferredLanguage property: The preferred language for an Microsoft 365 group.withProxyAddresses(List<String> proxyAddresses) Set the proxyAddresses property: The proxyAddresses property.withRejectedSenders(List<MicrosoftGraphDirectoryObjectInner> rejectedSenders) Set the rejectedSenders property: The list of users or groups that are not allowed to create posts or calendar events in this group.withRenewedDateTime(OffsetDateTime renewedDateTime) Set the renewedDateTime property: Timestamp of when the group was last renewed.withSecurityEnabled(Boolean securityEnabled) Set the securityEnabled property: Specifies whether the group is a security group.withSecurityIdentifier(String securityIdentifier) Set the securityIdentifier property: Security identifier of the group, used in Windows scenarios.withSettings(List<MicrosoftGraphGroupSetting> settings) Set the settings property: Read-only.withSites(List<MicrosoftGraphSite> sites) Set the sites property: The list of SharePoint sites in this group.Set the team property: team.Set the theme property: Specifies an Microsoft 365 group's color theme.withThreads(List<MicrosoftGraphConversationThread> threads) Set the threads property: The group's conversation threads.withTransitiveMemberOf(List<MicrosoftGraphDirectoryObjectInner> transitiveMemberOf) Set the transitiveMemberOf property: The transitiveMemberOf property.withTransitiveMembers(List<MicrosoftGraphDirectoryObjectInner> transitiveMembers) Set the transitiveMembers property: The transitiveMembers property.withUnseenCount(Integer unseenCount) Set the unseenCount property: Count of conversations that have received new posts since the signed-in user last visited the group.withVisibility(String visibility) Set the visibility property: Specifies the visibility of a Microsoft 365 group.Methods inherited from class com.azure.resourcemanager.authorization.fluent.models.MicrosoftGraphDirectoryObjectInner
deletedDateTimeMethods inherited from class com.azure.resourcemanager.authorization.fluent.models.MicrosoftGraphEntity
id
-
Constructor Details
-
MicrosoftGraphGroupInner
public MicrosoftGraphGroupInner()Creates an instance of MicrosoftGraphGroupInner class.
-
-
Method Details
-
assignedLabels
Get the assignedLabels property: The list of sensitivity label pairs (label ID, label name) associated with an Microsoft 365 group. Returned only on $select. Read-only.- Returns:
- the assignedLabels value.
-
withAssignedLabels
public MicrosoftGraphGroupInner withAssignedLabels(List<MicrosoftGraphAssignedLabel> assignedLabels) Set the assignedLabels property: The list of sensitivity label pairs (label ID, label name) associated with an Microsoft 365 group. Returned only on $select. Read-only.- Parameters:
assignedLabels- the assignedLabels value to set.- Returns:
- the MicrosoftGraphGroupInner object itself.
-
assignedLicenses
Get the assignedLicenses property: The licenses that are assigned to the group. Returned only on $select. Read-only.- Returns:
- the assignedLicenses value.
-
withAssignedLicenses
public MicrosoftGraphGroupInner withAssignedLicenses(List<MicrosoftGraphAssignedLicense> assignedLicenses) Set the assignedLicenses property: The licenses that are assigned to the group. Returned only on $select. Read-only.- Parameters:
assignedLicenses- the assignedLicenses value to set.- Returns:
- the MicrosoftGraphGroupInner object itself.
-
classification
Get the classification property: Describes a classification for the group (such as low, medium or high business impact). Valid values for this property are defined by creating a ClassificationList setting value, based on the template definition.Returned by default.- Returns:
- the classification value.
-
withClassification
Set the classification property: Describes a classification for the group (such as low, medium or high business impact). Valid values for this property are defined by creating a ClassificationList setting value, based on the template definition.Returned by default.- Parameters:
classification- the classification value to set.- Returns:
- the MicrosoftGraphGroupInner object itself.
-
createdDateTime
Get the createdDateTime property: Timestamp of when the group was created. The value cannot be modified and is automatically populated when the group is created. The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 would look like this: '2014-01-01T00:00:00Z'. Returned by default. Read-only.- Returns:
- the createdDateTime value.
-
withCreatedDateTime
Set the createdDateTime property: Timestamp of when the group was created. The value cannot be modified and is automatically populated when the group is created. The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 would look like this: '2014-01-01T00:00:00Z'. Returned by default. Read-only.- Parameters:
createdDateTime- the createdDateTime value to set.- Returns:
- the MicrosoftGraphGroupInner object itself.
-
description
Get the description property: An optional description for the group. Returned by default.- Returns:
- the description value.
-
withDescription
Set the description property: An optional description for the group. Returned by default.- Parameters:
description- the description value to set.- Returns:
- the MicrosoftGraphGroupInner object itself.
-
displayName
Get the displayName property: The display name for the group. This property is required when a group is created and cannot be cleared during updates. Returned by default. Supports $filter and $orderby.- Returns:
- the displayName value.
-
withDisplayName
Set the displayName property: The display name for the group. This property is required when a group is created and cannot be cleared during updates. Returned by default. Supports $filter and $orderby.- Parameters:
displayName- the displayName value to set.- Returns:
- the MicrosoftGraphGroupInner object itself.
-
expirationDateTime
Get the expirationDateTime property: Timestamp of when the group is set to expire. The value cannot be modified and is automatically populated when the group is created. The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 would look like this: '2014-01-01T00:00:00Z'. Returned by default. Read-only.- Returns:
- the expirationDateTime value.
-
withExpirationDateTime
Set the expirationDateTime property: Timestamp of when the group is set to expire. The value cannot be modified and is automatically populated when the group is created. The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 would look like this: '2014-01-01T00:00:00Z'. Returned by default. Read-only.- Parameters:
expirationDateTime- the expirationDateTime value to set.- Returns:
- the MicrosoftGraphGroupInner object itself.
-
groupTypes
Get the groupTypes property: Specifies the group type and its membership. If the collection contains Unified, the group is a Microsoft 365 group; otherwise, it's either a security group or distribution group. For details, see groups overview.If the collection includes DynamicMembership, the group has dynamic membership; otherwise, membership is static. Returned by default. Supports $filter.- Returns:
- the groupTypes value.
-
withGroupTypes
Set the groupTypes property: Specifies the group type and its membership. If the collection contains Unified, the group is a Microsoft 365 group; otherwise, it's either a security group or distribution group. For details, see groups overview.If the collection includes DynamicMembership, the group has dynamic membership; otherwise, membership is static. Returned by default. Supports $filter.- Parameters:
groupTypes- the groupTypes value to set.- Returns:
- the MicrosoftGraphGroupInner object itself.
-
hasMembersWithLicenseErrors
Get the hasMembersWithLicenseErrors property: Indicates whether there are members in this group that have license errors from its group-based license assignment. This property is never returned on a GET operation. You can use it as a $filter argument to get groups that have members with license errors (that is, filter for this property being true). See an example.- Returns:
- the hasMembersWithLicenseErrors value.
-
withHasMembersWithLicenseErrors
public MicrosoftGraphGroupInner withHasMembersWithLicenseErrors(Boolean hasMembersWithLicenseErrors) Set the hasMembersWithLicenseErrors property: Indicates whether there are members in this group that have license errors from its group-based license assignment. This property is never returned on a GET operation. You can use it as a $filter argument to get groups that have members with license errors (that is, filter for this property being true). See an example.- Parameters:
hasMembersWithLicenseErrors- the hasMembersWithLicenseErrors value to set.- Returns:
- the MicrosoftGraphGroupInner object itself.
-
licenseProcessingState
Get the licenseProcessingState property: licenseProcessingState.- Returns:
- the licenseProcessingState value.
-
withLicenseProcessingState
public MicrosoftGraphGroupInner withLicenseProcessingState(MicrosoftGraphLicenseProcessingState licenseProcessingState) Set the licenseProcessingState property: licenseProcessingState.- Parameters:
licenseProcessingState- the licenseProcessingState value to set.- Returns:
- the MicrosoftGraphGroupInner object itself.
-
mail
Get the mail property: The SMTP address for the group, for example, 'serviceadmins@contoso.onmicrosoft.com'. Returned by default. Read-only. Supports $filter.- Returns:
- the mail value.
-
withMail
Set the mail property: The SMTP address for the group, for example, 'serviceadmins@contoso.onmicrosoft.com'. Returned by default. Read-only. Supports $filter.- Parameters:
mail- the mail value to set.- Returns:
- the MicrosoftGraphGroupInner object itself.
-
mailEnabled
Get the mailEnabled property: Specifies whether the group is mail-enabled. Returned by default.- Returns:
- the mailEnabled value.
-
withMailEnabled
Set the mailEnabled property: Specifies whether the group is mail-enabled. Returned by default.- Parameters:
mailEnabled- the mailEnabled value to set.- Returns:
- the MicrosoftGraphGroupInner object itself.
-
mailNickname
Get the mailNickname property: The mailNickname property.- Returns:
- the mailNickname value.
-
withMailNickname
Set the mailNickname property: The mailNickname property.- Parameters:
mailNickname- the mailNickname value to set.- Returns:
- the MicrosoftGraphGroupInner object itself.
-
membershipRule
Get the membershipRule property: The rule that determines members for this group if the group is a dynamic group (groupTypes contains DynamicMembership). For more information about the syntax of the membership rule, see Membership Rules syntax. Returned by default.- Returns:
- the membershipRule value.
-
withMembershipRule
Set the membershipRule property: The rule that determines members for this group if the group is a dynamic group (groupTypes contains DynamicMembership). For more information about the syntax of the membership rule, see Membership Rules syntax. Returned by default.- Parameters:
membershipRule- the membershipRule value to set.- Returns:
- the MicrosoftGraphGroupInner object itself.
-
membershipRuleProcessingState
Get the membershipRuleProcessingState property: Indicates whether the dynamic membership processing is on or paused. Possible values are 'On' or 'Paused'. Returned by default.- Returns:
- the membershipRuleProcessingState value.
-
withMembershipRuleProcessingState
public MicrosoftGraphGroupInner withMembershipRuleProcessingState(String membershipRuleProcessingState) Set the membershipRuleProcessingState property: Indicates whether the dynamic membership processing is on or paused. Possible values are 'On' or 'Paused'. Returned by default.- Parameters:
membershipRuleProcessingState- the membershipRuleProcessingState value to set.- Returns:
- the MicrosoftGraphGroupInner object itself.
-
onPremisesDomainName
Get the onPremisesDomainName property: The onPremisesDomainName property.- Returns:
- the onPremisesDomainName value.
-
withOnPremisesDomainName
Set the onPremisesDomainName property: The onPremisesDomainName property.- Parameters:
onPremisesDomainName- the onPremisesDomainName value to set.- Returns:
- the MicrosoftGraphGroupInner object itself.
-
onPremisesLastSyncDateTime
Get the onPremisesLastSyncDateTime property: The onPremisesLastSyncDateTime property.- Returns:
- the onPremisesLastSyncDateTime value.
-
withOnPremisesLastSyncDateTime
public MicrosoftGraphGroupInner withOnPremisesLastSyncDateTime(OffsetDateTime onPremisesLastSyncDateTime) Set the onPremisesLastSyncDateTime property: The onPremisesLastSyncDateTime property.- Parameters:
onPremisesLastSyncDateTime- the onPremisesLastSyncDateTime value to set.- Returns:
- the MicrosoftGraphGroupInner object itself.
-
onPremisesNetBiosName
Get the onPremisesNetBiosName property: The onPremisesNetBiosName property.- Returns:
- the onPremisesNetBiosName value.
-
withOnPremisesNetBiosName
Set the onPremisesNetBiosName property: The onPremisesNetBiosName property.- Parameters:
onPremisesNetBiosName- the onPremisesNetBiosName value to set.- Returns:
- the MicrosoftGraphGroupInner object itself.
-
onPremisesProvisioningErrors
Get the onPremisesProvisioningErrors property: The onPremisesProvisioningErrors property.- Returns:
- the onPremisesProvisioningErrors value.
-
withOnPremisesProvisioningErrors
public MicrosoftGraphGroupInner withOnPremisesProvisioningErrors(List<MicrosoftGraphOnPremisesProvisioningError> onPremisesProvisioningErrors) Set the onPremisesProvisioningErrors property: The onPremisesProvisioningErrors property.- Parameters:
onPremisesProvisioningErrors- the onPremisesProvisioningErrors value to set.- Returns:
- the MicrosoftGraphGroupInner object itself.
-
onPremisesSamAccountName
Get the onPremisesSamAccountName property: Contains the on-premises SAM account name synchronized from the on-premises directory. The property is only populated for customers who are synchronizing their on-premises directory to Azure Active Directory via Azure AD Connect.Returned by default. Read-only.- Returns:
- the onPremisesSamAccountName value.
-
withOnPremisesSamAccountName
Set the onPremisesSamAccountName property: Contains the on-premises SAM account name synchronized from the on-premises directory. The property is only populated for customers who are synchronizing their on-premises directory to Azure Active Directory via Azure AD Connect.Returned by default. Read-only.- Parameters:
onPremisesSamAccountName- the onPremisesSamAccountName value to set.- Returns:
- the MicrosoftGraphGroupInner object itself.
-
onPremisesSecurityIdentifier
Get the onPremisesSecurityIdentifier property: Contains the on-premises security identifier (SID) for the group that was synchronized from on-premises to the cloud. Returned by default. Read-only.- Returns:
- the onPremisesSecurityIdentifier value.
-
withOnPremisesSecurityIdentifier
public MicrosoftGraphGroupInner withOnPremisesSecurityIdentifier(String onPremisesSecurityIdentifier) Set the onPremisesSecurityIdentifier property: Contains the on-premises security identifier (SID) for the group that was synchronized from on-premises to the cloud. Returned by default. Read-only.- Parameters:
onPremisesSecurityIdentifier- the onPremisesSecurityIdentifier value to set.- Returns:
- the MicrosoftGraphGroupInner object itself.
-
onPremisesSyncEnabled
Get the onPremisesSyncEnabled property: true if this group is synced from an on-premises directory; false if this group was originally synced from an on-premises directory but is no longer synced; null if this object has never been synced from an on-premises directory (default). Returned by default. Read-only. Supports $filter.- Returns:
- the onPremisesSyncEnabled value.
-
withOnPremisesSyncEnabled
Set the onPremisesSyncEnabled property: true if this group is synced from an on-premises directory; false if this group was originally synced from an on-premises directory but is no longer synced; null if this object has never been synced from an on-premises directory (default). Returned by default. Read-only. Supports $filter.- Parameters:
onPremisesSyncEnabled- the onPremisesSyncEnabled value to set.- Returns:
- the MicrosoftGraphGroupInner object itself.
-
preferredDataLocation
Get the preferredDataLocation property: The preferred data location for the group. For more information, see OneDrive Online Multi-Geo. Returned by default.- Returns:
- the preferredDataLocation value.
-
withPreferredDataLocation
Set the preferredDataLocation property: The preferred data location for the group. For more information, see OneDrive Online Multi-Geo. Returned by default.- Parameters:
preferredDataLocation- the preferredDataLocation value to set.- Returns:
- the MicrosoftGraphGroupInner object itself.
-
preferredLanguage
Get the preferredLanguage property: The preferred language for an Microsoft 365 group. Should follow ISO 639-1 Code; for example 'en-US'. Returned by default.- Returns:
- the preferredLanguage value.
-
withPreferredLanguage
Set the preferredLanguage property: The preferred language for an Microsoft 365 group. Should follow ISO 639-1 Code; for example 'en-US'. Returned by default.- Parameters:
preferredLanguage- the preferredLanguage value to set.- Returns:
- the MicrosoftGraphGroupInner object itself.
-
proxyAddresses
Get the proxyAddresses property: The proxyAddresses property.- Returns:
- the proxyAddresses value.
-
withProxyAddresses
Set the proxyAddresses property: The proxyAddresses property.- Parameters:
proxyAddresses- the proxyAddresses value to set.- Returns:
- the MicrosoftGraphGroupInner object itself.
-
renewedDateTime
Get the renewedDateTime property: Timestamp of when the group was last renewed. This cannot be modified directly and is only updated via the renew service action. The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 would look like this: '2014-01-01T00:00:00Z'. Returned by default. Read-only.- Returns:
- the renewedDateTime value.
-
withRenewedDateTime
Set the renewedDateTime property: Timestamp of when the group was last renewed. This cannot be modified directly and is only updated via the renew service action. The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 would look like this: '2014-01-01T00:00:00Z'. Returned by default. Read-only.- Parameters:
renewedDateTime- the renewedDateTime value to set.- Returns:
- the MicrosoftGraphGroupInner object itself.
-
securityEnabled
Get the securityEnabled property: Specifies whether the group is a security group. Returned by default. Supports $filter.- Returns:
- the securityEnabled value.
-
withSecurityEnabled
Set the securityEnabled property: Specifies whether the group is a security group. Returned by default. Supports $filter.- Parameters:
securityEnabled- the securityEnabled value to set.- Returns:
- the MicrosoftGraphGroupInner object itself.
-
securityIdentifier
Get the securityIdentifier property: Security identifier of the group, used in Windows scenarios. Returned by default.- Returns:
- the securityIdentifier value.
-
withSecurityIdentifier
Set the securityIdentifier property: Security identifier of the group, used in Windows scenarios. Returned by default.- Parameters:
securityIdentifier- the securityIdentifier value to set.- Returns:
- the MicrosoftGraphGroupInner object itself.
-
theme
Get the theme property: Specifies an Microsoft 365 group's color theme. Possible values are Teal, Purple, Green, Blue, Pink, Orange or Red. Returned by default.- Returns:
- the theme value.
-
withTheme
Set the theme property: Specifies an Microsoft 365 group's color theme. Possible values are Teal, Purple, Green, Blue, Pink, Orange or Red. Returned by default.- Parameters:
theme- the theme value to set.- Returns:
- the MicrosoftGraphGroupInner object itself.
-
visibility
Get the visibility property: Specifies the visibility of a Microsoft 365 group. Possible values are: Private, Public, or Hiddenmembership; blank values are treated as public. See group visibility options to learn more.Visibility can be set only when a group is created; it is not editable.Visibility is supported only for unified groups; it is not supported for security groups. Returned by default.- Returns:
- the visibility value.
-
withVisibility
Set the visibility property: Specifies the visibility of a Microsoft 365 group. Possible values are: Private, Public, or Hiddenmembership; blank values are treated as public. See group visibility options to learn more.Visibility can be set only when a group is created; it is not editable.Visibility is supported only for unified groups; it is not supported for security groups. Returned by default.- Parameters:
visibility- the visibility value to set.- Returns:
- the MicrosoftGraphGroupInner object itself.
-
allowExternalSenders
Get the allowExternalSenders property: Indicates if people external to the organization can send messages to the group. Default value is false. Returned only on $select.- Returns:
- the allowExternalSenders value.
-
withAllowExternalSenders
Set the allowExternalSenders property: Indicates if people external to the organization can send messages to the group. Default value is false. Returned only on $select.- Parameters:
allowExternalSenders- the allowExternalSenders value to set.- Returns:
- the MicrosoftGraphGroupInner object itself.
-
autoSubscribeNewMembers
Get the autoSubscribeNewMembers property: Indicates if new members added to the group will be auto-subscribed to receive email notifications. You can set this property in a PATCH request for the group; do not set it in the initial POST request that creates the group. Default value is false. Returned only on $select.- Returns:
- the autoSubscribeNewMembers value.
-
withAutoSubscribeNewMembers
Set the autoSubscribeNewMembers property: Indicates if new members added to the group will be auto-subscribed to receive email notifications. You can set this property in a PATCH request for the group; do not set it in the initial POST request that creates the group. Default value is false. Returned only on $select.- Parameters:
autoSubscribeNewMembers- the autoSubscribeNewMembers value to set.- Returns:
- the MicrosoftGraphGroupInner object itself.
-
hideFromAddressLists
Get the hideFromAddressLists property: True if the group is not displayed in certain parts of the Outlook UI: the Address Book, address lists for selecting message recipients, and the Browse Groups dialog for searching groups; otherwise, false. Default value is false. Returned only on $select.- Returns:
- the hideFromAddressLists value.
-
withHideFromAddressLists
Set the hideFromAddressLists property: True if the group is not displayed in certain parts of the Outlook UI: the Address Book, address lists for selecting message recipients, and the Browse Groups dialog for searching groups; otherwise, false. Default value is false. Returned only on $select.- Parameters:
hideFromAddressLists- the hideFromAddressLists value to set.- Returns:
- the MicrosoftGraphGroupInner object itself.
-
hideFromOutlookClients
Get the hideFromOutlookClients property: True if the group is not displayed in Outlook clients, such as Outlook for Windows and Outlook on the web; otherwise, false. Default value is false. Returned only on $select.- Returns:
- the hideFromOutlookClients value.
-
withHideFromOutlookClients
Set the hideFromOutlookClients property: True if the group is not displayed in Outlook clients, such as Outlook for Windows and Outlook on the web; otherwise, false. Default value is false. Returned only on $select.- Parameters:
hideFromOutlookClients- the hideFromOutlookClients value to set.- Returns:
- the MicrosoftGraphGroupInner object itself.
-
isSubscribedByMail
Get the isSubscribedByMail property: Indicates whether the signed-in user is subscribed to receive email conversations. Default value is true. Returned only on $select.- Returns:
- the isSubscribedByMail value.
-
withIsSubscribedByMail
Set the isSubscribedByMail property: Indicates whether the signed-in user is subscribed to receive email conversations. Default value is true. Returned only on $select.- Parameters:
isSubscribedByMail- the isSubscribedByMail value to set.- Returns:
- the MicrosoftGraphGroupInner object itself.
-
unseenCount
Get the unseenCount property: Count of conversations that have received new posts since the signed-in user last visited the group. Returned only on $select.- Returns:
- the unseenCount value.
-
withUnseenCount
Set the unseenCount property: Count of conversations that have received new posts since the signed-in user last visited the group. Returned only on $select.- Parameters:
unseenCount- the unseenCount value to set.- Returns:
- the MicrosoftGraphGroupInner object itself.
-
isArchived
Get the isArchived property: The isArchived property.- Returns:
- the isArchived value.
-
withIsArchived
Set the isArchived property: The isArchived property.- Parameters:
isArchived- the isArchived value to set.- Returns:
- the MicrosoftGraphGroupInner object itself.
-
appRoleAssignments
Get the appRoleAssignments property: The appRoleAssignments property.- Returns:
- the appRoleAssignments value.
-
withAppRoleAssignments
public MicrosoftGraphGroupInner withAppRoleAssignments(List<MicrosoftGraphAppRoleAssignment> appRoleAssignments) Set the appRoleAssignments property: The appRoleAssignments property.- Parameters:
appRoleAssignments- the appRoleAssignments value to set.- Returns:
- the MicrosoftGraphGroupInner object itself.
-
createdOnBehalfOf
Get the createdOnBehalfOf property: directoryObjectRepresents an Azure Active Directory object. The directoryObject type is the base type for many other directory entity types.
- Returns:
- the createdOnBehalfOf value.
-
withCreatedOnBehalfOf
public MicrosoftGraphGroupInner withCreatedOnBehalfOf(MicrosoftGraphDirectoryObjectInner createdOnBehalfOf) Set the createdOnBehalfOf property: directoryObjectRepresents an Azure Active Directory object. The directoryObject type is the base type for many other directory entity types.
- Parameters:
createdOnBehalfOf- the createdOnBehalfOf value to set.- Returns:
- the MicrosoftGraphGroupInner object itself.
-
memberOf
Get the memberOf property: Groups that this group is a member of. HTTP Methods: GET (supported for all groups). Read-only. Nullable.- Returns:
- the memberOf value.
-
withMemberOf
Set the memberOf property: Groups that this group is a member of. HTTP Methods: GET (supported for all groups). Read-only. Nullable.- Parameters:
memberOf- the memberOf value to set.- Returns:
- the MicrosoftGraphGroupInner object itself.
-
members
Get the members property: Users and groups that are members of this group. HTTP Methods: GET (supported for all groups), POST (supported for Microsoft 365 groups, security groups and mail-enabled security groups), DELETE (supported for Microsoft 365 groups and security groups) Nullable.- Returns:
- the members value.
-
withMembers
Set the members property: Users and groups that are members of this group. HTTP Methods: GET (supported for all groups), POST (supported for Microsoft 365 groups, security groups and mail-enabled security groups), DELETE (supported for Microsoft 365 groups and security groups) Nullable.- Parameters:
members- the members value to set.- Returns:
- the MicrosoftGraphGroupInner object itself.
-
membersWithLicenseErrors
Get the membersWithLicenseErrors property: A list of group members with license errors from this group-based license assignment. Read-only.- Returns:
- the membersWithLicenseErrors value.
-
withMembersWithLicenseErrors
public MicrosoftGraphGroupInner withMembersWithLicenseErrors(List<MicrosoftGraphDirectoryObjectInner> membersWithLicenseErrors) Set the membersWithLicenseErrors property: A list of group members with license errors from this group-based license assignment. Read-only.- Parameters:
membersWithLicenseErrors- the membersWithLicenseErrors value to set.- Returns:
- the MicrosoftGraphGroupInner object itself.
-
owners
Get the owners property: The owners of the group. The owners are a set of non-admin users who are allowed to modify this object. Limited to 100 owners. HTTP Methods: GET (supported for all groups), POST (supported for Microsoft 365 groups, security groups and mail-enabled security groups), DELETE (supported for Microsoft 365 groups and security groups). Nullable.- Returns:
- the owners value.
-
withOwners
Set the owners property: The owners of the group. The owners are a set of non-admin users who are allowed to modify this object. Limited to 100 owners. HTTP Methods: GET (supported for all groups), POST (supported for Microsoft 365 groups, security groups and mail-enabled security groups), DELETE (supported for Microsoft 365 groups and security groups). Nullable.- Parameters:
owners- the owners value to set.- Returns:
- the MicrosoftGraphGroupInner object itself.
-
permissionGrants
Get the permissionGrants property: The permissionGrants property.- Returns:
- the permissionGrants value.
-
withPermissionGrants
public MicrosoftGraphGroupInner withPermissionGrants(List<MicrosoftGraphResourceSpecificPermissionGrant> permissionGrants) Set the permissionGrants property: The permissionGrants property.- Parameters:
permissionGrants- the permissionGrants value to set.- Returns:
- the MicrosoftGraphGroupInner object itself.
-
settings
Get the settings property: Read-only. Nullable.- Returns:
- the settings value.
-
withSettings
Set the settings property: Read-only. Nullable.- Parameters:
settings- the settings value to set.- Returns:
- the MicrosoftGraphGroupInner object itself.
-
transitiveMemberOf
Get the transitiveMemberOf property: The transitiveMemberOf property.- Returns:
- the transitiveMemberOf value.
-
withTransitiveMemberOf
public MicrosoftGraphGroupInner withTransitiveMemberOf(List<MicrosoftGraphDirectoryObjectInner> transitiveMemberOf) Set the transitiveMemberOf property: The transitiveMemberOf property.- Parameters:
transitiveMemberOf- the transitiveMemberOf value to set.- Returns:
- the MicrosoftGraphGroupInner object itself.
-
transitiveMembers
Get the transitiveMembers property: The transitiveMembers property.- Returns:
- the transitiveMembers value.
-
withTransitiveMembers
public MicrosoftGraphGroupInner withTransitiveMembers(List<MicrosoftGraphDirectoryObjectInner> transitiveMembers) Set the transitiveMembers property: The transitiveMembers property.- Parameters:
transitiveMembers- the transitiveMembers value to set.- Returns:
- the MicrosoftGraphGroupInner object itself.
-
acceptedSenders
Get the acceptedSenders property: The list of users or groups that are allowed to create post's or calendar events in this group. If this list is non-empty then only users or groups listed here are allowed to post.- Returns:
- the acceptedSenders value.
-
withAcceptedSenders
public MicrosoftGraphGroupInner withAcceptedSenders(List<MicrosoftGraphDirectoryObjectInner> acceptedSenders) Set the acceptedSenders property: The list of users or groups that are allowed to create post's or calendar events in this group. If this list is non-empty then only users or groups listed here are allowed to post.- Parameters:
acceptedSenders- the acceptedSenders value to set.- Returns:
- the MicrosoftGraphGroupInner object itself.
-
calendar
Get the calendar property: calendar.- Returns:
- the calendar value.
-
withCalendar
Set the calendar property: calendar.- Parameters:
calendar- the calendar value to set.- Returns:
- the MicrosoftGraphGroupInner object itself.
-
calendarView
Get the calendarView property: The calendar view for the calendar. Read-only.- Returns:
- the calendarView value.
-
withCalendarView
Set the calendarView property: The calendar view for the calendar. Read-only.- Parameters:
calendarView- the calendarView value to set.- Returns:
- the MicrosoftGraphGroupInner object itself.
-
conversations
Get the conversations property: The group's conversations.- Returns:
- the conversations value.
-
withConversations
Set the conversations property: The group's conversations.- Parameters:
conversations- the conversations value to set.- Returns:
- the MicrosoftGraphGroupInner object itself.
-
events
Get the events property: The group's calendar events.- Returns:
- the events value.
-
withEvents
Set the events property: The group's calendar events.- Parameters:
events- the events value to set.- Returns:
- the MicrosoftGraphGroupInner object itself.
-
photo
Get the photo property: profilePhoto.- Returns:
- the photo value.
-
withPhoto
Set the photo property: profilePhoto.- Parameters:
photo- the photo value to set.- Returns:
- the MicrosoftGraphGroupInner object itself.
-
photos
Get the photos property: The profile photos owned by the group. Read-only. Nullable.- Returns:
- the photos value.
-
withPhotos
Set the photos property: The profile photos owned by the group. Read-only. Nullable.- Parameters:
photos- the photos value to set.- Returns:
- the MicrosoftGraphGroupInner object itself.
-
rejectedSenders
Get the rejectedSenders property: The list of users or groups that are not allowed to create posts or calendar events in this group. Nullable.- Returns:
- the rejectedSenders value.
-
withRejectedSenders
public MicrosoftGraphGroupInner withRejectedSenders(List<MicrosoftGraphDirectoryObjectInner> rejectedSenders) Set the rejectedSenders property: The list of users or groups that are not allowed to create posts or calendar events in this group. Nullable.- Parameters:
rejectedSenders- the rejectedSenders value to set.- Returns:
- the MicrosoftGraphGroupInner object itself.
-
threads
Get the threads property: The group's conversation threads. Nullable.- Returns:
- the threads value.
-
withThreads
Set the threads property: The group's conversation threads. Nullable.- Parameters:
threads- the threads value to set.- Returns:
- the MicrosoftGraphGroupInner object itself.
-
drive
Get the drive property: drive.- Returns:
- the drive value.
-
withDrive
Set the drive property: drive.- Parameters:
drive- the drive value to set.- Returns:
- the MicrosoftGraphGroupInner object itself.
-
drives
Get the drives property: The group's drives. Read-only.- Returns:
- the drives value.
-
withDrives
Set the drives property: The group's drives. Read-only.- Parameters:
drives- the drives value to set.- Returns:
- the MicrosoftGraphGroupInner object itself.
-
sites
Get the sites property: The list of SharePoint sites in this group. Access the default site with /sites/root.- Returns:
- the sites value.
-
withSites
Set the sites property: The list of SharePoint sites in this group. Access the default site with /sites/root.- Parameters:
sites- the sites value to set.- Returns:
- the MicrosoftGraphGroupInner object itself.
-
extensions
Get the extensions property: The collection of open extensions defined for the group. Read-only. Nullable.- Returns:
- the extensions value.
-
withExtensions
Set the extensions property: The collection of open extensions defined for the group. Read-only. Nullable.- Parameters:
extensions- the extensions value to set.- Returns:
- the MicrosoftGraphGroupInner object itself.
-
groupLifecyclePolicies
Get the groupLifecyclePolicies property: The collection of lifecycle policies for this group. Read-only. Nullable.- Returns:
- the groupLifecyclePolicies value.
-
withGroupLifecyclePolicies
public MicrosoftGraphGroupInner withGroupLifecyclePolicies(List<MicrosoftGraphGroupLifecyclePolicy> groupLifecyclePolicies) Set the groupLifecyclePolicies property: The collection of lifecycle policies for this group. Read-only. Nullable.- Parameters:
groupLifecyclePolicies- the groupLifecyclePolicies value to set.- Returns:
- the MicrosoftGraphGroupInner object itself.
-
planner
Get the planner property: plannerGroup.- Returns:
- the planner value.
-
withPlanner
Set the planner property: plannerGroup.- Parameters:
planner- the planner value to set.- Returns:
- the MicrosoftGraphGroupInner object itself.
-
onenote
Get the onenote property: onenote.- Returns:
- the onenote value.
-
withOnenote
Set the onenote property: onenote.- Parameters:
onenote- the onenote value to set.- Returns:
- the MicrosoftGraphGroupInner object itself.
-
team
Get the team property: team.- Returns:
- the team value.
-
withTeam
Set the team property: team.- Parameters:
team- the team value to set.- Returns:
- the MicrosoftGraphGroupInner object itself.
-
additionalProperties
Get the additionalProperties property: Represents an Azure Active Directory object. The directoryObject type is the base type for many other directory entity types.- Overrides:
additionalPropertiesin classMicrosoftGraphDirectoryObjectInner- Returns:
- the additionalProperties value.
-
withAdditionalProperties
Set the additionalProperties property: Represents an Azure Active Directory object. The directoryObject type is the base type for many other directory entity types.- Overrides:
withAdditionalPropertiesin classMicrosoftGraphDirectoryObjectInner- Parameters:
additionalProperties- the additionalProperties value to set.- Returns:
- the MicrosoftGraphGroupInner object itself.
-
withDeletedDateTime
Set the deletedDateTime property: The deletedDateTime property.- Overrides:
withDeletedDateTimein classMicrosoftGraphDirectoryObjectInner- Parameters:
deletedDateTime- the deletedDateTime value to set.- Returns:
- the MicrosoftGraphDirectoryObjectInner object itself.
-
withId
Set the id property: Read-only.- Overrides:
withIdin classMicrosoftGraphDirectoryObjectInner- Parameters:
id- the id value to set.- Returns:
- the MicrosoftGraphEntity object itself.
-
validate
public void validate()Validates the instance.- Overrides:
validatein classMicrosoftGraphDirectoryObjectInner- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-