diff --git a/.speakeasy/gen.lock b/.speakeasy/gen.lock index 649cfb65..e3339213 100755 --- a/.speakeasy/gen.lock +++ b/.speakeasy/gen.lock @@ -1,12 +1,12 @@ lockVersion: 2.0.0 id: 1732900d-e173-47c1-a90d-d45182eb35d9 management: - docChecksum: d79f1dea291e60a9e3b3fc2de2e0da83 + docChecksum: 48621865085324b8b8eda5901f092a37 docVersion: 0.0.3 - speakeasyVersion: 1.541.2 - generationVersion: 2.595.4 - releaseVersion: 0.16.1 - configChecksum: 23c795142e864bfeea47342d74c8e241 + speakeasyVersion: 1.542.1 + generationVersion: 2.597.9 + releaseVersion: 0.16.2 + configChecksum: d5e2d950151ea4d04d902bfcb11c2d0b repoURL: https://github.com/LukeHagar/plexjava.git published: true features: diff --git a/.speakeasy/gen.yaml b/.speakeasy/gen.yaml index 06cdb4b3..e8262d37 100644 --- a/.speakeasy/gen.yaml +++ b/.speakeasy/gen.yaml @@ -16,7 +16,7 @@ generation: oAuth2ClientCredentialsEnabled: true oAuth2PasswordEnabled: false java: - version: 0.16.1 + version: 0.16.2 additionalDependencies: [] additionalPlugins: [] artifactID: plexapi diff --git a/.speakeasy/workflow.lock b/.speakeasy/workflow.lock index 93f1d1c4..3acf9bc3 100644 --- a/.speakeasy/workflow.lock +++ b/.speakeasy/workflow.lock @@ -1,4 +1,4 @@ -speakeasyVersion: 1.541.2 +speakeasyVersion: 1.542.1 sources: my-source: sourceNamespace: my-source @@ -8,19 +8,19 @@ sources: - latest plexapi: sourceNamespace: plexapi - sourceRevisionDigest: sha256:31ab7b2e65ccf1e0349bcd8b35791d1ce80091313481874749163fc0c80fd8ed - sourceBlobDigest: sha256:d971fff9723c626fe70403a2a83d813c396a20b06ccd6b899263762038cfdbb0 + sourceRevisionDigest: sha256:37adc934a79841fb00cfe6ed569f5b1c88534b20202ecbde64b4e84828cee22a + sourceBlobDigest: sha256:ffb5b8d288111a763e4d035c8c9e37f5c89690d146b7297493b43a71d8298e6c tags: - latest - - speakeasy-sdk-regen-1746059587 + - speakeasy-sdk-regen-1746405115 targets: plexjava: source: plexapi sourceNamespace: plexapi - sourceRevisionDigest: sha256:31ab7b2e65ccf1e0349bcd8b35791d1ce80091313481874749163fc0c80fd8ed - sourceBlobDigest: sha256:d971fff9723c626fe70403a2a83d813c396a20b06ccd6b899263762038cfdbb0 + sourceRevisionDigest: sha256:37adc934a79841fb00cfe6ed569f5b1c88534b20202ecbde64b4e84828cee22a + sourceBlobDigest: sha256:ffb5b8d288111a763e4d035c8c9e37f5c89690d146b7297493b43a71d8298e6c codeSamplesNamespace: code-samples-java-plexjava - codeSamplesRevisionDigest: sha256:7014061698c081192d583b95c5cdcb4120fd314b9e0963b81fb16e74b320b426 + codeSamplesRevisionDigest: sha256:5ae904090d6739e899706a85cf9894383ad162f6ea644e5e60d5056518afbf57 workflow: workflowVersion: 1.0.0 speakeasyVersion: latest diff --git a/README.md b/README.md index db369e47..ddfacb50 100644 --- a/README.md +++ b/README.md @@ -69,7 +69,7 @@ The samples below show how a published SDK artifact is used: Gradle: ```groovy -implementation 'dev.plexapi:plexapi:0.16.1' +implementation 'dev.plexapi:plexapi:0.16.2' ``` Maven: @@ -77,7 +77,7 @@ Maven: dev.plexapi plexapi - 0.16.1 + 0.16.2 ``` diff --git a/RELEASES.md b/RELEASES.md index e66b2630..e46ee961 100644 --- a/RELEASES.md +++ b/RELEASES.md @@ -338,4 +338,14 @@ Based on: ### Generated - [java v0.16.1] . ### Releases -- [Maven Central v0.16.1] https://central.sonatype.com/artifact/dev.plexapi/plexapi/0.16.1 - . \ No newline at end of file +- [Maven Central v0.16.1] https://central.sonatype.com/artifact/dev.plexapi/plexapi/0.16.1 - . + +## 2025-05-05 00:31:37 +### Changes +Based on: +- OpenAPI Doc +- Speakeasy CLI 1.542.1 (2.597.9) https://github.com/speakeasy-api/speakeasy +### Generated +- [java v0.16.2] . +### Releases +- [Maven Central v0.16.2] https://central.sonatype.com/artifact/dev.plexapi/plexapi/0.16.2 - . \ No newline at end of file diff --git a/build.gradle b/build.gradle index 1763f0f0..3d488b32 100644 --- a/build.gradle +++ b/build.gradle @@ -103,7 +103,7 @@ publishing { // https://github.com/gradle/gradle/issues/18619 groupId = "dev.plexapi" artifactId = "plexapi" - version = "0.16.1" + version = "0.16.2" from components.java diff --git a/docs/models/operations/GetAllLibrariesDirectory.md b/docs/models/operations/GetAllLibrariesDirectory.md index d97fbb7f..cd951869 100644 --- a/docs/models/operations/GetAllLibrariesDirectory.md +++ b/docs/models/operations/GetAllLibrariesDirectory.md @@ -24,5 +24,5 @@ | `content` | *boolean* | :heavy_check_mark: | UNKNOWN | true | | `directory` | *boolean* | :heavy_check_mark: | UNKNOWN | true | | `contentChangedAt` | *long* | :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` | [Optional\](../../models/operations/Hidden.md) | :heavy_minus_sign: | N/A | 1 | +| `hidden` | [Optional\](../../models/operations/Hidden.md) | :heavy_minus_sign: | The Plex library visibility setting | 1 | | `location` | List\<[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 2a97814d..303b13e8 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 | -| --------- | --------- | -| `Disable` | 0 | -| `Enable` | 1 | \ No newline at end of file +| Name | Value | +| ---------------------------------- | ---------------------------------- | +| `Visible` | 0 | +| `ExcludeHomeScreen` | 1 | +| `ExcludeHomeScreenAndGlobalSearch` | 2 | \ No newline at end of file diff --git a/gradle.properties b/gradle.properties index b2bd9f6b..39e5d980 100644 --- a/gradle.properties +++ b/gradle.properties @@ -1,3 +1,3 @@ groupId=dev.plexapi artifactId=plexapi -version=0.16.1 \ No newline at end of file +version=0.16.2 \ No newline at end of file diff --git a/src/main/java/dev/plexapi/sdk/PlexAPI.java b/src/main/java/dev/plexapi/sdk/PlexAPI.java index 839a98ea..7ece0143 100644 --- a/src/main/java/dev/plexapi/sdk/PlexAPI.java +++ b/src/main/java/dev/plexapi/sdk/PlexAPI.java @@ -52,7 +52,7 @@ public class PlexAPI { /** * The full address of your Plex Server */ - "{protocol}://{ip}:{port}", + "https://10.10.10.47:32400", }; /** diff --git a/src/main/java/dev/plexapi/sdk/SDKConfiguration.java b/src/main/java/dev/plexapi/sdk/SDKConfiguration.java index 92a7247d..6f414fad 100644 --- a/src/main/java/dev/plexapi/sdk/SDKConfiguration.java +++ b/src/main/java/dev/plexapi/sdk/SDKConfiguration.java @@ -42,8 +42,8 @@ class SDKConfiguration { } }; private static final String LANGUAGE = "java"; public static final String OPENAPI_DOC_VERSION = "0.0.3"; - public static final String SDK_VERSION = "0.16.1"; - public static final String GEN_VERSION = "2.595.4"; + public static final String SDK_VERSION = "0.16.2"; + public static final String GEN_VERSION = "2.597.9"; private static final String BASE_PACKAGE = "dev.plexapi.sdk"; public static final String USER_AGENT = String.format("speakeasy-sdk/%s %s %s %s %s", diff --git a/src/main/java/dev/plexapi/sdk/models/operations/GetAllLibrariesDirectory.java b/src/main/java/dev/plexapi/sdk/models/operations/GetAllLibrariesDirectory.java index 478b6fc0..2d33ebae 100644 --- a/src/main/java/dev/plexapi/sdk/models/operations/GetAllLibrariesDirectory.java +++ b/src/main/java/dev/plexapi/sdk/models/operations/GetAllLibrariesDirectory.java @@ -132,6 +132,9 @@ public class GetAllLibrariesDirectory { @JsonProperty("contentChangedAt") private long contentChangedAt; + /** + * The Plex library visibility setting + */ @JsonInclude(Include.NON_ABSENT) @JsonProperty("hidden") private Optional hidden; @@ -376,6 +379,9 @@ public class GetAllLibrariesDirectory { return contentChangedAt; } + /** + * The Plex library visibility setting + */ @SuppressWarnings("unchecked") @JsonIgnore public Optional hidden() { @@ -563,12 +569,18 @@ public class GetAllLibrariesDirectory { return this; } + /** + * The Plex library visibility setting + */ public GetAllLibrariesDirectory withHidden(Hidden hidden) { Utils.checkNotNull(hidden, "hidden"); this.hidden = Optional.ofNullable(hidden); return this; } + /** + * The Plex library visibility setting + */ public GetAllLibrariesDirectory withHidden(Optional hidden) { Utils.checkNotNull(hidden, "hidden"); this.hidden = hidden; @@ -887,12 +899,18 @@ public class GetAllLibrariesDirectory { return this; } + /** + * The Plex library visibility setting + */ public Builder hidden(Hidden hidden) { Utils.checkNotNull(hidden, "hidden"); this.hidden = Optional.ofNullable(hidden); return this; } + /** + * The Plex library visibility setting + */ public Builder hidden(Optional hidden) { Utils.checkNotNull(hidden, "hidden"); this.hidden = hidden; diff --git a/src/main/java/dev/plexapi/sdk/models/operations/Hidden.java b/src/main/java/dev/plexapi/sdk/models/operations/Hidden.java index 7f62f124..8faba5ae 100644 --- a/src/main/java/dev/plexapi/sdk/models/operations/Hidden.java +++ b/src/main/java/dev/plexapi/sdk/models/operations/Hidden.java @@ -10,11 +10,12 @@ import java.util.Optional; /** * Hidden * - *

UNKNOWN + *

The Plex library visibility setting */ public enum Hidden { - Disable(0), - Enable(1); + Visible(0), + ExcludeHomeScreen(1), + ExcludeHomeScreenAndGlobalSearch(2); @JsonValue private final int value;