mirror of
https://github.com/cwinfo/matterbridge.git
synced 2024-11-10 09:50:27 +00:00
70 lines
4.7 KiB
Go
70 lines
4.7 KiB
Go
// 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"`
|
||
}
|