Skip to content

Commit

Permalink
Correct DomainWhiteList field in the `RiskPredictorAdversaryInTheMi…
Browse files Browse the repository at this point in the history
…ddle` model (#361)

* Correct `DomainWhiteList` field in the `RiskPredictorAdversaryInTheMiddle` model

* changelogs
  • Loading branch information
patrickcping committed Jun 10, 2024
1 parent 9db360f commit b5d41c5
Show file tree
Hide file tree
Showing 10 changed files with 70 additions and 35 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
# Release (Unreleased)

* `github.com/patrickcping/pingone-go-sdk-v2/risk` : [v0.15.1](./risk/CHANGELOG.md)
* **Bug** Corrected `DomainWhiteList` field in the `RiskPredictorAdversaryInTheMiddle` model. [#361](https://github.com/patrickcping/pingone-go-sdk-v2/pull/361)

# Release (2024-06-07)

* `github.com/patrickcping/pingone-go-sdk-v2` : v0.12.0
Expand Down
2 changes: 1 addition & 1 deletion risk/.version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0.15.0
0.15.1
4 changes: 4 additions & 0 deletions risk/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# v0.15.1 (Unreleased)

* **Bug** Corrected `DomainWhiteList` field in the `RiskPredictorAdversaryInTheMiddle` model. [#361](https://github.com/patrickcping/pingone-go-sdk-v2/pull/361)

# v0.15.0 (2024-06-07)

* **Enhancement** Add the `com.au` top level domain to the connection configuration. [#351](https://github.com/patrickcping/pingone-go-sdk-v2/pull/351)
Expand Down
2 changes: 1 addition & 1 deletion risk/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ The PingOne Platform API covering the PingOne Risk service
This API client was generated by the [OpenAPI Generator](https://openapi-generator.tech) project. By using the [OpenAPI-spec](https://www.openapis.org/) from a remote server, you can easily generate an API client.

- API version: 2023-06-29
- Package version: 0.15.0
- Package version: 0.15.1
- Build package: org.openapitools.codegen.languages.GoClientCodegen

## Installation
Expand Down
2 changes: 1 addition & 1 deletion risk/api/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2190,7 +2190,7 @@ components:
allOf:
- $ref: '#/components/schemas/RiskPredictorCommon'
- properties:
whiteList:
domainWhiteList:
description: A list of strings that specify legitimate domains that users
will access for restricted resources.
items:
Expand Down
2 changes: 1 addition & 1 deletion risk/configuration.go

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

26 changes: 26 additions & 0 deletions risk/docs/RiskPredictor.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ Name | Type | Description | Notes
**Deletable** | Pointer to **bool** | A boolean to indicate whether the predictor is deletable in the environment. | [optional] [readonly]
**Default** | Pointer to [**RiskPredictorCommonDefault**](RiskPredictorCommonDefault.md) | | [optional]
**Condition** | Pointer to [**RiskPredictorCommonCondition**](RiskPredictorCommonCondition.md) | | [optional]
**DomainWhiteList** | Pointer to **[]string** | A list of strings that specify legitimate domains that users will access for restricted resources. | [optional]
**WhiteList** | Pointer to **[]string** | A list of IP addresses (CDIRs) that are ignored for the predictor results. | [optional]
**Composition** | Pointer to [**RiskPredictorCompositeAllOfComposition**](RiskPredictorCompositeAllOfComposition.md) | | [optional]
**Compositions** | [**[]RiskPredictorCompositeAllOfCompositionsInner**](RiskPredictorCompositeAllOfCompositionsInner.md) | Contains the objects that specify the conditions to test and the risk level that should be assigned if the conditions are met. The array can contain a maximum of three elements. |
Expand Down Expand Up @@ -338,6 +339,31 @@ SetCondition sets Condition field to given value.

HasCondition returns a boolean if a field has been set.

### GetDomainWhiteList

`func (o *RiskPredictor) GetDomainWhiteList() []string`

GetDomainWhiteList returns the DomainWhiteList field if non-nil, zero value otherwise.

### GetDomainWhiteListOk

`func (o *RiskPredictor) GetDomainWhiteListOk() (*[]string, bool)`

GetDomainWhiteListOk returns a tuple with the DomainWhiteList field if it's non-nil, zero value otherwise
and a boolean to check if the value has been set.

### SetDomainWhiteList

`func (o *RiskPredictor) SetDomainWhiteList(v []string)`

SetDomainWhiteList sets DomainWhiteList field to given value.

### HasDomainWhiteList

`func (o *RiskPredictor) HasDomainWhiteList() bool`

HasDomainWhiteList returns a boolean if a field has been set.

### GetWhiteList

`func (o *RiskPredictor) GetWhiteList() []string`
Expand Down
26 changes: 13 additions & 13 deletions risk/docs/RiskPredictorAdversaryInTheMiddle.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ Name | Type | Description | Notes
**Deletable** | Pointer to **bool** | A boolean to indicate whether the predictor is deletable in the environment. | [optional] [readonly]
**Default** | Pointer to [**RiskPredictorCommonDefault**](RiskPredictorCommonDefault.md) | | [optional]
**Condition** | Pointer to [**RiskPredictorCommonCondition**](RiskPredictorCommonCondition.md) | | [optional]
**WhiteList** | Pointer to **[]string** | A list of strings that specify legitimate domains that users will access for restricted resources. | [optional]
**DomainWhiteList** | Pointer to **[]string** | A list of strings that specify legitimate domains that users will access for restricted resources. | [optional]

## Methods

Expand Down Expand Up @@ -322,30 +322,30 @@ SetCondition sets Condition field to given value.

HasCondition returns a boolean if a field has been set.

### GetWhiteList
### GetDomainWhiteList

`func (o *RiskPredictorAdversaryInTheMiddle) GetWhiteList() []string`
`func (o *RiskPredictorAdversaryInTheMiddle) GetDomainWhiteList() []string`

GetWhiteList returns the WhiteList field if non-nil, zero value otherwise.
GetDomainWhiteList returns the DomainWhiteList field if non-nil, zero value otherwise.

### GetWhiteListOk
### GetDomainWhiteListOk

`func (o *RiskPredictorAdversaryInTheMiddle) GetWhiteListOk() (*[]string, bool)`
`func (o *RiskPredictorAdversaryInTheMiddle) GetDomainWhiteListOk() (*[]string, bool)`

GetWhiteListOk returns a tuple with the WhiteList field if it's non-nil, zero value otherwise
GetDomainWhiteListOk returns a tuple with the DomainWhiteList field if it's non-nil, zero value otherwise
and a boolean to check if the value has been set.

### SetWhiteList
### SetDomainWhiteList

`func (o *RiskPredictorAdversaryInTheMiddle) SetWhiteList(v []string)`
`func (o *RiskPredictorAdversaryInTheMiddle) SetDomainWhiteList(v []string)`

SetWhiteList sets WhiteList field to given value.
SetDomainWhiteList sets DomainWhiteList field to given value.

### HasWhiteList
### HasDomainWhiteList

`func (o *RiskPredictorAdversaryInTheMiddle) HasWhiteList() bool`
`func (o *RiskPredictorAdversaryInTheMiddle) HasDomainWhiteList() bool`

HasWhiteList returns a boolean if a field has been set.
HasDomainWhiteList returns a boolean if a field has been set.


[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
Expand Down
2 changes: 1 addition & 1 deletion risk/generate/pingone-risk.yml
Original file line number Diff line number Diff line change
Expand Up @@ -872,7 +872,7 @@ components:
- $ref: '#/components/schemas/RiskPredictorCommon'
- type: object
properties:
whiteList:
domainWhiteList:
type: array
description: A list of strings that specify legitimate domains that users will access for restricted resources.
items:
Expand Down
34 changes: 17 additions & 17 deletions risk/model_risk_predictor_adversary_in_the_middle.go

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

0 comments on commit b5d41c5

Please sign in to comment.