Skip to content

Commit

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

##### `GET` /admin/version/

###### Return Type:

Changed response : **200 OK**

* Changed content type : `application/json`

    * Changed property `version_latest_valid` (string -> boolean)
        > Check if latest version is valid
  • Loading branch information
authentik-automation[bot] committed Mar 26, 2024
1 parent e5ec973 commit ac683e4
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 14 deletions.
4 changes: 2 additions & 2 deletions api/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -58796,7 +58796,7 @@ components:
example:
version_current: version_current
outdated: true
version_latest_valid: version_latest_valid
version_latest_valid: true
version_latest: version_latest
build_hash: build_hash
properties:
Expand All @@ -58811,7 +58811,7 @@ components:
version_latest_valid:
description: Check if latest version is valid
readOnly: true
type: string
type: boolean
build_hash:
description: "Get build hash, if version is not latest or released"
readOnly: true
Expand Down
10 changes: 5 additions & 5 deletions docs/Version.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,15 +6,15 @@ Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**VersionCurrent** | **string** | Get current version | [readonly]
**VersionLatest** | **string** | Get latest version from cache | [readonly]
**VersionLatestValid** | **string** | Check if latest version is valid | [readonly]
**VersionLatestValid** | **bool** | Check if latest version is valid | [readonly]
**BuildHash** | **string** | Get build hash, if version is not latest or released | [readonly]
**Outdated** | **bool** | Check if we're running the latest version | [readonly]

## Methods

### NewVersion

`func NewVersion(versionCurrent string, versionLatest string, versionLatestValid string, buildHash string, outdated bool, ) *Version`
`func NewVersion(versionCurrent string, versionLatest string, versionLatestValid bool, buildHash string, outdated bool, ) *Version`

NewVersion instantiates a new Version object
This constructor will assign default values to properties that have it defined,
Expand Down Expand Up @@ -71,20 +71,20 @@ SetVersionLatest sets VersionLatest field to given value.

### GetVersionLatestValid

`func (o *Version) GetVersionLatestValid() string`
`func (o *Version) GetVersionLatestValid() bool`

GetVersionLatestValid returns the VersionLatestValid field if non-nil, zero value otherwise.

### GetVersionLatestValidOk

`func (o *Version) GetVersionLatestValidOk() (*string, bool)`
`func (o *Version) GetVersionLatestValidOk() (*bool, bool)`

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

### SetVersionLatestValid

`func (o *Version) SetVersionLatestValid(v string)`
`func (o *Version) SetVersionLatestValid(v bool)`

SetVersionLatestValid sets VersionLatestValid field to given value.

Expand Down
12 changes: 6 additions & 6 deletions model_version.go

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

2 changes: 1 addition & 1 deletion schema.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45615,7 +45615,7 @@ components:
description: Get latest version from cache
readOnly: true
version_latest_valid:
type: string
type: boolean
description: Check if latest version is valid
readOnly: true
build_hash:
Expand Down

0 comments on commit ac683e4

Please sign in to comment.