ci: regenerated with OpenAPI Doc , Speakeasy CLI 1.542.3

This commit is contained in:
speakeasybot
2025-05-06 00:11:47 +00:00
parent 9b882120dd
commit d9f461ec33
8 changed files with 44 additions and 29 deletions

View File

@@ -1,12 +1,12 @@
lockVersion: 2.0.0
id: dfa99515-01c0-42eb-9be5-ee212fd03eb3
management:
docChecksum: d79f1dea291e60a9e3b3fc2de2e0da83
docChecksum: 48621865085324b8b8eda5901f092a37
docVersion: 0.0.3
speakeasyVersion: 1.542.0
generationVersion: 2.596.2
releaseVersion: 0.21.1
configChecksum: e7b073313879c32e26c63c37cae2e2bd
speakeasyVersion: 1.542.3
generationVersion: 2.597.9
releaseVersion: 0.21.2
configChecksum: 9b887a3b269025f2afc6ff5be933ce43
repoURL: https://github.com/LukeHagar/plexgo.git
repoSubDirectory: .
installationURL: https://github.com/LukeHagar/plexgo

View File

@@ -16,7 +16,7 @@ generation:
oAuth2ClientCredentialsEnabled: true
oAuth2PasswordEnabled: false
go:
version: 0.21.1
version: 0.21.2
additionalDependencies: {}
allowUnknownFieldsInWeakUnions: false
clientServerStatusCodesAsErrors: true

View File

@@ -1,4 +1,4 @@
speakeasyVersion: 1.542.0
speakeasyVersion: 1.542.3
sources:
my-source:
sourceNamespace: my-source
@@ -9,19 +9,19 @@ sources:
- main
plexapi:
sourceNamespace: plexapi
sourceRevisionDigest: sha256:31ab7b2e65ccf1e0349bcd8b35791d1ce80091313481874749163fc0c80fd8ed
sourceBlobDigest: sha256:d971fff9723c626fe70403a2a83d813c396a20b06ccd6b899263762038cfdbb0
sourceRevisionDigest: sha256:37adc934a79841fb00cfe6ed569f5b1c88534b20202ecbde64b4e84828cee22a
sourceBlobDigest: sha256:ffb5b8d288111a763e4d035c8c9e37f5c89690d146b7297493b43a71d8298e6c
tags:
- latest
- speakeasy-sdk-regen-1746144629
- speakeasy-sdk-regen-1746490234
targets:
plexgo:
source: plexapi
sourceNamespace: plexapi
sourceRevisionDigest: sha256:31ab7b2e65ccf1e0349bcd8b35791d1ce80091313481874749163fc0c80fd8ed
sourceBlobDigest: sha256:d971fff9723c626fe70403a2a83d813c396a20b06ccd6b899263762038cfdbb0
sourceRevisionDigest: sha256:37adc934a79841fb00cfe6ed569f5b1c88534b20202ecbde64b4e84828cee22a
sourceBlobDigest: sha256:ffb5b8d288111a763e4d035c8c9e37f5c89690d146b7297493b43a71d8298e6c
codeSamplesNamespace: code-samples-go-plexgo
codeSamplesRevisionDigest: sha256:97f93f583a41a36f02cac7fe2eefd6ec836588f71204c75d400621ee85326974
codeSamplesRevisionDigest: sha256:503a6f9a35834921087204d51ede9941cacedef3a61b322bbd2b269d24ccb970
workflow:
workflowVersion: 1.0.0
speakeasyVersion: latest

View File

@@ -1143,3 +1143,13 @@ Based on:
- [go v0.21.1] .
### Releases
- [Go v0.21.1] https://github.com/LukeHagar/plexgo/releases/tag/v0.21.1 - .
## 2025-05-06 00:10:17
### Changes
Based on:
- OpenAPI Doc
- Speakeasy CLI 1.542.3 (2.597.9) https://github.com/speakeasy-api/speakeasy
### Generated
- [go v0.21.2] .
### Releases
- [Go v0.21.2] https://github.com/LukeHagar/plexgo/releases/tag/v0.21.2 - .

View File

@@ -24,5 +24,5 @@
| `Content` | *bool* | :heavy_check_mark: | UNKNOWN | true |
| `Directory` | *bool* | :heavy_check_mark: | UNKNOWN | true |
| `ContentChangedAt` | *int64* | :heavy_check_mark: | Timestamp (in seconds) representing the last time the content was modified.<br/>NOTE: Some Plex server have some absurd values for this field, like 8457612157633039800 so it should be int64<br/> | 9173960 |
| `Hidden` | [*operations.Hidden](../../models/operations/hidden.md) | :heavy_minus_sign: | N/A | 1 |
| `Hidden` | [*operations.Hidden](../../models/operations/hidden.md) | :heavy_minus_sign: | The Plex library visibility setting | 1 |
| `Location` | [][operations.GetAllLibrariesLocation](../../models/operations/getalllibrarieslocation.md) | :heavy_check_mark: | N/A | |

View File

@@ -1,11 +1,12 @@
# Hidden
UNKNOWN
The Plex library visibility setting
## Values
| Name | Value |
| --------------- | --------------- |
| `HiddenDisable` | 0 |
| `HiddenEnable` | 1 |
| Name | Value |
| ---------------------------------------- | ---------------------------------------- |
| `HiddenVisible` | 0 |
| `HiddenExcludeHomeScreen` | 1 |
| `HiddenExcludeHomeScreenAndGlobalSearch` | 2 |

View File

@@ -25,12 +25,13 @@ func (e GetAllLibrariesType) ToPointer() *GetAllLibrariesType {
return &e
}
// Hidden - UNKNOWN
// Hidden - The Plex library visibility setting
type Hidden int
const (
HiddenDisable Hidden = 0
HiddenEnable Hidden = 1
HiddenVisible Hidden = 0
HiddenExcludeHomeScreen Hidden = 1
HiddenExcludeHomeScreenAndGlobalSearch Hidden = 2
)
func (e Hidden) ToPointer() *Hidden {
@@ -45,6 +46,8 @@ func (e *Hidden) UnmarshalJSON(data []byte) error {
case 0:
fallthrough
case 1:
fallthrough
case 2:
*e = Hidden(v)
return nil
default:
@@ -111,9 +114,10 @@ type GetAllLibrariesDirectory struct {
// Timestamp (in seconds) representing the last time the content was modified.
// NOTE: Some Plex server have some absurd values for this field, like 8457612157633039800 so it should be int64
//
ContentChangedAt int64 `json:"contentChangedAt"`
Hidden *Hidden `default:"0" json:"hidden"`
Location []GetAllLibrariesLocation `json:"Location"`
ContentChangedAt int64 `json:"contentChangedAt"`
// The Plex library visibility setting
Hidden *Hidden `default:"0" json:"hidden"`
Location []GetAllLibrariesLocation `json:"Location"`
}
func (g GetAllLibrariesDirectory) MarshalJSON() ([]byte, error) {

View File

@@ -299,9 +299,9 @@ func New(opts ...SDKOption) *PlexAPI {
sdkConfiguration: sdkConfiguration{
Language: "go",
OpenAPIDocVersion: "0.0.3",
SDKVersion: "0.21.1",
GenVersion: "2.596.2",
UserAgent: "speakeasy-sdk/go 0.21.1 2.596.2 0.0.3 github.com/LukeHagar/plexgo",
SDKVersion: "0.21.2",
GenVersion: "2.597.9",
UserAgent: "speakeasy-sdk/go 0.21.2 2.597.9 0.0.3 github.com/LukeHagar/plexgo",
ServerDefaults: []map[string]string{
{
"protocol": "https",