Skip to content

Commit

Permalink
Merge pull request #62 from pingidentity/MarkSpAdapterRefOptional
Browse files Browse the repository at this point in the history
Update sp_adapter_ref field to be optional
  • Loading branch information
henryrecker-pingidentity authored Nov 21, 2024
2 parents 153ae53 + 4f8857f commit 2f95259
Show file tree
Hide file tree
Showing 4 changed files with 29 additions and 17 deletions.
1 change: 0 additions & 1 deletion api/pf-swagger.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19052,7 +19052,6 @@ components:
SpAdapterMapping:
required:
- attributeContractFulfillment
- spAdapterRef
type: object
properties:
spAdapterRef:
Expand Down
1 change: 0 additions & 1 deletion configurationapi/api/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21273,7 +21273,6 @@ components:
$ref: '#/components/schemas/IssuanceCriteria'
required:
- attributeContractFulfillment
- spAdapterRef
type: object
SpAttributeQuery:
description: The attribute query profile supports SPs in requesting user attributes.
Expand Down
9 changes: 7 additions & 2 deletions configurationapi/docs/SpAdapterMapping.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**SpAdapterRef** | [**ResourceLink**](ResourceLink.md) | |
**SpAdapterRef** | Pointer to [**ResourceLink**](ResourceLink.md) | | [optional]
**RestrictVirtualEntityIds** | Pointer to **bool** | Restricts this mapping to specific virtual entity IDs. | [optional]
**RestrictedVirtualEntityIds** | Pointer to **[]string** | The list of virtual server IDs that this mapping is restricted to. | [optional]
**AdapterOverrideSettings** | Pointer to [**SpAdapter**](SpAdapter.md) | | [optional]
Expand All @@ -16,7 +16,7 @@ Name | Type | Description | Notes

### NewSpAdapterMapping

`func NewSpAdapterMapping(spAdapterRef ResourceLink, attributeContractFulfillment map[string]AttributeFulfillmentValue, ) *SpAdapterMapping`
`func NewSpAdapterMapping(attributeContractFulfillment map[string]AttributeFulfillmentValue, ) *SpAdapterMapping`

NewSpAdapterMapping instantiates a new SpAdapterMapping object
This constructor will assign default values to properties that have it defined,
Expand Down Expand Up @@ -50,6 +50,11 @@ and a boolean to check if the value has been set.

SetSpAdapterRef sets SpAdapterRef field to given value.

### HasSpAdapterRef

`func (o *SpAdapterMapping) HasSpAdapterRef() bool`

HasSpAdapterRef returns a boolean if a field has been set.

### GetRestrictVirtualEntityIds

Expand Down
35 changes: 22 additions & 13 deletions configurationapi/model_sp_adapter_mapping.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 2f95259

Please sign in to comment.