mirror of
https://github.com/LukeHagar/developer.sailpoint.com.git
synced 2025-12-10 04:19:42 +00:00
Update Go SDK docs: 15933199540
This commit is contained in:
@@ -78,11 +78,11 @@ Other parameters are passed through a pointer to a apiCreateSodPolicyRequest str
|
|||||||
|
|
||||||
Name | Type | Description | Notes
|
Name | Type | Description | Notes
|
||||||
------------- | ------------- | ------------- | -------------
|
------------- | ------------- | ------------- | -------------
|
||||||
**sodPolicy** | [**SodPolicy**](../models/sod-policy) | |
|
**sodPolicyRequest** | [**SodPolicyRequest**](../models/sod-policy-request) | |
|
||||||
|
|
||||||
### Return type
|
### Return type
|
||||||
|
|
||||||
[**SodPolicy**](../models/sod-policy)
|
[**SodPolicyRead**](../models/sod-policy-read)
|
||||||
|
|
||||||
### HTTP request headers
|
### HTTP request headers
|
||||||
|
|
||||||
@@ -104,7 +104,7 @@ import (
|
|||||||
)
|
)
|
||||||
|
|
||||||
func main() {
|
func main() {
|
||||||
sodpolicy := []byte(`{
|
sodpolicyrequest := []byte(`{
|
||||||
"conflictingAccessCriteria" : {
|
"conflictingAccessCriteria" : {
|
||||||
"leftCriteria" : {
|
"leftCriteria" : {
|
||||||
"name" : "money-in",
|
"name" : "money-in",
|
||||||
@@ -159,10 +159,10 @@ func main() {
|
|||||||
"id" : "0f11f2a4-7c94-4bf3-a2bd-742580fe3bde",
|
"id" : "0f11f2a4-7c94-4bf3-a2bd-742580fe3bde",
|
||||||
"state" : "ENFORCED",
|
"state" : "ENFORCED",
|
||||||
"externalPolicyReference" : "XYZ policy"
|
"externalPolicyReference" : "XYZ policy"
|
||||||
}`) // SodPolicy |
|
}`) // SodPolicyRequest |
|
||||||
|
|
||||||
var sodPolicy v3.SodPolicy
|
var sodPolicyRequest v3.SodPolicyRequest
|
||||||
if err := json.Unmarshal(sodpolicy, &sodPolicy); err != nil {
|
if err := json.Unmarshal(sodpolicyrequest, &sodPolicyRequest); err != nil {
|
||||||
fmt.Println("Error:", err)
|
fmt.Println("Error:", err)
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
@@ -170,13 +170,13 @@ func main() {
|
|||||||
|
|
||||||
configuration := sailpoint.NewDefaultConfiguration()
|
configuration := sailpoint.NewDefaultConfiguration()
|
||||||
apiClient := sailpoint.NewAPIClient(configuration)
|
apiClient := sailpoint.NewAPIClient(configuration)
|
||||||
resp, r, err := apiClient.V3.SODPoliciesAPI.CreateSodPolicy(context.Background()).SodPolicy(sodPolicy).Execute()
|
resp, r, err := apiClient.V3.SODPoliciesAPI.CreateSodPolicy(context.Background()).SodPolicyRequest(sodPolicyRequest).Execute()
|
||||||
//resp, r, err := apiClient.V3.SODPoliciesAPI.CreateSodPolicy(context.Background()).SodPolicy(sodPolicy).Execute()
|
//resp, r, err := apiClient.V3.SODPoliciesAPI.CreateSodPolicy(context.Background()).SodPolicyRequest(sodPolicyRequest).Execute()
|
||||||
if err != nil {
|
if err != nil {
|
||||||
fmt.Fprintf(os.Stderr, "Error when calling `SODPoliciesAPI.CreateSodPolicy``: %v\n", err)
|
fmt.Fprintf(os.Stderr, "Error when calling `SODPoliciesAPI.CreateSodPolicy``: %v\n", err)
|
||||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||||
}
|
}
|
||||||
// response from `CreateSodPolicy`: SodPolicy
|
// response from `CreateSodPolicy`: SodPolicyRead
|
||||||
fmt.Fprintf(os.Stdout, "Response from `SODPoliciesAPI.CreateSodPolicy`: %v\n", resp)
|
fmt.Fprintf(os.Stdout, "Response from `SODPoliciesAPI.CreateSodPolicy`: %v\n", resp)
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
@@ -534,7 +534,7 @@ Name | Type | Description | Notes
|
|||||||
|
|
||||||
### Return type
|
### Return type
|
||||||
|
|
||||||
[**SodPolicy**](../models/sod-policy)
|
[**SodPolicyRead**](../models/sod-policy-read)
|
||||||
|
|
||||||
### HTTP request headers
|
### HTTP request headers
|
||||||
|
|
||||||
@@ -568,7 +568,7 @@ func main() {
|
|||||||
fmt.Fprintf(os.Stderr, "Error when calling `SODPoliciesAPI.GetSodPolicy``: %v\n", err)
|
fmt.Fprintf(os.Stderr, "Error when calling `SODPoliciesAPI.GetSodPolicy``: %v\n", err)
|
||||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||||
}
|
}
|
||||||
// response from `GetSodPolicy`: SodPolicy
|
// response from `GetSodPolicy`: SodPolicyRead
|
||||||
fmt.Fprintf(os.Stdout, "Response from `SODPoliciesAPI.GetSodPolicy`: %v\n", resp)
|
fmt.Fprintf(os.Stdout, "Response from `SODPoliciesAPI.GetSodPolicy`: %v\n", resp)
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
@@ -799,7 +799,7 @@ Name | Type | Description | Notes
|
|||||||
|
|
||||||
### Return type
|
### Return type
|
||||||
|
|
||||||
[**[]SodPolicy**](../models/sod-policy)
|
[**[]SodPolicyRead**](../models/sod-policy-read)
|
||||||
|
|
||||||
### HTTP request headers
|
### HTTP request headers
|
||||||
|
|
||||||
@@ -837,7 +837,7 @@ func main() {
|
|||||||
fmt.Fprintf(os.Stderr, "Error when calling `SODPoliciesAPI.ListSodPolicies``: %v\n", err)
|
fmt.Fprintf(os.Stderr, "Error when calling `SODPoliciesAPI.ListSodPolicies``: %v\n", err)
|
||||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||||
}
|
}
|
||||||
// response from `ListSodPolicies`: []SodPolicy
|
// response from `ListSodPolicies`: []SodPolicyRead
|
||||||
fmt.Fprintf(os.Stdout, "Response from `SODPoliciesAPI.ListSodPolicies`: %v\n", resp)
|
fmt.Fprintf(os.Stdout, "Response from `SODPoliciesAPI.ListSodPolicies`: %v\n", resp)
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
@@ -872,7 +872,7 @@ Name | Type | Description | Notes
|
|||||||
|
|
||||||
### Return type
|
### Return type
|
||||||
|
|
||||||
[**SodPolicy**](../models/sod-policy)
|
[**SodPolicyRead**](../models/sod-policy-read)
|
||||||
|
|
||||||
### HTTP request headers
|
### HTTP request headers
|
||||||
|
|
||||||
@@ -912,7 +912,7 @@ func main() {
|
|||||||
fmt.Fprintf(os.Stderr, "Error when calling `SODPoliciesAPI.PatchSodPolicy``: %v\n", err)
|
fmt.Fprintf(os.Stderr, "Error when calling `SODPoliciesAPI.PatchSodPolicy``: %v\n", err)
|
||||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||||
}
|
}
|
||||||
// response from `PatchSodPolicy`: SodPolicy
|
// response from `PatchSodPolicy`: SodPolicyRead
|
||||||
fmt.Fprintf(os.Stdout, "Response from `SODPoliciesAPI.PatchSodPolicy`: %v\n", resp)
|
fmt.Fprintf(os.Stdout, "Response from `SODPoliciesAPI.PatchSodPolicy`: %v\n", resp)
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
@@ -1052,11 +1052,11 @@ Other parameters are passed through a pointer to a apiPutSodPolicyRequest struct
|
|||||||
Name | Type | Description | Notes
|
Name | Type | Description | Notes
|
||||||
------------- | ------------- | ------------- | -------------
|
------------- | ------------- | ------------- | -------------
|
||||||
|
|
||||||
**sodPolicy** | [**SodPolicy**](../models/sod-policy) | |
|
**sodPolicyRead** | [**SodPolicyRead**](../models/sod-policy-read) | |
|
||||||
|
|
||||||
### Return type
|
### Return type
|
||||||
|
|
||||||
[**SodPolicy**](../models/sod-policy)
|
[**SodPolicyRead**](../models/sod-policy-read)
|
||||||
|
|
||||||
### HTTP request headers
|
### HTTP request headers
|
||||||
|
|
||||||
@@ -1079,7 +1079,7 @@ import (
|
|||||||
|
|
||||||
func main() {
|
func main() {
|
||||||
id := `ef38f943-47e9-4562-b5bb-8424a56397d8` // string | The ID of the SOD policy to update. # string | The ID of the SOD policy to update.
|
id := `ef38f943-47e9-4562-b5bb-8424a56397d8` // string | The ID of the SOD policy to update. # string | The ID of the SOD policy to update.
|
||||||
sodpolicy := []byte(`{
|
sodpolicyread := []byte(`{
|
||||||
"conflictingAccessCriteria" : {
|
"conflictingAccessCriteria" : {
|
||||||
"leftCriteria" : {
|
"leftCriteria" : {
|
||||||
"name" : "money-in",
|
"name" : "money-in",
|
||||||
@@ -1134,10 +1134,10 @@ func main() {
|
|||||||
"id" : "0f11f2a4-7c94-4bf3-a2bd-742580fe3bde",
|
"id" : "0f11f2a4-7c94-4bf3-a2bd-742580fe3bde",
|
||||||
"state" : "ENFORCED",
|
"state" : "ENFORCED",
|
||||||
"externalPolicyReference" : "XYZ policy"
|
"externalPolicyReference" : "XYZ policy"
|
||||||
}`) // SodPolicy |
|
}`) // SodPolicyRead |
|
||||||
|
|
||||||
var sodPolicy v3.SodPolicy
|
var sodPolicyRead v3.SodPolicyRead
|
||||||
if err := json.Unmarshal(sodpolicy, &sodPolicy); err != nil {
|
if err := json.Unmarshal(sodpolicyread, &sodPolicyRead); err != nil {
|
||||||
fmt.Println("Error:", err)
|
fmt.Println("Error:", err)
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
@@ -1145,13 +1145,13 @@ func main() {
|
|||||||
|
|
||||||
configuration := sailpoint.NewDefaultConfiguration()
|
configuration := sailpoint.NewDefaultConfiguration()
|
||||||
apiClient := sailpoint.NewAPIClient(configuration)
|
apiClient := sailpoint.NewAPIClient(configuration)
|
||||||
resp, r, err := apiClient.V3.SODPoliciesAPI.PutSodPolicy(context.Background(), id).SodPolicy(sodPolicy).Execute()
|
resp, r, err := apiClient.V3.SODPoliciesAPI.PutSodPolicy(context.Background(), id).SodPolicyRead(sodPolicyRead).Execute()
|
||||||
//resp, r, err := apiClient.V3.SODPoliciesAPI.PutSodPolicy(context.Background(), id).SodPolicy(sodPolicy).Execute()
|
//resp, r, err := apiClient.V3.SODPoliciesAPI.PutSodPolicy(context.Background(), id).SodPolicyRead(sodPolicyRead).Execute()
|
||||||
if err != nil {
|
if err != nil {
|
||||||
fmt.Fprintf(os.Stderr, "Error when calling `SODPoliciesAPI.PutSodPolicy``: %v\n", err)
|
fmt.Fprintf(os.Stderr, "Error when calling `SODPoliciesAPI.PutSodPolicy``: %v\n", err)
|
||||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||||
}
|
}
|
||||||
// response from `PutSodPolicy`: SodPolicy
|
// response from `PutSodPolicy`: SodPolicyRead
|
||||||
fmt.Fprintf(os.Stdout, "Response from `SODPoliciesAPI.PutSodPolicy`: %v\n", resp)
|
fmt.Fprintf(os.Stdout, "Response from `SODPoliciesAPI.PutSodPolicy`: %v\n", resp)
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|||||||
@@ -15,7 +15,7 @@ tags: ['SDK', 'Software Development Kit', 'AccessCriteriaCriteriaListInner', 'Ac
|
|||||||
|
|
||||||
Name | Type | Description | Notes
|
Name | Type | Description | Notes
|
||||||
------------ | ------------- | ------------- | -------------
|
------------ | ------------- | ------------- | -------------
|
||||||
**Type** | Pointer to **string** | Type of the propery to which this reference applies to | [optional]
|
**Type** | Pointer to **string** | Type of the property to which this reference applies to | [optional]
|
||||||
**Id** | Pointer to **string** | ID of the object to which this reference applies to | [optional]
|
**Id** | Pointer to **string** | ID of the object to which this reference applies to | [optional]
|
||||||
**Name** | Pointer to **string** | Human-readable display name of the object to which this reference applies to | [optional]
|
**Name** | Pointer to **string** | Human-readable display name of the object to which this reference applies to | [optional]
|
||||||
|
|
||||||
|
|||||||
@@ -0,0 +1,90 @@
|
|||||||
|
---
|
||||||
|
id: access-criteria-request
|
||||||
|
title: AccessCriteriaRequest
|
||||||
|
pagination_label: AccessCriteriaRequest
|
||||||
|
sidebar_label: AccessCriteriaRequest
|
||||||
|
sidebar_class_name: gosdk
|
||||||
|
keywords: ['go', 'Golang', 'sdk', 'AccessCriteriaRequest', 'AccessCriteriaRequest']
|
||||||
|
slug: /tools/sdk/go/v3/models/access-criteria-request
|
||||||
|
tags: ['SDK', 'Software Development Kit', 'AccessCriteriaRequest', 'AccessCriteriaRequest']
|
||||||
|
---
|
||||||
|
|
||||||
|
# AccessCriteriaRequest
|
||||||
|
|
||||||
|
## Properties
|
||||||
|
|
||||||
|
Name | Type | Description | Notes
|
||||||
|
------------ | ------------- | ------------- | -------------
|
||||||
|
**Name** | Pointer to **string** | Business name for the access construct list | [optional]
|
||||||
|
**CriteriaList** | Pointer to [**[]AccessCriteriaRequestCriteriaListInner**](access-criteria-request-criteria-list-inner) | List of criteria. There is a min of 1 and max of 50 items in the list. | [optional]
|
||||||
|
|
||||||
|
## Methods
|
||||||
|
|
||||||
|
### NewAccessCriteriaRequest
|
||||||
|
|
||||||
|
`func NewAccessCriteriaRequest() *AccessCriteriaRequest`
|
||||||
|
|
||||||
|
NewAccessCriteriaRequest instantiates a new AccessCriteriaRequest object
|
||||||
|
This constructor will assign default values to properties that have it defined,
|
||||||
|
and makes sure properties required by API are set, but the set of arguments
|
||||||
|
will change when the set of required properties is changed
|
||||||
|
|
||||||
|
### NewAccessCriteriaRequestWithDefaults
|
||||||
|
|
||||||
|
`func NewAccessCriteriaRequestWithDefaults() *AccessCriteriaRequest`
|
||||||
|
|
||||||
|
NewAccessCriteriaRequestWithDefaults instantiates a new AccessCriteriaRequest object
|
||||||
|
This constructor will only assign default values to properties that have it defined,
|
||||||
|
but it doesn't guarantee that properties required by API are set
|
||||||
|
|
||||||
|
### GetName
|
||||||
|
|
||||||
|
`func (o *AccessCriteriaRequest) GetName() string`
|
||||||
|
|
||||||
|
GetName returns the Name field if non-nil, zero value otherwise.
|
||||||
|
|
||||||
|
### GetNameOk
|
||||||
|
|
||||||
|
`func (o *AccessCriteriaRequest) GetNameOk() (*string, bool)`
|
||||||
|
|
||||||
|
GetNameOk returns a tuple with the Name field if it's non-nil, zero value otherwise
|
||||||
|
and a boolean to check if the value has been set.
|
||||||
|
|
||||||
|
### SetName
|
||||||
|
|
||||||
|
`func (o *AccessCriteriaRequest) SetName(v string)`
|
||||||
|
|
||||||
|
SetName sets Name field to given value.
|
||||||
|
|
||||||
|
### HasName
|
||||||
|
|
||||||
|
`func (o *AccessCriteriaRequest) HasName() bool`
|
||||||
|
|
||||||
|
HasName returns a boolean if a field has been set.
|
||||||
|
|
||||||
|
### GetCriteriaList
|
||||||
|
|
||||||
|
`func (o *AccessCriteriaRequest) GetCriteriaList() []AccessCriteriaRequestCriteriaListInner`
|
||||||
|
|
||||||
|
GetCriteriaList returns the CriteriaList field if non-nil, zero value otherwise.
|
||||||
|
|
||||||
|
### GetCriteriaListOk
|
||||||
|
|
||||||
|
`func (o *AccessCriteriaRequest) GetCriteriaListOk() (*[]AccessCriteriaRequestCriteriaListInner, bool)`
|
||||||
|
|
||||||
|
GetCriteriaListOk returns a tuple with the CriteriaList field if it's non-nil, zero value otherwise
|
||||||
|
and a boolean to check if the value has been set.
|
||||||
|
|
||||||
|
### SetCriteriaList
|
||||||
|
|
||||||
|
`func (o *AccessCriteriaRequest) SetCriteriaList(v []AccessCriteriaRequestCriteriaListInner)`
|
||||||
|
|
||||||
|
SetCriteriaList sets CriteriaList field to given value.
|
||||||
|
|
||||||
|
### HasCriteriaList
|
||||||
|
|
||||||
|
`func (o *AccessCriteriaRequest) HasCriteriaList() bool`
|
||||||
|
|
||||||
|
HasCriteriaList returns a boolean if a field has been set.
|
||||||
|
|
||||||
|
|
||||||
@@ -0,0 +1,90 @@
|
|||||||
|
---
|
||||||
|
id: access-criteria-request-criteria-list-inner
|
||||||
|
title: AccessCriteriaRequestCriteriaListInner
|
||||||
|
pagination_label: AccessCriteriaRequestCriteriaListInner
|
||||||
|
sidebar_label: AccessCriteriaRequestCriteriaListInner
|
||||||
|
sidebar_class_name: gosdk
|
||||||
|
keywords: ['go', 'Golang', 'sdk', 'AccessCriteriaRequestCriteriaListInner', 'AccessCriteriaRequestCriteriaListInner']
|
||||||
|
slug: /tools/sdk/go/v3/models/access-criteria-request-criteria-list-inner
|
||||||
|
tags: ['SDK', 'Software Development Kit', 'AccessCriteriaRequestCriteriaListInner', 'AccessCriteriaRequestCriteriaListInner']
|
||||||
|
---
|
||||||
|
|
||||||
|
# AccessCriteriaRequestCriteriaListInner
|
||||||
|
|
||||||
|
## Properties
|
||||||
|
|
||||||
|
Name | Type | Description | Notes
|
||||||
|
------------ | ------------- | ------------- | -------------
|
||||||
|
**Type** | Pointer to **string** | Type of the property to which this reference applies to | [optional]
|
||||||
|
**Id** | Pointer to **string** | ID of the object to which this reference applies to | [optional]
|
||||||
|
|
||||||
|
## Methods
|
||||||
|
|
||||||
|
### NewAccessCriteriaRequestCriteriaListInner
|
||||||
|
|
||||||
|
`func NewAccessCriteriaRequestCriteriaListInner() *AccessCriteriaRequestCriteriaListInner`
|
||||||
|
|
||||||
|
NewAccessCriteriaRequestCriteriaListInner instantiates a new AccessCriteriaRequestCriteriaListInner object
|
||||||
|
This constructor will assign default values to properties that have it defined,
|
||||||
|
and makes sure properties required by API are set, but the set of arguments
|
||||||
|
will change when the set of required properties is changed
|
||||||
|
|
||||||
|
### NewAccessCriteriaRequestCriteriaListInnerWithDefaults
|
||||||
|
|
||||||
|
`func NewAccessCriteriaRequestCriteriaListInnerWithDefaults() *AccessCriteriaRequestCriteriaListInner`
|
||||||
|
|
||||||
|
NewAccessCriteriaRequestCriteriaListInnerWithDefaults instantiates a new AccessCriteriaRequestCriteriaListInner object
|
||||||
|
This constructor will only assign default values to properties that have it defined,
|
||||||
|
but it doesn't guarantee that properties required by API are set
|
||||||
|
|
||||||
|
### GetType
|
||||||
|
|
||||||
|
`func (o *AccessCriteriaRequestCriteriaListInner) GetType() string`
|
||||||
|
|
||||||
|
GetType returns the Type field if non-nil, zero value otherwise.
|
||||||
|
|
||||||
|
### GetTypeOk
|
||||||
|
|
||||||
|
`func (o *AccessCriteriaRequestCriteriaListInner) GetTypeOk() (*string, bool)`
|
||||||
|
|
||||||
|
GetTypeOk returns a tuple with the Type field if it's non-nil, zero value otherwise
|
||||||
|
and a boolean to check if the value has been set.
|
||||||
|
|
||||||
|
### SetType
|
||||||
|
|
||||||
|
`func (o *AccessCriteriaRequestCriteriaListInner) SetType(v string)`
|
||||||
|
|
||||||
|
SetType sets Type field to given value.
|
||||||
|
|
||||||
|
### HasType
|
||||||
|
|
||||||
|
`func (o *AccessCriteriaRequestCriteriaListInner) HasType() bool`
|
||||||
|
|
||||||
|
HasType returns a boolean if a field has been set.
|
||||||
|
|
||||||
|
### GetId
|
||||||
|
|
||||||
|
`func (o *AccessCriteriaRequestCriteriaListInner) GetId() string`
|
||||||
|
|
||||||
|
GetId returns the Id field if non-nil, zero value otherwise.
|
||||||
|
|
||||||
|
### GetIdOk
|
||||||
|
|
||||||
|
`func (o *AccessCriteriaRequestCriteriaListInner) GetIdOk() (*string, bool)`
|
||||||
|
|
||||||
|
GetIdOk returns a tuple with the Id field if it's non-nil, zero value otherwise
|
||||||
|
and a boolean to check if the value has been set.
|
||||||
|
|
||||||
|
### SetId
|
||||||
|
|
||||||
|
`func (o *AccessCriteriaRequestCriteriaListInner) SetId(v string)`
|
||||||
|
|
||||||
|
SetId sets Id field to given value.
|
||||||
|
|
||||||
|
### HasId
|
||||||
|
|
||||||
|
`func (o *AccessCriteriaRequestCriteriaListInner) HasId() bool`
|
||||||
|
|
||||||
|
HasId returns a boolean if a field has been set.
|
||||||
|
|
||||||
|
|
||||||
@@ -0,0 +1,90 @@
|
|||||||
|
---
|
||||||
|
id: conflicting-access-criteria-request
|
||||||
|
title: ConflictingAccessCriteriaRequest
|
||||||
|
pagination_label: ConflictingAccessCriteriaRequest
|
||||||
|
sidebar_label: ConflictingAccessCriteriaRequest
|
||||||
|
sidebar_class_name: gosdk
|
||||||
|
keywords: ['go', 'Golang', 'sdk', 'ConflictingAccessCriteriaRequest', 'ConflictingAccessCriteriaRequest']
|
||||||
|
slug: /tools/sdk/go/v3/models/conflicting-access-criteria-request
|
||||||
|
tags: ['SDK', 'Software Development Kit', 'ConflictingAccessCriteriaRequest', 'ConflictingAccessCriteriaRequest']
|
||||||
|
---
|
||||||
|
|
||||||
|
# ConflictingAccessCriteriaRequest
|
||||||
|
|
||||||
|
## Properties
|
||||||
|
|
||||||
|
Name | Type | Description | Notes
|
||||||
|
------------ | ------------- | ------------- | -------------
|
||||||
|
**LeftCriteria** | Pointer to [**AccessCriteriaRequest**](access-criteria-request) | | [optional]
|
||||||
|
**RightCriteria** | Pointer to [**AccessCriteriaRequest**](access-criteria-request) | | [optional]
|
||||||
|
|
||||||
|
## Methods
|
||||||
|
|
||||||
|
### NewConflictingAccessCriteriaRequest
|
||||||
|
|
||||||
|
`func NewConflictingAccessCriteriaRequest() *ConflictingAccessCriteriaRequest`
|
||||||
|
|
||||||
|
NewConflictingAccessCriteriaRequest instantiates a new ConflictingAccessCriteriaRequest object
|
||||||
|
This constructor will assign default values to properties that have it defined,
|
||||||
|
and makes sure properties required by API are set, but the set of arguments
|
||||||
|
will change when the set of required properties is changed
|
||||||
|
|
||||||
|
### NewConflictingAccessCriteriaRequestWithDefaults
|
||||||
|
|
||||||
|
`func NewConflictingAccessCriteriaRequestWithDefaults() *ConflictingAccessCriteriaRequest`
|
||||||
|
|
||||||
|
NewConflictingAccessCriteriaRequestWithDefaults instantiates a new ConflictingAccessCriteriaRequest object
|
||||||
|
This constructor will only assign default values to properties that have it defined,
|
||||||
|
but it doesn't guarantee that properties required by API are set
|
||||||
|
|
||||||
|
### GetLeftCriteria
|
||||||
|
|
||||||
|
`func (o *ConflictingAccessCriteriaRequest) GetLeftCriteria() AccessCriteriaRequest`
|
||||||
|
|
||||||
|
GetLeftCriteria returns the LeftCriteria field if non-nil, zero value otherwise.
|
||||||
|
|
||||||
|
### GetLeftCriteriaOk
|
||||||
|
|
||||||
|
`func (o *ConflictingAccessCriteriaRequest) GetLeftCriteriaOk() (*AccessCriteriaRequest, bool)`
|
||||||
|
|
||||||
|
GetLeftCriteriaOk returns a tuple with the LeftCriteria field if it's non-nil, zero value otherwise
|
||||||
|
and a boolean to check if the value has been set.
|
||||||
|
|
||||||
|
### SetLeftCriteria
|
||||||
|
|
||||||
|
`func (o *ConflictingAccessCriteriaRequest) SetLeftCriteria(v AccessCriteriaRequest)`
|
||||||
|
|
||||||
|
SetLeftCriteria sets LeftCriteria field to given value.
|
||||||
|
|
||||||
|
### HasLeftCriteria
|
||||||
|
|
||||||
|
`func (o *ConflictingAccessCriteriaRequest) HasLeftCriteria() bool`
|
||||||
|
|
||||||
|
HasLeftCriteria returns a boolean if a field has been set.
|
||||||
|
|
||||||
|
### GetRightCriteria
|
||||||
|
|
||||||
|
`func (o *ConflictingAccessCriteriaRequest) GetRightCriteria() AccessCriteriaRequest`
|
||||||
|
|
||||||
|
GetRightCriteria returns the RightCriteria field if non-nil, zero value otherwise.
|
||||||
|
|
||||||
|
### GetRightCriteriaOk
|
||||||
|
|
||||||
|
`func (o *ConflictingAccessCriteriaRequest) GetRightCriteriaOk() (*AccessCriteriaRequest, bool)`
|
||||||
|
|
||||||
|
GetRightCriteriaOk returns a tuple with the RightCriteria field if it's non-nil, zero value otherwise
|
||||||
|
and a boolean to check if the value has been set.
|
||||||
|
|
||||||
|
### SetRightCriteria
|
||||||
|
|
||||||
|
`func (o *ConflictingAccessCriteriaRequest) SetRightCriteria(v AccessCriteriaRequest)`
|
||||||
|
|
||||||
|
SetRightCriteria sets RightCriteria field to given value.
|
||||||
|
|
||||||
|
### HasRightCriteria
|
||||||
|
|
||||||
|
`func (o *ConflictingAccessCriteriaRequest) HasRightCriteria() bool`
|
||||||
|
|
||||||
|
HasRightCriteria returns a boolean if a field has been set.
|
||||||
|
|
||||||
|
|
||||||
@@ -32,7 +32,6 @@ Name | Type | Description | Notes
|
|||||||
**ViolationOwnerAssignmentConfig** | Pointer to [**ViolationOwnerAssignmentConfig**](violation-owner-assignment-config) | | [optional]
|
**ViolationOwnerAssignmentConfig** | Pointer to [**ViolationOwnerAssignmentConfig**](violation-owner-assignment-config) | | [optional]
|
||||||
**Scheduled** | Pointer to **bool** | defines whether a policy has been scheduled or not | [optional] [default to false]
|
**Scheduled** | Pointer to **bool** | defines whether a policy has been scheduled or not | [optional] [default to false]
|
||||||
**Type** | Pointer to **string** | whether a policy is query based or conflicting access based | [optional] [default to "GENERAL"]
|
**Type** | Pointer to **string** | whether a policy is query based or conflicting access based | [optional] [default to "GENERAL"]
|
||||||
**ConflictingAccessCriteria** | Pointer to [**SodPolicyConflictingAccessCriteria**](sod-policy-conflicting-access-criteria) | | [optional]
|
|
||||||
|
|
||||||
## Methods
|
## Methods
|
||||||
|
|
||||||
@@ -528,29 +527,4 @@ SetType sets Type field to given value.
|
|||||||
|
|
||||||
HasType returns a boolean if a field has been set.
|
HasType returns a boolean if a field has been set.
|
||||||
|
|
||||||
### GetConflictingAccessCriteria
|
|
||||||
|
|
||||||
`func (o *SodPolicy) GetConflictingAccessCriteria() SodPolicyConflictingAccessCriteria`
|
|
||||||
|
|
||||||
GetConflictingAccessCriteria returns the ConflictingAccessCriteria field if non-nil, zero value otherwise.
|
|
||||||
|
|
||||||
### GetConflictingAccessCriteriaOk
|
|
||||||
|
|
||||||
`func (o *SodPolicy) GetConflictingAccessCriteriaOk() (*SodPolicyConflictingAccessCriteria, bool)`
|
|
||||||
|
|
||||||
GetConflictingAccessCriteriaOk returns a tuple with the ConflictingAccessCriteria field if it's non-nil, zero value otherwise
|
|
||||||
and a boolean to check if the value has been set.
|
|
||||||
|
|
||||||
### SetConflictingAccessCriteria
|
|
||||||
|
|
||||||
`func (o *SodPolicy) SetConflictingAccessCriteria(v SodPolicyConflictingAccessCriteria)`
|
|
||||||
|
|
||||||
SetConflictingAccessCriteria sets ConflictingAccessCriteria field to given value.
|
|
||||||
|
|
||||||
### HasConflictingAccessCriteria
|
|
||||||
|
|
||||||
`func (o *SodPolicy) HasConflictingAccessCriteria() bool`
|
|
||||||
|
|
||||||
HasConflictingAccessCriteria returns a boolean if a field has been set.
|
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -1,90 +0,0 @@
|
|||||||
---
|
|
||||||
id: sod-policy-conflicting-access-criteria
|
|
||||||
title: SodPolicyConflictingAccessCriteria
|
|
||||||
pagination_label: SodPolicyConflictingAccessCriteria
|
|
||||||
sidebar_label: SodPolicyConflictingAccessCriteria
|
|
||||||
sidebar_class_name: gosdk
|
|
||||||
keywords: ['go', 'Golang', 'sdk', 'SodPolicyConflictingAccessCriteria', 'SodPolicyConflictingAccessCriteria']
|
|
||||||
slug: /tools/sdk/go/v3/models/sod-policy-conflicting-access-criteria
|
|
||||||
tags: ['SDK', 'Software Development Kit', 'SodPolicyConflictingAccessCriteria', 'SodPolicyConflictingAccessCriteria']
|
|
||||||
---
|
|
||||||
|
|
||||||
# SodPolicyConflictingAccessCriteria
|
|
||||||
|
|
||||||
## Properties
|
|
||||||
|
|
||||||
Name | Type | Description | Notes
|
|
||||||
------------ | ------------- | ------------- | -------------
|
|
||||||
**LeftCriteria** | Pointer to [**AccessCriteria**](access-criteria) | | [optional]
|
|
||||||
**RightCriteria** | Pointer to [**AccessCriteria**](access-criteria) | | [optional]
|
|
||||||
|
|
||||||
## Methods
|
|
||||||
|
|
||||||
### NewSodPolicyConflictingAccessCriteria
|
|
||||||
|
|
||||||
`func NewSodPolicyConflictingAccessCriteria() *SodPolicyConflictingAccessCriteria`
|
|
||||||
|
|
||||||
NewSodPolicyConflictingAccessCriteria instantiates a new SodPolicyConflictingAccessCriteria object
|
|
||||||
This constructor will assign default values to properties that have it defined,
|
|
||||||
and makes sure properties required by API are set, but the set of arguments
|
|
||||||
will change when the set of required properties is changed
|
|
||||||
|
|
||||||
### NewSodPolicyConflictingAccessCriteriaWithDefaults
|
|
||||||
|
|
||||||
`func NewSodPolicyConflictingAccessCriteriaWithDefaults() *SodPolicyConflictingAccessCriteria`
|
|
||||||
|
|
||||||
NewSodPolicyConflictingAccessCriteriaWithDefaults instantiates a new SodPolicyConflictingAccessCriteria object
|
|
||||||
This constructor will only assign default values to properties that have it defined,
|
|
||||||
but it doesn't guarantee that properties required by API are set
|
|
||||||
|
|
||||||
### GetLeftCriteria
|
|
||||||
|
|
||||||
`func (o *SodPolicyConflictingAccessCriteria) GetLeftCriteria() AccessCriteria`
|
|
||||||
|
|
||||||
GetLeftCriteria returns the LeftCriteria field if non-nil, zero value otherwise.
|
|
||||||
|
|
||||||
### GetLeftCriteriaOk
|
|
||||||
|
|
||||||
`func (o *SodPolicyConflictingAccessCriteria) GetLeftCriteriaOk() (*AccessCriteria, bool)`
|
|
||||||
|
|
||||||
GetLeftCriteriaOk returns a tuple with the LeftCriteria field if it's non-nil, zero value otherwise
|
|
||||||
and a boolean to check if the value has been set.
|
|
||||||
|
|
||||||
### SetLeftCriteria
|
|
||||||
|
|
||||||
`func (o *SodPolicyConflictingAccessCriteria) SetLeftCriteria(v AccessCriteria)`
|
|
||||||
|
|
||||||
SetLeftCriteria sets LeftCriteria field to given value.
|
|
||||||
|
|
||||||
### HasLeftCriteria
|
|
||||||
|
|
||||||
`func (o *SodPolicyConflictingAccessCriteria) HasLeftCriteria() bool`
|
|
||||||
|
|
||||||
HasLeftCriteria returns a boolean if a field has been set.
|
|
||||||
|
|
||||||
### GetRightCriteria
|
|
||||||
|
|
||||||
`func (o *SodPolicyConflictingAccessCriteria) GetRightCriteria() AccessCriteria`
|
|
||||||
|
|
||||||
GetRightCriteria returns the RightCriteria field if non-nil, zero value otherwise.
|
|
||||||
|
|
||||||
### GetRightCriteriaOk
|
|
||||||
|
|
||||||
`func (o *SodPolicyConflictingAccessCriteria) GetRightCriteriaOk() (*AccessCriteria, bool)`
|
|
||||||
|
|
||||||
GetRightCriteriaOk returns a tuple with the RightCriteria field if it's non-nil, zero value otherwise
|
|
||||||
and a boolean to check if the value has been set.
|
|
||||||
|
|
||||||
### SetRightCriteria
|
|
||||||
|
|
||||||
`func (o *SodPolicyConflictingAccessCriteria) SetRightCriteria(v AccessCriteria)`
|
|
||||||
|
|
||||||
SetRightCriteria sets RightCriteria field to given value.
|
|
||||||
|
|
||||||
### HasRightCriteria
|
|
||||||
|
|
||||||
`func (o *SodPolicyConflictingAccessCriteria) HasRightCriteria() bool`
|
|
||||||
|
|
||||||
HasRightCriteria returns a boolean if a field has been set.
|
|
||||||
|
|
||||||
|
|
||||||
556
docs/tools/sdk/go/Reference/V3/Models/SodPolicyRead.md
Normal file
556
docs/tools/sdk/go/Reference/V3/Models/SodPolicyRead.md
Normal file
@@ -0,0 +1,556 @@
|
|||||||
|
---
|
||||||
|
id: sod-policy-read
|
||||||
|
title: SodPolicyRead
|
||||||
|
pagination_label: SodPolicyRead
|
||||||
|
sidebar_label: SodPolicyRead
|
||||||
|
sidebar_class_name: gosdk
|
||||||
|
keywords: ['go', 'Golang', 'sdk', 'SodPolicyRead', 'SodPolicyRead']
|
||||||
|
slug: /tools/sdk/go/v3/models/sod-policy-read
|
||||||
|
tags: ['SDK', 'Software Development Kit', 'SodPolicyRead', 'SodPolicyRead']
|
||||||
|
---
|
||||||
|
|
||||||
|
# SodPolicyRead
|
||||||
|
|
||||||
|
## Properties
|
||||||
|
|
||||||
|
Name | Type | Description | Notes
|
||||||
|
------------ | ------------- | ------------- | -------------
|
||||||
|
**Id** | Pointer to **string** | Policy id | [optional] [readonly]
|
||||||
|
**Name** | Pointer to **string** | Policy Business Name | [optional]
|
||||||
|
**Created** | Pointer to **SailPointTime** | The time when this SOD policy is created. | [optional] [readonly]
|
||||||
|
**Modified** | Pointer to **SailPointTime** | The time when this SOD policy is modified. | [optional] [readonly]
|
||||||
|
**Description** | Pointer to **NullableString** | Optional description of the SOD policy | [optional]
|
||||||
|
**OwnerRef** | Pointer to [**SodPolicyOwnerRef**](sod-policy-owner-ref) | | [optional]
|
||||||
|
**ExternalPolicyReference** | Pointer to **NullableString** | Optional External Policy Reference | [optional]
|
||||||
|
**PolicyQuery** | Pointer to **string** | Search query of the SOD policy | [optional]
|
||||||
|
**CompensatingControls** | Pointer to **NullableString** | Optional compensating controls(Mitigating Controls) | [optional]
|
||||||
|
**CorrectionAdvice** | Pointer to **NullableString** | Optional correction advice | [optional]
|
||||||
|
**State** | Pointer to **string** | whether the policy is enforced or not | [optional]
|
||||||
|
**Tags** | Pointer to **[]string** | tags for this policy object | [optional]
|
||||||
|
**CreatorId** | Pointer to **string** | Policy's creator ID | [optional] [readonly]
|
||||||
|
**ModifierId** | Pointer to **NullableString** | Policy's modifier ID | [optional] [readonly]
|
||||||
|
**ViolationOwnerAssignmentConfig** | Pointer to [**ViolationOwnerAssignmentConfig**](violation-owner-assignment-config) | | [optional]
|
||||||
|
**Scheduled** | Pointer to **bool** | defines whether a policy has been scheduled or not | [optional] [default to false]
|
||||||
|
**Type** | Pointer to **string** | whether a policy is query based or conflicting access based | [optional] [default to "GENERAL"]
|
||||||
|
**ConflictingAccessCriteria** | Pointer to [**SodPolicyReadAllOfConflictingAccessCriteria**](sod-policy-read-all-of-conflicting-access-criteria) | | [optional]
|
||||||
|
|
||||||
|
## Methods
|
||||||
|
|
||||||
|
### NewSodPolicyRead
|
||||||
|
|
||||||
|
`func NewSodPolicyRead() *SodPolicyRead`
|
||||||
|
|
||||||
|
NewSodPolicyRead instantiates a new SodPolicyRead object
|
||||||
|
This constructor will assign default values to properties that have it defined,
|
||||||
|
and makes sure properties required by API are set, but the set of arguments
|
||||||
|
will change when the set of required properties is changed
|
||||||
|
|
||||||
|
### NewSodPolicyReadWithDefaults
|
||||||
|
|
||||||
|
`func NewSodPolicyReadWithDefaults() *SodPolicyRead`
|
||||||
|
|
||||||
|
NewSodPolicyReadWithDefaults instantiates a new SodPolicyRead object
|
||||||
|
This constructor will only assign default values to properties that have it defined,
|
||||||
|
but it doesn't guarantee that properties required by API are set
|
||||||
|
|
||||||
|
### GetId
|
||||||
|
|
||||||
|
`func (o *SodPolicyRead) GetId() string`
|
||||||
|
|
||||||
|
GetId returns the Id field if non-nil, zero value otherwise.
|
||||||
|
|
||||||
|
### GetIdOk
|
||||||
|
|
||||||
|
`func (o *SodPolicyRead) GetIdOk() (*string, bool)`
|
||||||
|
|
||||||
|
GetIdOk returns a tuple with the Id field if it's non-nil, zero value otherwise
|
||||||
|
and a boolean to check if the value has been set.
|
||||||
|
|
||||||
|
### SetId
|
||||||
|
|
||||||
|
`func (o *SodPolicyRead) SetId(v string)`
|
||||||
|
|
||||||
|
SetId sets Id field to given value.
|
||||||
|
|
||||||
|
### HasId
|
||||||
|
|
||||||
|
`func (o *SodPolicyRead) HasId() bool`
|
||||||
|
|
||||||
|
HasId returns a boolean if a field has been set.
|
||||||
|
|
||||||
|
### GetName
|
||||||
|
|
||||||
|
`func (o *SodPolicyRead) GetName() string`
|
||||||
|
|
||||||
|
GetName returns the Name field if non-nil, zero value otherwise.
|
||||||
|
|
||||||
|
### GetNameOk
|
||||||
|
|
||||||
|
`func (o *SodPolicyRead) GetNameOk() (*string, bool)`
|
||||||
|
|
||||||
|
GetNameOk returns a tuple with the Name field if it's non-nil, zero value otherwise
|
||||||
|
and a boolean to check if the value has been set.
|
||||||
|
|
||||||
|
### SetName
|
||||||
|
|
||||||
|
`func (o *SodPolicyRead) SetName(v string)`
|
||||||
|
|
||||||
|
SetName sets Name field to given value.
|
||||||
|
|
||||||
|
### HasName
|
||||||
|
|
||||||
|
`func (o *SodPolicyRead) HasName() bool`
|
||||||
|
|
||||||
|
HasName returns a boolean if a field has been set.
|
||||||
|
|
||||||
|
### GetCreated
|
||||||
|
|
||||||
|
`func (o *SodPolicyRead) GetCreated() SailPointTime`
|
||||||
|
|
||||||
|
GetCreated returns the Created field if non-nil, zero value otherwise.
|
||||||
|
|
||||||
|
### GetCreatedOk
|
||||||
|
|
||||||
|
`func (o *SodPolicyRead) GetCreatedOk() (*SailPointTime, bool)`
|
||||||
|
|
||||||
|
GetCreatedOk returns a tuple with the Created field if it's non-nil, zero value otherwise
|
||||||
|
and a boolean to check if the value has been set.
|
||||||
|
|
||||||
|
### SetCreated
|
||||||
|
|
||||||
|
`func (o *SodPolicyRead) SetCreated(v SailPointTime)`
|
||||||
|
|
||||||
|
SetCreated sets Created field to given value.
|
||||||
|
|
||||||
|
### HasCreated
|
||||||
|
|
||||||
|
`func (o *SodPolicyRead) HasCreated() bool`
|
||||||
|
|
||||||
|
HasCreated returns a boolean if a field has been set.
|
||||||
|
|
||||||
|
### GetModified
|
||||||
|
|
||||||
|
`func (o *SodPolicyRead) GetModified() SailPointTime`
|
||||||
|
|
||||||
|
GetModified returns the Modified field if non-nil, zero value otherwise.
|
||||||
|
|
||||||
|
### GetModifiedOk
|
||||||
|
|
||||||
|
`func (o *SodPolicyRead) GetModifiedOk() (*SailPointTime, bool)`
|
||||||
|
|
||||||
|
GetModifiedOk returns a tuple with the Modified field if it's non-nil, zero value otherwise
|
||||||
|
and a boolean to check if the value has been set.
|
||||||
|
|
||||||
|
### SetModified
|
||||||
|
|
||||||
|
`func (o *SodPolicyRead) SetModified(v SailPointTime)`
|
||||||
|
|
||||||
|
SetModified sets Modified field to given value.
|
||||||
|
|
||||||
|
### HasModified
|
||||||
|
|
||||||
|
`func (o *SodPolicyRead) HasModified() bool`
|
||||||
|
|
||||||
|
HasModified returns a boolean if a field has been set.
|
||||||
|
|
||||||
|
### GetDescription
|
||||||
|
|
||||||
|
`func (o *SodPolicyRead) GetDescription() string`
|
||||||
|
|
||||||
|
GetDescription returns the Description field if non-nil, zero value otherwise.
|
||||||
|
|
||||||
|
### GetDescriptionOk
|
||||||
|
|
||||||
|
`func (o *SodPolicyRead) GetDescriptionOk() (*string, bool)`
|
||||||
|
|
||||||
|
GetDescriptionOk returns a tuple with the Description field if it's non-nil, zero value otherwise
|
||||||
|
and a boolean to check if the value has been set.
|
||||||
|
|
||||||
|
### SetDescription
|
||||||
|
|
||||||
|
`func (o *SodPolicyRead) SetDescription(v string)`
|
||||||
|
|
||||||
|
SetDescription sets Description field to given value.
|
||||||
|
|
||||||
|
### HasDescription
|
||||||
|
|
||||||
|
`func (o *SodPolicyRead) HasDescription() bool`
|
||||||
|
|
||||||
|
HasDescription returns a boolean if a field has been set.
|
||||||
|
|
||||||
|
### SetDescriptionNil
|
||||||
|
|
||||||
|
`func (o *SodPolicyRead) SetDescriptionNil(b bool)`
|
||||||
|
|
||||||
|
SetDescriptionNil sets the value for Description to be an explicit nil
|
||||||
|
|
||||||
|
### UnsetDescription
|
||||||
|
`func (o *SodPolicyRead) UnsetDescription()`
|
||||||
|
|
||||||
|
UnsetDescription ensures that no value is present for Description, not even an explicit nil
|
||||||
|
### GetOwnerRef
|
||||||
|
|
||||||
|
`func (o *SodPolicyRead) GetOwnerRef() SodPolicyOwnerRef`
|
||||||
|
|
||||||
|
GetOwnerRef returns the OwnerRef field if non-nil, zero value otherwise.
|
||||||
|
|
||||||
|
### GetOwnerRefOk
|
||||||
|
|
||||||
|
`func (o *SodPolicyRead) GetOwnerRefOk() (*SodPolicyOwnerRef, bool)`
|
||||||
|
|
||||||
|
GetOwnerRefOk returns a tuple with the OwnerRef field if it's non-nil, zero value otherwise
|
||||||
|
and a boolean to check if the value has been set.
|
||||||
|
|
||||||
|
### SetOwnerRef
|
||||||
|
|
||||||
|
`func (o *SodPolicyRead) SetOwnerRef(v SodPolicyOwnerRef)`
|
||||||
|
|
||||||
|
SetOwnerRef sets OwnerRef field to given value.
|
||||||
|
|
||||||
|
### HasOwnerRef
|
||||||
|
|
||||||
|
`func (o *SodPolicyRead) HasOwnerRef() bool`
|
||||||
|
|
||||||
|
HasOwnerRef returns a boolean if a field has been set.
|
||||||
|
|
||||||
|
### GetExternalPolicyReference
|
||||||
|
|
||||||
|
`func (o *SodPolicyRead) GetExternalPolicyReference() string`
|
||||||
|
|
||||||
|
GetExternalPolicyReference returns the ExternalPolicyReference field if non-nil, zero value otherwise.
|
||||||
|
|
||||||
|
### GetExternalPolicyReferenceOk
|
||||||
|
|
||||||
|
`func (o *SodPolicyRead) GetExternalPolicyReferenceOk() (*string, bool)`
|
||||||
|
|
||||||
|
GetExternalPolicyReferenceOk returns a tuple with the ExternalPolicyReference field if it's non-nil, zero value otherwise
|
||||||
|
and a boolean to check if the value has been set.
|
||||||
|
|
||||||
|
### SetExternalPolicyReference
|
||||||
|
|
||||||
|
`func (o *SodPolicyRead) SetExternalPolicyReference(v string)`
|
||||||
|
|
||||||
|
SetExternalPolicyReference sets ExternalPolicyReference field to given value.
|
||||||
|
|
||||||
|
### HasExternalPolicyReference
|
||||||
|
|
||||||
|
`func (o *SodPolicyRead) HasExternalPolicyReference() bool`
|
||||||
|
|
||||||
|
HasExternalPolicyReference returns a boolean if a field has been set.
|
||||||
|
|
||||||
|
### SetExternalPolicyReferenceNil
|
||||||
|
|
||||||
|
`func (o *SodPolicyRead) SetExternalPolicyReferenceNil(b bool)`
|
||||||
|
|
||||||
|
SetExternalPolicyReferenceNil sets the value for ExternalPolicyReference to be an explicit nil
|
||||||
|
|
||||||
|
### UnsetExternalPolicyReference
|
||||||
|
`func (o *SodPolicyRead) UnsetExternalPolicyReference()`
|
||||||
|
|
||||||
|
UnsetExternalPolicyReference ensures that no value is present for ExternalPolicyReference, not even an explicit nil
|
||||||
|
### GetPolicyQuery
|
||||||
|
|
||||||
|
`func (o *SodPolicyRead) GetPolicyQuery() string`
|
||||||
|
|
||||||
|
GetPolicyQuery returns the PolicyQuery field if non-nil, zero value otherwise.
|
||||||
|
|
||||||
|
### GetPolicyQueryOk
|
||||||
|
|
||||||
|
`func (o *SodPolicyRead) GetPolicyQueryOk() (*string, bool)`
|
||||||
|
|
||||||
|
GetPolicyQueryOk returns a tuple with the PolicyQuery field if it's non-nil, zero value otherwise
|
||||||
|
and a boolean to check if the value has been set.
|
||||||
|
|
||||||
|
### SetPolicyQuery
|
||||||
|
|
||||||
|
`func (o *SodPolicyRead) SetPolicyQuery(v string)`
|
||||||
|
|
||||||
|
SetPolicyQuery sets PolicyQuery field to given value.
|
||||||
|
|
||||||
|
### HasPolicyQuery
|
||||||
|
|
||||||
|
`func (o *SodPolicyRead) HasPolicyQuery() bool`
|
||||||
|
|
||||||
|
HasPolicyQuery returns a boolean if a field has been set.
|
||||||
|
|
||||||
|
### GetCompensatingControls
|
||||||
|
|
||||||
|
`func (o *SodPolicyRead) GetCompensatingControls() string`
|
||||||
|
|
||||||
|
GetCompensatingControls returns the CompensatingControls field if non-nil, zero value otherwise.
|
||||||
|
|
||||||
|
### GetCompensatingControlsOk
|
||||||
|
|
||||||
|
`func (o *SodPolicyRead) GetCompensatingControlsOk() (*string, bool)`
|
||||||
|
|
||||||
|
GetCompensatingControlsOk returns a tuple with the CompensatingControls field if it's non-nil, zero value otherwise
|
||||||
|
and a boolean to check if the value has been set.
|
||||||
|
|
||||||
|
### SetCompensatingControls
|
||||||
|
|
||||||
|
`func (o *SodPolicyRead) SetCompensatingControls(v string)`
|
||||||
|
|
||||||
|
SetCompensatingControls sets CompensatingControls field to given value.
|
||||||
|
|
||||||
|
### HasCompensatingControls
|
||||||
|
|
||||||
|
`func (o *SodPolicyRead) HasCompensatingControls() bool`
|
||||||
|
|
||||||
|
HasCompensatingControls returns a boolean if a field has been set.
|
||||||
|
|
||||||
|
### SetCompensatingControlsNil
|
||||||
|
|
||||||
|
`func (o *SodPolicyRead) SetCompensatingControlsNil(b bool)`
|
||||||
|
|
||||||
|
SetCompensatingControlsNil sets the value for CompensatingControls to be an explicit nil
|
||||||
|
|
||||||
|
### UnsetCompensatingControls
|
||||||
|
`func (o *SodPolicyRead) UnsetCompensatingControls()`
|
||||||
|
|
||||||
|
UnsetCompensatingControls ensures that no value is present for CompensatingControls, not even an explicit nil
|
||||||
|
### GetCorrectionAdvice
|
||||||
|
|
||||||
|
`func (o *SodPolicyRead) GetCorrectionAdvice() string`
|
||||||
|
|
||||||
|
GetCorrectionAdvice returns the CorrectionAdvice field if non-nil, zero value otherwise.
|
||||||
|
|
||||||
|
### GetCorrectionAdviceOk
|
||||||
|
|
||||||
|
`func (o *SodPolicyRead) GetCorrectionAdviceOk() (*string, bool)`
|
||||||
|
|
||||||
|
GetCorrectionAdviceOk returns a tuple with the CorrectionAdvice field if it's non-nil, zero value otherwise
|
||||||
|
and a boolean to check if the value has been set.
|
||||||
|
|
||||||
|
### SetCorrectionAdvice
|
||||||
|
|
||||||
|
`func (o *SodPolicyRead) SetCorrectionAdvice(v string)`
|
||||||
|
|
||||||
|
SetCorrectionAdvice sets CorrectionAdvice field to given value.
|
||||||
|
|
||||||
|
### HasCorrectionAdvice
|
||||||
|
|
||||||
|
`func (o *SodPolicyRead) HasCorrectionAdvice() bool`
|
||||||
|
|
||||||
|
HasCorrectionAdvice returns a boolean if a field has been set.
|
||||||
|
|
||||||
|
### SetCorrectionAdviceNil
|
||||||
|
|
||||||
|
`func (o *SodPolicyRead) SetCorrectionAdviceNil(b bool)`
|
||||||
|
|
||||||
|
SetCorrectionAdviceNil sets the value for CorrectionAdvice to be an explicit nil
|
||||||
|
|
||||||
|
### UnsetCorrectionAdvice
|
||||||
|
`func (o *SodPolicyRead) UnsetCorrectionAdvice()`
|
||||||
|
|
||||||
|
UnsetCorrectionAdvice ensures that no value is present for CorrectionAdvice, not even an explicit nil
|
||||||
|
### GetState
|
||||||
|
|
||||||
|
`func (o *SodPolicyRead) GetState() string`
|
||||||
|
|
||||||
|
GetState returns the State field if non-nil, zero value otherwise.
|
||||||
|
|
||||||
|
### GetStateOk
|
||||||
|
|
||||||
|
`func (o *SodPolicyRead) GetStateOk() (*string, bool)`
|
||||||
|
|
||||||
|
GetStateOk returns a tuple with the State field if it's non-nil, zero value otherwise
|
||||||
|
and a boolean to check if the value has been set.
|
||||||
|
|
||||||
|
### SetState
|
||||||
|
|
||||||
|
`func (o *SodPolicyRead) SetState(v string)`
|
||||||
|
|
||||||
|
SetState sets State field to given value.
|
||||||
|
|
||||||
|
### HasState
|
||||||
|
|
||||||
|
`func (o *SodPolicyRead) HasState() bool`
|
||||||
|
|
||||||
|
HasState returns a boolean if a field has been set.
|
||||||
|
|
||||||
|
### GetTags
|
||||||
|
|
||||||
|
`func (o *SodPolicyRead) GetTags() []string`
|
||||||
|
|
||||||
|
GetTags returns the Tags field if non-nil, zero value otherwise.
|
||||||
|
|
||||||
|
### GetTagsOk
|
||||||
|
|
||||||
|
`func (o *SodPolicyRead) GetTagsOk() (*[]string, bool)`
|
||||||
|
|
||||||
|
GetTagsOk returns a tuple with the Tags field if it's non-nil, zero value otherwise
|
||||||
|
and a boolean to check if the value has been set.
|
||||||
|
|
||||||
|
### SetTags
|
||||||
|
|
||||||
|
`func (o *SodPolicyRead) SetTags(v []string)`
|
||||||
|
|
||||||
|
SetTags sets Tags field to given value.
|
||||||
|
|
||||||
|
### HasTags
|
||||||
|
|
||||||
|
`func (o *SodPolicyRead) HasTags() bool`
|
||||||
|
|
||||||
|
HasTags returns a boolean if a field has been set.
|
||||||
|
|
||||||
|
### GetCreatorId
|
||||||
|
|
||||||
|
`func (o *SodPolicyRead) GetCreatorId() string`
|
||||||
|
|
||||||
|
GetCreatorId returns the CreatorId field if non-nil, zero value otherwise.
|
||||||
|
|
||||||
|
### GetCreatorIdOk
|
||||||
|
|
||||||
|
`func (o *SodPolicyRead) GetCreatorIdOk() (*string, bool)`
|
||||||
|
|
||||||
|
GetCreatorIdOk returns a tuple with the CreatorId field if it's non-nil, zero value otherwise
|
||||||
|
and a boolean to check if the value has been set.
|
||||||
|
|
||||||
|
### SetCreatorId
|
||||||
|
|
||||||
|
`func (o *SodPolicyRead) SetCreatorId(v string)`
|
||||||
|
|
||||||
|
SetCreatorId sets CreatorId field to given value.
|
||||||
|
|
||||||
|
### HasCreatorId
|
||||||
|
|
||||||
|
`func (o *SodPolicyRead) HasCreatorId() bool`
|
||||||
|
|
||||||
|
HasCreatorId returns a boolean if a field has been set.
|
||||||
|
|
||||||
|
### GetModifierId
|
||||||
|
|
||||||
|
`func (o *SodPolicyRead) GetModifierId() string`
|
||||||
|
|
||||||
|
GetModifierId returns the ModifierId field if non-nil, zero value otherwise.
|
||||||
|
|
||||||
|
### GetModifierIdOk
|
||||||
|
|
||||||
|
`func (o *SodPolicyRead) GetModifierIdOk() (*string, bool)`
|
||||||
|
|
||||||
|
GetModifierIdOk returns a tuple with the ModifierId field if it's non-nil, zero value otherwise
|
||||||
|
and a boolean to check if the value has been set.
|
||||||
|
|
||||||
|
### SetModifierId
|
||||||
|
|
||||||
|
`func (o *SodPolicyRead) SetModifierId(v string)`
|
||||||
|
|
||||||
|
SetModifierId sets ModifierId field to given value.
|
||||||
|
|
||||||
|
### HasModifierId
|
||||||
|
|
||||||
|
`func (o *SodPolicyRead) HasModifierId() bool`
|
||||||
|
|
||||||
|
HasModifierId returns a boolean if a field has been set.
|
||||||
|
|
||||||
|
### SetModifierIdNil
|
||||||
|
|
||||||
|
`func (o *SodPolicyRead) SetModifierIdNil(b bool)`
|
||||||
|
|
||||||
|
SetModifierIdNil sets the value for ModifierId to be an explicit nil
|
||||||
|
|
||||||
|
### UnsetModifierId
|
||||||
|
`func (o *SodPolicyRead) UnsetModifierId()`
|
||||||
|
|
||||||
|
UnsetModifierId ensures that no value is present for ModifierId, not even an explicit nil
|
||||||
|
### GetViolationOwnerAssignmentConfig
|
||||||
|
|
||||||
|
`func (o *SodPolicyRead) GetViolationOwnerAssignmentConfig() ViolationOwnerAssignmentConfig`
|
||||||
|
|
||||||
|
GetViolationOwnerAssignmentConfig returns the ViolationOwnerAssignmentConfig field if non-nil, zero value otherwise.
|
||||||
|
|
||||||
|
### GetViolationOwnerAssignmentConfigOk
|
||||||
|
|
||||||
|
`func (o *SodPolicyRead) GetViolationOwnerAssignmentConfigOk() (*ViolationOwnerAssignmentConfig, bool)`
|
||||||
|
|
||||||
|
GetViolationOwnerAssignmentConfigOk returns a tuple with the ViolationOwnerAssignmentConfig field if it's non-nil, zero value otherwise
|
||||||
|
and a boolean to check if the value has been set.
|
||||||
|
|
||||||
|
### SetViolationOwnerAssignmentConfig
|
||||||
|
|
||||||
|
`func (o *SodPolicyRead) SetViolationOwnerAssignmentConfig(v ViolationOwnerAssignmentConfig)`
|
||||||
|
|
||||||
|
SetViolationOwnerAssignmentConfig sets ViolationOwnerAssignmentConfig field to given value.
|
||||||
|
|
||||||
|
### HasViolationOwnerAssignmentConfig
|
||||||
|
|
||||||
|
`func (o *SodPolicyRead) HasViolationOwnerAssignmentConfig() bool`
|
||||||
|
|
||||||
|
HasViolationOwnerAssignmentConfig returns a boolean if a field has been set.
|
||||||
|
|
||||||
|
### GetScheduled
|
||||||
|
|
||||||
|
`func (o *SodPolicyRead) GetScheduled() bool`
|
||||||
|
|
||||||
|
GetScheduled returns the Scheduled field if non-nil, zero value otherwise.
|
||||||
|
|
||||||
|
### GetScheduledOk
|
||||||
|
|
||||||
|
`func (o *SodPolicyRead) GetScheduledOk() (*bool, bool)`
|
||||||
|
|
||||||
|
GetScheduledOk returns a tuple with the Scheduled field if it's non-nil, zero value otherwise
|
||||||
|
and a boolean to check if the value has been set.
|
||||||
|
|
||||||
|
### SetScheduled
|
||||||
|
|
||||||
|
`func (o *SodPolicyRead) SetScheduled(v bool)`
|
||||||
|
|
||||||
|
SetScheduled sets Scheduled field to given value.
|
||||||
|
|
||||||
|
### HasScheduled
|
||||||
|
|
||||||
|
`func (o *SodPolicyRead) HasScheduled() bool`
|
||||||
|
|
||||||
|
HasScheduled returns a boolean if a field has been set.
|
||||||
|
|
||||||
|
### GetType
|
||||||
|
|
||||||
|
`func (o *SodPolicyRead) GetType() string`
|
||||||
|
|
||||||
|
GetType returns the Type field if non-nil, zero value otherwise.
|
||||||
|
|
||||||
|
### GetTypeOk
|
||||||
|
|
||||||
|
`func (o *SodPolicyRead) GetTypeOk() (*string, bool)`
|
||||||
|
|
||||||
|
GetTypeOk returns a tuple with the Type field if it's non-nil, zero value otherwise
|
||||||
|
and a boolean to check if the value has been set.
|
||||||
|
|
||||||
|
### SetType
|
||||||
|
|
||||||
|
`func (o *SodPolicyRead) SetType(v string)`
|
||||||
|
|
||||||
|
SetType sets Type field to given value.
|
||||||
|
|
||||||
|
### HasType
|
||||||
|
|
||||||
|
`func (o *SodPolicyRead) HasType() bool`
|
||||||
|
|
||||||
|
HasType returns a boolean if a field has been set.
|
||||||
|
|
||||||
|
### GetConflictingAccessCriteria
|
||||||
|
|
||||||
|
`func (o *SodPolicyRead) GetConflictingAccessCriteria() SodPolicyReadAllOfConflictingAccessCriteria`
|
||||||
|
|
||||||
|
GetConflictingAccessCriteria returns the ConflictingAccessCriteria field if non-nil, zero value otherwise.
|
||||||
|
|
||||||
|
### GetConflictingAccessCriteriaOk
|
||||||
|
|
||||||
|
`func (o *SodPolicyRead) GetConflictingAccessCriteriaOk() (*SodPolicyReadAllOfConflictingAccessCriteria, bool)`
|
||||||
|
|
||||||
|
GetConflictingAccessCriteriaOk returns a tuple with the ConflictingAccessCriteria field if it's non-nil, zero value otherwise
|
||||||
|
and a boolean to check if the value has been set.
|
||||||
|
|
||||||
|
### SetConflictingAccessCriteria
|
||||||
|
|
||||||
|
`func (o *SodPolicyRead) SetConflictingAccessCriteria(v SodPolicyReadAllOfConflictingAccessCriteria)`
|
||||||
|
|
||||||
|
SetConflictingAccessCriteria sets ConflictingAccessCriteria field to given value.
|
||||||
|
|
||||||
|
### HasConflictingAccessCriteria
|
||||||
|
|
||||||
|
`func (o *SodPolicyRead) HasConflictingAccessCriteria() bool`
|
||||||
|
|
||||||
|
HasConflictingAccessCriteria returns a boolean if a field has been set.
|
||||||
|
|
||||||
|
|
||||||
@@ -0,0 +1,90 @@
|
|||||||
|
---
|
||||||
|
id: sod-policy-read-all-of-conflicting-access-criteria
|
||||||
|
title: SodPolicyReadAllOfConflictingAccessCriteria
|
||||||
|
pagination_label: SodPolicyReadAllOfConflictingAccessCriteria
|
||||||
|
sidebar_label: SodPolicyReadAllOfConflictingAccessCriteria
|
||||||
|
sidebar_class_name: gosdk
|
||||||
|
keywords: ['go', 'Golang', 'sdk', 'SodPolicyReadAllOfConflictingAccessCriteria', 'SodPolicyReadAllOfConflictingAccessCriteria']
|
||||||
|
slug: /tools/sdk/go/v3/models/sod-policy-read-all-of-conflicting-access-criteria
|
||||||
|
tags: ['SDK', 'Software Development Kit', 'SodPolicyReadAllOfConflictingAccessCriteria', 'SodPolicyReadAllOfConflictingAccessCriteria']
|
||||||
|
---
|
||||||
|
|
||||||
|
# SodPolicyReadAllOfConflictingAccessCriteria
|
||||||
|
|
||||||
|
## Properties
|
||||||
|
|
||||||
|
Name | Type | Description | Notes
|
||||||
|
------------ | ------------- | ------------- | -------------
|
||||||
|
**LeftCriteria** | Pointer to [**AccessCriteria**](access-criteria) | | [optional]
|
||||||
|
**RightCriteria** | Pointer to [**AccessCriteria**](access-criteria) | | [optional]
|
||||||
|
|
||||||
|
## Methods
|
||||||
|
|
||||||
|
### NewSodPolicyReadAllOfConflictingAccessCriteria
|
||||||
|
|
||||||
|
`func NewSodPolicyReadAllOfConflictingAccessCriteria() *SodPolicyReadAllOfConflictingAccessCriteria`
|
||||||
|
|
||||||
|
NewSodPolicyReadAllOfConflictingAccessCriteria instantiates a new SodPolicyReadAllOfConflictingAccessCriteria object
|
||||||
|
This constructor will assign default values to properties that have it defined,
|
||||||
|
and makes sure properties required by API are set, but the set of arguments
|
||||||
|
will change when the set of required properties is changed
|
||||||
|
|
||||||
|
### NewSodPolicyReadAllOfConflictingAccessCriteriaWithDefaults
|
||||||
|
|
||||||
|
`func NewSodPolicyReadAllOfConflictingAccessCriteriaWithDefaults() *SodPolicyReadAllOfConflictingAccessCriteria`
|
||||||
|
|
||||||
|
NewSodPolicyReadAllOfConflictingAccessCriteriaWithDefaults instantiates a new SodPolicyReadAllOfConflictingAccessCriteria object
|
||||||
|
This constructor will only assign default values to properties that have it defined,
|
||||||
|
but it doesn't guarantee that properties required by API are set
|
||||||
|
|
||||||
|
### GetLeftCriteria
|
||||||
|
|
||||||
|
`func (o *SodPolicyReadAllOfConflictingAccessCriteria) GetLeftCriteria() AccessCriteria`
|
||||||
|
|
||||||
|
GetLeftCriteria returns the LeftCriteria field if non-nil, zero value otherwise.
|
||||||
|
|
||||||
|
### GetLeftCriteriaOk
|
||||||
|
|
||||||
|
`func (o *SodPolicyReadAllOfConflictingAccessCriteria) GetLeftCriteriaOk() (*AccessCriteria, bool)`
|
||||||
|
|
||||||
|
GetLeftCriteriaOk returns a tuple with the LeftCriteria field if it's non-nil, zero value otherwise
|
||||||
|
and a boolean to check if the value has been set.
|
||||||
|
|
||||||
|
### SetLeftCriteria
|
||||||
|
|
||||||
|
`func (o *SodPolicyReadAllOfConflictingAccessCriteria) SetLeftCriteria(v AccessCriteria)`
|
||||||
|
|
||||||
|
SetLeftCriteria sets LeftCriteria field to given value.
|
||||||
|
|
||||||
|
### HasLeftCriteria
|
||||||
|
|
||||||
|
`func (o *SodPolicyReadAllOfConflictingAccessCriteria) HasLeftCriteria() bool`
|
||||||
|
|
||||||
|
HasLeftCriteria returns a boolean if a field has been set.
|
||||||
|
|
||||||
|
### GetRightCriteria
|
||||||
|
|
||||||
|
`func (o *SodPolicyReadAllOfConflictingAccessCriteria) GetRightCriteria() AccessCriteria`
|
||||||
|
|
||||||
|
GetRightCriteria returns the RightCriteria field if non-nil, zero value otherwise.
|
||||||
|
|
||||||
|
### GetRightCriteriaOk
|
||||||
|
|
||||||
|
`func (o *SodPolicyReadAllOfConflictingAccessCriteria) GetRightCriteriaOk() (*AccessCriteria, bool)`
|
||||||
|
|
||||||
|
GetRightCriteriaOk returns a tuple with the RightCriteria field if it's non-nil, zero value otherwise
|
||||||
|
and a boolean to check if the value has been set.
|
||||||
|
|
||||||
|
### SetRightCriteria
|
||||||
|
|
||||||
|
`func (o *SodPolicyReadAllOfConflictingAccessCriteria) SetRightCriteria(v AccessCriteria)`
|
||||||
|
|
||||||
|
SetRightCriteria sets RightCriteria field to given value.
|
||||||
|
|
||||||
|
### HasRightCriteria
|
||||||
|
|
||||||
|
`func (o *SodPolicyReadAllOfConflictingAccessCriteria) HasRightCriteria() bool`
|
||||||
|
|
||||||
|
HasRightCriteria returns a boolean if a field has been set.
|
||||||
|
|
||||||
|
|
||||||
556
docs/tools/sdk/go/Reference/V3/Models/SodPolicyRequest.md
Normal file
556
docs/tools/sdk/go/Reference/V3/Models/SodPolicyRequest.md
Normal file
@@ -0,0 +1,556 @@
|
|||||||
|
---
|
||||||
|
id: sod-policy-request
|
||||||
|
title: SodPolicyRequest
|
||||||
|
pagination_label: SodPolicyRequest
|
||||||
|
sidebar_label: SodPolicyRequest
|
||||||
|
sidebar_class_name: gosdk
|
||||||
|
keywords: ['go', 'Golang', 'sdk', 'SodPolicyRequest', 'SodPolicyRequest']
|
||||||
|
slug: /tools/sdk/go/v3/models/sod-policy-request
|
||||||
|
tags: ['SDK', 'Software Development Kit', 'SodPolicyRequest', 'SodPolicyRequest']
|
||||||
|
---
|
||||||
|
|
||||||
|
# SodPolicyRequest
|
||||||
|
|
||||||
|
## Properties
|
||||||
|
|
||||||
|
Name | Type | Description | Notes
|
||||||
|
------------ | ------------- | ------------- | -------------
|
||||||
|
**Id** | Pointer to **string** | Policy id | [optional] [readonly]
|
||||||
|
**Name** | Pointer to **string** | Policy Business Name | [optional]
|
||||||
|
**Created** | Pointer to **SailPointTime** | The time when this SOD policy is created. | [optional] [readonly]
|
||||||
|
**Modified** | Pointer to **SailPointTime** | The time when this SOD policy is modified. | [optional] [readonly]
|
||||||
|
**Description** | Pointer to **NullableString** | Optional description of the SOD policy | [optional]
|
||||||
|
**OwnerRef** | Pointer to [**SodPolicyOwnerRef**](sod-policy-owner-ref) | | [optional]
|
||||||
|
**ExternalPolicyReference** | Pointer to **NullableString** | Optional External Policy Reference | [optional]
|
||||||
|
**PolicyQuery** | Pointer to **string** | Search query of the SOD policy | [optional]
|
||||||
|
**CompensatingControls** | Pointer to **NullableString** | Optional compensating controls(Mitigating Controls) | [optional]
|
||||||
|
**CorrectionAdvice** | Pointer to **NullableString** | Optional correction advice | [optional]
|
||||||
|
**State** | Pointer to **string** | whether the policy is enforced or not | [optional]
|
||||||
|
**Tags** | Pointer to **[]string** | tags for this policy object | [optional]
|
||||||
|
**CreatorId** | Pointer to **string** | Policy's creator ID | [optional] [readonly]
|
||||||
|
**ModifierId** | Pointer to **NullableString** | Policy's modifier ID | [optional] [readonly]
|
||||||
|
**ViolationOwnerAssignmentConfig** | Pointer to [**ViolationOwnerAssignmentConfig**](violation-owner-assignment-config) | | [optional]
|
||||||
|
**Scheduled** | Pointer to **bool** | defines whether a policy has been scheduled or not | [optional] [default to false]
|
||||||
|
**Type** | Pointer to **string** | whether a policy is query based or conflicting access based | [optional] [default to "GENERAL"]
|
||||||
|
**ConflictingAccessCriteria** | Pointer to [**SodPolicyRequestAllOfConflictingAccessCriteria**](sod-policy-request-all-of-conflicting-access-criteria) | | [optional]
|
||||||
|
|
||||||
|
## Methods
|
||||||
|
|
||||||
|
### NewSodPolicyRequest
|
||||||
|
|
||||||
|
`func NewSodPolicyRequest() *SodPolicyRequest`
|
||||||
|
|
||||||
|
NewSodPolicyRequest instantiates a new SodPolicyRequest object
|
||||||
|
This constructor will assign default values to properties that have it defined,
|
||||||
|
and makes sure properties required by API are set, but the set of arguments
|
||||||
|
will change when the set of required properties is changed
|
||||||
|
|
||||||
|
### NewSodPolicyRequestWithDefaults
|
||||||
|
|
||||||
|
`func NewSodPolicyRequestWithDefaults() *SodPolicyRequest`
|
||||||
|
|
||||||
|
NewSodPolicyRequestWithDefaults instantiates a new SodPolicyRequest object
|
||||||
|
This constructor will only assign default values to properties that have it defined,
|
||||||
|
but it doesn't guarantee that properties required by API are set
|
||||||
|
|
||||||
|
### GetId
|
||||||
|
|
||||||
|
`func (o *SodPolicyRequest) GetId() string`
|
||||||
|
|
||||||
|
GetId returns the Id field if non-nil, zero value otherwise.
|
||||||
|
|
||||||
|
### GetIdOk
|
||||||
|
|
||||||
|
`func (o *SodPolicyRequest) GetIdOk() (*string, bool)`
|
||||||
|
|
||||||
|
GetIdOk returns a tuple with the Id field if it's non-nil, zero value otherwise
|
||||||
|
and a boolean to check if the value has been set.
|
||||||
|
|
||||||
|
### SetId
|
||||||
|
|
||||||
|
`func (o *SodPolicyRequest) SetId(v string)`
|
||||||
|
|
||||||
|
SetId sets Id field to given value.
|
||||||
|
|
||||||
|
### HasId
|
||||||
|
|
||||||
|
`func (o *SodPolicyRequest) HasId() bool`
|
||||||
|
|
||||||
|
HasId returns a boolean if a field has been set.
|
||||||
|
|
||||||
|
### GetName
|
||||||
|
|
||||||
|
`func (o *SodPolicyRequest) GetName() string`
|
||||||
|
|
||||||
|
GetName returns the Name field if non-nil, zero value otherwise.
|
||||||
|
|
||||||
|
### GetNameOk
|
||||||
|
|
||||||
|
`func (o *SodPolicyRequest) GetNameOk() (*string, bool)`
|
||||||
|
|
||||||
|
GetNameOk returns a tuple with the Name field if it's non-nil, zero value otherwise
|
||||||
|
and a boolean to check if the value has been set.
|
||||||
|
|
||||||
|
### SetName
|
||||||
|
|
||||||
|
`func (o *SodPolicyRequest) SetName(v string)`
|
||||||
|
|
||||||
|
SetName sets Name field to given value.
|
||||||
|
|
||||||
|
### HasName
|
||||||
|
|
||||||
|
`func (o *SodPolicyRequest) HasName() bool`
|
||||||
|
|
||||||
|
HasName returns a boolean if a field has been set.
|
||||||
|
|
||||||
|
### GetCreated
|
||||||
|
|
||||||
|
`func (o *SodPolicyRequest) GetCreated() SailPointTime`
|
||||||
|
|
||||||
|
GetCreated returns the Created field if non-nil, zero value otherwise.
|
||||||
|
|
||||||
|
### GetCreatedOk
|
||||||
|
|
||||||
|
`func (o *SodPolicyRequest) GetCreatedOk() (*SailPointTime, bool)`
|
||||||
|
|
||||||
|
GetCreatedOk returns a tuple with the Created field if it's non-nil, zero value otherwise
|
||||||
|
and a boolean to check if the value has been set.
|
||||||
|
|
||||||
|
### SetCreated
|
||||||
|
|
||||||
|
`func (o *SodPolicyRequest) SetCreated(v SailPointTime)`
|
||||||
|
|
||||||
|
SetCreated sets Created field to given value.
|
||||||
|
|
||||||
|
### HasCreated
|
||||||
|
|
||||||
|
`func (o *SodPolicyRequest) HasCreated() bool`
|
||||||
|
|
||||||
|
HasCreated returns a boolean if a field has been set.
|
||||||
|
|
||||||
|
### GetModified
|
||||||
|
|
||||||
|
`func (o *SodPolicyRequest) GetModified() SailPointTime`
|
||||||
|
|
||||||
|
GetModified returns the Modified field if non-nil, zero value otherwise.
|
||||||
|
|
||||||
|
### GetModifiedOk
|
||||||
|
|
||||||
|
`func (o *SodPolicyRequest) GetModifiedOk() (*SailPointTime, bool)`
|
||||||
|
|
||||||
|
GetModifiedOk returns a tuple with the Modified field if it's non-nil, zero value otherwise
|
||||||
|
and a boolean to check if the value has been set.
|
||||||
|
|
||||||
|
### SetModified
|
||||||
|
|
||||||
|
`func (o *SodPolicyRequest) SetModified(v SailPointTime)`
|
||||||
|
|
||||||
|
SetModified sets Modified field to given value.
|
||||||
|
|
||||||
|
### HasModified
|
||||||
|
|
||||||
|
`func (o *SodPolicyRequest) HasModified() bool`
|
||||||
|
|
||||||
|
HasModified returns a boolean if a field has been set.
|
||||||
|
|
||||||
|
### GetDescription
|
||||||
|
|
||||||
|
`func (o *SodPolicyRequest) GetDescription() string`
|
||||||
|
|
||||||
|
GetDescription returns the Description field if non-nil, zero value otherwise.
|
||||||
|
|
||||||
|
### GetDescriptionOk
|
||||||
|
|
||||||
|
`func (o *SodPolicyRequest) GetDescriptionOk() (*string, bool)`
|
||||||
|
|
||||||
|
GetDescriptionOk returns a tuple with the Description field if it's non-nil, zero value otherwise
|
||||||
|
and a boolean to check if the value has been set.
|
||||||
|
|
||||||
|
### SetDescription
|
||||||
|
|
||||||
|
`func (o *SodPolicyRequest) SetDescription(v string)`
|
||||||
|
|
||||||
|
SetDescription sets Description field to given value.
|
||||||
|
|
||||||
|
### HasDescription
|
||||||
|
|
||||||
|
`func (o *SodPolicyRequest) HasDescription() bool`
|
||||||
|
|
||||||
|
HasDescription returns a boolean if a field has been set.
|
||||||
|
|
||||||
|
### SetDescriptionNil
|
||||||
|
|
||||||
|
`func (o *SodPolicyRequest) SetDescriptionNil(b bool)`
|
||||||
|
|
||||||
|
SetDescriptionNil sets the value for Description to be an explicit nil
|
||||||
|
|
||||||
|
### UnsetDescription
|
||||||
|
`func (o *SodPolicyRequest) UnsetDescription()`
|
||||||
|
|
||||||
|
UnsetDescription ensures that no value is present for Description, not even an explicit nil
|
||||||
|
### GetOwnerRef
|
||||||
|
|
||||||
|
`func (o *SodPolicyRequest) GetOwnerRef() SodPolicyOwnerRef`
|
||||||
|
|
||||||
|
GetOwnerRef returns the OwnerRef field if non-nil, zero value otherwise.
|
||||||
|
|
||||||
|
### GetOwnerRefOk
|
||||||
|
|
||||||
|
`func (o *SodPolicyRequest) GetOwnerRefOk() (*SodPolicyOwnerRef, bool)`
|
||||||
|
|
||||||
|
GetOwnerRefOk returns a tuple with the OwnerRef field if it's non-nil, zero value otherwise
|
||||||
|
and a boolean to check if the value has been set.
|
||||||
|
|
||||||
|
### SetOwnerRef
|
||||||
|
|
||||||
|
`func (o *SodPolicyRequest) SetOwnerRef(v SodPolicyOwnerRef)`
|
||||||
|
|
||||||
|
SetOwnerRef sets OwnerRef field to given value.
|
||||||
|
|
||||||
|
### HasOwnerRef
|
||||||
|
|
||||||
|
`func (o *SodPolicyRequest) HasOwnerRef() bool`
|
||||||
|
|
||||||
|
HasOwnerRef returns a boolean if a field has been set.
|
||||||
|
|
||||||
|
### GetExternalPolicyReference
|
||||||
|
|
||||||
|
`func (o *SodPolicyRequest) GetExternalPolicyReference() string`
|
||||||
|
|
||||||
|
GetExternalPolicyReference returns the ExternalPolicyReference field if non-nil, zero value otherwise.
|
||||||
|
|
||||||
|
### GetExternalPolicyReferenceOk
|
||||||
|
|
||||||
|
`func (o *SodPolicyRequest) GetExternalPolicyReferenceOk() (*string, bool)`
|
||||||
|
|
||||||
|
GetExternalPolicyReferenceOk returns a tuple with the ExternalPolicyReference field if it's non-nil, zero value otherwise
|
||||||
|
and a boolean to check if the value has been set.
|
||||||
|
|
||||||
|
### SetExternalPolicyReference
|
||||||
|
|
||||||
|
`func (o *SodPolicyRequest) SetExternalPolicyReference(v string)`
|
||||||
|
|
||||||
|
SetExternalPolicyReference sets ExternalPolicyReference field to given value.
|
||||||
|
|
||||||
|
### HasExternalPolicyReference
|
||||||
|
|
||||||
|
`func (o *SodPolicyRequest) HasExternalPolicyReference() bool`
|
||||||
|
|
||||||
|
HasExternalPolicyReference returns a boolean if a field has been set.
|
||||||
|
|
||||||
|
### SetExternalPolicyReferenceNil
|
||||||
|
|
||||||
|
`func (o *SodPolicyRequest) SetExternalPolicyReferenceNil(b bool)`
|
||||||
|
|
||||||
|
SetExternalPolicyReferenceNil sets the value for ExternalPolicyReference to be an explicit nil
|
||||||
|
|
||||||
|
### UnsetExternalPolicyReference
|
||||||
|
`func (o *SodPolicyRequest) UnsetExternalPolicyReference()`
|
||||||
|
|
||||||
|
UnsetExternalPolicyReference ensures that no value is present for ExternalPolicyReference, not even an explicit nil
|
||||||
|
### GetPolicyQuery
|
||||||
|
|
||||||
|
`func (o *SodPolicyRequest) GetPolicyQuery() string`
|
||||||
|
|
||||||
|
GetPolicyQuery returns the PolicyQuery field if non-nil, zero value otherwise.
|
||||||
|
|
||||||
|
### GetPolicyQueryOk
|
||||||
|
|
||||||
|
`func (o *SodPolicyRequest) GetPolicyQueryOk() (*string, bool)`
|
||||||
|
|
||||||
|
GetPolicyQueryOk returns a tuple with the PolicyQuery field if it's non-nil, zero value otherwise
|
||||||
|
and a boolean to check if the value has been set.
|
||||||
|
|
||||||
|
### SetPolicyQuery
|
||||||
|
|
||||||
|
`func (o *SodPolicyRequest) SetPolicyQuery(v string)`
|
||||||
|
|
||||||
|
SetPolicyQuery sets PolicyQuery field to given value.
|
||||||
|
|
||||||
|
### HasPolicyQuery
|
||||||
|
|
||||||
|
`func (o *SodPolicyRequest) HasPolicyQuery() bool`
|
||||||
|
|
||||||
|
HasPolicyQuery returns a boolean if a field has been set.
|
||||||
|
|
||||||
|
### GetCompensatingControls
|
||||||
|
|
||||||
|
`func (o *SodPolicyRequest) GetCompensatingControls() string`
|
||||||
|
|
||||||
|
GetCompensatingControls returns the CompensatingControls field if non-nil, zero value otherwise.
|
||||||
|
|
||||||
|
### GetCompensatingControlsOk
|
||||||
|
|
||||||
|
`func (o *SodPolicyRequest) GetCompensatingControlsOk() (*string, bool)`
|
||||||
|
|
||||||
|
GetCompensatingControlsOk returns a tuple with the CompensatingControls field if it's non-nil, zero value otherwise
|
||||||
|
and a boolean to check if the value has been set.
|
||||||
|
|
||||||
|
### SetCompensatingControls
|
||||||
|
|
||||||
|
`func (o *SodPolicyRequest) SetCompensatingControls(v string)`
|
||||||
|
|
||||||
|
SetCompensatingControls sets CompensatingControls field to given value.
|
||||||
|
|
||||||
|
### HasCompensatingControls
|
||||||
|
|
||||||
|
`func (o *SodPolicyRequest) HasCompensatingControls() bool`
|
||||||
|
|
||||||
|
HasCompensatingControls returns a boolean if a field has been set.
|
||||||
|
|
||||||
|
### SetCompensatingControlsNil
|
||||||
|
|
||||||
|
`func (o *SodPolicyRequest) SetCompensatingControlsNil(b bool)`
|
||||||
|
|
||||||
|
SetCompensatingControlsNil sets the value for CompensatingControls to be an explicit nil
|
||||||
|
|
||||||
|
### UnsetCompensatingControls
|
||||||
|
`func (o *SodPolicyRequest) UnsetCompensatingControls()`
|
||||||
|
|
||||||
|
UnsetCompensatingControls ensures that no value is present for CompensatingControls, not even an explicit nil
|
||||||
|
### GetCorrectionAdvice
|
||||||
|
|
||||||
|
`func (o *SodPolicyRequest) GetCorrectionAdvice() string`
|
||||||
|
|
||||||
|
GetCorrectionAdvice returns the CorrectionAdvice field if non-nil, zero value otherwise.
|
||||||
|
|
||||||
|
### GetCorrectionAdviceOk
|
||||||
|
|
||||||
|
`func (o *SodPolicyRequest) GetCorrectionAdviceOk() (*string, bool)`
|
||||||
|
|
||||||
|
GetCorrectionAdviceOk returns a tuple with the CorrectionAdvice field if it's non-nil, zero value otherwise
|
||||||
|
and a boolean to check if the value has been set.
|
||||||
|
|
||||||
|
### SetCorrectionAdvice
|
||||||
|
|
||||||
|
`func (o *SodPolicyRequest) SetCorrectionAdvice(v string)`
|
||||||
|
|
||||||
|
SetCorrectionAdvice sets CorrectionAdvice field to given value.
|
||||||
|
|
||||||
|
### HasCorrectionAdvice
|
||||||
|
|
||||||
|
`func (o *SodPolicyRequest) HasCorrectionAdvice() bool`
|
||||||
|
|
||||||
|
HasCorrectionAdvice returns a boolean if a field has been set.
|
||||||
|
|
||||||
|
### SetCorrectionAdviceNil
|
||||||
|
|
||||||
|
`func (o *SodPolicyRequest) SetCorrectionAdviceNil(b bool)`
|
||||||
|
|
||||||
|
SetCorrectionAdviceNil sets the value for CorrectionAdvice to be an explicit nil
|
||||||
|
|
||||||
|
### UnsetCorrectionAdvice
|
||||||
|
`func (o *SodPolicyRequest) UnsetCorrectionAdvice()`
|
||||||
|
|
||||||
|
UnsetCorrectionAdvice ensures that no value is present for CorrectionAdvice, not even an explicit nil
|
||||||
|
### GetState
|
||||||
|
|
||||||
|
`func (o *SodPolicyRequest) GetState() string`
|
||||||
|
|
||||||
|
GetState returns the State field if non-nil, zero value otherwise.
|
||||||
|
|
||||||
|
### GetStateOk
|
||||||
|
|
||||||
|
`func (o *SodPolicyRequest) GetStateOk() (*string, bool)`
|
||||||
|
|
||||||
|
GetStateOk returns a tuple with the State field if it's non-nil, zero value otherwise
|
||||||
|
and a boolean to check if the value has been set.
|
||||||
|
|
||||||
|
### SetState
|
||||||
|
|
||||||
|
`func (o *SodPolicyRequest) SetState(v string)`
|
||||||
|
|
||||||
|
SetState sets State field to given value.
|
||||||
|
|
||||||
|
### HasState
|
||||||
|
|
||||||
|
`func (o *SodPolicyRequest) HasState() bool`
|
||||||
|
|
||||||
|
HasState returns a boolean if a field has been set.
|
||||||
|
|
||||||
|
### GetTags
|
||||||
|
|
||||||
|
`func (o *SodPolicyRequest) GetTags() []string`
|
||||||
|
|
||||||
|
GetTags returns the Tags field if non-nil, zero value otherwise.
|
||||||
|
|
||||||
|
### GetTagsOk
|
||||||
|
|
||||||
|
`func (o *SodPolicyRequest) GetTagsOk() (*[]string, bool)`
|
||||||
|
|
||||||
|
GetTagsOk returns a tuple with the Tags field if it's non-nil, zero value otherwise
|
||||||
|
and a boolean to check if the value has been set.
|
||||||
|
|
||||||
|
### SetTags
|
||||||
|
|
||||||
|
`func (o *SodPolicyRequest) SetTags(v []string)`
|
||||||
|
|
||||||
|
SetTags sets Tags field to given value.
|
||||||
|
|
||||||
|
### HasTags
|
||||||
|
|
||||||
|
`func (o *SodPolicyRequest) HasTags() bool`
|
||||||
|
|
||||||
|
HasTags returns a boolean if a field has been set.
|
||||||
|
|
||||||
|
### GetCreatorId
|
||||||
|
|
||||||
|
`func (o *SodPolicyRequest) GetCreatorId() string`
|
||||||
|
|
||||||
|
GetCreatorId returns the CreatorId field if non-nil, zero value otherwise.
|
||||||
|
|
||||||
|
### GetCreatorIdOk
|
||||||
|
|
||||||
|
`func (o *SodPolicyRequest) GetCreatorIdOk() (*string, bool)`
|
||||||
|
|
||||||
|
GetCreatorIdOk returns a tuple with the CreatorId field if it's non-nil, zero value otherwise
|
||||||
|
and a boolean to check if the value has been set.
|
||||||
|
|
||||||
|
### SetCreatorId
|
||||||
|
|
||||||
|
`func (o *SodPolicyRequest) SetCreatorId(v string)`
|
||||||
|
|
||||||
|
SetCreatorId sets CreatorId field to given value.
|
||||||
|
|
||||||
|
### HasCreatorId
|
||||||
|
|
||||||
|
`func (o *SodPolicyRequest) HasCreatorId() bool`
|
||||||
|
|
||||||
|
HasCreatorId returns a boolean if a field has been set.
|
||||||
|
|
||||||
|
### GetModifierId
|
||||||
|
|
||||||
|
`func (o *SodPolicyRequest) GetModifierId() string`
|
||||||
|
|
||||||
|
GetModifierId returns the ModifierId field if non-nil, zero value otherwise.
|
||||||
|
|
||||||
|
### GetModifierIdOk
|
||||||
|
|
||||||
|
`func (o *SodPolicyRequest) GetModifierIdOk() (*string, bool)`
|
||||||
|
|
||||||
|
GetModifierIdOk returns a tuple with the ModifierId field if it's non-nil, zero value otherwise
|
||||||
|
and a boolean to check if the value has been set.
|
||||||
|
|
||||||
|
### SetModifierId
|
||||||
|
|
||||||
|
`func (o *SodPolicyRequest) SetModifierId(v string)`
|
||||||
|
|
||||||
|
SetModifierId sets ModifierId field to given value.
|
||||||
|
|
||||||
|
### HasModifierId
|
||||||
|
|
||||||
|
`func (o *SodPolicyRequest) HasModifierId() bool`
|
||||||
|
|
||||||
|
HasModifierId returns a boolean if a field has been set.
|
||||||
|
|
||||||
|
### SetModifierIdNil
|
||||||
|
|
||||||
|
`func (o *SodPolicyRequest) SetModifierIdNil(b bool)`
|
||||||
|
|
||||||
|
SetModifierIdNil sets the value for ModifierId to be an explicit nil
|
||||||
|
|
||||||
|
### UnsetModifierId
|
||||||
|
`func (o *SodPolicyRequest) UnsetModifierId()`
|
||||||
|
|
||||||
|
UnsetModifierId ensures that no value is present for ModifierId, not even an explicit nil
|
||||||
|
### GetViolationOwnerAssignmentConfig
|
||||||
|
|
||||||
|
`func (o *SodPolicyRequest) GetViolationOwnerAssignmentConfig() ViolationOwnerAssignmentConfig`
|
||||||
|
|
||||||
|
GetViolationOwnerAssignmentConfig returns the ViolationOwnerAssignmentConfig field if non-nil, zero value otherwise.
|
||||||
|
|
||||||
|
### GetViolationOwnerAssignmentConfigOk
|
||||||
|
|
||||||
|
`func (o *SodPolicyRequest) GetViolationOwnerAssignmentConfigOk() (*ViolationOwnerAssignmentConfig, bool)`
|
||||||
|
|
||||||
|
GetViolationOwnerAssignmentConfigOk returns a tuple with the ViolationOwnerAssignmentConfig field if it's non-nil, zero value otherwise
|
||||||
|
and a boolean to check if the value has been set.
|
||||||
|
|
||||||
|
### SetViolationOwnerAssignmentConfig
|
||||||
|
|
||||||
|
`func (o *SodPolicyRequest) SetViolationOwnerAssignmentConfig(v ViolationOwnerAssignmentConfig)`
|
||||||
|
|
||||||
|
SetViolationOwnerAssignmentConfig sets ViolationOwnerAssignmentConfig field to given value.
|
||||||
|
|
||||||
|
### HasViolationOwnerAssignmentConfig
|
||||||
|
|
||||||
|
`func (o *SodPolicyRequest) HasViolationOwnerAssignmentConfig() bool`
|
||||||
|
|
||||||
|
HasViolationOwnerAssignmentConfig returns a boolean if a field has been set.
|
||||||
|
|
||||||
|
### GetScheduled
|
||||||
|
|
||||||
|
`func (o *SodPolicyRequest) GetScheduled() bool`
|
||||||
|
|
||||||
|
GetScheduled returns the Scheduled field if non-nil, zero value otherwise.
|
||||||
|
|
||||||
|
### GetScheduledOk
|
||||||
|
|
||||||
|
`func (o *SodPolicyRequest) GetScheduledOk() (*bool, bool)`
|
||||||
|
|
||||||
|
GetScheduledOk returns a tuple with the Scheduled field if it's non-nil, zero value otherwise
|
||||||
|
and a boolean to check if the value has been set.
|
||||||
|
|
||||||
|
### SetScheduled
|
||||||
|
|
||||||
|
`func (o *SodPolicyRequest) SetScheduled(v bool)`
|
||||||
|
|
||||||
|
SetScheduled sets Scheduled field to given value.
|
||||||
|
|
||||||
|
### HasScheduled
|
||||||
|
|
||||||
|
`func (o *SodPolicyRequest) HasScheduled() bool`
|
||||||
|
|
||||||
|
HasScheduled returns a boolean if a field has been set.
|
||||||
|
|
||||||
|
### GetType
|
||||||
|
|
||||||
|
`func (o *SodPolicyRequest) GetType() string`
|
||||||
|
|
||||||
|
GetType returns the Type field if non-nil, zero value otherwise.
|
||||||
|
|
||||||
|
### GetTypeOk
|
||||||
|
|
||||||
|
`func (o *SodPolicyRequest) GetTypeOk() (*string, bool)`
|
||||||
|
|
||||||
|
GetTypeOk returns a tuple with the Type field if it's non-nil, zero value otherwise
|
||||||
|
and a boolean to check if the value has been set.
|
||||||
|
|
||||||
|
### SetType
|
||||||
|
|
||||||
|
`func (o *SodPolicyRequest) SetType(v string)`
|
||||||
|
|
||||||
|
SetType sets Type field to given value.
|
||||||
|
|
||||||
|
### HasType
|
||||||
|
|
||||||
|
`func (o *SodPolicyRequest) HasType() bool`
|
||||||
|
|
||||||
|
HasType returns a boolean if a field has been set.
|
||||||
|
|
||||||
|
### GetConflictingAccessCriteria
|
||||||
|
|
||||||
|
`func (o *SodPolicyRequest) GetConflictingAccessCriteria() SodPolicyRequestAllOfConflictingAccessCriteria`
|
||||||
|
|
||||||
|
GetConflictingAccessCriteria returns the ConflictingAccessCriteria field if non-nil, zero value otherwise.
|
||||||
|
|
||||||
|
### GetConflictingAccessCriteriaOk
|
||||||
|
|
||||||
|
`func (o *SodPolicyRequest) GetConflictingAccessCriteriaOk() (*SodPolicyRequestAllOfConflictingAccessCriteria, bool)`
|
||||||
|
|
||||||
|
GetConflictingAccessCriteriaOk returns a tuple with the ConflictingAccessCriteria field if it's non-nil, zero value otherwise
|
||||||
|
and a boolean to check if the value has been set.
|
||||||
|
|
||||||
|
### SetConflictingAccessCriteria
|
||||||
|
|
||||||
|
`func (o *SodPolicyRequest) SetConflictingAccessCriteria(v SodPolicyRequestAllOfConflictingAccessCriteria)`
|
||||||
|
|
||||||
|
SetConflictingAccessCriteria sets ConflictingAccessCriteria field to given value.
|
||||||
|
|
||||||
|
### HasConflictingAccessCriteria
|
||||||
|
|
||||||
|
`func (o *SodPolicyRequest) HasConflictingAccessCriteria() bool`
|
||||||
|
|
||||||
|
HasConflictingAccessCriteria returns a boolean if a field has been set.
|
||||||
|
|
||||||
|
|
||||||
@@ -0,0 +1,90 @@
|
|||||||
|
---
|
||||||
|
id: sod-policy-request-all-of-conflicting-access-criteria
|
||||||
|
title: SodPolicyRequestAllOfConflictingAccessCriteria
|
||||||
|
pagination_label: SodPolicyRequestAllOfConflictingAccessCriteria
|
||||||
|
sidebar_label: SodPolicyRequestAllOfConflictingAccessCriteria
|
||||||
|
sidebar_class_name: gosdk
|
||||||
|
keywords: ['go', 'Golang', 'sdk', 'SodPolicyRequestAllOfConflictingAccessCriteria', 'SodPolicyRequestAllOfConflictingAccessCriteria']
|
||||||
|
slug: /tools/sdk/go/v3/models/sod-policy-request-all-of-conflicting-access-criteria
|
||||||
|
tags: ['SDK', 'Software Development Kit', 'SodPolicyRequestAllOfConflictingAccessCriteria', 'SodPolicyRequestAllOfConflictingAccessCriteria']
|
||||||
|
---
|
||||||
|
|
||||||
|
# SodPolicyRequestAllOfConflictingAccessCriteria
|
||||||
|
|
||||||
|
## Properties
|
||||||
|
|
||||||
|
Name | Type | Description | Notes
|
||||||
|
------------ | ------------- | ------------- | -------------
|
||||||
|
**LeftCriteria** | Pointer to [**AccessCriteriaRequest**](access-criteria-request) | | [optional]
|
||||||
|
**RightCriteria** | Pointer to [**AccessCriteriaRequest**](access-criteria-request) | | [optional]
|
||||||
|
|
||||||
|
## Methods
|
||||||
|
|
||||||
|
### NewSodPolicyRequestAllOfConflictingAccessCriteria
|
||||||
|
|
||||||
|
`func NewSodPolicyRequestAllOfConflictingAccessCriteria() *SodPolicyRequestAllOfConflictingAccessCriteria`
|
||||||
|
|
||||||
|
NewSodPolicyRequestAllOfConflictingAccessCriteria instantiates a new SodPolicyRequestAllOfConflictingAccessCriteria object
|
||||||
|
This constructor will assign default values to properties that have it defined,
|
||||||
|
and makes sure properties required by API are set, but the set of arguments
|
||||||
|
will change when the set of required properties is changed
|
||||||
|
|
||||||
|
### NewSodPolicyRequestAllOfConflictingAccessCriteriaWithDefaults
|
||||||
|
|
||||||
|
`func NewSodPolicyRequestAllOfConflictingAccessCriteriaWithDefaults() *SodPolicyRequestAllOfConflictingAccessCriteria`
|
||||||
|
|
||||||
|
NewSodPolicyRequestAllOfConflictingAccessCriteriaWithDefaults instantiates a new SodPolicyRequestAllOfConflictingAccessCriteria object
|
||||||
|
This constructor will only assign default values to properties that have it defined,
|
||||||
|
but it doesn't guarantee that properties required by API are set
|
||||||
|
|
||||||
|
### GetLeftCriteria
|
||||||
|
|
||||||
|
`func (o *SodPolicyRequestAllOfConflictingAccessCriteria) GetLeftCriteria() AccessCriteriaRequest`
|
||||||
|
|
||||||
|
GetLeftCriteria returns the LeftCriteria field if non-nil, zero value otherwise.
|
||||||
|
|
||||||
|
### GetLeftCriteriaOk
|
||||||
|
|
||||||
|
`func (o *SodPolicyRequestAllOfConflictingAccessCriteria) GetLeftCriteriaOk() (*AccessCriteriaRequest, bool)`
|
||||||
|
|
||||||
|
GetLeftCriteriaOk returns a tuple with the LeftCriteria field if it's non-nil, zero value otherwise
|
||||||
|
and a boolean to check if the value has been set.
|
||||||
|
|
||||||
|
### SetLeftCriteria
|
||||||
|
|
||||||
|
`func (o *SodPolicyRequestAllOfConflictingAccessCriteria) SetLeftCriteria(v AccessCriteriaRequest)`
|
||||||
|
|
||||||
|
SetLeftCriteria sets LeftCriteria field to given value.
|
||||||
|
|
||||||
|
### HasLeftCriteria
|
||||||
|
|
||||||
|
`func (o *SodPolicyRequestAllOfConflictingAccessCriteria) HasLeftCriteria() bool`
|
||||||
|
|
||||||
|
HasLeftCriteria returns a boolean if a field has been set.
|
||||||
|
|
||||||
|
### GetRightCriteria
|
||||||
|
|
||||||
|
`func (o *SodPolicyRequestAllOfConflictingAccessCriteria) GetRightCriteria() AccessCriteriaRequest`
|
||||||
|
|
||||||
|
GetRightCriteria returns the RightCriteria field if non-nil, zero value otherwise.
|
||||||
|
|
||||||
|
### GetRightCriteriaOk
|
||||||
|
|
||||||
|
`func (o *SodPolicyRequestAllOfConflictingAccessCriteria) GetRightCriteriaOk() (*AccessCriteriaRequest, bool)`
|
||||||
|
|
||||||
|
GetRightCriteriaOk returns a tuple with the RightCriteria field if it's non-nil, zero value otherwise
|
||||||
|
and a boolean to check if the value has been set.
|
||||||
|
|
||||||
|
### SetRightCriteria
|
||||||
|
|
||||||
|
`func (o *SodPolicyRequestAllOfConflictingAccessCriteria) SetRightCriteria(v AccessCriteriaRequest)`
|
||||||
|
|
||||||
|
SetRightCriteria sets RightCriteria field to given value.
|
||||||
|
|
||||||
|
### HasRightCriteria
|
||||||
|
|
||||||
|
`func (o *SodPolicyRequestAllOfConflictingAccessCriteria) HasRightCriteria() bool`
|
||||||
|
|
||||||
|
HasRightCriteria returns a boolean if a field has been set.
|
||||||
|
|
||||||
|
|
||||||
@@ -9813,7 +9813,7 @@
|
|||||||
)
|
)
|
||||||
|
|
||||||
func main() {
|
func main() {
|
||||||
sodpolicy := []byte(`{
|
sodpolicyrequest := []byte(`{
|
||||||
"conflictingAccessCriteria" : {
|
"conflictingAccessCriteria" : {
|
||||||
"leftCriteria" : {
|
"leftCriteria" : {
|
||||||
"name" : "money-in",
|
"name" : "money-in",
|
||||||
@@ -9868,11 +9868,11 @@
|
|||||||
"id" : "0f11f2a4-7c94-4bf3-a2bd-742580fe3bde",
|
"id" : "0f11f2a4-7c94-4bf3-a2bd-742580fe3bde",
|
||||||
"state" : "ENFORCED",
|
"state" : "ENFORCED",
|
||||||
"externalPolicyReference" : "XYZ policy"
|
"externalPolicyReference" : "XYZ policy"
|
||||||
}`) // SodPolicy |
|
}`) // SodPolicyRequest |
|
||||||
|
|
||||||
|
|
||||||
var sodPolicy v3.SodPolicy
|
var sodPolicyRequest v3.SodPolicyRequest
|
||||||
if err := json.Unmarshal(sodpolicy, &sodPolicy); err != nil {
|
if err := json.Unmarshal(sodpolicyrequest, &sodPolicyRequest); err != nil {
|
||||||
fmt.Println("Error:", err)
|
fmt.Println("Error:", err)
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
@@ -9881,13 +9881,13 @@
|
|||||||
|
|
||||||
configuration := sailpoint.NewDefaultConfiguration()
|
configuration := sailpoint.NewDefaultConfiguration()
|
||||||
apiClient := sailpoint.NewAPIClient(configuration)
|
apiClient := sailpoint.NewAPIClient(configuration)
|
||||||
resp, r, err := apiClient.V3.SODPoliciesAPI.CreateSodPolicy(context.Background()).SodPolicy(sodPolicy).Execute()
|
resp, r, err := apiClient.V3.SODPoliciesAPI.CreateSodPolicy(context.Background()).SodPolicyRequest(sodPolicyRequest).Execute()
|
||||||
//resp, r, err := apiClient.V3.SODPoliciesAPI.CreateSodPolicy(context.Background()).SodPolicy(sodPolicy).Execute()
|
//resp, r, err := apiClient.V3.SODPoliciesAPI.CreateSodPolicy(context.Background()).SodPolicyRequest(sodPolicyRequest).Execute()
|
||||||
if err != nil {
|
if err != nil {
|
||||||
fmt.Fprintf(os.Stderr, "Error when calling `SODPoliciesAPI.CreateSodPolicy``: %v\n", err)
|
fmt.Fprintf(os.Stderr, "Error when calling `SODPoliciesAPI.CreateSodPolicy``: %v\n", err)
|
||||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||||
}
|
}
|
||||||
// response from `CreateSodPolicy`: SodPolicy
|
// response from `CreateSodPolicy`: SodPolicyRead
|
||||||
fmt.Fprintf(os.Stdout, "Response from `SODPoliciesAPI.CreateSodPolicy`: %v\n", resp)
|
fmt.Fprintf(os.Stdout, "Response from `SODPoliciesAPI.CreateSodPolicy`: %v\n", resp)
|
||||||
}
|
}
|
||||||
- path: /sod-policies/{id}
|
- path: /sod-policies/{id}
|
||||||
@@ -10088,7 +10088,7 @@
|
|||||||
fmt.Fprintf(os.Stderr, "Error when calling `SODPoliciesAPI.GetSodPolicy``: %v\n", err)
|
fmt.Fprintf(os.Stderr, "Error when calling `SODPoliciesAPI.GetSodPolicy``: %v\n", err)
|
||||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||||
}
|
}
|
||||||
// response from `GetSodPolicy`: SodPolicy
|
// response from `GetSodPolicy`: SodPolicyRead
|
||||||
fmt.Fprintf(os.Stdout, "Response from `SODPoliciesAPI.GetSodPolicy`: %v\n", resp)
|
fmt.Fprintf(os.Stdout, "Response from `SODPoliciesAPI.GetSodPolicy`: %v\n", resp)
|
||||||
}
|
}
|
||||||
- path: /sod-policies/{id}/schedule
|
- path: /sod-policies/{id}/schedule
|
||||||
@@ -10228,7 +10228,7 @@
|
|||||||
fmt.Fprintf(os.Stderr, "Error when calling `SODPoliciesAPI.ListSodPolicies``: %v\n", err)
|
fmt.Fprintf(os.Stderr, "Error when calling `SODPoliciesAPI.ListSodPolicies``: %v\n", err)
|
||||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||||
}
|
}
|
||||||
// response from `ListSodPolicies`: []SodPolicy
|
// response from `ListSodPolicies`: []SodPolicyRead
|
||||||
fmt.Fprintf(os.Stdout, "Response from `SODPoliciesAPI.ListSodPolicies`: %v\n", resp)
|
fmt.Fprintf(os.Stdout, "Response from `SODPoliciesAPI.ListSodPolicies`: %v\n", resp)
|
||||||
}
|
}
|
||||||
- path: /sod-policies/{id}
|
- path: /sod-policies/{id}
|
||||||
@@ -10269,7 +10269,7 @@
|
|||||||
fmt.Fprintf(os.Stderr, "Error when calling `SODPoliciesAPI.PatchSodPolicy``: %v\n", err)
|
fmt.Fprintf(os.Stderr, "Error when calling `SODPoliciesAPI.PatchSodPolicy``: %v\n", err)
|
||||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||||
}
|
}
|
||||||
// response from `PatchSodPolicy`: SodPolicy
|
// response from `PatchSodPolicy`: SodPolicyRead
|
||||||
fmt.Fprintf(os.Stdout, "Response from `SODPoliciesAPI.PatchSodPolicy`: %v\n", resp)
|
fmt.Fprintf(os.Stdout, "Response from `SODPoliciesAPI.PatchSodPolicy`: %v\n", resp)
|
||||||
}
|
}
|
||||||
- path: /sod-policies/{id}/schedule
|
- path: /sod-policies/{id}/schedule
|
||||||
@@ -10369,7 +10369,7 @@
|
|||||||
|
|
||||||
func main() {
|
func main() {
|
||||||
id := `ef38f943-47e9-4562-b5bb-8424a56397d8` // string | The ID of the SOD policy to update. # string | The ID of the SOD policy to update.
|
id := `ef38f943-47e9-4562-b5bb-8424a56397d8` // string | The ID of the SOD policy to update. # string | The ID of the SOD policy to update.
|
||||||
sodpolicy := []byte(`{
|
sodpolicyread := []byte(`{
|
||||||
"conflictingAccessCriteria" : {
|
"conflictingAccessCriteria" : {
|
||||||
"leftCriteria" : {
|
"leftCriteria" : {
|
||||||
"name" : "money-in",
|
"name" : "money-in",
|
||||||
@@ -10424,11 +10424,11 @@
|
|||||||
"id" : "0f11f2a4-7c94-4bf3-a2bd-742580fe3bde",
|
"id" : "0f11f2a4-7c94-4bf3-a2bd-742580fe3bde",
|
||||||
"state" : "ENFORCED",
|
"state" : "ENFORCED",
|
||||||
"externalPolicyReference" : "XYZ policy"
|
"externalPolicyReference" : "XYZ policy"
|
||||||
}`) // SodPolicy |
|
}`) // SodPolicyRead |
|
||||||
|
|
||||||
|
|
||||||
var sodPolicy v3.SodPolicy
|
var sodPolicyRead v3.SodPolicyRead
|
||||||
if err := json.Unmarshal(sodpolicy, &sodPolicy); err != nil {
|
if err := json.Unmarshal(sodpolicyread, &sodPolicyRead); err != nil {
|
||||||
fmt.Println("Error:", err)
|
fmt.Println("Error:", err)
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
@@ -10437,13 +10437,13 @@
|
|||||||
|
|
||||||
configuration := sailpoint.NewDefaultConfiguration()
|
configuration := sailpoint.NewDefaultConfiguration()
|
||||||
apiClient := sailpoint.NewAPIClient(configuration)
|
apiClient := sailpoint.NewAPIClient(configuration)
|
||||||
resp, r, err := apiClient.V3.SODPoliciesAPI.PutSodPolicy(context.Background(), id).SodPolicy(sodPolicy).Execute()
|
resp, r, err := apiClient.V3.SODPoliciesAPI.PutSodPolicy(context.Background(), id).SodPolicyRead(sodPolicyRead).Execute()
|
||||||
//resp, r, err := apiClient.V3.SODPoliciesAPI.PutSodPolicy(context.Background(), id).SodPolicy(sodPolicy).Execute()
|
//resp, r, err := apiClient.V3.SODPoliciesAPI.PutSodPolicy(context.Background(), id).SodPolicyRead(sodPolicyRead).Execute()
|
||||||
if err != nil {
|
if err != nil {
|
||||||
fmt.Fprintf(os.Stderr, "Error when calling `SODPoliciesAPI.PutSodPolicy``: %v\n", err)
|
fmt.Fprintf(os.Stderr, "Error when calling `SODPoliciesAPI.PutSodPolicy``: %v\n", err)
|
||||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||||
}
|
}
|
||||||
// response from `PutSodPolicy`: SodPolicy
|
// response from `PutSodPolicy`: SodPolicyRead
|
||||||
fmt.Fprintf(os.Stdout, "Response from `SODPoliciesAPI.PutSodPolicy`: %v\n", resp)
|
fmt.Fprintf(os.Stdout, "Response from `SODPoliciesAPI.PutSodPolicy`: %v\n", resp)
|
||||||
}
|
}
|
||||||
- path: /sod-policies/{id}/evaluate
|
- path: /sod-policies/{id}/evaluate
|
||||||
|
|||||||
Reference in New Issue
Block a user