Update Go SDK docs: 16529940898

This commit is contained in:
developer-relations-sp
2025-07-25 19:24:26 +00:00
parent aefdabfd26
commit 1d8607b04f
14 changed files with 504 additions and 40 deletions

View File

@@ -0,0 +1,116 @@
---
id: beta-sod-policy-dto1
title: SodPolicyDto1
pagination_label: SodPolicyDto1
sidebar_label: SodPolicyDto1
sidebar_class_name: gosdk
keywords: ['go', 'Golang', 'sdk', 'SodPolicyDto1', 'BetaSodPolicyDto1']
slug: /tools/sdk/go/beta/models/sod-policy-dto1
tags: ['SDK', 'Software Development Kit', 'SodPolicyDto1', 'BetaSodPolicyDto1']
---
# SodPolicyDto1
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**Type** | Pointer to **string** | SOD policy DTO type. | [optional]
**Id** | Pointer to **string** | SOD policy ID. | [optional]
**Name** | Pointer to **string** | SOD policy display name. | [optional]
## Methods
### NewSodPolicyDto1
`func NewSodPolicyDto1() *SodPolicyDto1`
NewSodPolicyDto1 instantiates a new SodPolicyDto1 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
### NewSodPolicyDto1WithDefaults
`func NewSodPolicyDto1WithDefaults() *SodPolicyDto1`
NewSodPolicyDto1WithDefaults instantiates a new SodPolicyDto1 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 *SodPolicyDto1) GetType() string`
GetType returns the Type field if non-nil, zero value otherwise.
### GetTypeOk
`func (o *SodPolicyDto1) 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 *SodPolicyDto1) SetType(v string)`
SetType sets Type field to given value.
### HasType
`func (o *SodPolicyDto1) HasType() bool`
HasType returns a boolean if a field has been set.
### GetId
`func (o *SodPolicyDto1) GetId() string`
GetId returns the Id field if non-nil, zero value otherwise.
### GetIdOk
`func (o *SodPolicyDto1) 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 *SodPolicyDto1) SetId(v string)`
SetId sets Id field to given value.
### HasId
`func (o *SodPolicyDto1) HasId() bool`
HasId returns a boolean if a field has been set.
### GetName
`func (o *SodPolicyDto1) GetName() string`
GetName returns the Name field if non-nil, zero value otherwise.
### GetNameOk
`func (o *SodPolicyDto1) 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 *SodPolicyDto1) SetName(v string)`
SetName sets Name field to given value.
### HasName
`func (o *SodPolicyDto1) HasName() bool`
HasName returns a boolean if a field has been set.

View File

@@ -18,7 +18,7 @@ Name | Type | Description | Notes
**Message** | Pointer to [**ErrorMessageDto**](error-message-dto) | | [optional]
**ClientMetadata** | Pointer to **map[string]string** | Arbitrary key-value pairs. They will never be processed by the IdentityNow system but will be returned on completion of the violation check. | [optional]
**ViolationContexts** | Pointer to [**[]SodViolationContext**](sod-violation-context) | | [optional]
**ViolatedPolicies** | Pointer to [**[]SodPolicyDto**](sod-policy-dto) | A list of the SOD policies that were violated. | [optional]
**ViolatedPolicies** | Pointer to [**[]SodPolicyDto1**](sod-policy-dto1) | A list of the SOD policies that were violated. | [optional]
## Methods
@@ -136,20 +136,20 @@ HasViolationContexts returns a boolean if a field has been set.
UnsetViolationContexts ensures that no value is present for ViolationContexts, not even an explicit nil
### GetViolatedPolicies
`func (o *SodViolationCheckResult) GetViolatedPolicies() []SodPolicyDto`
`func (o *SodViolationCheckResult) GetViolatedPolicies() []SodPolicyDto1`
GetViolatedPolicies returns the ViolatedPolicies field if non-nil, zero value otherwise.
### GetViolatedPoliciesOk
`func (o *SodViolationCheckResult) GetViolatedPoliciesOk() (*[]SodPolicyDto, bool)`
`func (o *SodViolationCheckResult) GetViolatedPoliciesOk() (*[]SodPolicyDto1, bool)`
GetViolatedPoliciesOk returns a tuple with the ViolatedPolicies field if it's non-nil, zero value otherwise
and a boolean to check if the value has been set.
### SetViolatedPolicies
`func (o *SodViolationCheckResult) SetViolatedPolicies(v []SodPolicyDto)`
`func (o *SodViolationCheckResult) SetViolatedPolicies(v []SodPolicyDto1)`
SetViolatedPolicies sets ViolatedPolicies field to given value.

View File

@@ -18,7 +18,7 @@ Name | Type | Description | Notes
**Message** | Pointer to [**ErrorMessageDto**](error-message-dto) | | [optional]
**ClientMetadata** | Pointer to **map[string]string** | Arbitrary key-value pairs. They will never be processed by the IdentityNow system but will be returned on completion of the violation check. | [optional]
**ViolationContexts** | Pointer to [**[]SodViolationContext1**](sod-violation-context1) | | [optional]
**ViolatedPolicies** | Pointer to [**[]SodPolicyDto**](sod-policy-dto) | A list of the Policies that were violated. | [optional]
**ViolatedPolicies** | Pointer to [**[]SodPolicyDto1**](sod-policy-dto1) | A list of the Policies that were violated. | [optional]
## Methods
@@ -116,20 +116,20 @@ HasViolationContexts returns a boolean if a field has been set.
### GetViolatedPolicies
`func (o *SodViolationCheckResult1) GetViolatedPolicies() []SodPolicyDto`
`func (o *SodViolationCheckResult1) GetViolatedPolicies() []SodPolicyDto1`
GetViolatedPolicies returns the ViolatedPolicies field if non-nil, zero value otherwise.
### GetViolatedPoliciesOk
`func (o *SodViolationCheckResult1) GetViolatedPoliciesOk() (*[]SodPolicyDto, bool)`
`func (o *SodViolationCheckResult1) GetViolatedPoliciesOk() (*[]SodPolicyDto1, bool)`
GetViolatedPoliciesOk returns a tuple with the ViolatedPolicies field if it's non-nil, zero value otherwise
and a boolean to check if the value has been set.
### SetViolatedPolicies
`func (o *SodViolationCheckResult1) SetViolatedPolicies(v []SodPolicyDto)`
`func (o *SodViolationCheckResult1) SetViolatedPolicies(v []SodPolicyDto1)`
SetViolatedPolicies sets ViolatedPolicies field to given value.

View File

@@ -15,7 +15,7 @@ tags: ['SDK', 'Software Development Kit', 'SodViolationContext', 'BetaSodViolati
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**Policy** | Pointer to [**SodPolicyDto**](sod-policy-dto) | | [optional]
**Policy** | Pointer to [**SodPolicyDto1**](sod-policy-dto1) | | [optional]
**ConflictingAccessCriteria** | Pointer to [**SodViolationContextConflictingAccessCriteria**](sod-violation-context-conflicting-access-criteria) | | [optional]
## Methods
@@ -39,20 +39,20 @@ but it doesn't guarantee that properties required by API are set
### GetPolicy
`func (o *SodViolationContext) GetPolicy() SodPolicyDto`
`func (o *SodViolationContext) GetPolicy() SodPolicyDto1`
GetPolicy returns the Policy field if non-nil, zero value otherwise.
### GetPolicyOk
`func (o *SodViolationContext) GetPolicyOk() (*SodPolicyDto, bool)`
`func (o *SodViolationContext) GetPolicyOk() (*SodPolicyDto1, bool)`
GetPolicyOk returns a tuple with the Policy field if it's non-nil, zero value otherwise
and a boolean to check if the value has been set.
### SetPolicy
`func (o *SodViolationContext) SetPolicy(v SodPolicyDto)`
`func (o *SodViolationContext) SetPolicy(v SodPolicyDto1)`
SetPolicy sets Policy field to given value.

View File

@@ -15,7 +15,7 @@ tags: ['SDK', 'Software Development Kit', 'SodViolationContext1', 'BetaSodViolat
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**Policy** | Pointer to [**SodPolicyDto**](sod-policy-dto) | | [optional]
**Policy** | Pointer to [**SodPolicyDto1**](sod-policy-dto1) | | [optional]
**ConflictingAccessCriteria** | Pointer to [**SodViolationContext1ConflictingAccessCriteria**](sod-violation-context1-conflicting-access-criteria) | | [optional]
## Methods
@@ -39,20 +39,20 @@ but it doesn't guarantee that properties required by API are set
### GetPolicy
`func (o *SodViolationContext1) GetPolicy() SodPolicyDto`
`func (o *SodViolationContext1) GetPolicy() SodPolicyDto1`
GetPolicy returns the Policy field if non-nil, zero value otherwise.
### GetPolicyOk
`func (o *SodViolationContext1) GetPolicyOk() (*SodPolicyDto, bool)`
`func (o *SodViolationContext1) GetPolicyOk() (*SodPolicyDto1, bool)`
GetPolicyOk returns a tuple with the Policy field if it's non-nil, zero value otherwise
and a boolean to check if the value has been set.
### SetPolicy
`func (o *SodViolationContext1) SetPolicy(v SodPolicyDto)`
`func (o *SodViolationContext1) SetPolicy(v SodPolicyDto1)`
SetPolicy sets Policy field to given value.