diff options
author | Qais Patankar <qaisjp@gmail.com> | 2020-03-15 22:43:46 +0000 |
---|---|---|
committer | Wim <wim@42.be> | 2020-03-22 00:02:48 +0100 |
commit | 76e5fe5a87d7e60919075f96eee599f3c6255a9f (patch) | |
tree | af3181ad6aadaea02069473a3718a827be888426 /vendor/github.com/yaegashi/msgraph.go/beta/ModelTerms.go | |
parent | 802c80f40c709ba4967de317e40a8d6abe57f6be (diff) | |
download | matterbridge-msglm-76e5fe5a87d7e60919075f96eee599f3c6255a9f.tar.gz matterbridge-msglm-76e5fe5a87d7e60919075f96eee599f3c6255a9f.tar.bz2 matterbridge-msglm-76e5fe5a87d7e60919075f96eee599f3c6255a9f.zip |
Update vendor yaegashi/msgraph.go to v0.1.2 (2)
Diffstat (limited to 'vendor/github.com/yaegashi/msgraph.go/beta/ModelTerms.go')
-rw-r--r-- | vendor/github.com/yaegashi/msgraph.go/beta/ModelTerms.go | 69 |
1 files changed, 69 insertions, 0 deletions
diff --git a/vendor/github.com/yaegashi/msgraph.go/beta/ModelTerms.go b/vendor/github.com/yaegashi/msgraph.go/beta/ModelTerms.go new file mode 100644 index 00000000..a3f2dc07 --- /dev/null +++ b/vendor/github.com/yaegashi/msgraph.go/beta/ModelTerms.go @@ -0,0 +1,69 @@ +// Code generated by msgraph-generate.go DO NOT EDIT. + +package msgraph + +import "time" + +// TermsAndConditions A termsAndConditions entity represents the metadata and contents of a given Terms and Conditions (T&C) policy. T&C policies’ contents are presented to users upon their first attempt to enroll into Intune and subsequently upon edits where an administrator has required re-acceptance. They enable administrators to communicate the provisions to which a user must agree in order to have devices enrolled into Intune. +type TermsAndConditions struct { + // Entity is the base model of TermsAndConditions + Entity + // CreatedDateTime DateTime the object was created. + CreatedDateTime *time.Time `json:"createdDateTime,omitempty"` + // ModifiedDateTime DateTime the object was last modified. + ModifiedDateTime *time.Time `json:"modifiedDateTime,omitempty"` + // LastModifiedDateTime DateTime the object was last modified. + LastModifiedDateTime *time.Time `json:"lastModifiedDateTime,omitempty"` + // DisplayName Administrator-supplied name for the T&C policy. + DisplayName *string `json:"displayName,omitempty"` + // Description Administrator-supplied description of the T&C policy. + Description *string `json:"description,omitempty"` + // Title Administrator-supplied title of the terms and conditions. This is shown to the user on prompts to accept the T&C policy. + Title *string `json:"title,omitempty"` + // BodyText Administrator-supplied body text of the terms and conditions, typically the terms themselves. This is shown to the user on prompts to accept the T&C policy. + BodyText *string `json:"bodyText,omitempty"` + // AcceptanceStatement Administrator-supplied explanation of the terms and conditions, typically describing what it means to accept the terms and conditions set out in the T&C policy. This is shown to the user on prompts to accept the T&C policy. + AcceptanceStatement *string `json:"acceptanceStatement,omitempty"` + // Version Integer indicating the current version of the terms. Incremented when an administrator makes a change to the terms and wishes to require users to re-accept the modified T&C policy. + Version *int `json:"version,omitempty"` + // RoleScopeTagIDs List of Scope Tags for this Entity instance. + RoleScopeTagIDs []string `json:"roleScopeTagIds,omitempty"` + // GroupAssignments undocumented + GroupAssignments []TermsAndConditionsGroupAssignment `json:"groupAssignments,omitempty"` + // Assignments undocumented + Assignments []TermsAndConditionsAssignment `json:"assignments,omitempty"` + // AcceptanceStatuses undocumented + AcceptanceStatuses []TermsAndConditionsAcceptanceStatus `json:"acceptanceStatuses,omitempty"` +} + +// TermsAndConditionsAcceptanceStatus A termsAndConditionsAcceptanceStatus entity represents the acceptance status of a given Terms and Conditions (T&C) policy by a given user. Users must accept the most up-to-date version of the terms in order to retain access to the Company Portal. +type TermsAndConditionsAcceptanceStatus struct { + // Entity is the base model of TermsAndConditionsAcceptanceStatus + Entity + // UserDisplayName Display name of the user whose acceptance the entity represents. + UserDisplayName *string `json:"userDisplayName,omitempty"` + // AcceptedVersion Most recent version number of the T&C accepted by the user. + AcceptedVersion *int `json:"acceptedVersion,omitempty"` + // AcceptedDateTime DateTime when the terms were last accepted by the user. + AcceptedDateTime *time.Time `json:"acceptedDateTime,omitempty"` + // TermsAndConditions undocumented + TermsAndConditions *TermsAndConditions `json:"termsAndConditions,omitempty"` +} + +// TermsAndConditionsAssignment A termsAndConditionsAssignment entity represents the assignment of a given Terms and Conditions (T&C) policy to a given group. Users in the group will be required to accept the terms in order to have devices enrolled into Intune. +type TermsAndConditionsAssignment struct { + // Entity is the base model of TermsAndConditionsAssignment + Entity + // Target Assignment target that the T&C policy is assigned to. + Target *DeviceAndAppManagementAssignmentTarget `json:"target,omitempty"` +} + +// TermsAndConditionsGroupAssignment A termsAndConditionsGroupAssignment entity represents the assignment of a given Terms and Conditions (T&C) policy to a given group. Users in the group will be required to accept the terms in order to have devices enrolled into Intune. +type TermsAndConditionsGroupAssignment struct { + // Entity is the base model of TermsAndConditionsGroupAssignment + Entity + // TargetGroupID Unique identifier of a group that the T&C policy is assigned to. + TargetGroupID *string `json:"targetGroupId,omitempty"` + // TermsAndConditions undocumented + TermsAndConditions *TermsAndConditions `json:"termsAndConditions,omitempty"` +} |