Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: 🐝 Update SDK - Generate 2.9.14 #54

Merged
merged 1 commit into from
Sep 17, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions .speakeasy/gen.lock
Original file line number Diff line number Diff line change
@@ -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
Expand Down
10 changes: 5 additions & 5 deletions .speakeasy/workflow.lock
Original file line number Diff line number Diff line change
@@ -1,18 +1,18 @@
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
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
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,15 +35,15 @@ 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:
```xml
<dependency>
<groupId>dev.hathora</groupId>
<artifactId>cloud-sdk</artifactId>
<version>2.9.13</version>
<version>2.9.14</version>
</dependency>
```

Expand Down
12 changes: 11 additions & 1 deletion RELEASES.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 - .
- [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 - .
4 changes: 2 additions & 2 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ tasks.withType(Javadoc) {
}

group = "dev.hathora"
version = "2.9.13"
version = "2.9.14"

sourcesJar {
archiveBaseName = "cloud-sdk"
Expand Down Expand Up @@ -101,7 +101,7 @@ publishing {
maven(MavenPublication) {
groupId = 'dev.hathora'
artifactId = 'cloud-sdk'
version = '2.9.13'
version = '2.9.14'

from components.java

Expand Down
2 changes: 2 additions & 0 deletions docs/sdks/appsv2/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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).
Expand Down
2 changes: 2 additions & 0 deletions docs/sdks/buildsv3/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
2 changes: 2 additions & 0 deletions docs/sdks/deploymentsv3/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
2 changes: 1 addition & 1 deletion docs/sdks/processesv1/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
2 changes: 1 addition & 1 deletion docs/sdks/processesv2/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
2 changes: 2 additions & 0 deletions docs/sdks/processesv3/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
2 changes: 1 addition & 1 deletion gen.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
3 changes: 3 additions & 0 deletions src/main/java/dev/hathora/cloud_sdk/AppsV2.java
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
3 changes: 3 additions & 0 deletions src/main/java/dev/hathora/cloud_sdk/BuildsV3.java
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
3 changes: 3 additions & 0 deletions src/main/java/dev/hathora/cloud_sdk/DeploymentsV3.java
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
32 changes: 28 additions & 4 deletions src/main/java/dev/hathora/cloud_sdk/HathoraCloud.java
Original file line number Diff line number Diff line change
Expand Up @@ -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;

/**
Expand All @@ -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;

/**
Expand Down Expand Up @@ -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;
Expand All @@ -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;
}
Expand All @@ -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;
}
Expand All @@ -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;
}
Expand Down Expand Up @@ -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;
}
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/dev/hathora/cloud_sdk/ProcessesV1.java
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/dev/hathora/cloud_sdk/ProcessesV2.java
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
3 changes: 3 additions & 0 deletions src/main/java/dev/hathora/cloud_sdk/ProcessesV3.java
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
6 changes: 3 additions & 3 deletions src/main/java/dev/hathora/cloud_sdk/SDKConfiguration.java
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,9 @@ public Optional<SecuritySource> 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();

Expand Down
Loading