Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support dynamic group membership #132

Merged
merged 1 commit into from
Dec 8, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions msgraph/models.go
Original file line number Diff line number Diff line change
Expand Up @@ -841,8 +841,8 @@ type Group struct {
Mail *string `json:"mail,omitempty"`
MailEnabled *bool `json:"mailEnabled,omitempty"`
MailNickname *string `json:"mailNickname,omitempty"`
MembershipRule *string `json:"membershipRule,omitempty"`
MembershipRuleProcessingState *string `json:"membershipRuleProcessingState,omitempty"`
MembershipRule *StringNullWhenEmpty `json:"membershipRule,omitempty"`
MembershipRuleProcessingState *GroupMembershipRuleProcessingState `json:"membershipRuleProcessingState,omitempty"`
OnPremisesDomainName *string `json:"onPremisesDomainName,omitempty"`
OnPremisesLastSyncDateTime *time.Time `json:"onPremisesLastSyncDateTime,omitempty"`
OnPremisesNetBiosName *string `json:"onPremisesNetBiosName,omitempty"`
Expand Down
10 changes: 9 additions & 1 deletion msgraph/valuetypes.go
Original file line number Diff line number Diff line change
Expand Up @@ -324,10 +324,18 @@ const (
FeatureTypeUnknownFutureValue FeatureType = "unknownFutureValue"
)

type GroupMembershipRuleProcessingState = string

const (
GroupMembershipRuleProcessingStateOn GroupMembershipRuleProcessingState = "On"
GroupMembershipRuleProcessingStatePaused GroupMembershipRuleProcessingState = "Paused"
)

type GroupType = string

const (
GroupTypeUnified GroupType = "Unified"
GroupTypeDynamicMembership GroupType = "DynamicMembership"
GroupTypeUnified GroupType = "Unified"
)

type GroupMembershipClaim = string
Expand Down