MicrosoftGraphGroupInner Class

public final class MicrosoftGraphGroupInner
extends MicrosoftGraphDirectoryObjectInner

group Represents an Azure Active Directory object. The directoryObject type is the base type for many other directory entity types.

Constructor Summary

Constructor Description
MicrosoftGraphGroupInner()

Creates an instance of MicrosoftGraphGroupInner class.

Method Summary

Modifier and Type Method and Description
List<MicrosoftGraphDirectoryObjectInner> acceptedSenders()

Get the acceptedSenders property: The list of users or groups that are allowed to create post's or calendar events in this group.

Map<String,Object> additionalProperties()

Get the additionalProperties property: Represents an Azure Active Directory object.

Boolean allowExternalSenders()

Get the allowExternalSenders property: Indicates if people external to the organization can send messages to the group.

List<MicrosoftGraphAppRoleAssignment> appRoleAssignments()

Get the appRoleAssignments property: The appRoleAssignments property.

List<MicrosoftGraphAssignedLabel> assignedLabels()

Get the assignedLabels property: The list of sensitivity label pairs (label ID, label name) associated with an Microsoft 365 group.

List<MicrosoftGraphAssignedLicense> assignedLicenses()

Get the assignedLicenses property: The licenses that are assigned to the group.

Boolean autoSubscribeNewMembers()

Get the autoSubscribeNewMembers property: Indicates if new members added to the group will be auto-subscribed to receive email notifications.

MicrosoftGraphCalendar calendar()

Get the calendar property: calendar.

List<MicrosoftGraphEvent> calendarView()

Get the calendarView property: The calendar view for the calendar.

String classification()

Get the classification property: Describes a classification for the group (such as low, medium or high business impact).

List<MicrosoftGraphConversation> conversations()

Get the conversations property: The group's conversations.

OffsetDateTime createdDateTime()

Get the createdDateTime property: Timestamp of when the group was created.

MicrosoftGraphDirectoryObjectInner createdOnBehalfOf()

Get the createdOnBehalfOf property: Represents an Azure Active Directory object.

String description()

Get the description property: An optional description for the group.

String displayName()

Get the displayName property: The display name for the group.

MicrosoftGraphDrive drive()

Get the drive property: drive.

List<MicrosoftGraphDrive> drives()

Get the drives property: The group's drives.

List<MicrosoftGraphEvent> events()

Get the events property: The group's calendar events.

OffsetDateTime expirationDateTime()

Get the expirationDateTime property: Timestamp of when the group is set to expire.

List<MicrosoftGraphExtension> extensions()

Get the extensions property: The collection of open extensions defined for the group.

static MicrosoftGraphGroupInner fromJson(JsonReader jsonReader)

Reads an instance of MicrosoftGraphGroupInner from the JsonReader.

List<MicrosoftGraphGroupLifecyclePolicy> groupLifecyclePolicies()

Get the groupLifecyclePolicies property: The collection of lifecycle policies for this group.

List<String> groupTypes()

Get the groupTypes property: Specifies the group type and its membership.

Boolean hasMembersWithLicenseErrors()

Get the hasMembersWithLicenseErrors property: Indicates whether there are members in this group that have license errors from its group-based license assignment.

Boolean 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.

Boolean 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.

Boolean isArchived()

Get the isArchived property: The isArchived property.

Boolean isSubscribedByMail()

Get the isSubscribedByMail property: Indicates whether the signed-in user is subscribed to receive email conversations.

MicrosoftGraphLicenseProcessingState licenseProcessingState()

Get the licenseProcessingState property: licenseProcessingState.

String mail()

Get the mail property: The SMTP address for the group, for example, 'serviceadmins@contoso.onmicrosoft.com'.

Boolean mailEnabled()

Get the mailEnabled property: Specifies whether the group is mail-enabled.

String mailNickname()

Get the mailNickname property: The mailNickname property.

List<MicrosoftGraphDirectoryObjectInner> memberOf()

Get the memberOf property: Groups that this group is a member of.

List<MicrosoftGraphDirectoryObjectInner> members()

Get the members property: Users and groups that are members of this group.

List<MicrosoftGraphDirectoryObjectInner> membersWithLicenseErrors()

Get the membersWithLicenseErrors property: A list of group members with license errors from this group-based license assignment.

String membershipRule()

Get the membershipRule property: The rule that determines members for this group if the group is a dynamic group (groupTypes contains DynamicMembership).

String membershipRuleProcessingState()

Get the membershipRuleProcessingState property: Indicates whether the dynamic membership processing is on or paused.

String onPremisesDomainName()

Get the onPremisesDomainName property: The onPremisesDomainName property.

OffsetDateTime onPremisesLastSyncDateTime()

Get the onPremisesLastSyncDateTime property: The onPremisesLastSyncDateTime property.

String onPremisesNetBiosName()

Get the onPremisesNetBiosName property: The onPremisesNetBiosName property.

List<MicrosoftGraphOnPremisesProvisioningError> onPremisesProvisioningErrors()

Get the onPremisesProvisioningErrors property: The onPremisesProvisioningErrors property.

String onPremisesSamAccountName()

Get the onPremisesSamAccountName property: Contains the on-premises SAM account name synchronized from the on-premises directory.

String onPremisesSecurityIdentifier()

Get the onPremisesSecurityIdentifier property: Contains the on-premises security identifier (SID) for the group that was synchronized from on-premises to the cloud.

Boolean 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).

MicrosoftGraphOnenote onenote()

Get the onenote property: onenote.

List<MicrosoftGraphDirectoryObjectInner> owners()

Get the owners property: The owners of the group.

List<MicrosoftGraphResourceSpecificPermissionGrant> permissionGrants()

Get the permissionGrants property: The permissionGrants property.

MicrosoftGraphProfilePhoto photo()

Get the photo property: profilePhoto.

List<MicrosoftGraphProfilePhoto> photos()

Get the photos property: The profile photos owned by the group.

MicrosoftGraphPlannerGroup planner()

Get the planner property: plannerGroup.

String preferredDataLocation()

Get the preferredDataLocation property: The preferred data location for the group.

String preferredLanguage()

Get the preferredLanguage property: The preferred language for an Microsoft 365 group.

List<String> proxyAddresses()

Get the proxyAddresses property: The proxyAddresses property.

List<MicrosoftGraphDirectoryObjectInner> rejectedSenders()

Get the rejectedSenders property: The list of users or groups that are not allowed to create posts or calendar events in this group.

OffsetDateTime renewedDateTime()

Get the renewedDateTime property: Timestamp of when the group was last renewed.

Boolean securityEnabled()

Get the securityEnabled property: Specifies whether the group is a security group.

String securityIdentifier()

Get the securityIdentifier property: Security identifier of the group, used in Windows scenarios.

List<MicrosoftGraphGroupSetting> settings()

Get the settings property: Read-only.

List<MicrosoftGraphSite> sites()

Get the sites property: The list of SharePoint sites in this group.

MicrosoftGraphTeamInner team()

Get the team property: team.

String theme()

Get the theme property: Specifies an Microsoft 365 group's color theme.

List<MicrosoftGraphConversationThread> threads()

Get the threads property: The group's conversation threads.

JsonWriter toJson(JsonWriter jsonWriter)
List<MicrosoftGraphDirectoryObjectInner> transitiveMemberOf()

Get the transitiveMemberOf property: The transitiveMemberOf property.

List<MicrosoftGraphDirectoryObjectInner> transitiveMembers()

Get the transitiveMembers property: The transitiveMembers property.

Integer unseenCount()

Get the unseenCount property: Count of conversations that have received new posts since the signed-in user last visited the group.

void validate()

Validates the instance.

String visibility()

Get the visibility property: Specifies the visibility of a Microsoft 365 group.

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.

MicrosoftGraphGroupInner withAdditionalProperties(Map<String,Object> additionalProperties)

Set the additionalProperties property: Represents an Azure Active Directory object.

MicrosoftGraphGroupInner withAllowExternalSenders(Boolean allowExternalSenders)

Set the allowExternalSenders property: Indicates if people external to the organization can send messages to the group.

MicrosoftGraphGroupInner withAppRoleAssignments(List<MicrosoftGraphAppRoleAssignment> appRoleAssignments)

Set the appRoleAssignments property: The appRoleAssignments property.

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.

MicrosoftGraphGroupInner withAssignedLicenses(List<MicrosoftGraphAssignedLicense> assignedLicenses)

Set the assignedLicenses property: The licenses that are assigned to the group.

MicrosoftGraphGroupInner withAutoSubscribeNewMembers(Boolean autoSubscribeNewMembers)

Set the autoSubscribeNewMembers property: Indicates if new members added to the group will be auto-subscribed to receive email notifications.

MicrosoftGraphGroupInner withCalendar(MicrosoftGraphCalendar calendar)

Set the calendar property: calendar.

MicrosoftGraphGroupInner withCalendarView(List<MicrosoftGraphEvent> calendarView)

Set the calendarView property: The calendar view for the calendar.

MicrosoftGraphGroupInner withClassification(String classification)

Set the classification property: Describes a classification for the group (such as low, medium or high business impact).

MicrosoftGraphGroupInner withConversations(List<MicrosoftGraphConversation> conversations)

Set the conversations property: The group's conversations.

MicrosoftGraphGroupInner withCreatedDateTime(OffsetDateTime createdDateTime)

Set the createdDateTime property: Timestamp of when the group was created.

MicrosoftGraphGroupInner withCreatedOnBehalfOf(MicrosoftGraphDirectoryObjectInner createdOnBehalfOf)

Set the createdOnBehalfOf property: Represents an Azure Active Directory object.

MicrosoftGraphGroupInner withDeletedDateTime(OffsetDateTime deletedDateTime)

Set the deletedDateTime property: The deletedDateTime property.

MicrosoftGraphGroupInner withDescription(String description)

Set the description property: An optional description for the group.

MicrosoftGraphGroupInner withDisplayName(String displayName)

Set the displayName property: The display name for the group.

MicrosoftGraphGroupInner withDrive(MicrosoftGraphDrive drive)

Set the drive property: drive.

MicrosoftGraphGroupInner withDrives(List<MicrosoftGraphDrive> drives)

Set the drives property: The group's drives.

MicrosoftGraphGroupInner withEvents(List<MicrosoftGraphEvent> events)

Set the events property: The group's calendar events.

MicrosoftGraphGroupInner withExpirationDateTime(OffsetDateTime expirationDateTime)

Set the expirationDateTime property: Timestamp of when the group is set to expire.

MicrosoftGraphGroupInner withExtensions(List<MicrosoftGraphExtension> extensions)

Set the extensions property: The collection of open extensions defined for the group.

MicrosoftGraphGroupInner withGroupLifecyclePolicies(List<MicrosoftGraphGroupLifecyclePolicy> groupLifecyclePolicies)

Set the groupLifecyclePolicies property: The collection of lifecycle policies for this group.

MicrosoftGraphGroupInner withGroupTypes(List<String> groupTypes)

Set the groupTypes property: Specifies the group type and its membership.

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.

MicrosoftGraphGroupInner 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.

MicrosoftGraphGroupInner 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.

MicrosoftGraphGroupInner withId(String id)

Set the id property: Read-only.

MicrosoftGraphGroupInner withIsArchived(Boolean isArchived)

Set the isArchived property: The isArchived property.

MicrosoftGraphGroupInner withIsSubscribedByMail(Boolean isSubscribedByMail)

Set the isSubscribedByMail property: Indicates whether the signed-in user is subscribed to receive email conversations.

MicrosoftGraphGroupInner withLicenseProcessingState(MicrosoftGraphLicenseProcessingState licenseProcessingState)

Set the licenseProcessingState property: licenseProcessingState.

MicrosoftGraphGroupInner withMail(String mail)

Set the mail property: The SMTP address for the group, for example, 'serviceadmins@contoso.onmicrosoft.com'.

MicrosoftGraphGroupInner withMailEnabled(Boolean mailEnabled)

Set the mailEnabled property: Specifies whether the group is mail-enabled.

MicrosoftGraphGroupInner withMailNickname(String mailNickname)

Set the mailNickname property: The mailNickname property.

MicrosoftGraphGroupInner withMemberOf(List<MicrosoftGraphDirectoryObjectInner> memberOf)

Set the memberOf property: Groups that this group is a member of.

MicrosoftGraphGroupInner withMembers(List<MicrosoftGraphDirectoryObjectInner> members)

Set the members property: Users and groups that are members of this group.

MicrosoftGraphGroupInner withMembersWithLicenseErrors(List<MicrosoftGraphDirectoryObjectInner> membersWithLicenseErrors)

Set the membersWithLicenseErrors property: A list of group members with license errors from this group-based license assignment.

MicrosoftGraphGroupInner 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).

MicrosoftGraphGroupInner withMembershipRuleProcessingState(String membershipRuleProcessingState)

Set the membershipRuleProcessingState property: Indicates whether the dynamic membership processing is on or paused.

MicrosoftGraphGroupInner withOnPremisesDomainName(String onPremisesDomainName)

Set the onPremisesDomainName property: The onPremisesDomainName property.

MicrosoftGraphGroupInner withOnPremisesLastSyncDateTime(OffsetDateTime onPremisesLastSyncDateTime)

Set the onPremisesLastSyncDateTime property: The onPremisesLastSyncDateTime property.

MicrosoftGraphGroupInner withOnPremisesNetBiosName(String onPremisesNetBiosName)

Set the onPremisesNetBiosName property: The onPremisesNetBiosName property.

MicrosoftGraphGroupInner withOnPremisesProvisioningErrors(List<MicrosoftGraphOnPremisesProvisioningError> onPremisesProvisioningErrors)

Set the onPremisesProvisioningErrors property: The onPremisesProvisioningErrors property.

MicrosoftGraphGroupInner withOnPremisesSamAccountName(String onPremisesSamAccountName)

Set the onPremisesSamAccountName property: Contains the on-premises SAM account name synchronized from the on-premises directory.

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.

MicrosoftGraphGroupInner 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).

MicrosoftGraphGroupInner withOnenote(MicrosoftGraphOnenote onenote)

Set the onenote property: onenote.

MicrosoftGraphGroupInner withOwners(List<MicrosoftGraphDirectoryObjectInner> owners)

Set the owners property: The owners of the group.

MicrosoftGraphGroupInner withPermissionGrants(List<MicrosoftGraphResourceSpecificPermissionGrant> permissionGrants)

Set the permissionGrants property: The permissionGrants property.

MicrosoftGraphGroupInner withPhoto(MicrosoftGraphProfilePhoto photo)

Set the photo property: profilePhoto.

MicrosoftGraphGroupInner withPhotos(List<MicrosoftGraphProfilePhoto> photos)

Set the photos property: The profile photos owned by the group.

MicrosoftGraphGroupInner withPlanner(MicrosoftGraphPlannerGroup planner)

Set the planner property: plannerGroup.

MicrosoftGraphGroupInner withPreferredDataLocation(String preferredDataLocation)

Set the preferredDataLocation property: The preferred data location for the group.

MicrosoftGraphGroupInner withPreferredLanguage(String preferredLanguage)

Set the preferredLanguage property: The preferred language for an Microsoft 365 group.

MicrosoftGraphGroupInner withProxyAddresses(List<String> proxyAddresses)

Set the proxyAddresses property: The proxyAddresses property.

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.

MicrosoftGraphGroupInner withRenewedDateTime(OffsetDateTime renewedDateTime)

Set the renewedDateTime property: Timestamp of when the group was last renewed.

MicrosoftGraphGroupInner withSecurityEnabled(Boolean securityEnabled)

Set the securityEnabled property: Specifies whether the group is a security group.

MicrosoftGraphGroupInner withSecurityIdentifier(String securityIdentifier)

Set the securityIdentifier property: Security identifier of the group, used in Windows scenarios.

MicrosoftGraphGroupInner withSettings(List<MicrosoftGraphGroupSetting> settings)

Set the settings property: Read-only.

MicrosoftGraphGroupInner withSites(List<MicrosoftGraphSite> sites)

Set the sites property: The list of SharePoint sites in this group.

MicrosoftGraphGroupInner withTeam(MicrosoftGraphTeamInner team)

Set the team property: team.

MicrosoftGraphGroupInner withTheme(String theme)

Set the theme property: Specifies an Microsoft 365 group's color theme.

MicrosoftGraphGroupInner withThreads(List<MicrosoftGraphConversationThread> threads)

Set the threads property: The group's conversation threads.

MicrosoftGraphGroupInner withTransitiveMemberOf(List<MicrosoftGraphDirectoryObjectInner> transitiveMemberOf)

Set the transitiveMemberOf property: The transitiveMemberOf property.

MicrosoftGraphGroupInner withTransitiveMembers(List<MicrosoftGraphDirectoryObjectInner> transitiveMembers)

Set the transitiveMembers property: The transitiveMembers property.

MicrosoftGraphGroupInner withUnseenCount(Integer unseenCount)

Set the unseenCount property: Count of conversations that have received new posts since the signed-in user last visited the group.

MicrosoftGraphGroupInner withVisibility(String visibility)

Set the visibility property: Specifies the visibility of a Microsoft 365 group.

Methods inherited from MicrosoftGraphDirectoryObjectInner

Methods inherited from MicrosoftGraphEntity

id

Methods inherited from java.lang.Object

Constructor Details

MicrosoftGraphGroupInner

public MicrosoftGraphGroupInner()

Creates an instance of MicrosoftGraphGroupInner class.

Method Details

acceptedSenders

public List 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.

additionalProperties

public Map 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:

MicrosoftGraphGroupInner.additionalProperties()

Returns:

the additionalProperties value.

allowExternalSenders

public Boolean 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.

appRoleAssignments

public List appRoleAssignments()

Get the appRoleAssignments property: The appRoleAssignments property.

Returns:

the appRoleAssignments value.

assignedLabels

public List 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.

assignedLicenses

public List assignedLicenses()

Get the assignedLicenses property: The licenses that are assigned to the group. Returned only on $select. Read-only.

Returns:

the assignedLicenses value.

autoSubscribeNewMembers

public Boolean 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.

calendar

public MicrosoftGraphCalendar calendar()

Get the calendar property: calendar.

Returns:

the calendar value.

calendarView

public List calendarView()

Get the calendarView property: The calendar view for the calendar. Read-only.

Returns:

the calendarView value.

classification

public String 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.

conversations

public List conversations()

Get the conversations property: The group's conversations.

Returns:

the conversations value.

createdDateTime

public OffsetDateTime 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.

createdOnBehalfOf

public MicrosoftGraphDirectoryObjectInner createdOnBehalfOf()

Get the createdOnBehalfOf property: Represents an Azure Active Directory object. The directoryObject type is the base type for many other directory entity types.

Returns:

the createdOnBehalfOf value.

description

public String description()

Get the description property: An optional description for the group. Returned by default.

Returns:

the description value.

displayName

public String 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.

drive

public MicrosoftGraphDrive drive()

Get the drive property: drive.

Returns:

the drive value.

drives

public List drives()

Get the drives property: The group's drives. Read-only.

Returns:

the drives value.

events

public List events()

Get the events property: The group's calendar events.

Returns:

the events value.

expirationDateTime

public OffsetDateTime 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.

extensions

public List extensions()

Get the extensions property: The collection of open extensions defined for the group. Read-only. Nullable.

Returns:

the extensions value.

fromJson

public static MicrosoftGraphGroupInner fromJson(JsonReader jsonReader)

Reads an instance of MicrosoftGraphGroupInner from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of MicrosoftGraphGroupInner if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.

Throws:

IOException

- If an error occurs while reading the MicrosoftGraphGroupInner.

groupLifecyclePolicies

public List groupLifecyclePolicies()

Get the groupLifecyclePolicies property: The collection of lifecycle policies for this group. Read-only. Nullable.

Returns:

the groupLifecyclePolicies value.

groupTypes

public List 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.

hasMembersWithLicenseErrors

public Boolean 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.

hideFromAddressLists

public Boolean 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.

hideFromOutlookClients

public Boolean 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.

isArchived

public Boolean isArchived()

Get the isArchived property: The isArchived property.

Returns:

the isArchived value.

isSubscribedByMail

public Boolean 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.

licenseProcessingState

public MicrosoftGraphLicenseProcessingState licenseProcessingState()

Get the licenseProcessingState property: licenseProcessingState.

Returns:

the licenseProcessingState value.

mail

public String 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.

mailEnabled

public Boolean mailEnabled()

Get the mailEnabled property: Specifies whether the group is mail-enabled. Returned by default.

Returns:

the mailEnabled value.

mailNickname

public String mailNickname()

Get the mailNickname property: The mailNickname property.

Returns:

the mailNickname value.

memberOf

public List 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.

members

public List 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.

membersWithLicenseErrors

public List 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.

membershipRule

public String 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.

membershipRuleProcessingState

public String 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.

onPremisesDomainName

public String onPremisesDomainName()

Get the onPremisesDomainName property: The onPremisesDomainName property.

Returns:

the onPremisesDomainName value.

onPremisesLastSyncDateTime

public OffsetDateTime onPremisesLastSyncDateTime()

Get the onPremisesLastSyncDateTime property: The onPremisesLastSyncDateTime property.

Returns:

the onPremisesLastSyncDateTime value.

onPremisesNetBiosName

public String onPremisesNetBiosName()

Get the onPremisesNetBiosName property: The onPremisesNetBiosName property.

Returns:

the onPremisesNetBiosName value.

onPremisesProvisioningErrors

public List onPremisesProvisioningErrors()

Get the onPremisesProvisioningErrors property: The onPremisesProvisioningErrors property.

Returns:

the onPremisesProvisioningErrors value.

onPremisesSamAccountName

public String 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.

onPremisesSecurityIdentifier

public String 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.

onPremisesSyncEnabled

public Boolean 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.

onenote

public MicrosoftGraphOnenote onenote()

Get the onenote property: onenote.

Returns:

the onenote value.

owners

public List 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.

permissionGrants

public List permissionGrants()

Get the permissionGrants property: The permissionGrants property.

Returns:

the permissionGrants value.

photo

public MicrosoftGraphProfilePhoto photo()

Get the photo property: profilePhoto.

Returns:

the photo value.

photos

public List photos()

Get the photos property: The profile photos owned by the group. Read-only. Nullable.

Returns:

the photos value.

planner

public MicrosoftGraphPlannerGroup planner()

Get the planner property: plannerGroup.

Returns:

the planner value.

preferredDataLocation

public String 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.

preferredLanguage

public String 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.

proxyAddresses

public List proxyAddresses()

Get the proxyAddresses property: The proxyAddresses property.

Returns:

the proxyAddresses value.

rejectedSenders

public List 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.

renewedDateTime

public OffsetDateTime 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.

securityEnabled

public Boolean securityEnabled()

Get the securityEnabled property: Specifies whether the group is a security group. Returned by default. Supports $filter.

Returns:

the securityEnabled value.

securityIdentifier

public String securityIdentifier()

Get the securityIdentifier property: Security identifier of the group, used in Windows scenarios. Returned by default.

Returns:

the securityIdentifier value.

settings

public List settings()

Get the settings property: Read-only. Nullable.

Returns:

the settings value.

sites

public List sites()

Get the sites property: The list of SharePoint sites in this group. Access the default site with /sites/root.

Returns:

the sites value.

team

public MicrosoftGraphTeamInner team()

Get the team property: team.

Returns:

the team value.

theme

public String 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.

threads

public List threads()

Get the threads property: The group's conversation threads. Nullable.

Returns:

the threads value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Overrides:

MicrosoftGraphGroupInner.toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

transitiveMemberOf

public List transitiveMemberOf()

Get the transitiveMemberOf property: The transitiveMemberOf property.

Returns:

the transitiveMemberOf value.

transitiveMembers

public List transitiveMembers()

Get the transitiveMembers property: The transitiveMembers property.

Returns:

the transitiveMembers value.

unseenCount

public Integer 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.

validate

public void validate()

Validates the instance.

Overrides:

MicrosoftGraphGroupInner.validate()

visibility

public String 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.

withAcceptedSenders

public MicrosoftGraphGroupInner withAcceptedSenders(List 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.

withAdditionalProperties

public MicrosoftGraphGroupInner withAdditionalProperties(Map additionalProperties)

Set the additionalProperties property: Represents an Azure Active Directory object. The directoryObject type is the base type for many other directory entity types.

Overrides:

MicrosoftGraphGroupInner.withAdditionalProperties(Map<String,Object> additionalProperties)

Parameters:

additionalProperties - the additionalProperties value to set.

Returns:

the MicrosoftGraphGroupInner object itself.

withAllowExternalSenders

public MicrosoftGraphGroupInner withAllowExternalSenders(Boolean allowExternalSenders)

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.

withAppRoleAssignments

public MicrosoftGraphGroupInner withAppRoleAssignments(List appRoleAssignments)

Set the appRoleAssignments property: The appRoleAssignments property.

Parameters:

appRoleAssignments - the appRoleAssignments value to set.

Returns:

the MicrosoftGraphGroupInner object itself.

withAssignedLabels

public MicrosoftGraphGroupInner withAssignedLabels(List 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.

withAssignedLicenses

public MicrosoftGraphGroupInner withAssignedLicenses(List 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.

withAutoSubscribeNewMembers

public MicrosoftGraphGroupInner withAutoSubscribeNewMembers(Boolean autoSubscribeNewMembers)

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.

withCalendar

public MicrosoftGraphGroupInner withCalendar(MicrosoftGraphCalendar calendar)

Set the calendar property: calendar.

Parameters:

calendar - the calendar value to set.

Returns:

the MicrosoftGraphGroupInner object itself.

withCalendarView

public MicrosoftGraphGroupInner withCalendarView(List calendarView)

Set the calendarView property: The calendar view for the calendar. Read-only.

Parameters:

calendarView - the calendarView value to set.

Returns:

the MicrosoftGraphGroupInner object itself.

withClassification

public MicrosoftGraphGroupInner withClassification(String classification)

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.

withConversations

public MicrosoftGraphGroupInner withConversations(List conversations)

Set the conversations property: The group's conversations.

Parameters:

conversations - the conversations value to set.

Returns:

the MicrosoftGraphGroupInner object itself.

withCreatedDateTime

public MicrosoftGraphGroupInner withCreatedDateTime(OffsetDateTime createdDateTime)

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.

withCreatedOnBehalfOf

public MicrosoftGraphGroupInner withCreatedOnBehalfOf(MicrosoftGraphDirectoryObjectInner createdOnBehalfOf)

Set the createdOnBehalfOf property: Represents 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.

withDeletedDateTime

public MicrosoftGraphGroupInner withDeletedDateTime(OffsetDateTime deletedDateTime)

Set the deletedDateTime property: The deletedDateTime property.

Overrides:

MicrosoftGraphGroupInner.withDeletedDateTime(OffsetDateTime deletedDateTime)

Parameters:

deletedDateTime

withDescription

public MicrosoftGraphGroupInner withDescription(String description)

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.

withDisplayName

public MicrosoftGraphGroupInner withDisplayName(String displayName)

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.

withDrive

public MicrosoftGraphGroupInner withDrive(MicrosoftGraphDrive drive)

Set the drive property: drive.

Parameters:

drive - the drive value to set.

Returns:

the MicrosoftGraphGroupInner object itself.

withDrives

public MicrosoftGraphGroupInner withDrives(List drives)

Set the drives property: The group's drives. Read-only.

Parameters:

drives - the drives value to set.

Returns:

the MicrosoftGraphGroupInner object itself.

withEvents

public MicrosoftGraphGroupInner withEvents(List events)

Set the events property: The group's calendar events.

Parameters:

events - the events value to set.

Returns:

the MicrosoftGraphGroupInner object itself.

withExpirationDateTime

public MicrosoftGraphGroupInner withExpirationDateTime(OffsetDateTime expirationDateTime)

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.

withExtensions

public MicrosoftGraphGroupInner withExtensions(List extensions)

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.

withGroupLifecyclePolicies

public MicrosoftGraphGroupInner withGroupLifecyclePolicies(List 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.

withGroupTypes

public MicrosoftGraphGroupInner withGroupTypes(List groupTypes)

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.

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.

withHideFromAddressLists

public MicrosoftGraphGroupInner 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. Default value is false. Returned only on $select.

Parameters:

hideFromAddressLists - the hideFromAddressLists value to set.

Returns:

the MicrosoftGraphGroupInner object itself.

withHideFromOutlookClients

public MicrosoftGraphGroupInner 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. Default value is false. Returned only on $select.

Parameters:

hideFromOutlookClients - the hideFromOutlookClients value to set.

Returns:

the MicrosoftGraphGroupInner object itself.

withId

public MicrosoftGraphGroupInner withId(String id)

Set the id property: Read-only.

Overrides:

MicrosoftGraphGroupInner.withId(String id)

Parameters:

id

withIsArchived

public MicrosoftGraphGroupInner withIsArchived(Boolean isArchived)

Set the isArchived property: The isArchived property.

Parameters:

isArchived - the isArchived value to set.

Returns:

the MicrosoftGraphGroupInner object itself.

withIsSubscribedByMail

public MicrosoftGraphGroupInner withIsSubscribedByMail(Boolean isSubscribedByMail)

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.

withLicenseProcessingState

public MicrosoftGraphGroupInner withLicenseProcessingState(MicrosoftGraphLicenseProcessingState licenseProcessingState)

Set the licenseProcessingState property: licenseProcessingState.

Parameters:

licenseProcessingState - the licenseProcessingState value to set.

Returns:

the MicrosoftGraphGroupInner object itself.

withMail

public MicrosoftGraphGroupInner withMail(String mail)

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.

withMailEnabled

public MicrosoftGraphGroupInner withMailEnabled(Boolean mailEnabled)

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.

withMailNickname

public MicrosoftGraphGroupInner withMailNickname(String mailNickname)

Set the mailNickname property: The mailNickname property.

Parameters:

mailNickname - the mailNickname value to set.

Returns:

the MicrosoftGraphGroupInner object itself.

withMemberOf

public MicrosoftGraphGroupInner withMemberOf(List memberOf)

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.

withMembers

public MicrosoftGraphGroupInner withMembers(List members)

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.

withMembersWithLicenseErrors

public MicrosoftGraphGroupInner withMembersWithLicenseErrors(List 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.

withMembershipRule

public MicrosoftGraphGroupInner 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). 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.

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.

withOnPremisesDomainName

public MicrosoftGraphGroupInner withOnPremisesDomainName(String onPremisesDomainName)

Set the onPremisesDomainName property: The onPremisesDomainName property.

Parameters:

onPremisesDomainName - the onPremisesDomainName value to set.

Returns:

the MicrosoftGraphGroupInner object itself.

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.

withOnPremisesNetBiosName

public MicrosoftGraphGroupInner withOnPremisesNetBiosName(String onPremisesNetBiosName)

Set the onPremisesNetBiosName property: The onPremisesNetBiosName property.

Parameters:

onPremisesNetBiosName - the onPremisesNetBiosName value to set.

Returns:

the MicrosoftGraphGroupInner object itself.

withOnPremisesProvisioningErrors

public MicrosoftGraphGroupInner withOnPremisesProvisioningErrors(List onPremisesProvisioningErrors)

Set the onPremisesProvisioningErrors property: The onPremisesProvisioningErrors property.

Parameters:

onPremisesProvisioningErrors - the onPremisesProvisioningErrors value to set.

Returns:

the MicrosoftGraphGroupInner object itself.

withOnPremisesSamAccountName

public MicrosoftGraphGroupInner withOnPremisesSamAccountName(String onPremisesSamAccountName)

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.

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.

withOnPremisesSyncEnabled

public MicrosoftGraphGroupInner 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). Returned by default. Read-only. Supports $filter.

Parameters:

onPremisesSyncEnabled - the onPremisesSyncEnabled value to set.

Returns:

the MicrosoftGraphGroupInner object itself.

withOnenote

public MicrosoftGraphGroupInner withOnenote(MicrosoftGraphOnenote onenote)

Set the onenote property: onenote.

Parameters:

onenote - the onenote value to set.

Returns:

the MicrosoftGraphGroupInner object itself.

withOwners

public MicrosoftGraphGroupInner withOwners(List owners)

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.

withPermissionGrants

public MicrosoftGraphGroupInner withPermissionGrants(List permissionGrants)

Set the permissionGrants property: The permissionGrants property.

Parameters:

permissionGrants - the permissionGrants value to set.

Returns:

the MicrosoftGraphGroupInner object itself.

withPhoto

public MicrosoftGraphGroupInner withPhoto(MicrosoftGraphProfilePhoto photo)

Set the photo property: profilePhoto.

Parameters:

photo - the photo value to set.

Returns:

the MicrosoftGraphGroupInner object itself.

withPhotos

public MicrosoftGraphGroupInner withPhotos(List photos)

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.

withPlanner

public MicrosoftGraphGroupInner withPlanner(MicrosoftGraphPlannerGroup planner)

Set the planner property: plannerGroup.

Parameters:

planner - the planner value to set.

Returns:

the MicrosoftGraphGroupInner object itself.

withPreferredDataLocation

public MicrosoftGraphGroupInner withPreferredDataLocation(String preferredDataLocation)

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.

withPreferredLanguage

public MicrosoftGraphGroupInner withPreferredLanguage(String preferredLanguage)

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.

withProxyAddresses

public MicrosoftGraphGroupInner withProxyAddresses(List proxyAddresses)

Set the proxyAddresses property: The proxyAddresses property.

Parameters:

proxyAddresses - the proxyAddresses value to set.

Returns:

the MicrosoftGraphGroupInner object itself.

withRejectedSenders

public MicrosoftGraphGroupInner withRejectedSenders(List 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.

withRenewedDateTime

public MicrosoftGraphGroupInner withRenewedDateTime(OffsetDateTime renewedDateTime)

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.

withSecurityEnabled

public MicrosoftGraphGroupInner withSecurityEnabled(Boolean securityEnabled)

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.

withSecurityIdentifier

public MicrosoftGraphGroupInner withSecurityIdentifier(String securityIdentifier)

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.

withSettings

public MicrosoftGraphGroupInner withSettings(List settings)

Set the settings property: Read-only. Nullable.

Parameters:

settings - the settings value to set.

Returns:

the MicrosoftGraphGroupInner object itself.

withSites

public MicrosoftGraphGroupInner withSites(List sites)

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.

withTeam

public MicrosoftGraphGroupInner withTeam(MicrosoftGraphTeamInner team)

Set the team property: team.

Parameters:

team - the team value to set.

Returns:

the MicrosoftGraphGroupInner object itself.

withTheme

public MicrosoftGraphGroupInner withTheme(String theme)

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.

withThreads

public MicrosoftGraphGroupInner withThreads(List threads)

Set the threads property: The group's conversation threads. Nullable.

Parameters:

threads - the threads value to set.

Returns:

the MicrosoftGraphGroupInner object itself.

withTransitiveMemberOf

public MicrosoftGraphGroupInner withTransitiveMemberOf(List transitiveMemberOf)

Set the transitiveMemberOf property: The transitiveMemberOf property.

Parameters:

transitiveMemberOf - the transitiveMemberOf value to set.

Returns:

the MicrosoftGraphGroupInner object itself.

withTransitiveMembers

public MicrosoftGraphGroupInner withTransitiveMembers(List transitiveMembers)

Set the transitiveMembers property: The transitiveMembers property.

Parameters:

transitiveMembers - the transitiveMembers value to set.

Returns:

the MicrosoftGraphGroupInner object itself.

withUnseenCount

public MicrosoftGraphGroupInner withUnseenCount(Integer unseenCount)

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.

withVisibility

public MicrosoftGraphGroupInner withVisibility(String visibility)

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.

Applies to