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 lockVersion: 2.0.0
id: dfa99515-01c0-42eb-9be5-ee212fd03eb3 id: dfa99515-01c0-42eb-9be5-ee212fd03eb3
management: management:
docChecksum: d79f1dea291e60a9e3b3fc2de2e0da83 docChecksum: 48621865085324b8b8eda5901f092a37
docVersion: 0.0.3 docVersion: 0.0.3
speakeasyVersion: 1.542.0 speakeasyVersion: 1.542.3
generationVersion: 2.596.2 generationVersion: 2.597.9
releaseVersion: 0.21.1 releaseVersion: 0.21.2
configChecksum: e7b073313879c32e26c63c37cae2e2bd configChecksum: 9b887a3b269025f2afc6ff5be933ce43
repoURL: https://github.com/LukeHagar/plexgo.git repoURL: https://github.com/LukeHagar/plexgo.git
repoSubDirectory: . repoSubDirectory: .
installationURL: https://github.com/LukeHagar/plexgo installationURL: https://github.com/LukeHagar/plexgo

View File

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

View File

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

View File

@@ -1142,4 +1142,14 @@ Based on:
### Generated ### Generated
- [go v0.21.1] . - [go v0.21.1] .
### Releases ### Releases
- [Go v0.21.1] https://github.com/LukeHagar/plexgo/releases/tag/v0.21.1 - . - [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 | | `Content` | *bool* | :heavy_check_mark: | UNKNOWN | true |
| `Directory` | *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 | | `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 | | | `Location` | [][operations.GetAllLibrariesLocation](../../models/operations/getalllibrarieslocation.md) | :heavy_check_mark: | N/A | |

View File

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

View File

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

View File

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