From 6dcad75833709be1b51f9d9c10b746f75a6633b6 Mon Sep 17 00:00:00 2001 From: Wes <71149180+wesleymccollam@users.noreply.github.com> Date: Wed, 27 Sep 2023 17:10:44 -0400 Subject: [PATCH 1/3] Update go.mod --- go.mod | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/go.mod b/go.mod index 5466380..2eeab2f 100644 --- a/go.mod +++ b/go.mod @@ -1,4 +1,4 @@ -module github.com/pingidentity/pingfederate-go-client +module github.com/pingidentity/pingfederate-go-client/1125 go 1.18 From 2f0cb27f42dfdb76b0222b20cc332ca9f2178402 Mon Sep 17 00:00:00 2001 From: Wes <71149180+wesleymccollam@users.noreply.github.com> Date: Wed, 27 Sep 2023 17:28:46 -0400 Subject: [PATCH 2/3] Update go.mod --- go.mod | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/go.mod b/go.mod index 2eeab2f..2dc6933 100644 --- a/go.mod +++ b/go.mod @@ -1,4 +1,4 @@ -module github.com/pingidentity/pingfederate-go-client/1125 +module github.com/pingidentity/pingfederate-go-client/v1125 go 1.18 From 21a5be8be1b97592f3db70948d9c19a2dc2df2db Mon Sep 17 00:00:00 2001 From: Jithin George Date: Wed, 11 Oct 2023 19:31:05 -0700 Subject: [PATCH 3/3] Added attributeSourceAggregation to ProcessorPolicyToTokenGenerateMapping model --- api/pf-swagger.yaml | 2 +- .../docs/ProcessorPolicyToGeneratorMapping.md | 8 ++++---- .../model_processor_policy_to_generator_mapping.go | 12 ++++++------ 3 files changed, 11 insertions(+), 11 deletions(-) diff --git a/api/pf-swagger.yaml b/api/pf-swagger.yaml index f1511a4..619bd27 100644 --- a/api/pf-swagger.yaml +++ b/api/pf-swagger.yaml @@ -30091,7 +30091,7 @@ components: attributeSources: description: A list of configured data stores to look up attributes from. items: - $ref: '#/components/schemas/AttributeSource' + $ref: '#/components/schemas/AttributeSourceAggregation' type: array attributeContractFulfillment: additionalProperties: diff --git a/configurationapi/docs/ProcessorPolicyToGeneratorMapping.md b/configurationapi/docs/ProcessorPolicyToGeneratorMapping.md index cec8933..22f6de6 100644 --- a/configurationapi/docs/ProcessorPolicyToGeneratorMapping.md +++ b/configurationapi/docs/ProcessorPolicyToGeneratorMapping.md @@ -4,7 +4,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**AttributeSources** | Pointer to [**[]AttributeSource**](AttributeSource.md) | A list of configured data stores to look up attributes from. | [optional] +**AttributeSources** | Pointer to [**[]AttributeSourceAggregation**](AttributeSourceAggregation.md) | A list of configured data stores to look up attributes from. | [optional] **AttributeContractFulfillment** | [**map[string]AttributeFulfillmentValue**](AttributeFulfillmentValue.md) | A list of mappings from attribute names to their fulfillment values. | **IssuanceCriteria** | Pointer to [**IssuanceCriteria**](IssuanceCriteria.md) | | [optional] **Id** | Pointer to **string** | The id of the Token Exchange Processor policy to Token Generator mapping. This field is read-only and is ignored when passed in with the payload. | [optional] @@ -33,20 +33,20 @@ but it doesn't guarantee that properties required by API are set ### GetAttributeSources -`func (o *ProcessorPolicyToGeneratorMapping) GetAttributeSources() []AttributeSource` +`func (o *ProcessorPolicyToGeneratorMapping) GetAttributeSources() []AttributeSourceAggregation` GetAttributeSources returns the AttributeSources field if non-nil, zero value otherwise. ### GetAttributeSourcesOk -`func (o *ProcessorPolicyToGeneratorMapping) GetAttributeSourcesOk() (*[]AttributeSource, bool)` +`func (o *ProcessorPolicyToGeneratorMapping) GetAttributeSourcesOk() (*[]AttributeSourceAggregation, bool)` GetAttributeSourcesOk returns a tuple with the AttributeSources field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetAttributeSources -`func (o *ProcessorPolicyToGeneratorMapping) SetAttributeSources(v []AttributeSource)` +`func (o *ProcessorPolicyToGeneratorMapping) SetAttributeSources(v []AttributeSourceAggregation)` SetAttributeSources sets AttributeSources field to given value. diff --git a/configurationapi/model_processor_policy_to_generator_mapping.go b/configurationapi/model_processor_policy_to_generator_mapping.go index 53f1534..72a3e73 100644 --- a/configurationapi/model_processor_policy_to_generator_mapping.go +++ b/configurationapi/model_processor_policy_to_generator_mapping.go @@ -20,7 +20,7 @@ var _ MappedNullable = &ProcessorPolicyToGeneratorMapping{} // ProcessorPolicyToGeneratorMapping A Token Exchange Processor policy to Token Generator Mapping. type ProcessorPolicyToGeneratorMapping struct { // A list of configured data stores to look up attributes from. - AttributeSources []AttributeSource `json:"attributeSources,omitempty" tfsdk:"attribute_sources"` + AttributeSources []AttributeSourceAggregation `json:"attributeSources,omitempty" tfsdk:"attribute_sources"` // A list of mappings from attribute names to their fulfillment values. AttributeContractFulfillment map[string]AttributeFulfillmentValue `json:"attributeContractFulfillment" tfsdk:"attribute_contract_fulfillment"` IssuanceCriteria *IssuanceCriteria `json:"issuanceCriteria,omitempty" tfsdk:"issuance_criteria"` @@ -55,9 +55,9 @@ func NewProcessorPolicyToGeneratorMappingWithDefaults() *ProcessorPolicyToGenera } // GetAttributeSources returns the AttributeSources field value if set, zero value otherwise. -func (o *ProcessorPolicyToGeneratorMapping) GetAttributeSources() []AttributeSource { +func (o *ProcessorPolicyToGeneratorMapping) GetAttributeSources() []AttributeSourceAggregation { if o == nil || IsNil(o.AttributeSources) { - var ret []AttributeSource + var ret []AttributeSourceAggregation return ret } return o.AttributeSources @@ -65,7 +65,7 @@ func (o *ProcessorPolicyToGeneratorMapping) GetAttributeSources() []AttributeSou // GetAttributeSourcesOk returns a tuple with the AttributeSources field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *ProcessorPolicyToGeneratorMapping) GetAttributeSourcesOk() ([]AttributeSource, bool) { +func (o *ProcessorPolicyToGeneratorMapping) GetAttributeSourcesOk() ([]AttributeSourceAggregation, bool) { if o == nil || IsNil(o.AttributeSources) { return nil, false } @@ -81,8 +81,8 @@ func (o *ProcessorPolicyToGeneratorMapping) HasAttributeSources() bool { return false } -// SetAttributeSources gets a reference to the given []AttributeSource and assigns it to the AttributeSources field. -func (o *ProcessorPolicyToGeneratorMapping) SetAttributeSources(v []AttributeSource) { +// SetAttributeSources gets a reference to the given []AttributeSourceAggregation and assigns it to the AttributeSources field. +func (o *ProcessorPolicyToGeneratorMapping) SetAttributeSources(v []AttributeSourceAggregation) { o.AttributeSources = v }