From 320741d5e0a2f70c489c3b3f064520761b52df8e Mon Sep 17 00:00:00 2001 From: speakeasybot Date: Tue, 17 Sep 2024 00:09:31 +0000 Subject: [PATCH] ci: regenerated with OpenAPI Doc , Speakeasy CLI 1.398.0 --- .speakeasy/gen.lock | 10 +++--- .speakeasy/workflow.lock | 10 +++--- README.md | 4 +-- RELEASES.md | 12 ++++++- build.gradle | 4 +-- docs/sdks/appsv2/README.md | 2 ++ docs/sdks/buildsv3/README.md | 2 ++ docs/sdks/deploymentsv3/README.md | 2 ++ docs/sdks/processesv1/README.md | 2 +- docs/sdks/processesv2/README.md | 2 +- docs/sdks/processesv3/README.md | 2 ++ gen.yaml | 2 +- .../java/dev/hathora/cloud_sdk/AppsV2.java | 3 ++ .../java/dev/hathora/cloud_sdk/BuildsV3.java | 3 ++ .../dev/hathora/cloud_sdk/DeploymentsV3.java | 3 ++ .../dev/hathora/cloud_sdk/HathoraCloud.java | 32 ++++++++++++++++--- .../dev/hathora/cloud_sdk/ProcessesV1.java | 2 +- .../dev/hathora/cloud_sdk/ProcessesV2.java | 2 +- .../dev/hathora/cloud_sdk/ProcessesV3.java | 3 ++ .../hathora/cloud_sdk/SDKConfiguration.java | 6 ++-- 20 files changed, 81 insertions(+), 27 deletions(-) diff --git a/.speakeasy/gen.lock b/.speakeasy/gen.lock index 4fec2bb5..ff1518f6 100755 --- a/.speakeasy/gen.lock +++ b/.speakeasy/gen.lock @@ -1,12 +1,12 @@ lockVersion: 2.0.0 id: 7b361cb9-7960-4aa9-aefb-1d3ff2bbe54b management: - docChecksum: 0a87a5d71a740a1c41abdb9879544197 + docChecksum: cafcb08339247dab7f0c61f8475bc62f docVersion: 0.0.1 - speakeasyVersion: 1.396.8 - generationVersion: 2.415.6 - releaseVersion: 2.9.13 - configChecksum: 134663e89d5f810cea914283939bfc7e + speakeasyVersion: 1.398.0 + generationVersion: 2.415.8 + releaseVersion: 2.9.14 + configChecksum: 34b9c0eb181b32fb13e0884954e40af9 repoURL: https://github.com/hathora/cloud-sdk-java.git repoSubDirectory: . published: true diff --git a/.speakeasy/workflow.lock b/.speakeasy/workflow.lock index a846ae89..3ff1ae44 100644 --- a/.speakeasy/workflow.lock +++ b/.speakeasy/workflow.lock @@ -1,9 +1,9 @@ -speakeasyVersion: 1.396.8 +speakeasyVersion: 1.398.0 sources: java-source: sourceNamespace: java-source - sourceRevisionDigest: sha256:2b0a1e7171f5eb0c857291b0fbdab02474e834b7fe0f54237d462a8ac82d7a2b - sourceBlobDigest: sha256:2443386b55189d2041dcbd4d7f5b138ac33c9e29d201158a06d4026adc77f95a + sourceRevisionDigest: sha256:6d489805f3bef26f4569cdb419c5de0c7e235e9638659f5cf38e9d4898912a66 + sourceBlobDigest: sha256:dd207bae9a5dcffe3495edba73bbd85e3ea8f5d2a6cddff25220258bafb8de9f tags: - latest - main @@ -11,8 +11,8 @@ targets: hathora-java: source: java-source sourceNamespace: java-source - sourceRevisionDigest: sha256:2b0a1e7171f5eb0c857291b0fbdab02474e834b7fe0f54237d462a8ac82d7a2b - sourceBlobDigest: sha256:2443386b55189d2041dcbd4d7f5b138ac33c9e29d201158a06d4026adc77f95a + sourceRevisionDigest: sha256:6d489805f3bef26f4569cdb419c5de0c7e235e9638659f5cf38e9d4898912a66 + sourceBlobDigest: sha256:dd207bae9a5dcffe3495edba73bbd85e3ea8f5d2a6cddff25220258bafb8de9f workflow: workflowVersion: 1.0.0 speakeasyVersion: latest diff --git a/README.md b/README.md index 357d945c..9b95c09f 100755 --- a/README.md +++ b/README.md @@ -35,7 +35,7 @@ The samples below show how a published SDK artifact is used: Gradle: ```groovy -implementation 'dev.hathora:cloud-sdk:2.9.13' +implementation 'dev.hathora:cloud-sdk:2.9.14' ``` Maven: @@ -43,7 +43,7 @@ Maven: dev.hathora cloud-sdk - 2.9.13 + 2.9.14 ``` diff --git a/RELEASES.md b/RELEASES.md index c84ef76a..d83047e3 100644 --- a/RELEASES.md +++ b/RELEASES.md @@ -669,4 +669,14 @@ Based on: ### Generated - [java v2.9.13] . ### Releases -- [Maven Central v2.9.13] https://central.sonatype.com/artifact/dev.hathora/cloud-sdk/2.9.13 - . \ No newline at end of file +- [Maven Central v2.9.13] https://central.sonatype.com/artifact/dev.hathora/cloud-sdk/2.9.13 - . + +## 2024-09-17 00:07:02 +### Changes +Based on: +- OpenAPI Doc +- Speakeasy CLI 1.398.0 (2.415.8) https://github.com/speakeasy-api/speakeasy +### Generated +- [java v2.9.14] . +### Releases +- [Maven Central v2.9.14] https://central.sonatype.com/artifact/dev.hathora/cloud-sdk/2.9.14 - . \ No newline at end of file diff --git a/build.gradle b/build.gradle index 873b9fd0..d1ff4643 100644 --- a/build.gradle +++ b/build.gradle @@ -63,7 +63,7 @@ tasks.withType(Javadoc) { } group = "dev.hathora" -version = "2.9.13" +version = "2.9.14" sourcesJar { archiveBaseName = "cloud-sdk" @@ -101,7 +101,7 @@ publishing { maven(MavenPublication) { groupId = 'dev.hathora' artifactId = 'cloud-sdk' - version = '2.9.13' + version = '2.9.14' from components.java diff --git a/docs/sdks/appsv2/README.md b/docs/sdks/appsv2/README.md index 6d5c094c..55857f18 100644 --- a/docs/sdks/appsv2/README.md +++ b/docs/sdks/appsv2/README.md @@ -3,6 +3,8 @@ ## Overview +Operations that allow you manage your [applications](https://hathora.dev/docs/concepts/hathora-entities#application). + ### Available Operations * [createApp](#createapp) - Create a new [application](https://hathora.dev/docs/concepts/hathora-entities#application). diff --git a/docs/sdks/buildsv3/README.md b/docs/sdks/buildsv3/README.md index 60e1257d..303a37b0 100644 --- a/docs/sdks/buildsv3/README.md +++ b/docs/sdks/buildsv3/README.md @@ -3,6 +3,8 @@ ## Overview +Operations that allow you create and manage your [builds](https://hathora.dev/docs/concepts/hathora-entities#build). + ### Available Operations * [createBuild](#createbuild) - Creates a new [build](https://hathora.dev/docs/concepts/hathora-entities#build) with optional `multipartUploadUrls` that can be used to upload larger builds in parts before calling `runBuild`. Responds with a `buildId` that you must pass to [`RunBuild()`](https://hathora.dev/api#tag/BuildV1/operation/RunBuild) to build the game server artifact. You can optionally pass in a `buildTag` to associate an external version with a build. diff --git a/docs/sdks/deploymentsv3/README.md b/docs/sdks/deploymentsv3/README.md index ee02999f..bc9b872c 100644 --- a/docs/sdks/deploymentsv3/README.md +++ b/docs/sdks/deploymentsv3/README.md @@ -3,6 +3,8 @@ ## Overview +Operations that allow you configure and manage an application's [build](https://hathora.dev/docs/concepts/hathora-entities#build) at runtime. + ### Available Operations * [createDeployment](#createdeployment) - Create a new [deployment](https://hathora.dev/docs/concepts/hathora-entities#deployment). Creating a new deployment means all new rooms created will use the latest deployment configuration, but existing games in progress will not be affected. diff --git a/docs/sdks/processesv1/README.md b/docs/sdks/processesv1/README.md index 13c3746c..043c13f2 100644 --- a/docs/sdks/processesv1/README.md +++ b/docs/sdks/processesv1/README.md @@ -3,7 +3,7 @@ ## Overview -Deprecated. Use [ProcessesV2](https://hathora.dev/api#tag/ProcessesV2). +Deprecated. Use [ProcessesV3](https://hathora.dev/api#tag/ProcessesV3). ### Available Operations diff --git a/docs/sdks/processesv2/README.md b/docs/sdks/processesv2/README.md index 4f202300..53be53ee 100644 --- a/docs/sdks/processesv2/README.md +++ b/docs/sdks/processesv2/README.md @@ -3,7 +3,7 @@ ## Overview -Operations to get data on active and stopped [processes](https://hathora.dev/docs/concepts/hathora-entities#process). +Deprecated. Use [ProcessesV3](https://hathora.dev/api#tag/ProcessesV3). ### Available Operations diff --git a/docs/sdks/processesv3/README.md b/docs/sdks/processesv3/README.md index 91b753b2..00bc86dd 100644 --- a/docs/sdks/processesv3/README.md +++ b/docs/sdks/processesv3/README.md @@ -3,6 +3,8 @@ ## Overview +Operations to get data on active and stopped [processes](https://hathora.dev/docs/concepts/hathora-entities#process). + ### Available Operations * [createProcess](#createprocess) - Creates a [process](https://hathora.dev/docs/concepts/hathora-entities#process) without a room. Use this to pre-allocate processes ahead of time so that subsequent room assignment via [CreateRoom()](https://hathora.dev/api#tag/RoomV2/operation/CreateRoom) can be instant. diff --git a/gen.yaml b/gen.yaml index 5f08f69b..b3eca3c3 100644 --- a/gen.yaml +++ b/gen.yaml @@ -12,7 +12,7 @@ generation: baseServerURL: "" flattenGlobalSecurity: true java: - version: 2.9.13 + version: 2.9.14 additionalDependencies: - testImplementation:org.junit.jupiter:junit-jupiter-api:5.8.1 - testRuntimeOnly:org.junit.jupiter:junit-jupiter-engine:5.8.1 diff --git a/src/main/java/dev/hathora/cloud_sdk/AppsV2.java b/src/main/java/dev/hathora/cloud_sdk/AppsV2.java index 8ecc6c35..9ce12660 100644 --- a/src/main/java/dev/hathora/cloud_sdk/AppsV2.java +++ b/src/main/java/dev/hathora/cloud_sdk/AppsV2.java @@ -43,6 +43,9 @@ import java.util.List; import java.util.Optional; +/** + * Operations that allow you manage your [applications](https://hathora.dev/docs/concepts/hathora-entities#application). + */ public class AppsV2 implements MethodCallCreateApp, MethodCallDeleteApp, diff --git a/src/main/java/dev/hathora/cloud_sdk/BuildsV3.java b/src/main/java/dev/hathora/cloud_sdk/BuildsV3.java index c7b5e555..65f75751 100644 --- a/src/main/java/dev/hathora/cloud_sdk/BuildsV3.java +++ b/src/main/java/dev/hathora/cloud_sdk/BuildsV3.java @@ -45,6 +45,9 @@ import java.util.List; import java.util.Optional; +/** + * Operations that allow you create and manage your [builds](https://hathora.dev/docs/concepts/hathora-entities#build). + */ public class BuildsV3 implements MethodCallCreateBuild, MethodCallDeleteBuild, diff --git a/src/main/java/dev/hathora/cloud_sdk/DeploymentsV3.java b/src/main/java/dev/hathora/cloud_sdk/DeploymentsV3.java index d0720267..2b874124 100644 --- a/src/main/java/dev/hathora/cloud_sdk/DeploymentsV3.java +++ b/src/main/java/dev/hathora/cloud_sdk/DeploymentsV3.java @@ -40,6 +40,9 @@ import java.util.List; import java.util.Optional; +/** + * Operations that allow you configure and manage an application's [build](https://hathora.dev/docs/concepts/hathora-entities#build) at runtime. + */ public class DeploymentsV3 implements MethodCallCreateDeployment, MethodCallGetDeployment, diff --git a/src/main/java/dev/hathora/cloud_sdk/HathoraCloud.java b/src/main/java/dev/hathora/cloud_sdk/HathoraCloud.java index 69cccc2c..0e596731 100644 --- a/src/main/java/dev/hathora/cloud_sdk/HathoraCloud.java +++ b/src/main/java/dev/hathora/cloud_sdk/HathoraCloud.java @@ -28,6 +28,9 @@ public class HathoraCloud { private final AppsV1 appsV1; + /** + * Operations that allow you manage your [applications](https://hathora.dev/docs/concepts/hathora-entities#application). + */ private final AppsV2 appsV2; /** @@ -44,12 +47,18 @@ public class HathoraCloud { private final BuildsV2 buildsV2; + /** + * Operations that allow you create and manage your [builds](https://hathora.dev/docs/concepts/hathora-entities#build). + */ private final BuildsV3 buildsV3; private final DeploymentsV1 deploymentsV1; private final DeploymentsV2 deploymentsV2; + /** + * Operations that allow you configure and manage an application's [build](https://hathora.dev/docs/concepts/hathora-entities#build) at runtime. + */ private final DeploymentsV3 deploymentsV3; /** @@ -83,15 +92,18 @@ public class HathoraCloud { private final OrganizationsV1 organizationsV1; /** - * Deprecated. Use [ProcessesV2](https://hathora.dev/api#tag/ProcessesV2). + * Deprecated. Use [ProcessesV3](https://hathora.dev/api#tag/ProcessesV3). */ private final ProcessesV1 processesV1; /** - * Operations to get data on active and stopped [processes](https://hathora.dev/docs/concepts/hathora-entities#process). + * Deprecated. Use [ProcessesV3](https://hathora.dev/api#tag/ProcessesV3). */ private final ProcessesV2 processesV2; + /** + * Operations to get data on active and stopped [processes](https://hathora.dev/docs/concepts/hathora-entities#process). + */ private final ProcessesV3 processesV3; private final RoomsV1 roomsV1; @@ -107,6 +119,9 @@ public AppsV1 appsV1() { return appsV1; } + /** + * Operations that allow you manage your [applications](https://hathora.dev/docs/concepts/hathora-entities#application). + */ public AppsV2 appsV2() { return appsV2; } @@ -133,6 +148,9 @@ public BuildsV2 buildsV2() { return buildsV2; } + /** + * Operations that allow you create and manage your [builds](https://hathora.dev/docs/concepts/hathora-entities#build). + */ public BuildsV3 buildsV3() { return buildsV3; } @@ -145,6 +163,9 @@ public DeploymentsV2 deploymentsV2() { return deploymentsV2; } + /** + * Operations that allow you configure and manage an application's [build](https://hathora.dev/docs/concepts/hathora-entities#build) at runtime. + */ public DeploymentsV3 deploymentsV3() { return deploymentsV3; } @@ -198,19 +219,22 @@ public OrganizationsV1 organizationsV1() { } /** - * Deprecated. Use [ProcessesV2](https://hathora.dev/api#tag/ProcessesV2). + * Deprecated. Use [ProcessesV3](https://hathora.dev/api#tag/ProcessesV3). */ public ProcessesV1 processesV1() { return processesV1; } /** - * Operations to get data on active and stopped [processes](https://hathora.dev/docs/concepts/hathora-entities#process). + * Deprecated. Use [ProcessesV3](https://hathora.dev/api#tag/ProcessesV3). */ public ProcessesV2 processesV2() { return processesV2; } + /** + * Operations to get data on active and stopped [processes](https://hathora.dev/docs/concepts/hathora-entities#process). + */ public ProcessesV3 processesV3() { return processesV3; } diff --git a/src/main/java/dev/hathora/cloud_sdk/ProcessesV1.java b/src/main/java/dev/hathora/cloud_sdk/ProcessesV1.java index 59ce2bd1..0d8a9acf 100644 --- a/src/main/java/dev/hathora/cloud_sdk/ProcessesV1.java +++ b/src/main/java/dev/hathora/cloud_sdk/ProcessesV1.java @@ -36,7 +36,7 @@ import java.util.Optional; /** - * Deprecated. Use [ProcessesV2](https://hathora.dev/api#tag/ProcessesV2). + * Deprecated. Use [ProcessesV3](https://hathora.dev/api#tag/ProcessesV3). */ public class ProcessesV1 implements MethodCallGetProcessInfoDeprecated, diff --git a/src/main/java/dev/hathora/cloud_sdk/ProcessesV2.java b/src/main/java/dev/hathora/cloud_sdk/ProcessesV2.java index d43290e7..10e22ce9 100644 --- a/src/main/java/dev/hathora/cloud_sdk/ProcessesV2.java +++ b/src/main/java/dev/hathora/cloud_sdk/ProcessesV2.java @@ -42,7 +42,7 @@ import java.util.Optional; /** - * Operations to get data on active and stopped [processes](https://hathora.dev/docs/concepts/hathora-entities#process). + * Deprecated. Use [ProcessesV3](https://hathora.dev/api#tag/ProcessesV3). */ public class ProcessesV2 implements MethodCallCreateProcessV2Deprecated, diff --git a/src/main/java/dev/hathora/cloud_sdk/ProcessesV3.java b/src/main/java/dev/hathora/cloud_sdk/ProcessesV3.java index 6a424b40..1b07408b 100644 --- a/src/main/java/dev/hathora/cloud_sdk/ProcessesV3.java +++ b/src/main/java/dev/hathora/cloud_sdk/ProcessesV3.java @@ -41,6 +41,9 @@ import java.util.List; import java.util.Optional; +/** + * Operations to get data on active and stopped [processes](https://hathora.dev/docs/concepts/hathora-entities#process). + */ public class ProcessesV3 implements MethodCallCreateProcess, MethodCallGetLatestProcesses, diff --git a/src/main/java/dev/hathora/cloud_sdk/SDKConfiguration.java b/src/main/java/dev/hathora/cloud_sdk/SDKConfiguration.java index 02b95d43..21ebc4e8 100644 --- a/src/main/java/dev/hathora/cloud_sdk/SDKConfiguration.java +++ b/src/main/java/dev/hathora/cloud_sdk/SDKConfiguration.java @@ -25,9 +25,9 @@ public Optional securitySource() { public int serverIdx = 0; public String language = "java"; public String openapiDocVersion = "0.0.1"; - public String sdkVersion = "2.9.13"; - public String genVersion = "2.415.6"; - public String userAgent = "speakeasy-sdk/java 2.9.13 2.415.6 0.0.1 dev.hathora.cloud_sdk"; + public String sdkVersion = "2.9.14"; + public String genVersion = "2.415.8"; + public String userAgent = "speakeasy-sdk/java 2.9.14 2.415.8 0.0.1 dev.hathora.cloud_sdk"; private Hooks _hooks = createHooks();