mirror of
https://github.com/LukeHagar/developer.sailpoint.com.git
synced 2025-12-10 04:19:42 +00:00
Update Go SDK docs: 16260121800
This commit is contained in:
@@ -2336,6 +2336,7 @@ func main() {
|
|||||||
sourceId := `2c9180835d191a86015d28455b4a2329` // string | The source id # string | The source id
|
sourceId := `2c9180835d191a86015d28455b4a2329` // string | The source id # string | The source id
|
||||||
correlationconfig := []byte(`{
|
correlationconfig := []byte(`{
|
||||||
"attributeAssignments" : [ {
|
"attributeAssignments" : [ {
|
||||||
|
"sequence" : 1,
|
||||||
"filterString" : "first_name == \"John\"",
|
"filterString" : "first_name == \"John\"",
|
||||||
"ignoreCase" : false,
|
"ignoreCase" : false,
|
||||||
"complex" : false,
|
"complex" : false,
|
||||||
@@ -2344,6 +2345,7 @@ func main() {
|
|||||||
"operation" : "EQ",
|
"operation" : "EQ",
|
||||||
"matchMode" : "ANYWHERE"
|
"matchMode" : "ANYWHERE"
|
||||||
}, {
|
}, {
|
||||||
|
"sequence" : 1,
|
||||||
"filterString" : "first_name == \"John\"",
|
"filterString" : "first_name == \"John\"",
|
||||||
"ignoreCase" : false,
|
"ignoreCase" : false,
|
||||||
"complex" : false,
|
"complex" : false,
|
||||||
|
|||||||
@@ -15,6 +15,7 @@ tags: ['SDK', 'Software Development Kit', 'CorrelationConfigAttributeAssignments
|
|||||||
|
|
||||||
Name | Type | Description | Notes
|
Name | Type | Description | Notes
|
||||||
------------ | ------------- | ------------- | -------------
|
------------ | ------------- | ------------- | -------------
|
||||||
|
**Sequence** | Pointer to **int32** | The sequence of the attribute assignment. | [optional]
|
||||||
**Property** | Pointer to **string** | The property of the attribute assignment. | [optional]
|
**Property** | Pointer to **string** | The property of the attribute assignment. | [optional]
|
||||||
**Value** | Pointer to **string** | The value of the attribute assignment. | [optional]
|
**Value** | Pointer to **string** | The value of the attribute assignment. | [optional]
|
||||||
**Operation** | Pointer to **string** | The operation of the attribute assignment. | [optional]
|
**Operation** | Pointer to **string** | The operation of the attribute assignment. | [optional]
|
||||||
@@ -42,6 +43,31 @@ NewCorrelationConfigAttributeAssignmentsInnerWithDefaults instantiates a new Cor
|
|||||||
This constructor will only assign default values to properties that have it defined,
|
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
|
but it doesn't guarantee that properties required by API are set
|
||||||
|
|
||||||
|
### GetSequence
|
||||||
|
|
||||||
|
`func (o *CorrelationConfigAttributeAssignmentsInner) GetSequence() int32`
|
||||||
|
|
||||||
|
GetSequence returns the Sequence field if non-nil, zero value otherwise.
|
||||||
|
|
||||||
|
### GetSequenceOk
|
||||||
|
|
||||||
|
`func (o *CorrelationConfigAttributeAssignmentsInner) GetSequenceOk() (*int32, bool)`
|
||||||
|
|
||||||
|
GetSequenceOk returns a tuple with the Sequence field if it's non-nil, zero value otherwise
|
||||||
|
and a boolean to check if the value has been set.
|
||||||
|
|
||||||
|
### SetSequence
|
||||||
|
|
||||||
|
`func (o *CorrelationConfigAttributeAssignmentsInner) SetSequence(v int32)`
|
||||||
|
|
||||||
|
SetSequence sets Sequence field to given value.
|
||||||
|
|
||||||
|
### HasSequence
|
||||||
|
|
||||||
|
`func (o *CorrelationConfigAttributeAssignmentsInner) HasSequence() bool`
|
||||||
|
|
||||||
|
HasSequence returns a boolean if a field has been set.
|
||||||
|
|
||||||
### GetProperty
|
### GetProperty
|
||||||
|
|
||||||
`func (o *CorrelationConfigAttributeAssignmentsInner) GetProperty() string`
|
`func (o *CorrelationConfigAttributeAssignmentsInner) GetProperty() string`
|
||||||
|
|||||||
@@ -175,17 +175,6 @@ func main() {
|
|||||||
[[Back to top]](#)
|
[[Back to top]](#)
|
||||||
|
|
||||||
## patch-org-config
|
## patch-org-config
|
||||||
:::warning experimental
|
|
||||||
This API is currently in an experimental state. The API is subject to change based on feedback and further testing. You must include the X-SailPoint-Experimental header and set it to `true` to use this endpoint.
|
|
||||||
:::
|
|
||||||
:::tip setting x-sailpoint-experimental header
|
|
||||||
on the configuration object you can set the `x-sailpoint-experimental` header to `true' to enable all experimantl endpoints within the SDK.
|
|
||||||
Example:
|
|
||||||
```go
|
|
||||||
configuration = Configuration()
|
|
||||||
configuration.experimental = True
|
|
||||||
```
|
|
||||||
:::
|
|
||||||
Patch org config
|
Patch org config
|
||||||
Patch the current organization's configuration, using http://jsonpatch.com/ syntax. This is commonly used to changing an organization's time zone.
|
Patch the current organization's configuration, using http://jsonpatch.com/ syntax. This is commonly used to changing an organization's time zone.
|
||||||
|
|
||||||
@@ -202,7 +191,6 @@ Other parameters are passed through a pointer to a apiPatchOrgConfigRequest stru
|
|||||||
|
|
||||||
Name | Type | Description | Notes
|
Name | Type | Description | Notes
|
||||||
------------- | ------------- | ------------- | -------------
|
------------- | ------------- | ------------- | -------------
|
||||||
**xSailPointExperimental** | **string** | Use this header to enable this experimental API. | [default to "true"]
|
|
||||||
**jsonPatchOperation** | [**[]JsonPatchOperation**](../models/json-patch-operation) | A list of schema attribute update operations according to the [JSON Patch](https://tools.ietf.org/html/rfc6902) standard. |
|
**jsonPatchOperation** | [**[]JsonPatchOperation**](../models/json-patch-operation) | A list of schema attribute update operations according to the [JSON Patch](https://tools.ietf.org/html/rfc6902) standard. |
|
||||||
|
|
||||||
### Return type
|
### Return type
|
||||||
@@ -229,7 +217,6 @@ import (
|
|||||||
)
|
)
|
||||||
|
|
||||||
func main() {
|
func main() {
|
||||||
xSailPointExperimental := `true` // string | Use this header to enable this experimental API. (default to "true") # string | Use this header to enable this experimental API. (default to "true")
|
|
||||||
jsonpatchoperation := []byte(`[{op=replace, path=/timeZone, value=America/Toronto}]`) // []JsonPatchOperation | A list of schema attribute update operations according to the [JSON Patch](https://tools.ietf.org/html/rfc6902) standard.
|
jsonpatchoperation := []byte(`[{op=replace, path=/timeZone, value=America/Toronto}]`) // []JsonPatchOperation | A list of schema attribute update operations according to the [JSON Patch](https://tools.ietf.org/html/rfc6902) standard.
|
||||||
|
|
||||||
var jsonPatchOperation []v2025.JsonPatchOperation
|
var jsonPatchOperation []v2025.JsonPatchOperation
|
||||||
@@ -241,8 +228,8 @@ func main() {
|
|||||||
|
|
||||||
configuration := sailpoint.NewDefaultConfiguration()
|
configuration := sailpoint.NewDefaultConfiguration()
|
||||||
apiClient := sailpoint.NewAPIClient(configuration)
|
apiClient := sailpoint.NewAPIClient(configuration)
|
||||||
resp, r, err := apiClient.V2025.OrgConfigAPI.PatchOrgConfig(context.Background()).XSailPointExperimental(xSailPointExperimental).JsonPatchOperation(jsonPatchOperation).Execute()
|
resp, r, err := apiClient.V2025.OrgConfigAPI.PatchOrgConfig(context.Background()).JsonPatchOperation(jsonPatchOperation).Execute()
|
||||||
//resp, r, err := apiClient.V2025.OrgConfigAPI.PatchOrgConfig(context.Background()).XSailPointExperimental(xSailPointExperimental).JsonPatchOperation(jsonPatchOperation).Execute()
|
//resp, r, err := apiClient.V2025.OrgConfigAPI.PatchOrgConfig(context.Background()).JsonPatchOperation(jsonPatchOperation).Execute()
|
||||||
if err != nil {
|
if err != nil {
|
||||||
fmt.Fprintf(os.Stderr, "Error when calling `OrgConfigAPI.PatchOrgConfig``: %v\n", err)
|
fmt.Fprintf(os.Stderr, "Error when calling `OrgConfigAPI.PatchOrgConfig``: %v\n", err)
|
||||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||||
|
|||||||
@@ -19118,6 +19118,7 @@
|
|||||||
sourceId := `2c9180835d191a86015d28455b4a2329` // string | The source id # string | The source id
|
sourceId := `2c9180835d191a86015d28455b4a2329` // string | The source id # string | The source id
|
||||||
correlationconfig := []byte(`{
|
correlationconfig := []byte(`{
|
||||||
"attributeAssignments" : [ {
|
"attributeAssignments" : [ {
|
||||||
|
"sequence" : 1,
|
||||||
"filterString" : "first_name == \"John\"",
|
"filterString" : "first_name == \"John\"",
|
||||||
"ignoreCase" : false,
|
"ignoreCase" : false,
|
||||||
"complex" : false,
|
"complex" : false,
|
||||||
@@ -19126,6 +19127,7 @@
|
|||||||
"operation" : "EQ",
|
"operation" : "EQ",
|
||||||
"matchMode" : "ANYWHERE"
|
"matchMode" : "ANYWHERE"
|
||||||
}, {
|
}, {
|
||||||
|
"sequence" : 1,
|
||||||
"filterString" : "first_name == \"John\"",
|
"filterString" : "first_name == \"John\"",
|
||||||
"ignoreCase" : false,
|
"ignoreCase" : false,
|
||||||
"complex" : false,
|
"complex" : false,
|
||||||
|
|||||||
@@ -18261,7 +18261,6 @@
|
|||||||
)
|
)
|
||||||
|
|
||||||
func main() {
|
func main() {
|
||||||
xSailPointExperimental := `true` // string | Use this header to enable this experimental API. (default to "true") # string | Use this header to enable this experimental API. (default to "true")
|
|
||||||
jsonpatchoperation := []byte(`[{op=replace, path=/timeZone, value=America/Toronto}]`) // []JsonPatchOperation | A list of schema attribute update operations according to the [JSON Patch](https://tools.ietf.org/html/rfc6902) standard.
|
jsonpatchoperation := []byte(`[{op=replace, path=/timeZone, value=America/Toronto}]`) // []JsonPatchOperation | A list of schema attribute update operations according to the [JSON Patch](https://tools.ietf.org/html/rfc6902) standard.
|
||||||
|
|
||||||
|
|
||||||
@@ -18275,8 +18274,8 @@
|
|||||||
|
|
||||||
configuration := sailpoint.NewDefaultConfiguration()
|
configuration := sailpoint.NewDefaultConfiguration()
|
||||||
apiClient := sailpoint.NewAPIClient(configuration)
|
apiClient := sailpoint.NewAPIClient(configuration)
|
||||||
resp, r, err := apiClient.V2025.OrgConfigAPI.PatchOrgConfig(context.Background()).XSailPointExperimental(xSailPointExperimental).JsonPatchOperation(jsonPatchOperation).Execute()
|
resp, r, err := apiClient.V2025.OrgConfigAPI.PatchOrgConfig(context.Background()).JsonPatchOperation(jsonPatchOperation).Execute()
|
||||||
//resp, r, err := apiClient.V2025.OrgConfigAPI.PatchOrgConfig(context.Background()).XSailPointExperimental(xSailPointExperimental).JsonPatchOperation(jsonPatchOperation).Execute()
|
//resp, r, err := apiClient.V2025.OrgConfigAPI.PatchOrgConfig(context.Background()).JsonPatchOperation(jsonPatchOperation).Execute()
|
||||||
if err != nil {
|
if err != nil {
|
||||||
fmt.Fprintf(os.Stderr, "Error when calling `OrgConfigAPI.PatchOrgConfig``: %v\n", err)
|
fmt.Fprintf(os.Stderr, "Error when calling `OrgConfigAPI.PatchOrgConfig``: %v\n", err)
|
||||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||||
|
|||||||
Reference in New Issue
Block a user