Skip to content

Commit

Permalink
Update API Client
Browse files Browse the repository at this point in the history
#### What's Changed
---

##### `GET` /enterprise/license/forecast/

###### Return Type:

Changed response : **200 OK**

* Changed content type : `application/json`

    New required properties:
    - `forecasted_external_users`
    - `forecasted_users`

    * Added property `forecasted_users` (integer)

    * Added property `forecasted_external_users` (integer)
  • Loading branch information
authentik-automation[bot] committed Jul 18, 2023
1 parent 2a4decc commit 4da9b6f
Show file tree
Hide file tree
Showing 4 changed files with 118 additions and 4 deletions.
8 changes: 8 additions & 0 deletions api/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -36227,14 +36227,22 @@ components:
description: Serializer for license forecast
example:
external_users: 6
forecasted_users: 1
forecasted_external_users: 5
users: 0
properties:
users:
type: integer
external_users:
type: integer
forecasted_users:
type: integer
forecasted_external_users:
type: integer
required:
- external_users
- forecasted_external_users
- forecasted_users
- users
type: object
LicenseRequest:
Expand Down
44 changes: 43 additions & 1 deletion docs/LicenseForecast.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,14 @@ Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**Users** | **int32** | |
**ExternalUsers** | **int32** | |
**ForecastedUsers** | **int32** | |
**ForecastedExternalUsers** | **int32** | |

## Methods

### NewLicenseForecast

`func NewLicenseForecast(users int32, externalUsers int32, ) *LicenseForecast`
`func NewLicenseForecast(users int32, externalUsers int32, forecastedUsers int32, forecastedExternalUsers int32, ) *LicenseForecast`

NewLicenseForecast instantiates a new LicenseForecast object
This constructor will assign default values to properties that have it defined,
Expand Down Expand Up @@ -66,6 +68,46 @@ and a boolean to check if the value has been set.
SetExternalUsers sets ExternalUsers field to given value.


### GetForecastedUsers

`func (o *LicenseForecast) GetForecastedUsers() int32`

GetForecastedUsers returns the ForecastedUsers field if non-nil, zero value otherwise.

### GetForecastedUsersOk

`func (o *LicenseForecast) GetForecastedUsersOk() (*int32, bool)`

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

### SetForecastedUsers

`func (o *LicenseForecast) SetForecastedUsers(v int32)`

SetForecastedUsers sets ForecastedUsers field to given value.


### GetForecastedExternalUsers

`func (o *LicenseForecast) GetForecastedExternalUsers() int32`

GetForecastedExternalUsers returns the ForecastedExternalUsers field if non-nil, zero value otherwise.

### GetForecastedExternalUsersOk

`func (o *LicenseForecast) GetForecastedExternalUsersOk() (*int32, bool)`

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

### SetForecastedExternalUsers

`func (o *LicenseForecast) SetForecastedExternalUsers(v int32)`

SetForecastedExternalUsers sets ForecastedExternalUsers 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)

Expand Down
64 changes: 61 additions & 3 deletions model_license_forecast.go

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

6 changes: 6 additions & 0 deletions schema.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31746,8 +31746,14 @@ components:
type: integer
external_users:
type: integer
forecasted_users:
type: integer
forecasted_external_users:
type: integer
required:
- external_users
- forecasted_external_users
- forecasted_users
- users
LicenseRequest:
type: object
Expand Down

0 comments on commit 4da9b6f

Please sign in to comment.