summaryrefslogtreecommitdiffstats
path: root/vendor/github.com/yaegashi/msgraph.go/beta/ModelPolicy.go
blob: 3461275dc1f5076dbc458d504dcdbf723468ff0f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
// Code generated by msgraph-generate.go DO NOT EDIT.

package msgraph

import "time"

// Policy undocumented
type Policy struct {
	// DirectoryObject is the base model of Policy
	DirectoryObject
	// AlternativeIdentifier undocumented
	AlternativeIdentifier *string `json:"alternativeIdentifier,omitempty"`
	// Definition undocumented
	Definition []string `json:"definition,omitempty"`
	// DisplayName undocumented
	DisplayName *string `json:"displayName,omitempty"`
	// IsOrganizationDefault undocumented
	IsOrganizationDefault *bool `json:"isOrganizationDefault,omitempty"`
	// KeyCredentials undocumented
	KeyCredentials []KeyCredential `json:"keyCredentials,omitempty"`
	// Type undocumented
	Type *string `json:"type,omitempty"`
	// AppliesTo undocumented
	AppliesTo []DirectoryObject `json:"appliesTo,omitempty"`
}

// PolicySet A class containing the properties used for PolicySet.
type PolicySet struct {
	// Entity is the base model of PolicySet
	Entity
	// CreatedDateTime Creation time of the PolicySet.
	CreatedDateTime *time.Time `json:"createdDateTime,omitempty"`
	// LastModifiedDateTime Last modified time of the PolicySet.
	LastModifiedDateTime *time.Time `json:"lastModifiedDateTime,omitempty"`
	// DisplayName DisplayName of the PolicySet.
	DisplayName *string `json:"displayName,omitempty"`
	// Description Description of the PolicySet.
	Description *string `json:"description,omitempty"`
	// Status Validation/assignment status of the PolicySet.
	Status *PolicySetStatus `json:"status,omitempty"`
	// ErrorCode Error code if any occured.
	ErrorCode *ErrorCode `json:"errorCode,omitempty"`
	// GuidedDeploymentTags Tags of the guided deployment
	GuidedDeploymentTags []string `json:"guidedDeploymentTags,omitempty"`
	// RoleScopeTags RoleScopeTags of the PolicySet
	RoleScopeTags []string `json:"roleScopeTags,omitempty"`
	// Assignments undocumented
	Assignments []PolicySetAssignment `json:"assignments,omitempty"`
	// Items undocumented
	Items []PolicySetItem `json:"items,omitempty"`
}

// PolicySetAssignment A class containing the properties used for PolicySet Assignment.
type PolicySetAssignment struct {
	// Entity is the base model of PolicySetAssignment
	Entity
	// LastModifiedDateTime Last modified time of the PolicySetAssignment.
	LastModifiedDateTime *time.Time `json:"lastModifiedDateTime,omitempty"`
	// Target The target group of PolicySetAssignment
	Target *DeviceAndAppManagementAssignmentTarget `json:"target,omitempty"`
}

// PolicySetItem A class containing the properties used for PolicySet Item.
type PolicySetItem struct {
	// Entity is the base model of PolicySetItem
	Entity
	// CreatedDateTime Creation time of the PolicySetItem.
	CreatedDateTime *time.Time `json:"createdDateTime,omitempty"`
	// LastModifiedDateTime Last modified time of the PolicySetItem.
	LastModifiedDateTime *time.Time `json:"lastModifiedDateTime,omitempty"`
	// PayloadID PayloadId of the PolicySetItem.
	PayloadID *string `json:"payloadId,omitempty"`
	// ItemType policySetType of the PolicySetItem.
	ItemType *string `json:"itemType,omitempty"`
	// DisplayName DisplayName of the PolicySetItem.
	DisplayName *string `json:"displayName,omitempty"`
	// Status Status of the PolicySetItem.
	Status *PolicySetStatus `json:"status,omitempty"`
	// ErrorCode Error code if any occured.
	ErrorCode *ErrorCode `json:"errorCode,omitempty"`
	// GuidedDeploymentTags Tags of the guided deployment
	GuidedDeploymentTags []string `json:"guidedDeploymentTags,omitempty"`
}