Skip to content

Commit

Permalink
Add NetworkPolicyServer to GatewayTypeRADIUS object model (#336)
Browse files Browse the repository at this point in the history
* Add `NetworkPolicyServer` to `GatewayTypeRADIUS` object model

* version and changelog

* changelogs
  • Loading branch information
patrickcping authored Apr 26, 2024
1 parent 7183861 commit d3f0892
Show file tree
Hide file tree
Showing 15 changed files with 403 additions and 3 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/management` : [v0.39.0](./management/CHANGELOG.md)
* **Enhancement** Added the `NetworkPolicyServer` property to the `GatewayTypeRADIUS` data model. [#336](https://github.com/patrickcping/pingone-go-sdk-v2/pull/336)

# Release (2024-03-25)

* `github.com/patrickcping/pingone-go-sdk-v2` : v0.11.8
Expand Down
2 changes: 2 additions & 0 deletions management/.openapi-generator/FILES
Original file line number Diff line number Diff line change
Expand Up @@ -384,6 +384,7 @@ docs/GatewayTypeLDAPAllOfUserTypes.md
docs/GatewayTypeRADIUS.md
docs/GatewayTypeRADIUSAllOfDavinci.md
docs/GatewayTypeRADIUSAllOfDavinciPolicy.md
docs/GatewayTypeRADIUSAllOfNetworkPolicyServer.md
docs/GatewayTypeRADIUSAllOfRadiusClients.md
docs/GatewaysApi.md
docs/Group.md
Expand Down Expand Up @@ -919,6 +920,7 @@ model_gateway_type_ldap_all_of_user_types.go
model_gateway_type_radius.go
model_gateway_type_radius_all_of_davinci.go
model_gateway_type_radius_all_of_davinci_policy.go
model_gateway_type_radius_all_of_network_policy_server.go
model_gateway_type_radius_all_of_radius_clients.go
model_group.go
model_group_direct_member_counts.go
Expand Down
2 changes: 1 addition & 1 deletion management/.version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0.38.0
0.39.0
4 changes: 4 additions & 0 deletions management/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# v0.39.0 (Unreleased)

* **Enhancement** Added the `NetworkPolicyServer` property to the `GatewayTypeRADIUS` data model. [#336](https://github.com/patrickcping/pingone-go-sdk-v2/pull/336)

# v0.38.0 (2024-03-15)

* **Enhancement** Added the `DefaultTargetUrl` property to the `ApplicationSAML` data model. [#325](https://github.com/patrickcping/pingone-go-sdk-v2/pull/325)
Expand Down
3 changes: 2 additions & 1 deletion management/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ The PingOne Platform API covering the base and SSO services (otherwise known as
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.38.0
- Package version: 0.39.0
- Build package: org.openapitools.codegen.languages.GoClientCodegen

## Installation
Expand Down Expand Up @@ -706,6 +706,7 @@ Class | Method | HTTP request | Description
- [GatewayTypeRADIUS](docs/GatewayTypeRADIUS.md)
- [GatewayTypeRADIUSAllOfDavinci](docs/GatewayTypeRADIUSAllOfDavinci.md)
- [GatewayTypeRADIUSAllOfDavinciPolicy](docs/GatewayTypeRADIUSAllOfDavinciPolicy.md)
- [GatewayTypeRADIUSAllOfNetworkPolicyServer](docs/GatewayTypeRADIUSAllOfNetworkPolicyServer.md)
- [GatewayTypeRADIUSAllOfRadiusClients](docs/GatewayTypeRADIUSAllOfRadiusClients.md)
- [Group](docs/Group.md)
- [GroupDirectMemberCounts](docs/GroupDirectMemberCounts.md)
Expand Down
17 changes: 17 additions & 0 deletions management/api/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30684,6 +30684,8 @@ components:
not provided for one or more of the RADIUS clients specified.
format: password
type: string
networkPolicyServer:
$ref: '#/components/schemas/GatewayTypeRADIUS_allOf_networkPolicyServer'
radiusClients:
description: Collection of RADIUS clients.
items:
Expand Down Expand Up @@ -37922,6 +37924,21 @@ components:
- policy
type: object
example: null
GatewayTypeRADIUS_allOf_networkPolicyServer:
description: "If specified, the RADIUS gateway authenticates using the MS-CHAP\
\ v2 protocol."
properties:
ip:
description: The IP address of the Network Policy Server (NPS).
type: string
port:
description: The port number of the NPS.
type: integer
required:
- ip
- port
type: object
example: null
GatewayTypeRADIUS_allOf_radiusClients:
properties:
ip:
Expand Down
2 changes: 1 addition & 1 deletion management/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 management/docs/CreateGateway201Response.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ Name | Type | Description | Notes
**FollowReferrals** | Pointer to **bool** | | [optional] [readonly]
**Davinci** | [**GatewayTypeRADIUSAllOfDavinci**](GatewayTypeRADIUSAllOfDavinci.md) | |
**DefaultSharedSecret** | Pointer to **string** | Value to use for the shared secret if the shared secret is not provided for one or more of the RADIUS clients specified. | [optional]
**NetworkPolicyServer** | Pointer to [**GatewayTypeRADIUSAllOfNetworkPolicyServer**](GatewayTypeRADIUSAllOfNetworkPolicyServer.md) | | [optional]
**RadiusClients** | [**[]GatewayTypeRADIUSAllOfRadiusClients**](GatewayTypeRADIUSAllOfRadiusClients.md) | Collection of RADIUS clients. |

## Methods
Expand Down Expand Up @@ -531,6 +532,31 @@ SetDefaultSharedSecret sets DefaultSharedSecret field to given value.

HasDefaultSharedSecret returns a boolean if a field has been set.

### GetNetworkPolicyServer

`func (o *CreateGateway201Response) GetNetworkPolicyServer() GatewayTypeRADIUSAllOfNetworkPolicyServer`

GetNetworkPolicyServer returns the NetworkPolicyServer field if non-nil, zero value otherwise.

### GetNetworkPolicyServerOk

`func (o *CreateGateway201Response) GetNetworkPolicyServerOk() (*GatewayTypeRADIUSAllOfNetworkPolicyServer, bool)`

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

### SetNetworkPolicyServer

`func (o *CreateGateway201Response) SetNetworkPolicyServer(v GatewayTypeRADIUSAllOfNetworkPolicyServer)`

SetNetworkPolicyServer sets NetworkPolicyServer field to given value.

### HasNetworkPolicyServer

`func (o *CreateGateway201Response) HasNetworkPolicyServer() bool`

HasNetworkPolicyServer returns a boolean if a field has been set.

### GetRadiusClients

`func (o *CreateGateway201Response) GetRadiusClients() []GatewayTypeRADIUSAllOfRadiusClients`
Expand Down
26 changes: 26 additions & 0 deletions management/docs/CreateGatewayRequest.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ Name | Type | Description | Notes
**FollowReferrals** | Pointer to **bool** | | [optional] [readonly]
**Davinci** | [**GatewayTypeRADIUSAllOfDavinci**](GatewayTypeRADIUSAllOfDavinci.md) | |
**DefaultSharedSecret** | Pointer to **string** | Value to use for the shared secret if the shared secret is not provided for one or more of the RADIUS clients specified. | [optional]
**NetworkPolicyServer** | Pointer to [**GatewayTypeRADIUSAllOfNetworkPolicyServer**](GatewayTypeRADIUSAllOfNetworkPolicyServer.md) | | [optional]
**RadiusClients** | [**[]GatewayTypeRADIUSAllOfRadiusClients**](GatewayTypeRADIUSAllOfRadiusClients.md) | Collection of RADIUS clients. |

## Methods
Expand Down Expand Up @@ -531,6 +532,31 @@ SetDefaultSharedSecret sets DefaultSharedSecret field to given value.

HasDefaultSharedSecret returns a boolean if a field has been set.

### GetNetworkPolicyServer

`func (o *CreateGatewayRequest) GetNetworkPolicyServer() GatewayTypeRADIUSAllOfNetworkPolicyServer`

GetNetworkPolicyServer returns the NetworkPolicyServer field if non-nil, zero value otherwise.

### GetNetworkPolicyServerOk

`func (o *CreateGatewayRequest) GetNetworkPolicyServerOk() (*GatewayTypeRADIUSAllOfNetworkPolicyServer, bool)`

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

### SetNetworkPolicyServer

`func (o *CreateGatewayRequest) SetNetworkPolicyServer(v GatewayTypeRADIUSAllOfNetworkPolicyServer)`

SetNetworkPolicyServer sets NetworkPolicyServer field to given value.

### HasNetworkPolicyServer

`func (o *CreateGatewayRequest) HasNetworkPolicyServer() bool`

HasNetworkPolicyServer returns a boolean if a field has been set.

### GetRadiusClients

`func (o *CreateGatewayRequest) GetRadiusClients() []GatewayTypeRADIUSAllOfRadiusClients`
Expand Down
26 changes: 26 additions & 0 deletions management/docs/EntityArrayEmbeddedGatewaysInner.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ Name | Type | Description | Notes
**FollowReferrals** | Pointer to **bool** | | [optional] [readonly]
**Davinci** | [**GatewayTypeRADIUSAllOfDavinci**](GatewayTypeRADIUSAllOfDavinci.md) | |
**DefaultSharedSecret** | Pointer to **string** | Value to use for the shared secret if the shared secret is not provided for one or more of the RADIUS clients specified. | [optional]
**NetworkPolicyServer** | Pointer to [**GatewayTypeRADIUSAllOfNetworkPolicyServer**](GatewayTypeRADIUSAllOfNetworkPolicyServer.md) | | [optional]
**RadiusClients** | [**[]GatewayTypeRADIUSAllOfRadiusClients**](GatewayTypeRADIUSAllOfRadiusClients.md) | Collection of RADIUS clients. |

## Methods
Expand Down Expand Up @@ -531,6 +532,31 @@ SetDefaultSharedSecret sets DefaultSharedSecret field to given value.

HasDefaultSharedSecret returns a boolean if a field has been set.

### GetNetworkPolicyServer

`func (o *EntityArrayEmbeddedGatewaysInner) GetNetworkPolicyServer() GatewayTypeRADIUSAllOfNetworkPolicyServer`

GetNetworkPolicyServer returns the NetworkPolicyServer field if non-nil, zero value otherwise.

### GetNetworkPolicyServerOk

`func (o *EntityArrayEmbeddedGatewaysInner) GetNetworkPolicyServerOk() (*GatewayTypeRADIUSAllOfNetworkPolicyServer, bool)`

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

### SetNetworkPolicyServer

`func (o *EntityArrayEmbeddedGatewaysInner) SetNetworkPolicyServer(v GatewayTypeRADIUSAllOfNetworkPolicyServer)`

SetNetworkPolicyServer sets NetworkPolicyServer field to given value.

### HasNetworkPolicyServer

`func (o *EntityArrayEmbeddedGatewaysInner) HasNetworkPolicyServer() bool`

HasNetworkPolicyServer returns a boolean if a field has been set.

### GetRadiusClients

`func (o *EntityArrayEmbeddedGatewaysInner) GetRadiusClients() []GatewayTypeRADIUSAllOfRadiusClients`
Expand Down
26 changes: 26 additions & 0 deletions management/docs/GatewayTypeRADIUS.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ Name | Type | Description | Notes
**CurrentAlerts** | Pointer to **[]map[string]interface{}** | | [optional] [readonly]
**Davinci** | [**GatewayTypeRADIUSAllOfDavinci**](GatewayTypeRADIUSAllOfDavinci.md) | |
**DefaultSharedSecret** | Pointer to **string** | Value to use for the shared secret if the shared secret is not provided for one or more of the RADIUS clients specified. | [optional]
**NetworkPolicyServer** | Pointer to [**GatewayTypeRADIUSAllOfNetworkPolicyServer**](GatewayTypeRADIUSAllOfNetworkPolicyServer.md) | | [optional]
**RadiusClients** | [**[]GatewayTypeRADIUSAllOfRadiusClients**](GatewayTypeRADIUSAllOfRadiusClients.md) | Collection of RADIUS clients. |

## Methods
Expand Down Expand Up @@ -317,6 +318,31 @@ SetDefaultSharedSecret sets DefaultSharedSecret field to given value.

HasDefaultSharedSecret returns a boolean if a field has been set.

### GetNetworkPolicyServer

`func (o *GatewayTypeRADIUS) GetNetworkPolicyServer() GatewayTypeRADIUSAllOfNetworkPolicyServer`

GetNetworkPolicyServer returns the NetworkPolicyServer field if non-nil, zero value otherwise.

### GetNetworkPolicyServerOk

`func (o *GatewayTypeRADIUS) GetNetworkPolicyServerOk() (*GatewayTypeRADIUSAllOfNetworkPolicyServer, bool)`

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

### SetNetworkPolicyServer

`func (o *GatewayTypeRADIUS) SetNetworkPolicyServer(v GatewayTypeRADIUSAllOfNetworkPolicyServer)`

SetNetworkPolicyServer sets NetworkPolicyServer field to given value.

### HasNetworkPolicyServer

`func (o *GatewayTypeRADIUS) HasNetworkPolicyServer() bool`

HasNetworkPolicyServer returns a boolean if a field has been set.

### GetRadiusClients

`func (o *GatewayTypeRADIUS) GetRadiusClients() []GatewayTypeRADIUSAllOfRadiusClients`
Expand Down
72 changes: 72 additions & 0 deletions management/docs/GatewayTypeRADIUSAllOfNetworkPolicyServer.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,72 @@
# GatewayTypeRADIUSAllOfNetworkPolicyServer

## Properties

Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**Ip** | **string** | The IP address of the Network Policy Server (NPS). |
**Port** | **int32** | The port number of the NPS. |

## Methods

### NewGatewayTypeRADIUSAllOfNetworkPolicyServer

`func NewGatewayTypeRADIUSAllOfNetworkPolicyServer(ip string, port int32, ) *GatewayTypeRADIUSAllOfNetworkPolicyServer`

NewGatewayTypeRADIUSAllOfNetworkPolicyServer instantiates a new GatewayTypeRADIUSAllOfNetworkPolicyServer 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

### NewGatewayTypeRADIUSAllOfNetworkPolicyServerWithDefaults

`func NewGatewayTypeRADIUSAllOfNetworkPolicyServerWithDefaults() *GatewayTypeRADIUSAllOfNetworkPolicyServer`

NewGatewayTypeRADIUSAllOfNetworkPolicyServerWithDefaults instantiates a new GatewayTypeRADIUSAllOfNetworkPolicyServer 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

### GetIp

`func (o *GatewayTypeRADIUSAllOfNetworkPolicyServer) GetIp() string`

GetIp returns the Ip field if non-nil, zero value otherwise.

### GetIpOk

`func (o *GatewayTypeRADIUSAllOfNetworkPolicyServer) GetIpOk() (*string, bool)`

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

### SetIp

`func (o *GatewayTypeRADIUSAllOfNetworkPolicyServer) SetIp(v string)`

SetIp sets Ip field to given value.


### GetPort

`func (o *GatewayTypeRADIUSAllOfNetworkPolicyServer) GetPort() int32`

GetPort returns the Port field if non-nil, zero value otherwise.

### GetPortOk

`func (o *GatewayTypeRADIUSAllOfNetworkPolicyServer) GetPortOk() (*int32, bool)`

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

### SetPort

`func (o *GatewayTypeRADIUSAllOfNetworkPolicyServer) SetPort(v int32)`

SetPort sets Port field to given value.



[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)


13 changes: 13 additions & 0 deletions management/generate/pingone-management.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2984,6 +2984,19 @@ components:
type: string
format: password
description: Value to use for the shared secret if the shared secret is not provided for one or more of the RADIUS clients specified.
networkPolicyServer:
type: object
description: If specified, the RADIUS gateway authenticates using the MS-CHAP v2 protocol.
properties:
ip:
type: string
description: The IP address of the Network Policy Server (NPS).
port:
type: integer
description: The port number of the NPS.
required:
- ip
- port
radiusClients:
type: array
description: Collection of RADIUS clients.
Expand Down
Loading

0 comments on commit d3f0892

Please sign in to comment.