Skip to content

Commit

Permalink
ci: regenerated with OpenAPI Doc , Speakeasy CLI 1.401.2
Browse files Browse the repository at this point in the history
  • Loading branch information
speakeasybot committed Sep 22, 2024
1 parent 7e98fc9 commit 15ebc7e
Show file tree
Hide file tree
Showing 63 changed files with 747 additions and 200 deletions.
37 changes: 30 additions & 7 deletions .speakeasy/gen.lock

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion .speakeasy/gen.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ generation:
auth:
oAuth2ClientCredentialsEnabled: false
ruby:
version: 0.4.0
version: 0.4.1
author: LukeHagar
description: Ruby Client SDK Generated by Speakeasy
imports:
Expand Down
10 changes: 5 additions & 5 deletions .speakeasy/workflow.lock
Original file line number Diff line number Diff line change
Expand Up @@ -9,19 +9,19 @@ sources:
- main
plexapi:
sourceNamespace: plexapi
sourceRevisionDigest: sha256:5aa71ad96ca6de91143ee513c9880e08e555e7748fb4b5f8d069c6ab0c8f3069
sourceBlobDigest: sha256:1cbef844e2856c2eabba4bd6d677d96c572fed13b27978d0d953aa06b224c02f
sourceRevisionDigest: sha256:fc6eebe661455e23b1aa352a91c14ef773fa72331330ec4caeddc2c460dc16bb
sourceBlobDigest: sha256:2e81e86c83d7f4e8842efca0d43a2db84a4932534c8439e3737e1f65c873f855
tags:
- latest
- main
targets:
plexruby:
source: plexapi
sourceNamespace: plexapi
sourceRevisionDigest: sha256:5aa71ad96ca6de91143ee513c9880e08e555e7748fb4b5f8d069c6ab0c8f3069
sourceBlobDigest: sha256:1cbef844e2856c2eabba4bd6d677d96c572fed13b27978d0d953aa06b224c02f
sourceRevisionDigest: sha256:fc6eebe661455e23b1aa352a91c14ef773fa72331330ec4caeddc2c460dc16bb
sourceBlobDigest: sha256:2e81e86c83d7f4e8842efca0d43a2db84a4932534c8439e3737e1f65c873f855
codeSamplesNamespace: code-samples-ruby-plexruby
codeSamplesRevisionDigest: sha256:4a345ee31f4fca70a44d0ec04b5fdea3cd1da242e6469837c27b347972e13e7e
codeSamplesRevisionDigest: sha256:882f0cf5790d22f412dfa3648c1feb8affe2560b8fb94821ee041bcc37b40613
workflow:
workflowVersion: 1.0.0
speakeasyVersion: latest
Expand Down
2 changes: 1 addition & 1 deletion Gemfile.lock
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
PATH
remote: .
specs:
plex_ruby_sdk (0.4.0)
plex_ruby_sdk (0.4.1)
faraday
faraday-multipart
rack
Expand Down
12 changes: 11 additions & 1 deletion RELEASES.md
Original file line number Diff line number Diff line change
Expand Up @@ -546,4 +546,14 @@ Based on:
### Generated
- [ruby v0.4.0] .
### Releases
- [Ruby Gems v0.4.0] https://rubygems.org/gems/plex_ruby_sdk/versions/0.4.0 - .
- [Ruby Gems v0.4.0] https://rubygems.org/gems/plex_ruby_sdk/versions/0.4.0 - .

## 2024-09-22 00:08:17
### Changes
Based on:
- OpenAPI Doc
- Speakeasy CLI 1.401.2 (2.421.3) https://github.com/speakeasy-api/speakeasy
### Generated
- [ruby v0.4.1] .
### Releases
- [Ruby Gems v0.4.1] https://rubygems.org/gems/plex_ruby_sdk/versions/0.4.1 - .
8 changes: 4 additions & 4 deletions codeSamples.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ actions:
x-codeSamples:
- lang: ruby
label: getTopWatchedContent
source: "require 'plex_ruby_sdk'\n\n\ns = ::PlexRubySDK::PlexAPI.new(\n client_id: \"gcgzw5rz2xovp84b4vha3a40\",\n client_name: \"Plex Web\",\n client_version: \"4.133.0\",\n client_platform: \"Chrome\",\n device_name: \"Linux\",\n )\ns.config_security(\n ::PlexRubySDK::Shared::Security.new(\n access_token: \"<YOUR_API_KEY_HERE>\",\n )\n)\n\n \nres = s.library.get_top_watched_content(type=::PlexRubySDK::Operations::GetTopWatchedContentQueryParamType::SHOW, include_guids=1)\n\nif ! res.object.nil?\n # handle response\nend"
source: "require 'plex_ruby_sdk'\n\n\ns = ::PlexRubySDK::PlexAPI.new(\n client_id: \"gcgzw5rz2xovp84b4vha3a40\",\n client_name: \"Plex Web\",\n client_version: \"4.133.0\",\n client_platform: \"Chrome\",\n device_name: \"Linux\",\n )\ns.config_security(\n ::PlexRubySDK::Shared::Security.new(\n access_token: \"<YOUR_API_KEY_HERE>\",\n )\n)\n\n \nres = s.library.get_top_watched_content(type=::PlexRubySDK::Operations::GetTopWatchedContentQueryParamType::TV_SHOW, include_guids=1)\n\nif ! res.object.nil?\n # handle response\nend"
- target: $["paths"]["/library/hashes"]["get"]
update:
x-codeSamples:
Expand Down Expand Up @@ -230,13 +230,13 @@ actions:
x-codeSamples:
- lang: ruby
label: library
source: "require 'plex_ruby_sdk'\n\n\ns = ::PlexRubySDK::PlexAPI.new(\n client_id: \"gcgzw5rz2xovp84b4vha3a40\",\n client_name: \"Plex Web\",\n client_version: \"4.133.0\",\n client_platform: \"Chrome\",\n device_name: \"Linux\",\n )\ns.config_security(\n ::PlexRubySDK::Shared::Security.new(\n access_token: \"<YOUR_API_KEY_HERE>\",\n )\n)\n\n \nres = s.library.get_search_library(section_key=9518, type=::PlexRubySDK::Operations::QueryParamType::SHOW)\n\nif ! res.object.nil?\n # handle response\nend"
source: "require 'plex_ruby_sdk'\n\n\ns = ::PlexRubySDK::PlexAPI.new(\n client_id: \"gcgzw5rz2xovp84b4vha3a40\",\n client_name: \"Plex Web\",\n client_version: \"4.133.0\",\n client_platform: \"Chrome\",\n device_name: \"Linux\",\n )\ns.config_security(\n ::PlexRubySDK::Shared::Security.new(\n access_token: \"<YOUR_API_KEY_HERE>\",\n )\n)\n\n \nres = s.library.get_search_library(section_key=9518, type=::PlexRubySDK::Operations::QueryParamType::TV_SHOW)\n\nif ! res.object.nil?\n # handle response\nend"
- target: $["paths"]["/library/sections/{sectionKey}/{tag}"]["get"]
update:
x-codeSamples:
- lang: ruby
label: items
source: "require 'plex_ruby_sdk'\n\n\ns = ::PlexRubySDK::PlexAPI.new(\n client_id: \"gcgzw5rz2xovp84b4vha3a40\",\n client_name: \"Plex Web\",\n client_version: \"4.133.0\",\n client_platform: \"Chrome\",\n device_name: \"Linux\",\n )\ns.config_security(\n ::PlexRubySDK::Shared::Security.new(\n access_token: \"<YOUR_API_KEY_HERE>\",\n )\n)\n\n\nreq = ::PlexRubySDK::Operations::GetLibraryItemsRequest.new(\n section_key: 9518,\n tag: ::PlexRubySDK::Operations::Tag::EDITION,\n include_guids: ::PlexRubySDK::Operations::IncludeGuids::ENABLE,\n include_meta: ::PlexRubySDK::Operations::IncludeMeta::ENABLE,\n type: ::PlexRubySDK::Operations::Type::SHOW,\n x_plex_container_start: 0,\n x_plex_container_size: 50,\n)\n \nres = s.library.get_library_items(req)\n\nif ! res.object.nil?\n # handle response\nend"
source: "require 'plex_ruby_sdk'\n\n\ns = ::PlexRubySDK::PlexAPI.new(\n client_id: \"gcgzw5rz2xovp84b4vha3a40\",\n client_name: \"Plex Web\",\n client_version: \"4.133.0\",\n client_platform: \"Chrome\",\n device_name: \"Linux\",\n )\ns.config_security(\n ::PlexRubySDK::Shared::Security.new(\n access_token: \"<YOUR_API_KEY_HERE>\",\n )\n)\n\n\nreq = ::PlexRubySDK::Operations::GetLibraryItemsRequest.new(\n section_key: 9518,\n tag: ::PlexRubySDK::Operations::Tag::EDITION,\n include_guids: ::PlexRubySDK::Operations::IncludeGuids::ENABLE,\n include_meta: ::PlexRubySDK::Operations::IncludeMeta::ENABLE,\n type: ::PlexRubySDK::Operations::Type::TV_SHOW,\n x_plex_container_start: 0,\n x_plex_container_size: 50,\n)\n \nres = s.library.get_library_items(req)\n\nif ! res.object.nil?\n # handle response\nend"
- target: $["paths"]["/log"]["get"]
update:
x-codeSamples:
Expand Down Expand Up @@ -332,7 +332,7 @@ actions:
x-codeSamples:
- lang: ruby
label: getPlaylistContents
source: "require 'plex_ruby_sdk'\n\n\ns = ::PlexRubySDK::PlexAPI.new(\n client_id: \"gcgzw5rz2xovp84b4vha3a40\",\n client_name: \"Plex Web\",\n client_version: \"4.133.0\",\n client_platform: \"Chrome\",\n device_name: \"Linux\",\n )\ns.config_security(\n ::PlexRubySDK::Shared::Security.new(\n access_token: \"<YOUR_API_KEY_HERE>\",\n )\n)\n\n \nres = s.playlists.get_playlist_contents(playlist_id=5004.46, type=::PlexRubySDK::Operations::GetPlaylistContentsQueryParamType::SHOW)\n\nif ! res.object.nil?\n # handle response\nend"
source: "require 'plex_ruby_sdk'\n\n\ns = ::PlexRubySDK::PlexAPI.new(\n client_id: \"gcgzw5rz2xovp84b4vha3a40\",\n client_name: \"Plex Web\",\n client_version: \"4.133.0\",\n client_platform: \"Chrome\",\n device_name: \"Linux\",\n )\ns.config_security(\n ::PlexRubySDK::Shared::Security.new(\n access_token: \"<YOUR_API_KEY_HERE>\",\n )\n)\n\n \nres = s.playlists.get_playlist_contents(playlist_id=5004.46, type=::PlexRubySDK::Operations::GetPlaylistContentsQueryParamType::TV_SHOW)\n\nif ! res.object.nil?\n # handle response\nend"
- target: $["paths"]["/playlists/{playlistID}/items"]["put"]
update:
x-codeSamples:
Expand Down
9 changes: 9 additions & 0 deletions docs/models/operations/action.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
# Action


## Fields

| Field | Type | Required | Description | Example |
| ------------------------------ | ------------------------------ | ------------------------------ | ------------------------------ | ------------------------------ |
| `id` | *::String* | :heavy_check_mark: | N/A | addToContinueWatching |
| `key` | *::String* | :heavy_check_mark: | N/A | /actions/addToContinueWatching |
12 changes: 12 additions & 0 deletions docs/models/operations/activedirection.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
# ActiveDirection

The direction of the sort. Can be either `asc` or `desc`.



## Values

| Name | Value |
| ------------ | ------------ |
| `ASCENDING` | asc |
| `DESCENDING` | desc |
8 changes: 8 additions & 0 deletions docs/models/operations/collection.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# Collection


## Fields

| Field | Type | Required | Description | Example |
| --------------------- | --------------------- | --------------------- | --------------------- | --------------------- |
| `tag` | *T.nilable(::String)* | :heavy_minus_sign: | N/A | Working NL Subs |
12 changes: 12 additions & 0 deletions docs/models/operations/defaultdirection.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
# DefaultDirection

The direction of the sort. Can be either `asc` or `desc`.



## Values

| Name | Value |
| ------------ | ------------ |
| `ASCENDING` | asc |
| `DESCENDING` | desc |
14 changes: 9 additions & 5 deletions docs/models/operations/feature.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,12 @@

## Fields

| Field | Type | Required | Description |
| ------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------ |
| `key` | *T.nilable(::String)* | :heavy_minus_sign: | N/A |
| `type` | *T.nilable(::String)* | :heavy_minus_sign: | N/A |
| `directory` | T::Array<[::PlexRubySDK::Operations::GetMediaProvidersDirectory](../../models/operations/getmediaprovidersdirectory.md)> | :heavy_minus_sign: | N/A |
| Field | Type | Required | Description | Example |
| ------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------ |
| `key` | *T.nilable(::String)* | :heavy_minus_sign: | N/A | |
| `type` | *::String* | :heavy_check_mark: | N/A | |
| `flavor` | *T.nilable(::String)* | :heavy_minus_sign: | N/A | global |
| `scrobble_key` | *T.nilable(::String)* | :heavy_minus_sign: | N/A | /:/scrobble/new |
| `unscrobble_key` | *T.nilable(::String)* | :heavy_minus_sign: | N/A | /:/unscrobble/new |
| `directory` | T::Array<[::PlexRubySDK::Operations::GetMediaProvidersDirectory](../../models/operations/getmediaprovidersdirectory.md)> | :heavy_minus_sign: | N/A | |
| `action` | T::Array<[::PlexRubySDK::Operations::Action](../../models/operations/action.md)> | :heavy_minus_sign: | N/A | |
9 changes: 9 additions & 0 deletions docs/models/operations/flattenseasons.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
# FlattenSeasons


## Values

| Name | Value |
| ------- | ------- |
| `FALSE` | 0 |
| `TRUE` | 1 |
Loading

0 comments on commit 15ebc7e

Please sign in to comment.