diff --git a/.speakeasy/gen.lock b/.speakeasy/gen.lock
index 432f490..60494e8 100755
--- a/.speakeasy/gen.lock
+++ b/.speakeasy/gen.lock
@@ -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
diff --git a/.speakeasy/gen.yaml b/.speakeasy/gen.yaml
index 7c34861..366e71c 100644
--- a/.speakeasy/gen.yaml
+++ b/.speakeasy/gen.yaml
@@ -16,7 +16,7 @@ generation:
oAuth2ClientCredentialsEnabled: true
oAuth2PasswordEnabled: false
go:
- version: 0.21.1
+ version: 0.21.2
additionalDependencies: {}
allowUnknownFieldsInWeakUnions: false
clientServerStatusCodesAsErrors: true
diff --git a/.speakeasy/workflow.lock b/.speakeasy/workflow.lock
index 5c77573..e6c689c 100644
--- a/.speakeasy/workflow.lock
+++ b/.speakeasy/workflow.lock
@@ -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
diff --git a/RELEASES.md b/RELEASES.md
index cbb770b..ecc74ea 100644
--- a/RELEASES.md
+++ b/RELEASES.md
@@ -1142,4 +1142,14 @@ Based on:
### Generated
- [go v0.21.1] .
### Releases
-- [Go v0.21.1] https://github.com/LukeHagar/plexgo/releases/tag/v0.21.1 - .
\ No newline at end of file
+- [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 - .
\ No newline at end of file
diff --git a/docs/models/operations/getalllibrariesdirectory.md b/docs/models/operations/getalllibrariesdirectory.md
index a080408..ca0a582 100644
--- a/docs/models/operations/getalllibrariesdirectory.md
+++ b/docs/models/operations/getalllibrariesdirectory.md
@@ -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.
NOTE: Some Plex server have some absurd values for this field, like 8457612157633039800 so it should be int64
| 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 | |
\ No newline at end of file
diff --git a/docs/models/operations/hidden.md b/docs/models/operations/hidden.md
index c711d45..803084c 100644
--- a/docs/models/operations/hidden.md
+++ b/docs/models/operations/hidden.md
@@ -1,11 +1,12 @@
# Hidden
-UNKNOWN
+The Plex library visibility setting
## Values
-| Name | Value |
-| --------------- | --------------- |
-| `HiddenDisable` | 0 |
-| `HiddenEnable` | 1 |
\ No newline at end of file
+| Name | Value |
+| ---------------------------------------- | ---------------------------------------- |
+| `HiddenVisible` | 0 |
+| `HiddenExcludeHomeScreen` | 1 |
+| `HiddenExcludeHomeScreenAndGlobalSearch` | 2 |
\ No newline at end of file
diff --git a/models/operations/getalllibraries.go b/models/operations/getalllibraries.go
index dfd13c0..c56ae9e 100644
--- a/models/operations/getalllibraries.go
+++ b/models/operations/getalllibraries.go
@@ -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) {
diff --git a/plexapi.go b/plexapi.go
index 90b41b4..afbdb47 100644
--- a/plexapi.go
+++ b/plexapi.go
@@ -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",