你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
MicrosoftGraphGroupInner Class
- java.
lang. Object - com.
azure. resourcemanager. authorization. fluent. models. MicrosoftGraphEntity - com.
azure. resourcemanager. authorization. fluent. models. MicrosoftGraphDirectoryObjectInner - com.
azure. resourcemanager. authorization. fluent. models. MicrosoftGraphGroupInner
- com.
- com.
- com.
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 Microsoft |
Method Summary
Modifier and Type | Method and Description |
---|---|
List<Microsoft |
acceptedSenders()
Get the accepted |
Map<String,Object> |
additionalProperties()
Get the additional |
Boolean |
allowExternalSenders()
Get the allow |
List<Microsoft |
appRoleAssignments()
Get the app |
List<Microsoft |
assignedLabels()
Get the assigned |
List<Microsoft |
assignedLicenses()
Get the assigned |
Boolean |
autoSubscribeNewMembers()
Get the auto |
Microsoft |
calendar()
Get the calendar property: calendar. |
List<Microsoft |
calendarView()
Get the calendar |
String |
classification()
Get the classification property: Describes a classification for the group (such as low, medium or high business impact). |
List<Microsoft |
conversations()
Get the conversations property: The group's conversations. |
Offset |
createdDateTime()
Get the created |
Microsoft |
createdOnBehalfOf()
Get the created |
String |
description()
Get the description property: An optional description for the group. |
String |
displayName()
Get the display |
Microsoft |
drive()
Get the drive property: drive. |
List<Microsoft |
drives()
Get the drives property: The group's drives. |
List<Microsoft |
events()
Get the events property: The group's calendar events. |
Offset |
expirationDateTime()
Get the expiration |
List<Microsoft |
extensions()
Get the extensions property: The collection of open extensions defined for the group. |
static
Microsoft |
fromJson(JsonReader jsonReader)
Reads an instance of Microsoft |
List<Microsoft |
groupLifecyclePolicies()
Get the group |
List<String> |
groupTypes()
Get the group |
Boolean |
hasMembersWithLicenseErrors()
Get the has |
Boolean |
hideFromAddressLists()
Get the hide |
Boolean |
hideFromOutlookClients()
Get the hide |
Boolean |
isArchived()
Get the is |
Boolean |
isSubscribedByMail()
Get the is |
Microsoft |
licenseProcessingState()
Get the license |
String |
mail()
Get the mail property: The SMTP address for the group, for example, 'serviceadmins@contoso. |
Boolean |
mailEnabled()
Get the mail |
String |
mailNickname()
Get the mail |
List<Microsoft |
memberOf()
Get the member |
List<Microsoft |
members()
Get the members property: Users and groups that are members of this group. |
List<Microsoft |
membersWithLicenseErrors()
Get the members |
String |
membershipRule()
Get the membership |
String |
membershipRuleProcessingState()
Get the membership |
String |
onPremisesDomainName()
Get the on |
Offset |
onPremisesLastSyncDateTime()
Get the on |
String |
onPremisesNetBiosName()
Get the on |
List<Microsoft |
onPremisesProvisioningErrors()
Get the on |
String |
onPremisesSamAccountName()
Get the on |
String |
onPremisesSecurityIdentifier()
Get the on |
Boolean |
onPremisesSyncEnabled()
Get the on |
Microsoft |
onenote()
Get the onenote property: onenote. |
List<Microsoft |
owners()
Get the owners property: The owners of the group. |
List<Microsoft |
permissionGrants()
Get the permission |
Microsoft |
photo()
Get the photo property: profile |
List<Microsoft |
photos()
Get the photos property: The profile photos owned by the group. |
Microsoft |
planner()
Get the planner property: planner |
String |
preferredDataLocation()
Get the preferred |
String |
preferredLanguage()
Get the preferred |
List<String> |
proxyAddresses()
Get the proxy |
List<Microsoft |
rejectedSenders()
Get the rejected |
Offset |
renewedDateTime()
Get the renewed |
Boolean |
securityEnabled()
Get the security |
String |
securityIdentifier()
Get the security |
List<Microsoft |
settings()
Get the settings property: Read-only. |
List<Microsoft |
sites()
Get the sites property: The list of Share |
Microsoft |
team()
Get the team property: team. |
String |
theme()
Get the theme property: Specifies an Microsoft 365 group's color theme. |
List<Microsoft |
threads()
Get the threads property: The group's conversation threads. |
Json |
toJson(JsonWriter jsonWriter) |
List<Microsoft |
transitiveMemberOf()
Get the transitive |
List<Microsoft |
transitiveMembers()
Get the transitive |
Integer |
unseenCount()
Get the unseen |
void |
validate()
Validates the instance. |
String |
visibility()
Get the visibility property: Specifies the visibility of a Microsoft 365 group. |
Microsoft |
withAcceptedSenders(List<MicrosoftGraphDirectoryObjectInner> acceptedSenders)
Set the accepted |
Microsoft |
withAdditionalProperties(Map<String,Object> additionalProperties)
Set the additional |
Microsoft |
withAllowExternalSenders(Boolean allowExternalSenders)
Set the allow |
Microsoft |
withAppRoleAssignments(List<MicrosoftGraphAppRoleAssignment> appRoleAssignments)
Set the app |
Microsoft |
withAssignedLabels(List<MicrosoftGraphAssignedLabel> assignedLabels)
Set the assigned |
Microsoft |
withAssignedLicenses(List<MicrosoftGraphAssignedLicense> assignedLicenses)
Set the assigned |
Microsoft |
withAutoSubscribeNewMembers(Boolean autoSubscribeNewMembers)
Set the auto |
Microsoft |
withCalendar(MicrosoftGraphCalendar calendar)
Set the calendar property: calendar. |
Microsoft |
withCalendarView(List<MicrosoftGraphEvent> calendarView)
Set the calendar |
Microsoft |
withClassification(String classification)
Set the classification property: Describes a classification for the group (such as low, medium or high business impact). |
Microsoft |
withConversations(List<MicrosoftGraphConversation> conversations)
Set the conversations property: The group's conversations. |
Microsoft |
withCreatedDateTime(OffsetDateTime createdDateTime)
Set the created |
Microsoft |
withCreatedOnBehalfOf(MicrosoftGraphDirectoryObjectInner createdOnBehalfOf)
Set the created |
Microsoft |
withDeletedDateTime(OffsetDateTime deletedDateTime)
Set the deleted |
Microsoft |
withDescription(String description)
Set the description property: An optional description for the group. |
Microsoft |
withDisplayName(String displayName)
Set the display |
Microsoft |
withDrive(MicrosoftGraphDrive drive)
Set the drive property: drive. |
Microsoft |
withDrives(List<MicrosoftGraphDrive> drives)
Set the drives property: The group's drives. |
Microsoft |
withEvents(List<MicrosoftGraphEvent> events)
Set the events property: The group's calendar events. |
Microsoft |
withExpirationDateTime(OffsetDateTime expirationDateTime)
Set the expiration |
Microsoft |
withExtensions(List<MicrosoftGraphExtension> extensions)
Set the extensions property: The collection of open extensions defined for the group. |
Microsoft |
withGroupLifecyclePolicies(List<MicrosoftGraphGroupLifecyclePolicy> groupLifecyclePolicies)
Set the group |
Microsoft |
withGroupTypes(List<String> groupTypes)
Set the group |
Microsoft |
withHasMembersWithLicenseErrors(Boolean hasMembersWithLicenseErrors)
Set the has |
Microsoft |
withHideFromAddressLists(Boolean hideFromAddressLists)
Set the hide |
Microsoft |
withHideFromOutlookClients(Boolean hideFromOutlookClients)
Set the hide |
Microsoft |
withId(String id)
Set the id property: Read-only. |
Microsoft |
withIsArchived(Boolean isArchived)
Set the is |
Microsoft |
withIsSubscribedByMail(Boolean isSubscribedByMail)
Set the is |
Microsoft |
withLicenseProcessingState(MicrosoftGraphLicenseProcessingState licenseProcessingState)
Set the license |
Microsoft |
withMail(String mail)
Set the mail property: The SMTP address for the group, for example, 'serviceadmins@contoso. |
Microsoft |
withMailEnabled(Boolean mailEnabled)
Set the mail |
Microsoft |
withMailNickname(String mailNickname)
Set the mail |
Microsoft |
withMemberOf(List<MicrosoftGraphDirectoryObjectInner> memberOf)
Set the member |
Microsoft |
withMembers(List<MicrosoftGraphDirectoryObjectInner> members)
Set the members property: Users and groups that are members of this group. |
Microsoft |
withMembersWithLicenseErrors(List<MicrosoftGraphDirectoryObjectInner> membersWithLicenseErrors)
Set the members |
Microsoft |
withMembershipRule(String membershipRule)
Set the membership |
Microsoft |
withMembershipRuleProcessingState(String membershipRuleProcessingState)
Set the membership |
Microsoft |
withOnPremisesDomainName(String onPremisesDomainName)
Set the on |
Microsoft |
withOnPremisesLastSyncDateTime(OffsetDateTime onPremisesLastSyncDateTime)
Set the on |
Microsoft |
withOnPremisesNetBiosName(String onPremisesNetBiosName)
Set the on |
Microsoft |
withOnPremisesProvisioningErrors(List<MicrosoftGraphOnPremisesProvisioningError> onPremisesProvisioningErrors)
Set the on |
Microsoft |
withOnPremisesSamAccountName(String onPremisesSamAccountName)
Set the on |
Microsoft |
withOnPremisesSecurityIdentifier(String onPremisesSecurityIdentifier)
Set the on |
Microsoft |
withOnPremisesSyncEnabled(Boolean onPremisesSyncEnabled)
Set the on |
Microsoft |
withOnenote(MicrosoftGraphOnenote onenote)
Set the onenote property: onenote. |
Microsoft |
withOwners(List<MicrosoftGraphDirectoryObjectInner> owners)
Set the owners property: The owners of the group. |
Microsoft |
withPermissionGrants(List<MicrosoftGraphResourceSpecificPermissionGrant> permissionGrants)
Set the permission |
Microsoft |
withPhoto(MicrosoftGraphProfilePhoto photo)
Set the photo property: profile |
Microsoft |
withPhotos(List<MicrosoftGraphProfilePhoto> photos)
Set the photos property: The profile photos owned by the group. |
Microsoft |
withPlanner(MicrosoftGraphPlannerGroup planner)
Set the planner property: planner |
Microsoft |
withPreferredDataLocation(String preferredDataLocation)
Set the preferred |
Microsoft |
withPreferredLanguage(String preferredLanguage)
Set the preferred |
Microsoft |
withProxyAddresses(List<String> proxyAddresses)
Set the proxy |
Microsoft |
withRejectedSenders(List<MicrosoftGraphDirectoryObjectInner> rejectedSenders)
Set the rejected |
Microsoft |
withRenewedDateTime(OffsetDateTime renewedDateTime)
Set the renewed |
Microsoft |
withSecurityEnabled(Boolean securityEnabled)
Set the security |
Microsoft |
withSecurityIdentifier(String securityIdentifier)
Set the security |
Microsoft |
withSettings(List<MicrosoftGraphGroupSetting> settings)
Set the settings property: Read-only. |
Microsoft |
withSites(List<MicrosoftGraphSite> sites)
Set the sites property: The list of Share |
Microsoft |
withTeam(MicrosoftGraphTeamInner team)
Set the team property: team. |
Microsoft |
withTheme(String theme)
Set the theme property: Specifies an Microsoft 365 group's color theme. |
Microsoft |
withThreads(List<MicrosoftGraphConversationThread> threads)
Set the threads property: The group's conversation threads. |
Microsoft |
withTransitiveMemberOf(List<MicrosoftGraphDirectoryObjectInner> transitiveMemberOf)
Set the transitive |
Microsoft |
withTransitiveMembers(List<MicrosoftGraphDirectoryObjectInner> transitiveMembers)
Set the transitive |
Microsoft |
withUnseenCount(Integer unseenCount)
Set the unseen |
Microsoft |
withVisibility(String visibility)
Set the visibility property: Specifies the visibility of a Microsoft 365 group. |
Methods inherited from MicrosoftGraphDirectoryObjectInner
Methods inherited from MicrosoftGraphEntity
Methods inherited from java.lang.Object
Constructor Details
MicrosoftGraphGroupInner
public MicrosoftGraphGroupInner()
Creates an instance of MicrosoftGraphGroupInner class.
Method Details
acceptedSenders
public List
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:
additionalProperties
public Map
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:
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:
appRoleAssignments
public List
Get the appRoleAssignments property: The appRoleAssignments property.
Returns:
assignedLabels
public List
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:
assignedLicenses
public List
Get the assignedLicenses property: The licenses that are assigned to the group. Returned only on $select. Read-only.
Returns:
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:
calendar
public MicrosoftGraphCalendar calendar()
Get the calendar property: calendar.
Returns:
calendarView
public List
Get the calendarView property: The calendar view for the calendar. Read-only.
Returns:
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:
conversations
public List
Get the conversations property: The group's conversations.
Returns:
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:
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:
description
public String description()
Get the description property: An optional description for the group. Returned by default.
Returns:
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:
drive
public MicrosoftGraphDrive drive()
Get the drive property: drive.
Returns:
drives
public List
Get the drives property: The group's drives. Read-only.
Returns:
events
public List
Get the events property: The group's calendar events.
Returns:
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:
extensions
public List
Get the extensions property: The collection of open extensions defined for the group. Read-only. Nullable.
Returns:
fromJson
public static MicrosoftGraphGroupInner fromJson(JsonReader jsonReader)
Reads an instance of MicrosoftGraphGroupInner from the JsonReader.
Parameters:
Returns:
Throws:
groupLifecyclePolicies
public List
Get the groupLifecyclePolicies property: The collection of lifecycle policies for this group. Read-only. Nullable.
Returns:
groupTypes
public List
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:
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:
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:
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:
isArchived
public Boolean isArchived()
Get the isArchived property: The isArchived property.
Returns:
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:
licenseProcessingState
public MicrosoftGraphLicenseProcessingState licenseProcessingState()
Get the licenseProcessingState property: licenseProcessingState.
Returns:
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:
mailEnabled
public Boolean mailEnabled()
Get the mailEnabled property: Specifies whether the group is mail-enabled. Returned by default.
Returns:
mailNickname
public String mailNickname()
Get the mailNickname property: The mailNickname property.
Returns:
memberOf
public List
Get the memberOf property: Groups that this group is a member of. HTTP Methods: GET (supported for all groups). Read-only. Nullable.
Returns:
members
public List
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:
membersWithLicenseErrors
public List
Get the membersWithLicenseErrors property: A list of group members with license errors from this group-based license assignment. Read-only.
Returns:
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:
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:
onPremisesDomainName
public String onPremisesDomainName()
Get the onPremisesDomainName property: The onPremisesDomainName property.
Returns:
onPremisesLastSyncDateTime
public OffsetDateTime onPremisesLastSyncDateTime()
Get the onPremisesLastSyncDateTime property: The onPremisesLastSyncDateTime property.
Returns:
onPremisesNetBiosName
public String onPremisesNetBiosName()
Get the onPremisesNetBiosName property: The onPremisesNetBiosName property.
Returns:
onPremisesProvisioningErrors
public List
Get the onPremisesProvisioningErrors property: The onPremisesProvisioningErrors property.
Returns:
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:
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:
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:
onenote
public MicrosoftGraphOnenote onenote()
Get the onenote property: onenote.
Returns:
owners
public List
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:
permissionGrants
public List
Get the permissionGrants property: The permissionGrants property.
Returns:
photo
public MicrosoftGraphProfilePhoto photo()
Get the photo property: profilePhoto.
Returns:
photos
public List
Get the photos property: The profile photos owned by the group. Read-only. Nullable.
Returns:
planner
public MicrosoftGraphPlannerGroup planner()
Get the planner property: plannerGroup.
Returns:
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:
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:
proxyAddresses
public List
Get the proxyAddresses property: The proxyAddresses property.
Returns:
rejectedSenders
public List
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:
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:
securityEnabled
public Boolean securityEnabled()
Get the securityEnabled property: Specifies whether the group is a security group. Returned by default. Supports $filter.
Returns:
securityIdentifier
public String securityIdentifier()
Get the securityIdentifier property: Security identifier of the group, used in Windows scenarios. Returned by default.
Returns:
settings
public List
Get the settings property: Read-only. Nullable.
Returns:
sites
public List
Get the sites property: The list of SharePoint sites in this group. Access the default site with /sites/root.
Returns:
team
public MicrosoftGraphTeamInner team()
Get the team property: team.
Returns:
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:
threads
public List
Get the threads property: The group's conversation threads. Nullable.
Returns:
toJson
public JsonWriter toJson(JsonWriter jsonWriter)
Overrides:
MicrosoftGraphGroupInner.toJson(JsonWriter jsonWriter)Parameters:
Throws:
transitiveMemberOf
public List
Get the transitiveMemberOf property: The transitiveMemberOf property.
Returns:
transitiveMembers
public List
Get the transitiveMembers property: The transitiveMembers property.
Returns:
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:
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:
withAcceptedSenders
public MicrosoftGraphGroupInner withAcceptedSenders(List
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:
Returns:
withAdditionalProperties
public MicrosoftGraphGroupInner withAdditionalProperties(Map
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:
Returns:
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:
Returns:
withAppRoleAssignments
public MicrosoftGraphGroupInner withAppRoleAssignments(List
Set the appRoleAssignments property: The appRoleAssignments property.
Parameters:
Returns:
withAssignedLabels
public MicrosoftGraphGroupInner withAssignedLabels(List
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:
Returns:
withAssignedLicenses
public MicrosoftGraphGroupInner withAssignedLicenses(List
Set the assignedLicenses property: The licenses that are assigned to the group. Returned only on $select. Read-only.
Parameters:
Returns:
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:
Returns:
withCalendar
public MicrosoftGraphGroupInner withCalendar(MicrosoftGraphCalendar calendar)
Set the calendar property: calendar.
Parameters:
Returns:
withCalendarView
public MicrosoftGraphGroupInner withCalendarView(List
Set the calendarView property: The calendar view for the calendar. Read-only.
Parameters:
Returns:
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:
Returns:
withConversations
public MicrosoftGraphGroupInner withConversations(List
Set the conversations property: The group's conversations.
Parameters:
Returns:
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:
Returns:
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:
Returns:
withDeletedDateTime
public MicrosoftGraphGroupInner withDeletedDateTime(OffsetDateTime deletedDateTime)
Set the deletedDateTime property: The deletedDateTime property.
Overrides:
MicrosoftGraphGroupInner.withDeletedDateTime(OffsetDateTime deletedDateTime)Parameters:
withDescription
public MicrosoftGraphGroupInner withDescription(String description)
Set the description property: An optional description for the group. Returned by default.
Parameters:
Returns:
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:
Returns:
withDrive
public MicrosoftGraphGroupInner withDrive(MicrosoftGraphDrive drive)
Set the drive property: drive.
Parameters:
Returns:
withDrives
public MicrosoftGraphGroupInner withDrives(List
Set the drives property: The group's drives. Read-only.
Parameters:
Returns:
withEvents
public MicrosoftGraphGroupInner withEvents(List
Set the events property: The group's calendar events.
Parameters:
Returns:
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:
Returns:
withExtensions
public MicrosoftGraphGroupInner withExtensions(List
Set the extensions property: The collection of open extensions defined for the group. Read-only. Nullable.
Parameters:
Returns:
withGroupLifecyclePolicies
public MicrosoftGraphGroupInner withGroupLifecyclePolicies(List
Set the groupLifecyclePolicies property: The collection of lifecycle policies for this group. Read-only. Nullable.
Parameters:
Returns:
withGroupTypes
public MicrosoftGraphGroupInner withGroupTypes(List
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:
Returns:
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:
Returns:
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:
Returns:
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:
Returns:
withId
public MicrosoftGraphGroupInner withId(String id)
Set the id property: Read-only.
Overrides:
MicrosoftGraphGroupInner.withId(String id)Parameters:
withIsArchived
public MicrosoftGraphGroupInner withIsArchived(Boolean isArchived)
Set the isArchived property: The isArchived property.
Parameters:
Returns:
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:
Returns:
withLicenseProcessingState
public MicrosoftGraphGroupInner withLicenseProcessingState(MicrosoftGraphLicenseProcessingState licenseProcessingState)
Set the licenseProcessingState property: licenseProcessingState.
Parameters:
Returns:
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:
Returns:
withMailEnabled
public MicrosoftGraphGroupInner withMailEnabled(Boolean mailEnabled)
Set the mailEnabled property: Specifies whether the group is mail-enabled. Returned by default.
Parameters:
Returns:
withMailNickname
public MicrosoftGraphGroupInner withMailNickname(String mailNickname)
Set the mailNickname property: The mailNickname property.
Parameters:
Returns:
withMemberOf
public MicrosoftGraphGroupInner withMemberOf(List
Set the memberOf property: Groups that this group is a member of. HTTP Methods: GET (supported for all groups). Read-only. Nullable.
Parameters:
Returns:
withMembers
public MicrosoftGraphGroupInner withMembers(List
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:
Returns:
withMembersWithLicenseErrors
public MicrosoftGraphGroupInner withMembersWithLicenseErrors(List
Set the membersWithLicenseErrors property: A list of group members with license errors from this group-based license assignment. Read-only.
Parameters:
Returns:
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:
Returns:
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:
Returns:
withOnPremisesDomainName
public MicrosoftGraphGroupInner withOnPremisesDomainName(String onPremisesDomainName)
Set the onPremisesDomainName property: The onPremisesDomainName property.
Parameters:
Returns:
withOnPremisesLastSyncDateTime
public MicrosoftGraphGroupInner withOnPremisesLastSyncDateTime(OffsetDateTime onPremisesLastSyncDateTime)
Set the onPremisesLastSyncDateTime property: The onPremisesLastSyncDateTime property.
Parameters:
Returns:
withOnPremisesNetBiosName
public MicrosoftGraphGroupInner withOnPremisesNetBiosName(String onPremisesNetBiosName)
Set the onPremisesNetBiosName property: The onPremisesNetBiosName property.
Parameters:
Returns:
withOnPremisesProvisioningErrors
public MicrosoftGraphGroupInner withOnPremisesProvisioningErrors(List
Set the onPremisesProvisioningErrors property: The onPremisesProvisioningErrors property.
Parameters:
Returns:
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:
Returns:
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:
Returns:
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:
Returns:
withOnenote
public MicrosoftGraphGroupInner withOnenote(MicrosoftGraphOnenote onenote)
Set the onenote property: onenote.
Parameters:
Returns:
withOwners
public MicrosoftGraphGroupInner withOwners(List
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:
Returns:
withPermissionGrants
public MicrosoftGraphGroupInner withPermissionGrants(List
Set the permissionGrants property: The permissionGrants property.
Parameters:
Returns:
withPhoto
public MicrosoftGraphGroupInner withPhoto(MicrosoftGraphProfilePhoto photo)
Set the photo property: profilePhoto.
Parameters:
Returns:
withPhotos
public MicrosoftGraphGroupInner withPhotos(List
Set the photos property: The profile photos owned by the group. Read-only. Nullable.
Parameters:
Returns:
withPlanner
public MicrosoftGraphGroupInner withPlanner(MicrosoftGraphPlannerGroup planner)
Set the planner property: plannerGroup.
Parameters:
Returns:
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:
Returns:
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:
Returns:
withProxyAddresses
public MicrosoftGraphGroupInner withProxyAddresses(List
Set the proxyAddresses property: The proxyAddresses property.
Parameters:
Returns:
withRejectedSenders
public MicrosoftGraphGroupInner withRejectedSenders(List
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:
Returns:
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:
Returns:
withSecurityEnabled
public MicrosoftGraphGroupInner withSecurityEnabled(Boolean securityEnabled)
Set the securityEnabled property: Specifies whether the group is a security group. Returned by default. Supports $filter.
Parameters:
Returns:
withSecurityIdentifier
public MicrosoftGraphGroupInner withSecurityIdentifier(String securityIdentifier)
Set the securityIdentifier property: Security identifier of the group, used in Windows scenarios. Returned by default.
Parameters:
Returns:
withSettings
public MicrosoftGraphGroupInner withSettings(List
Set the settings property: Read-only. Nullable.
Parameters:
Returns:
withSites
public MicrosoftGraphGroupInner withSites(List
Set the sites property: The list of SharePoint sites in this group. Access the default site with /sites/root.
Parameters:
Returns:
withTeam
public MicrosoftGraphGroupInner withTeam(MicrosoftGraphTeamInner team)
Set the team property: team.
Parameters:
Returns:
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:
Returns:
withThreads
public MicrosoftGraphGroupInner withThreads(List
Set the threads property: The group's conversation threads. Nullable.
Parameters:
Returns:
withTransitiveMemberOf
public MicrosoftGraphGroupInner withTransitiveMemberOf(List
Set the transitiveMemberOf property: The transitiveMemberOf property.
Parameters:
Returns:
withTransitiveMembers
public MicrosoftGraphGroupInner withTransitiveMembers(List
Set the transitiveMembers property: The transitiveMembers property.
Parameters:
Returns:
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:
Returns:
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:
Returns: