/
model_policy_set2.go
36 lines (35 loc) · 1.22 KB
/
model_policy_set2.go
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
/*
* Governance Policy Management API
*
* Read and manage OPA Governance policies, policy sets and evaluations
*
* API version: 1.2.0
* Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
*/
package policymgmt
type PolicySet2 struct {
// Harness account ID associated with this policy set
AccountId string `json:"account_id"`
// Action that triggers the policy set
Action string `json:"action"`
// Time the policy set was created
Created int64 `json:"created"`
// Description of the policy set
Description string `json:"description,omitempty"`
// Only enabled policy sets are evaluated when evaluating by type/action
Enabled bool `json:"enabled"`
// Identifier of the policy set
Identifier string `json:"identifier"`
// Name of the policy set
Name string `json:"name"`
// Harness organization ID associated with this policy set
OrgId string `json:"org_id"`
// Policies linked to this policy set
Policies []LinkedPolicy2 `json:"policies,omitempty"`
// Harness project ID associated with this policy set
ProjectId string `json:"project_id"`
// Type of input suitable for the policy set
Type_ string `json:"type"`
// Time the policy set was last updated
Updated int64 `json:"updated"`
}