// 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"` }