mirror of
https://github.com/LukeHagar/plexgo.git
synced 2025-12-06 04:20:46 +00:00
ci: regenerated with OpenAPI Doc , Speakeasy CLI 1.636.3
This commit is contained in:
File diff suppressed because one or more lines are too long
@@ -22,7 +22,7 @@ generation:
|
|||||||
generateNewTests: false
|
generateNewTests: false
|
||||||
skipResponseBodyAssertions: false
|
skipResponseBodyAssertions: false
|
||||||
go:
|
go:
|
||||||
version: 0.26.0
|
version: 0.26.1
|
||||||
additionalDependencies: {}
|
additionalDependencies: {}
|
||||||
allowUnknownFieldsInWeakUnions: false
|
allowUnknownFieldsInWeakUnions: false
|
||||||
baseErrorName: PlexAPIError
|
baseErrorName: PlexAPIError
|
||||||
|
|||||||
@@ -9,20 +9,20 @@ sources:
|
|||||||
- main
|
- main
|
||||||
plexapi:
|
plexapi:
|
||||||
sourceNamespace: plexapi
|
sourceNamespace: plexapi
|
||||||
sourceRevisionDigest: sha256:bc60551015634fd59475cf17983ca3aedcab591426d526ab1e3634b1feedaec1
|
sourceRevisionDigest: sha256:0e9f7ca03e6a970d7b77654ab41d0a1605f0105871db2630a7afc85d4362b624
|
||||||
sourceBlobDigest: sha256:fc8cd5343a94564b646830738f38e065d61e2ea63e4a1383ce07533586889950
|
sourceBlobDigest: sha256:c0a6079f21e9d8cf8b3a205d2da333b78b2cb7e0db9dd895a41c68c2580e2d64
|
||||||
tags:
|
tags:
|
||||||
- latest
|
- latest
|
||||||
- speakeasy-sdk-regen-1760248355
|
- speakeasy-sdk-regen-1760314262
|
||||||
- 1.1.1
|
- 1.1.1
|
||||||
targets:
|
targets:
|
||||||
plexgo:
|
plexgo:
|
||||||
source: plexapi
|
source: plexapi
|
||||||
sourceNamespace: plexapi
|
sourceNamespace: plexapi
|
||||||
sourceRevisionDigest: sha256:bc60551015634fd59475cf17983ca3aedcab591426d526ab1e3634b1feedaec1
|
sourceRevisionDigest: sha256:0e9f7ca03e6a970d7b77654ab41d0a1605f0105871db2630a7afc85d4362b624
|
||||||
sourceBlobDigest: sha256:fc8cd5343a94564b646830738f38e065d61e2ea63e4a1383ce07533586889950
|
sourceBlobDigest: sha256:c0a6079f21e9d8cf8b3a205d2da333b78b2cb7e0db9dd895a41c68c2580e2d64
|
||||||
codeSamplesNamespace: code-samples-go-plexgo
|
codeSamplesNamespace: code-samples-go-plexgo
|
||||||
codeSamplesRevisionDigest: sha256:661a20cdc0e343c05f51c94f3957daaf8a66fcae72913af90414116c8ae4d28c
|
codeSamplesRevisionDigest: sha256:8db88ac0989f866606672aee950cbd308054218a71e5ca5bb6afd2dc37e09f11
|
||||||
workflow:
|
workflow:
|
||||||
workflowVersion: 1.0.0
|
workflowVersion: 1.0.0
|
||||||
speakeasyVersion: latest
|
speakeasyVersion: latest
|
||||||
|
|||||||
@@ -629,7 +629,7 @@ You can override the default server globally using the `WithServerIndex(serverIn
|
|||||||
| --- | ---------------------------------------------------------- | -------------------------------------------- | ----------- |
|
| --- | ---------------------------------------------------------- | -------------------------------------------- | ----------- |
|
||||||
| 0 | `https://{IP-description}.{identifier}.plex.direct:{port}` | `identifier`<br/>`IP-description`<br/>`port` | |
|
| 0 | `https://{IP-description}.{identifier}.plex.direct:{port}` | `identifier`<br/>`IP-description`<br/>`port` | |
|
||||||
| 1 | `{protocol}://{host}:{port}` | `protocol`<br/>`host`<br/>`port` | |
|
| 1 | `{protocol}://{host}:{port}` | `protocol`<br/>`host`<br/>`port` | |
|
||||||
| 2 | `https://{server_url}` | `server_url` | |
|
| 2 | `https://{full_server_url}` | `server_url` | |
|
||||||
|
|
||||||
If the selected server has variables, you may override its default values using the associated option(s):
|
If the selected server has variables, you may override its default values using the associated option(s):
|
||||||
|
|
||||||
@@ -706,7 +706,7 @@ func main() {
|
|||||||
ctx := context.Background()
|
ctx := context.Background()
|
||||||
|
|
||||||
s := plexgo.New(
|
s := plexgo.New(
|
||||||
plexgo.WithServerURL("https://http://localhost:32400"),
|
plexgo.WithServerURL("https://{full_server_url}"),
|
||||||
plexgo.WithAccepts(components.AcceptsApplicationXML),
|
plexgo.WithAccepts(components.AcceptsApplicationXML),
|
||||||
plexgo.WithClientIdentifier("abc123"),
|
plexgo.WithClientIdentifier("abc123"),
|
||||||
plexgo.WithProduct("Plex for Roku"),
|
plexgo.WithProduct("Plex for Roku"),
|
||||||
|
|||||||
12
RELEASES.md
12
RELEASES.md
@@ -1222,4 +1222,14 @@ Based on:
|
|||||||
### Generated
|
### Generated
|
||||||
- [go v0.26.0] .
|
- [go v0.26.0] .
|
||||||
### Releases
|
### Releases
|
||||||
- [Go v0.26.0] https://github.com/LukeHagar/plexgo/releases/tag/v0.26.0 - .
|
- [Go v0.26.0] https://github.com/LukeHagar/plexgo/releases/tag/v0.26.0 - .
|
||||||
|
|
||||||
|
## 2025-10-13 00:10:42
|
||||||
|
### Changes
|
||||||
|
Based on:
|
||||||
|
- OpenAPI Doc
|
||||||
|
- Speakeasy CLI 1.636.3 (2.723.11) https://github.com/speakeasy-api/speakeasy
|
||||||
|
### Generated
|
||||||
|
- [go v0.26.1] .
|
||||||
|
### Releases
|
||||||
|
- [Go v0.26.1] https://github.com/LukeHagar/plexgo/releases/tag/v0.26.1 - .
|
||||||
@@ -21,7 +21,7 @@ import (
|
|||||||
var ServerList = []string{
|
var ServerList = []string{
|
||||||
"https://{IP-description}.{identifier}.plex.direct:{port}",
|
"https://{IP-description}.{identifier}.plex.direct:{port}",
|
||||||
"{protocol}://{host}:{port}",
|
"{protocol}://{host}:{port}",
|
||||||
"https://{server_url}",
|
"https://{full_server_url}",
|
||||||
}
|
}
|
||||||
|
|
||||||
// HTTPClient provides an interface for supplying the SDK with a custom HTTP client
|
// HTTPClient provides an interface for supplying the SDK with a custom HTTP client
|
||||||
@@ -392,9 +392,9 @@ func WithTimeout(timeout time.Duration) SDKOption {
|
|||||||
// New creates a new instance of the SDK with the provided options
|
// New creates a new instance of the SDK with the provided options
|
||||||
func New(opts ...SDKOption) *PlexAPI {
|
func New(opts ...SDKOption) *PlexAPI {
|
||||||
sdk := &PlexAPI{
|
sdk := &PlexAPI{
|
||||||
SDKVersion: "0.26.0",
|
SDKVersion: "0.26.1",
|
||||||
sdkConfiguration: config.SDKConfiguration{
|
sdkConfiguration: config.SDKConfiguration{
|
||||||
UserAgent: "speakeasy-sdk/go 0.26.0 2.723.11 1.1.1 github.com/LukeHagar/plexgo",
|
UserAgent: "speakeasy-sdk/go 0.26.1 2.723.11 1.1.1 github.com/LukeHagar/plexgo",
|
||||||
Globals: globals.Globals{},
|
Globals: globals.Globals{},
|
||||||
ServerList: ServerList,
|
ServerList: ServerList,
|
||||||
ServerVariables: []map[string]string{
|
ServerVariables: []map[string]string{
|
||||||
|
|||||||
Reference in New Issue
Block a user