Skip to content

Commit

Permalink
Merge pull request #57 from hathora/speakeasy-sdk-regen-1727222859
Browse files Browse the repository at this point in the history
chore: 🐝 Update SDK - Generate 2.10.1
  • Loading branch information
gwprice115 authored Oct 9, 2024
2 parents df66d2e + 2d87640 commit 5942479
Show file tree
Hide file tree
Showing 64 changed files with 3,034 additions and 497 deletions.
73 changes: 67 additions & 6 deletions .speakeasy/gen.lock
Original file line number Diff line number Diff line change
@@ -1,20 +1,20 @@
lockVersion: 2.0.0
id: 7b361cb9-7960-4aa9-aefb-1d3ff2bbe54b
management:
docChecksum: c5bc301af128cf1271a3a61216f28d08
docChecksum: a93e675197cebac1a119ced9d9c6b356
docVersion: 0.0.1
speakeasyVersion: 1.402.0
generationVersion: 2.422.6
releaseVersion: 2.10.0
configChecksum: bbe39ffe20e23956daefa457bf835af9
speakeasyVersion: 1.413.0
generationVersion: 2.436.3
releaseVersion: 2.10.1
configChecksum: 05714930b54fe648295e076340fb5868
repoURL: https://github.com/hathora/cloud-sdk-java.git
repoSubDirectory: .
published: true
features:
java:
additionalDependencies: 0.1.0
constsAndDefaults: 0.1.1
core: 3.30.1
core: 3.30.4
deprecations: 2.81.1
downloadStreams: 0.1.1
flattening: 2.81.1
Expand Down Expand Up @@ -145,6 +145,10 @@ generatedFiles:
- docs/models/operations/GetDeploymentsV1DeprecatedResponse.md
- docs/models/operations/GetDeploymentsV2DeprecatedRequest.md
- docs/models/operations/GetDeploymentsV2DeprecatedResponse.md
- docs/models/operations/GetFleetRegionRequest.md
- docs/models/operations/GetFleetRegionResponse.md
- docs/models/operations/GetFleetsRequest.md
- docs/models/operations/GetFleetsResponse.md
- docs/models/operations/GetInactiveRoomsForProcessDeprecatedRequest.md
- docs/models/operations/GetInactiveRoomsForProcessDeprecatedResponse.md
- docs/models/operations/GetInactiveRoomsForProcessRequest.md
Expand Down Expand Up @@ -253,6 +257,8 @@ generatedFiles:
- docs/models/operations/UpdateAppResponse.md
- docs/models/operations/UpdateAppV1DeprecatedRequest.md
- docs/models/operations/UpdateAppV1DeprecatedResponse.md
- docs/models/operations/UpdateFleetRegionRequest.md
- docs/models/operations/UpdateFleetRegionResponse.md
- docs/models/operations/UpdateRoomConfigRequest.md
- docs/models/operations/UpdateRoomConfigResponse.md
- docs/models/shared/AchPaymentMethod.md
Expand Down Expand Up @@ -309,6 +315,10 @@ generatedFiles:
- docs/models/shared/DeploymentsV3Page.md
- docs/models/shared/Env.md
- docs/models/shared/ExposedPort.md
- docs/models/shared/Fleet.md
- docs/models/shared/FleetRegion.md
- docs/models/shared/FleetRegionConfig.md
- docs/models/shared/FleetsPage.md
- docs/models/shared/Google.md
- docs/models/shared/GoogleIdTokenObject.md
- docs/models/shared/Invoice.md
Expand Down Expand Up @@ -379,6 +389,7 @@ generatedFiles:
- docs/sdks/deploymentsv3/README.md
- docs/sdks/discoveryv1/README.md
- docs/sdks/discoveryv2/README.md
- docs/sdks/fleetsv1/README.md
- docs/sdks/hathoracloud/README.md
- docs/sdks/lobbiesv1/README.md
- docs/sdks/lobbiesv2/README.md
Expand Down Expand Up @@ -410,6 +421,7 @@ generatedFiles:
- src/main/java/dev/hathora/cloud_sdk/DeploymentsV3.java
- src/main/java/dev/hathora/cloud_sdk/DiscoveryV1.java
- src/main/java/dev/hathora/cloud_sdk/DiscoveryV2.java
- src/main/java/dev/hathora/cloud_sdk/FleetsV1.java
- src/main/java/dev/hathora/cloud_sdk/HathoraCloud.java
- src/main/java/dev/hathora/cloud_sdk/LobbiesV1.java
- src/main/java/dev/hathora/cloud_sdk/LobbiesV2.java
Expand Down Expand Up @@ -593,6 +605,12 @@ generatedFiles:
- src/main/java/dev/hathora/cloud_sdk/models/operations/GetDeploymentsV2DeprecatedRequest.java
- src/main/java/dev/hathora/cloud_sdk/models/operations/GetDeploymentsV2DeprecatedRequestBuilder.java
- src/main/java/dev/hathora/cloud_sdk/models/operations/GetDeploymentsV2DeprecatedResponse.java
- src/main/java/dev/hathora/cloud_sdk/models/operations/GetFleetRegionRequest.java
- src/main/java/dev/hathora/cloud_sdk/models/operations/GetFleetRegionRequestBuilder.java
- src/main/java/dev/hathora/cloud_sdk/models/operations/GetFleetRegionResponse.java
- src/main/java/dev/hathora/cloud_sdk/models/operations/GetFleetsRequest.java
- src/main/java/dev/hathora/cloud_sdk/models/operations/GetFleetsRequestBuilder.java
- src/main/java/dev/hathora/cloud_sdk/models/operations/GetFleetsResponse.java
- src/main/java/dev/hathora/cloud_sdk/models/operations/GetInactiveRoomsForProcessDeprecatedRequest.java
- src/main/java/dev/hathora/cloud_sdk/models/operations/GetInactiveRoomsForProcessDeprecatedRequestBuilder.java
- src/main/java/dev/hathora/cloud_sdk/models/operations/GetInactiveRoomsForProcessDeprecatedResponse.java
Expand Down Expand Up @@ -758,6 +776,9 @@ generatedFiles:
- src/main/java/dev/hathora/cloud_sdk/models/operations/UpdateAppV1DeprecatedRequest.java
- src/main/java/dev/hathora/cloud_sdk/models/operations/UpdateAppV1DeprecatedRequestBuilder.java
- src/main/java/dev/hathora/cloud_sdk/models/operations/UpdateAppV1DeprecatedResponse.java
- src/main/java/dev/hathora/cloud_sdk/models/operations/UpdateFleetRegionRequest.java
- src/main/java/dev/hathora/cloud_sdk/models/operations/UpdateFleetRegionRequestBuilder.java
- src/main/java/dev/hathora/cloud_sdk/models/operations/UpdateFleetRegionResponse.java
- src/main/java/dev/hathora/cloud_sdk/models/operations/UpdateRoomConfigRequest.java
- src/main/java/dev/hathora/cloud_sdk/models/operations/UpdateRoomConfigRequestBuilder.java
- src/main/java/dev/hathora/cloud_sdk/models/operations/UpdateRoomConfigResponse.java
Expand Down Expand Up @@ -815,6 +836,10 @@ generatedFiles:
- src/main/java/dev/hathora/cloud_sdk/models/shared/DeploymentsV3Page.java
- src/main/java/dev/hathora/cloud_sdk/models/shared/Env.java
- src/main/java/dev/hathora/cloud_sdk/models/shared/ExposedPort.java
- src/main/java/dev/hathora/cloud_sdk/models/shared/Fleet.java
- src/main/java/dev/hathora/cloud_sdk/models/shared/FleetRegion.java
- src/main/java/dev/hathora/cloud_sdk/models/shared/FleetRegionConfig.java
- src/main/java/dev/hathora/cloud_sdk/models/shared/FleetsPage.java
- src/main/java/dev/hathora/cloud_sdk/models/shared/Google.java
- src/main/java/dev/hathora/cloud_sdk/models/shared/GoogleIdTokenObject.java
- src/main/java/dev/hathora/cloud_sdk/models/shared/Invoice.java
Expand Down Expand Up @@ -2058,3 +2083,39 @@ examples:
application/json: true
"401":
application/json: {"message": "<value>"}
GetFleetRegion:
speakeasy-default-get-fleet-region:
parameters:
path:
fleetId: "<id>"
region: "Sao_Paulo"
query:
orgId: "org-6f706e83-0ec1-437a-9a46-7d4281eb2f39"
responses:
"200":
application/json: {"cloudMinVcpus": 590769, "cloudMinVcpusUpdatedAt": "2022-09-05T15:36:42.134Z", "scaleIncrementVcpus": 996706}
"401":
application/json: {"message": "<value>"}
GetFleets:
speakeasy-default-get-fleets:
parameters:
query:
orgId: "org-6f706e83-0ec1-437a-9a46-7d4281eb2f39"
responses:
"200":
application/json: {"fleets": [{"fleetId": "<id>", "orgId": "org-6f706e83-0ec1-437a-9a46-7d4281eb2f39"}]}
"401":
application/json: {"message": "<value>"}
UpdateFleetRegion:
speakeasy-default-update-fleet-region:
parameters:
path:
fleetId: "<id>"
region: "Singapore"
query:
orgId: "org-6f706e83-0ec1-437a-9a46-7d4281eb2f39"
requestBody:
application/json: {"cloudMinVcpus": 511402}
responses:
"401":
application/json: {"message": "<value>"}
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.402.0
speakeasyVersion: 1.413.0
sources:
java-source:
sourceNamespace: java-source
sourceRevisionDigest: sha256:38c7add495ff53ff279d6c3108af109387c6857442adc7758077462021c04ca6
sourceBlobDigest: sha256:960b8df64d8ae8c3cf15af84b5213cddab0f65bc96eb9c537261c2ca92bb98ed
sourceRevisionDigest: sha256:18407f0d9204d9b02aaaa01b12b5bdafebc4764a1a298758fd29374002afa0b0
sourceBlobDigest: sha256:d7cddab7e654a7fa9d9ade74dfcbad5d188431f06cc1f4b1a4f828a90c7510cf
tags:
- latest
- main
targets:
hathora-java:
source: java-source
sourceNamespace: java-source
sourceRevisionDigest: sha256:38c7add495ff53ff279d6c3108af109387c6857442adc7758077462021c04ca6
sourceBlobDigest: sha256:960b8df64d8ae8c3cf15af84b5213cddab0f65bc96eb9c537261c2ca92bb98ed
sourceRevisionDigest: sha256:18407f0d9204d9b02aaaa01b12b5bdafebc4764a1a298758fd29374002afa0b0
sourceBlobDigest: sha256:d7cddab7e654a7fa9d9ade74dfcbad5d188431f06cc1f4b1a4f828a90c7510cf
workflow:
workflowVersion: 1.0.0
speakeasyVersion: latest
Expand Down
22 changes: 15 additions & 7 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.10.0'
implementation 'dev.hathora:cloud-sdk:2.10.1'
```

Maven:
```xml
<dependency>
<groupId>dev.hathora</groupId>
<artifactId>cloud-sdk</artifactId>
<version>2.10.0</version>
<version>2.10.1</version>
</dependency>
```

Expand Down Expand Up @@ -200,6 +200,12 @@ Deleting a build that is actively build used by an app's deployment will cause f

* [getPingServiceEndpoints](docs/sdks/discoveryv2/README.md#getpingserviceendpoints) - Returns an array of all regions with a host and port that a client can directly ping. Open a websocket connection to `wss://<host>:<port>/ws` and send a packet. To calculate ping, measure the time it takes to get an echo packet back.

### [fleetsV1()](docs/sdks/fleetsv1/README.md)

* [getFleetRegion](docs/sdks/fleetsv1/README.md#getfleetregion)
* [getFleets](docs/sdks/fleetsv1/README.md#getfleets)
* [updateFleetRegion](docs/sdks/fleetsv1/README.md#updatefleetregion)


### [~~lobbiesV1()~~](docs/sdks/lobbiesv1/README.md)

Expand Down Expand Up @@ -354,12 +360,14 @@ public class Application {
<!-- Start Error Handling [errors] -->
## Error Handling

Handling errors in this SDK should largely match your expectations. All operations return a response object or raise an error. If Error objects are specified in your OpenAPI Spec, the SDK will throw the appropriate Exception type.
Handling errors in this SDK should largely match your expectations. All operations return a response object or raise an exception.

By default, an API error will throw a `models/errors/SDKError` exception. When custom error responses are specified for an operation, the SDK may also throw their associated exception. You can refer to respective *Errors* tables in SDK docs for more details on possible exception types for each operation. For example, the `createApp` method throws the following exceptions:

| Error Object | Status Code | Content Type |
| ---------------------- | ---------------------- | ---------------------- |
| models/errors/ApiError | 401,404,422,429,500 | application/json |
| models/errors/SDKError | 4xx-5xx | \*\/* |
| Error Type | Status Code | Content Type |
| ----------------------- | ----------------------- | ----------------------- |
| models/errors/ApiError | 401, 404, 422, 429, 500 | application/json |
| models/errors/SDKError | 4XX, 5XX | \*/\* |

### Example

Expand Down
12 changes: 11 additions & 1 deletion RELEASES.md
Original file line number Diff line number Diff line change
Expand Up @@ -699,4 +699,14 @@ Based on:
### Generated
- [java v2.10.0] .
### Releases
- [Maven Central v2.10.0] https://central.sonatype.com/artifact/dev.hathora/cloud-sdk/2.10.0 - .
- [Maven Central v2.10.0] https://central.sonatype.com/artifact/dev.hathora/cloud-sdk/2.10.0 - .

## 2024-10-09 00:07:31
### Changes
Based on:
- OpenAPI Doc
- Speakeasy CLI 1.413.0 (2.436.3) https://github.com/speakeasy-api/speakeasy
### Generated
- [java v2.10.1] .
### Releases
- [Maven Central v2.10.1] https://central.sonatype.com/artifact/dev.hathora/cloud-sdk/2.10.1 - .
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.10.0"
version = "2.10.1"

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

from components.java

Expand Down
Loading

0 comments on commit 5942479

Please sign in to comment.