Skip to content

Commit

Permalink
Merge pull request #132 from manicminer/feature/dynamic-groups
Browse files Browse the repository at this point in the history
Support dynamic group membership
  • Loading branch information
manicminer authored Dec 8, 2021
2 parents 5a2fa2e + 6875d24 commit c4ba030
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 3 deletions.
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

0 comments on commit c4ba030

Please sign in to comment.