diff --git a/.speakeasy/gen.lock b/.speakeasy/gen.lock index 442fb42f..2b9e0a41 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: 83ae53941fd703d9ce4034ec1d57c1e8 + docChecksum: 35379ef2a587c306c931c0c2e615a982 docVersion: 0.0.1 - speakeasyVersion: 1.423.5 - generationVersion: 2.445.1 - releaseVersion: 2.10.12 - configChecksum: 789973c2da1ed2cc5b3bed4b80e2ddca + speakeasyVersion: 1.425.3 + generationVersion: 2.446.5 + releaseVersion: 2.10.13 + configChecksum: 600746fdd823bccec1bd5f68e2921caf repoURL: https://github.com/hathora/cloud-sdk-java.git repoSubDirectory: . published: true @@ -14,7 +14,7 @@ features: java: additionalDependencies: 0.1.0 constsAndDefaults: 0.1.1 - core: 3.30.6 + core: 3.30.7 deprecations: 2.81.1 downloadStreams: 0.1.1 flattening: 2.81.1 diff --git a/.speakeasy/workflow.lock b/.speakeasy/workflow.lock index cd4a0efc..c828f753 100644 --- a/.speakeasy/workflow.lock +++ b/.speakeasy/workflow.lock @@ -1,9 +1,9 @@ -speakeasyVersion: 1.423.5 +speakeasyVersion: 1.425.3 sources: java-source: sourceNamespace: java-source - sourceRevisionDigest: sha256:74441a330cbd59977c0f77bdcb0042490f0de63b4a372272c4cf6714793bff3b - sourceBlobDigest: sha256:0e16ce9aaa07e858d7c86259cef36b8abf8e4a92edce30c9c7f89dd4dd23f638 + sourceRevisionDigest: sha256:2f8cc7efb1274fc281a09970ff9765cdd966912af532e7d47d1333fc7a1eb98e + sourceBlobDigest: sha256:501b059979280d869a3e1a524597bfca46dc28e18023e63cad0fdf1ba1061442 tags: - latest - main @@ -11,10 +11,10 @@ targets: hathora-java: source: java-source sourceNamespace: java-source - sourceRevisionDigest: sha256:74441a330cbd59977c0f77bdcb0042490f0de63b4a372272c4cf6714793bff3b - sourceBlobDigest: sha256:0e16ce9aaa07e858d7c86259cef36b8abf8e4a92edce30c9c7f89dd4dd23f638 + sourceRevisionDigest: sha256:2f8cc7efb1274fc281a09970ff9765cdd966912af532e7d47d1333fc7a1eb98e + sourceBlobDigest: sha256:501b059979280d869a3e1a524597bfca46dc28e18023e63cad0fdf1ba1061442 codeSamplesNamespace: code-samples-java-hathora-java - codeSamplesRevisionDigest: sha256:1c138f925097a4b7e7a491d74611f297f78730ccc9e1f55e44c5ac686bbbec8b + codeSamplesRevisionDigest: sha256:4b028411c9b1da917908a28d0ce5215bac95581d6b06df01fd2fcf8798bef35f workflow: workflowVersion: 1.0.0 speakeasyVersion: latest diff --git a/README.md b/README.md index 8dc876ff..236acec8 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.10.12' +implementation 'dev.hathora:cloud-sdk:2.10.13' ``` Maven: @@ -43,7 +43,7 @@ Maven: dev.hathora cloud-sdk - 2.10.12 + 2.10.13 ``` @@ -114,196 +114,194 @@ public class Application { ### [~~appsV1()~~](docs/sdks/appsv1/README.md) -* [~~createAppV1Deprecated~~](docs/sdks/appsv1/README.md#createappv1deprecated) - Create a new [application](https://hathora.dev/docs/concepts/hathora-entities#application). :warning: **Deprecated** -* [~~deleteAppV1Deprecated~~](docs/sdks/appsv1/README.md#deleteappv1deprecated) - Delete an [application](https://hathora.dev/docs/concepts/hathora-entities#application) using `appId`. Your organization will lose access to this application. :warning: **Deprecated** -* [~~getAppInfoV1Deprecated~~](docs/sdks/appsv1/README.md#getappinfov1deprecated) - Get details for an [application](https://hathora.dev/docs/concepts/hathora-entities#application) using `appId`. :warning: **Deprecated** -* [~~getAppsV1Deprecated~~](docs/sdks/appsv1/README.md#getappsv1deprecated) - Returns an unsorted list of your organization’s [applications](https://hathora.dev/docs/concepts/hathora-entities#application). An application is uniquely identified by an `appId`. :warning: **Deprecated** -* [~~updateAppV1Deprecated~~](docs/sdks/appsv1/README.md#updateappv1deprecated) - Update data for an existing [application](https://hathora.dev/docs/concepts/hathora-entities#application) using `appId`. :warning: **Deprecated** +* [~~createAppV1Deprecated~~](docs/sdks/appsv1/README.md#createappv1deprecated) - CreateAppV1Deprecated :warning: **Deprecated** +* [~~deleteAppV1Deprecated~~](docs/sdks/appsv1/README.md#deleteappv1deprecated) - DeleteAppV1Deprecated :warning: **Deprecated** +* [~~getAppInfoV1Deprecated~~](docs/sdks/appsv1/README.md#getappinfov1deprecated) - GetAppInfoV1Deprecated :warning: **Deprecated** +* [~~getAppsV1Deprecated~~](docs/sdks/appsv1/README.md#getappsv1deprecated) - GetAppsV1Deprecated :warning: **Deprecated** +* [~~updateAppV1Deprecated~~](docs/sdks/appsv1/README.md#updateappv1deprecated) - UpdateAppV1Deprecated :warning: **Deprecated** ### [appsV2()](docs/sdks/appsv2/README.md) -* [createApp](docs/sdks/appsv2/README.md#createapp) - Create a new [application](https://hathora.dev/docs/concepts/hathora-entities#application). -* [deleteApp](docs/sdks/appsv2/README.md#deleteapp) - Delete an [application](https://hathora.dev/docs/concepts/hathora-entities#application) using `appId`. Your organization will lose access to this application. -* [getApp](docs/sdks/appsv2/README.md#getapp) - Get details for an [application](https://hathora.dev/docs/concepts/hathora-entities#application) using `appId`. -* [getApps](docs/sdks/appsv2/README.md#getapps) - Returns an unsorted list of your organization’s [applications](https://hathora.dev/docs/concepts/hathora-entities#application). An application is uniquely identified by an `appId`. -* [updateApp](docs/sdks/appsv2/README.md#updateapp) - Update data for an existing [application](https://hathora.dev/docs/concepts/hathora-entities#application) using `appId`. +* [createApp](docs/sdks/appsv2/README.md#createapp) - CreateApp +* [deleteApp](docs/sdks/appsv2/README.md#deleteapp) - DeleteApp +* [getApp](docs/sdks/appsv2/README.md#getapp) - GetApp +* [getApps](docs/sdks/appsv2/README.md#getapps) - GetApps +* [updateApp](docs/sdks/appsv2/README.md#updateapp) - UpdateApp ### [authV1()](docs/sdks/authv1/README.md) -* [loginAnonymous](docs/sdks/authv1/README.md#loginanonymous) - Returns a unique player token for an anonymous user. -* [loginGoogle](docs/sdks/authv1/README.md#logingoogle) - Returns a unique player token using a Google-signed OIDC `idToken`. -* [loginNickname](docs/sdks/authv1/README.md#loginnickname) - Returns a unique player token with a specified nickname for a user. +* [loginAnonymous](docs/sdks/authv1/README.md#loginanonymous) - LoginAnonymous +* [loginGoogle](docs/sdks/authv1/README.md#logingoogle) - LoginGoogle +* [loginNickname](docs/sdks/authv1/README.md#loginnickname) - LoginNickname ### [billingV1()](docs/sdks/billingv1/README.md) -* [getBalance](docs/sdks/billingv1/README.md#getbalance) -* [getInvoices](docs/sdks/billingv1/README.md#getinvoices) -* [getPaymentMethod](docs/sdks/billingv1/README.md#getpaymentmethod) -* [getUpcomingInvoiceItems](docs/sdks/billingv1/README.md#getupcominginvoiceitems) -* [getUpcomingInvoiceTotal](docs/sdks/billingv1/README.md#getupcominginvoicetotal) -* [initStripeCustomerPortalUrl](docs/sdks/billingv1/README.md#initstripecustomerportalurl) +* [getBalance](docs/sdks/billingv1/README.md#getbalance) - GetBalance +* [getInvoices](docs/sdks/billingv1/README.md#getinvoices) - GetInvoices +* [getPaymentMethod](docs/sdks/billingv1/README.md#getpaymentmethod) - GetPaymentMethod +* [getUpcomingInvoiceItems](docs/sdks/billingv1/README.md#getupcominginvoiceitems) - GetUpcomingInvoiceItems +* [getUpcomingInvoiceTotal](docs/sdks/billingv1/README.md#getupcominginvoicetotal) - GetUpcomingInvoiceTotal +* [initStripeCustomerPortalUrl](docs/sdks/billingv1/README.md#initstripecustomerportalurl) - InitStripeCustomerPortalUrl ### [~~buildsV1()~~](docs/sdks/buildsv1/README.md) -* [~~createBuildDeprecated~~](docs/sdks/buildsv1/README.md#createbuilddeprecated) - Creates a new [build](https://hathora.dev/docs/concepts/hathora-entities#build). 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. :warning: **Deprecated** -* [~~deleteBuildDeprecated~~](docs/sdks/buildsv1/README.md#deletebuilddeprecated) - Delete a [build](https://hathora.dev/docs/concepts/hathora-entities#build). All associated metadata is deleted. :warning: **Deprecated** -* [~~getBuildInfoDeprecated~~](docs/sdks/buildsv1/README.md#getbuildinfodeprecated) - Get details for a [build](https://hathora.dev/docs/concepts/hathora-entities#build). :warning: **Deprecated** -* [~~getBuildsDeprecated~~](docs/sdks/buildsv1/README.md#getbuildsdeprecated) - Returns an array of [builds](https://hathora.dev/docs/concepts/hathora-entities#build) for an [application](https://hathora.dev/docs/concepts/hathora-entities#application). :warning: **Deprecated** -* [~~runBuildDeprecated~~](docs/sdks/buildsv1/README.md#runbuilddeprecated) - Builds a game server artifact from a tarball you provide. Pass in the `buildId` generated from [`CreateBuild()`](https://hathora.dev/api#tag/BuildV1/operation/CreateBuild). :warning: **Deprecated** +* [~~createBuildDeprecated~~](docs/sdks/buildsv1/README.md#createbuilddeprecated) - CreateBuildDeprecated :warning: **Deprecated** +* [~~deleteBuildDeprecated~~](docs/sdks/buildsv1/README.md#deletebuilddeprecated) - DeleteBuildDeprecated :warning: **Deprecated** +* [~~getBuildInfoDeprecated~~](docs/sdks/buildsv1/README.md#getbuildinfodeprecated) - GetBuildInfoDeprecated :warning: **Deprecated** +* [~~getBuildsDeprecated~~](docs/sdks/buildsv1/README.md#getbuildsdeprecated) - GetBuildsDeprecated :warning: **Deprecated** +* [~~runBuildDeprecated~~](docs/sdks/buildsv1/README.md#runbuilddeprecated) - RunBuildDeprecated :warning: **Deprecated** ### [~~buildsV2()~~](docs/sdks/buildsv2/README.md) -* [~~createBuildV2Deprecated~~](docs/sdks/buildsv2/README.md#createbuildv2deprecated) - Creates a new [build](https://hathora.dev/docs/concepts/hathora-entities#build). 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. :warning: **Deprecated** -* [~~createBuildWithUploadUrlV2Deprecated~~](docs/sdks/buildsv2/README.md#createbuildwithuploadurlv2deprecated) - Creates a new [build](https://hathora.dev/docs/concepts/hathora-entities#build) with `uploadUrl` that can be used to upload the build to 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. :warning: **Deprecated** -* [~~createWithMultipartUploadsV2Deprecated~~](docs/sdks/buildsv2/README.md#createwithmultipartuploadsv2deprecated) - 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. :warning: **Deprecated** -* [~~deleteBuildV2Deprecated~~](docs/sdks/buildsv2/README.md#deletebuildv2deprecated) - Delete a [build](https://hathora.dev/docs/concepts/hathora-entities#build). All associated metadata is deleted. :warning: **Deprecated** -* [~~getBuildInfoV2Deprecated~~](docs/sdks/buildsv2/README.md#getbuildinfov2deprecated) - Get details for a [build](https://hathora.dev/docs/concepts/hathora-entities#build). :warning: **Deprecated** -* [~~getBuildsV2Deprecated~~](docs/sdks/buildsv2/README.md#getbuildsv2deprecated) - Returns an array of [builds](https://hathora.dev/docs/concepts/hathora-entities#build) for an [application](https://hathora.dev/docs/concepts/hathora-entities#application). :warning: **Deprecated** -* [~~runBuildV2Deprecated~~](docs/sdks/buildsv2/README.md#runbuildv2deprecated) - Builds a game server artifact from a tarball you provide. Pass in the `buildId` generated from [`CreateBuild()`](https://hathora.dev/api#tag/BuildV1/operation/CreateBuild). :warning: **Deprecated** +* [~~createBuildV2Deprecated~~](docs/sdks/buildsv2/README.md#createbuildv2deprecated) - CreateBuildV2Deprecated :warning: **Deprecated** +* [~~createBuildWithUploadUrlV2Deprecated~~](docs/sdks/buildsv2/README.md#createbuildwithuploadurlv2deprecated) - CreateBuildWithUploadUrlV2Deprecated :warning: **Deprecated** +* [~~createWithMultipartUploadsV2Deprecated~~](docs/sdks/buildsv2/README.md#createwithmultipartuploadsv2deprecated) - CreateWithMultipartUploadsV2Deprecated :warning: **Deprecated** +* [~~deleteBuildV2Deprecated~~](docs/sdks/buildsv2/README.md#deletebuildv2deprecated) - DeleteBuildV2Deprecated :warning: **Deprecated** +* [~~getBuildInfoV2Deprecated~~](docs/sdks/buildsv2/README.md#getbuildinfov2deprecated) - GetBuildInfoV2Deprecated :warning: **Deprecated** +* [~~getBuildsV2Deprecated~~](docs/sdks/buildsv2/README.md#getbuildsv2deprecated) - GetBuildsV2Deprecated :warning: **Deprecated** +* [~~runBuildV2Deprecated~~](docs/sdks/buildsv2/README.md#runbuildv2deprecated) - RunBuildV2Deprecated :warning: **Deprecated** ### [buildsV3()](docs/sdks/buildsv3/README.md) -* [createBuild](docs/sdks/buildsv3/README.md#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. -* [deleteBuild](docs/sdks/buildsv3/README.md#deletebuild) - Delete a [build](https://hathora.dev/docs/concepts/hathora-entities#build). All associated metadata is deleted. -Be careful which builds you delete. This endpoint does not prevent you from deleting actively used builds. -Deleting a build that is actively build used by an app's deployment will cause failures when creating rooms. -* [getBuild](docs/sdks/buildsv3/README.md#getbuild) - Get details for a [build](https://hathora.dev/docs/concepts/hathora-entities#build). -* [getBuilds](docs/sdks/buildsv3/README.md#getbuilds) - Returns an array of [builds](https://hathora.dev/docs/concepts/hathora-entities#build) for an [application](https://hathora.dev/docs/concepts/hathora-entities#application). -* [runBuild](docs/sdks/buildsv3/README.md#runbuild) - Builds a game server artifact from a tarball you provide. Pass in the `buildId` generated from [`CreateBuild()`](https://hathora.dev/api#tag/BuildV1/operation/CreateBuild). +* [createBuild](docs/sdks/buildsv3/README.md#createbuild) - CreateBuild +* [deleteBuild](docs/sdks/buildsv3/README.md#deletebuild) - DeleteBuild +* [getBuild](docs/sdks/buildsv3/README.md#getbuild) - GetBuild +* [getBuilds](docs/sdks/buildsv3/README.md#getbuilds) - GetBuilds +* [runBuild](docs/sdks/buildsv3/README.md#runbuild) - RunBuild ### [~~deploymentsV1()~~](docs/sdks/deploymentsv1/README.md) -* [~~createDeploymentV1Deprecated~~](docs/sdks/deploymentsv1/README.md#createdeploymentv1deprecated) - 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. :warning: **Deprecated** -* [~~getDeploymentInfoV1Deprecated~~](docs/sdks/deploymentsv1/README.md#getdeploymentinfov1deprecated) - Get details for a [deployment](https://hathora.dev/docs/concepts/hathora-entities#deployment). :warning: **Deprecated** -* [~~getDeploymentsV1Deprecated~~](docs/sdks/deploymentsv1/README.md#getdeploymentsv1deprecated) - Returns an array of [deployments](https://hathora.dev/docs/concepts/hathora-entities#deployment) for an [application](https://hathora.dev/docs/concepts/hathora-entities#application). :warning: **Deprecated** -* [~~getLatestDeploymentV1Deprecated~~](docs/sdks/deploymentsv1/README.md#getlatestdeploymentv1deprecated) - Get the latest [deployment](https://hathora.dev/docs/concepts/hathora-entities#deployment) for an [application](https://hathora.dev/docs/concepts/hathora-entities#application). :warning: **Deprecated** +* [~~createDeploymentV1Deprecated~~](docs/sdks/deploymentsv1/README.md#createdeploymentv1deprecated) - CreateDeploymentV1Deprecated :warning: **Deprecated** +* [~~getDeploymentInfoV1Deprecated~~](docs/sdks/deploymentsv1/README.md#getdeploymentinfov1deprecated) - GetDeploymentInfoV1Deprecated :warning: **Deprecated** +* [~~getDeploymentsV1Deprecated~~](docs/sdks/deploymentsv1/README.md#getdeploymentsv1deprecated) - GetDeploymentsV1Deprecated :warning: **Deprecated** +* [~~getLatestDeploymentV1Deprecated~~](docs/sdks/deploymentsv1/README.md#getlatestdeploymentv1deprecated) - GetLatestDeploymentV1Deprecated :warning: **Deprecated** ### [~~deploymentsV2()~~](docs/sdks/deploymentsv2/README.md) -* [~~createDeploymentV2Deprecated~~](docs/sdks/deploymentsv2/README.md#createdeploymentv2deprecated) - 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. :warning: **Deprecated** -* [~~getDeploymentInfoV2Deprecated~~](docs/sdks/deploymentsv2/README.md#getdeploymentinfov2deprecated) - Get details for a [deployment](https://hathora.dev/docs/concepts/hathora-entities#deployment). :warning: **Deprecated** -* [~~getDeploymentsV2Deprecated~~](docs/sdks/deploymentsv2/README.md#getdeploymentsv2deprecated) - Returns an array of [deployments](https://hathora.dev/docs/concepts/hathora-entities#deployment) for an [application](https://hathora.dev/docs/concepts/hathora-entities#application). :warning: **Deprecated** -* [~~getLatestDeploymentV2Deprecated~~](docs/sdks/deploymentsv2/README.md#getlatestdeploymentv2deprecated) - Get the latest [deployment](https://hathora.dev/docs/concepts/hathora-entities#deployment) for an [application](https://hathora.dev/docs/concepts/hathora-entities#application). :warning: **Deprecated** +* [~~createDeploymentV2Deprecated~~](docs/sdks/deploymentsv2/README.md#createdeploymentv2deprecated) - CreateDeploymentV2Deprecated :warning: **Deprecated** +* [~~getDeploymentInfoV2Deprecated~~](docs/sdks/deploymentsv2/README.md#getdeploymentinfov2deprecated) - GetDeploymentInfoV2Deprecated :warning: **Deprecated** +* [~~getDeploymentsV2Deprecated~~](docs/sdks/deploymentsv2/README.md#getdeploymentsv2deprecated) - GetDeploymentsV2Deprecated :warning: **Deprecated** +* [~~getLatestDeploymentV2Deprecated~~](docs/sdks/deploymentsv2/README.md#getlatestdeploymentv2deprecated) - GetLatestDeploymentV2Deprecated :warning: **Deprecated** ### [deploymentsV3()](docs/sdks/deploymentsv3/README.md) -* [createDeployment](docs/sdks/deploymentsv3/README.md#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. -* [getDeployment](docs/sdks/deploymentsv3/README.md#getdeployment) - Get details for a [deployment](https://hathora.dev/docs/concepts/hathora-entities#deployment). -* [getDeployments](docs/sdks/deploymentsv3/README.md#getdeployments) - Returns an array of [deployments](https://hathora.dev/docs/concepts/hathora-entities#deployment) for an [application](https://hathora.dev/docs/concepts/hathora-entities#application), optionally filtered by deploymentTag. -* [getLatestDeployment](docs/sdks/deploymentsv3/README.md#getlatestdeployment) - Get the latest [deployment](https://hathora.dev/docs/concepts/hathora-entities#deployment) for an [application](https://hathora.dev/docs/concepts/hathora-entities#application). +* [createDeployment](docs/sdks/deploymentsv3/README.md#createdeployment) - CreateDeployment +* [getDeployment](docs/sdks/deploymentsv3/README.md#getdeployment) - GetDeployment +* [getDeployments](docs/sdks/deploymentsv3/README.md#getdeployments) - GetDeployments +* [getLatestDeployment](docs/sdks/deploymentsv3/README.md#getlatestdeployment) - GetLatestDeployment ### [~~discoveryV1()~~](docs/sdks/discoveryv1/README.md) -* [~~getPingServiceEndpointsDeprecated~~](docs/sdks/discoveryv1/README.md#getpingserviceendpointsdeprecated) - Returns an array of V1 regions with a host and port that a client can directly ping. Open a websocket connection to `wss://:/ws` and send a packet. To calculate ping, measure the time it takes to get an echo packet back. :warning: **Deprecated** +* [~~getPingServiceEndpointsDeprecated~~](docs/sdks/discoveryv1/README.md#getpingserviceendpointsdeprecated) - GetPingServiceEndpointsDeprecated :warning: **Deprecated** ### [discoveryV2()](docs/sdks/discoveryv2/README.md) -* [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://:/ws` and send a packet. To calculate ping, measure the time it takes to get an echo packet back. +* [getPingServiceEndpoints](docs/sdks/discoveryv2/README.md#getpingserviceendpoints) - GetPingServiceEndpoints ### [fleetsV1()](docs/sdks/fleetsv1/README.md) -* [getFleetMetrics](docs/sdks/fleetsv1/README.md#getfleetmetrics) - Gets metrics for a [fleet](https://hathora.dev/docs/concepts/hathora-entities#fleet) in a region. -* [getFleetRegion](docs/sdks/fleetsv1/README.md#getfleetregion) - Gets the configuration for a given [fleet](https://hathora.dev/docs/concepts/hathora-entities#fleet) in a region. -* [getFleets](docs/sdks/fleetsv1/README.md#getfleets) - Returns an array of [fleets](https://hathora.dev/docs/concepts/hathora-entities#fleet). -* [updateFleetRegion](docs/sdks/fleetsv1/README.md#updatefleetregion) - Updates the configuration for a given [fleet](https://hathora.dev/docs/concepts/hathora-entities#fleet) in a region. +* [getFleetMetrics](docs/sdks/fleetsv1/README.md#getfleetmetrics) - GetFleetMetrics +* [getFleetRegion](docs/sdks/fleetsv1/README.md#getfleetregion) - GetFleetRegion +* [getFleets](docs/sdks/fleetsv1/README.md#getfleets) - GetFleets +* [updateFleetRegion](docs/sdks/fleetsv1/README.md#updatefleetregion) - UpdateFleetRegion ### [~~lobbiesV1()~~](docs/sdks/lobbiesv1/README.md) -* [~~createPrivateLobbyDeprecated~~](docs/sdks/lobbiesv1/README.md#createprivatelobbydeprecated) - :warning: **Deprecated** -* [~~createPublicLobbyDeprecated~~](docs/sdks/lobbiesv1/README.md#createpubliclobbydeprecated) - :warning: **Deprecated** -* [~~listActivePublicLobbiesDeprecatedV1~~](docs/sdks/lobbiesv1/README.md#listactivepubliclobbiesdeprecatedv1) - :warning: **Deprecated** +* [~~createPrivateLobbyDeprecated~~](docs/sdks/lobbiesv1/README.md#createprivatelobbydeprecated) - CreatePrivateLobbyDeprecated :warning: **Deprecated** +* [~~createPublicLobbyDeprecated~~](docs/sdks/lobbiesv1/README.md#createpubliclobbydeprecated) - CreatePublicLobbyDeprecated :warning: **Deprecated** +* [~~listActivePublicLobbiesDeprecatedV1~~](docs/sdks/lobbiesv1/README.md#listactivepubliclobbiesdeprecatedv1) - ListActivePublicLobbiesDeprecatedV1 :warning: **Deprecated** ### [~~lobbiesV2()~~](docs/sdks/lobbiesv2/README.md) -* [~~createLobbyDeprecated~~](docs/sdks/lobbiesv2/README.md#createlobbydeprecated) - Create a new lobby for an [application](https://hathora.dev/docs/concepts/hathora-entities#application). A lobby object is a wrapper around a [room](https://hathora.dev/docs/concepts/hathora-entities#room) object. With a lobby, you get additional functionality like configuring the visibility of the room, managing the state of a match, and retrieving a list of public lobbies to display to players. :warning: **Deprecated** -* [~~createLocalLobby~~](docs/sdks/lobbiesv2/README.md#createlocallobby) - :warning: **Deprecated** -* [~~createPrivateLobby~~](docs/sdks/lobbiesv2/README.md#createprivatelobby) - :warning: **Deprecated** -* [~~createPublicLobby~~](docs/sdks/lobbiesv2/README.md#createpubliclobby) - :warning: **Deprecated** -* [~~getLobbyInfo~~](docs/sdks/lobbiesv2/README.md#getlobbyinfo) - Get details for a lobby. :warning: **Deprecated** -* [~~listActivePublicLobbiesDeprecatedV2~~](docs/sdks/lobbiesv2/README.md#listactivepubliclobbiesdeprecatedv2) - Get all active lobbies for a an [application](https://hathora.dev/docs/concepts/hathora-entities#application). Filter by optionally passing in a `region`. Use this endpoint to display all public lobbies that a player can join in the game client. :warning: **Deprecated** -* [~~setLobbyState~~](docs/sdks/lobbiesv2/README.md#setlobbystate) - Set the state of a lobby. State is intended to be set by the server and must be smaller than 1MB. Use this endpoint to store match data like live player count to enforce max number of clients or persist end-game data (i.e. winner or final scores). :warning: **Deprecated** +* [~~createLobbyDeprecated~~](docs/sdks/lobbiesv2/README.md#createlobbydeprecated) - CreateLobbyDeprecated :warning: **Deprecated** +* [~~createLocalLobby~~](docs/sdks/lobbiesv2/README.md#createlocallobby) - CreateLocalLobby :warning: **Deprecated** +* [~~createPrivateLobby~~](docs/sdks/lobbiesv2/README.md#createprivatelobby) - CreatePrivateLobby :warning: **Deprecated** +* [~~createPublicLobby~~](docs/sdks/lobbiesv2/README.md#createpubliclobby) - CreatePublicLobby :warning: **Deprecated** +* [~~getLobbyInfo~~](docs/sdks/lobbiesv2/README.md#getlobbyinfo) - GetLobbyInfo :warning: **Deprecated** +* [~~listActivePublicLobbiesDeprecatedV2~~](docs/sdks/lobbiesv2/README.md#listactivepubliclobbiesdeprecatedv2) - ListActivePublicLobbiesDeprecatedV2 :warning: **Deprecated** +* [~~setLobbyState~~](docs/sdks/lobbiesv2/README.md#setlobbystate) - SetLobbyState :warning: **Deprecated** ### [lobbiesV3()](docs/sdks/lobbiesv3/README.md) -* [createLobby](docs/sdks/lobbiesv3/README.md#createlobby) - Create a new lobby for an [application](https://hathora.dev/docs/concepts/hathora-entities#application). A lobby object is a wrapper around a [room](https://hathora.dev/docs/concepts/hathora-entities#room) object. With a lobby, you get additional functionality like configuring the visibility of the room, managing the state of a match, and retrieving a list of public lobbies to display to players. -* [getLobbyInfoByRoomId](docs/sdks/lobbiesv3/README.md#getlobbyinfobyroomid) - Get details for a lobby. -* [getLobbyInfoByShortCode](docs/sdks/lobbiesv3/README.md#getlobbyinfobyshortcode) - Get details for a lobby. If 2 or more lobbies have the same `shortCode`, then the most recently created lobby will be returned. -* [listActivePublicLobbies](docs/sdks/lobbiesv3/README.md#listactivepubliclobbies) - Get all active lobbies for a given [application](https://hathora.dev/docs/concepts/hathora-entities#application). Filter the array by optionally passing in a `region`. Use this endpoint to display all public lobbies that a player can join in the game client. +* [createLobby](docs/sdks/lobbiesv3/README.md#createlobby) - CreateLobby +* [getLobbyInfoByRoomId](docs/sdks/lobbiesv3/README.md#getlobbyinfobyroomid) - GetLobbyInfoByRoomId +* [getLobbyInfoByShortCode](docs/sdks/lobbiesv3/README.md#getlobbyinfobyshortcode) - GetLobbyInfoByShortCode +* [listActivePublicLobbies](docs/sdks/lobbiesv3/README.md#listactivepubliclobbies) - ListActivePublicLobbies ### [logsV1()](docs/sdks/logsv1/README.md) -* [downloadLogForProcess](docs/sdks/logsv1/README.md#downloadlogforprocess) - Download entire log file for a stopped process. -* [getLogsForProcess](docs/sdks/logsv1/README.md#getlogsforprocess) - Returns a stream of logs for a [process](https://hathora.dev/docs/concepts/hathora-entities#process) using `appId` and `processId`. +* [downloadLogForProcess](docs/sdks/logsv1/README.md#downloadlogforprocess) - DownloadLogForProcess +* [getLogsForProcess](docs/sdks/logsv1/README.md#getlogsforprocess) - GetLogsForProcess ### [managementV1()](docs/sdks/managementv1/README.md) -* [sendVerificationEmail](docs/sdks/managementv1/README.md#sendverificationemail) +* [sendVerificationEmail](docs/sdks/managementv1/README.md#sendverificationemail) - SendVerificationEmail ### [~~metricsV1()~~](docs/sdks/metricsv1/README.md) -* [~~getMetricsDeprecated~~](docs/sdks/metricsv1/README.md#getmetricsdeprecated) - Get metrics for a [process](https://hathora.dev/docs/concepts/hathora-entities#process) using `appId` and `processId`. :warning: **Deprecated** +* [~~getMetricsDeprecated~~](docs/sdks/metricsv1/README.md#getmetricsdeprecated) - GetMetricsDeprecated :warning: **Deprecated** ### [organizationsV1()](docs/sdks/organizationsv1/README.md) -* [acceptInvite](docs/sdks/organizationsv1/README.md#acceptinvite) -* [getOrgMembers](docs/sdks/organizationsv1/README.md#getorgmembers) -* [getOrgPendingInvites](docs/sdks/organizationsv1/README.md#getorgpendinginvites) -* [getOrgs](docs/sdks/organizationsv1/README.md#getorgs) - Returns an unsorted list of all organizations that you are a member of (an accepted membership invite). An organization is uniquely identified by an `orgId`. -* [getUserPendingInvites](docs/sdks/organizationsv1/README.md#getuserpendinginvites) -* [inviteUser](docs/sdks/organizationsv1/README.md#inviteuser) -* [rejectInvite](docs/sdks/organizationsv1/README.md#rejectinvite) -* [rescindInvite](docs/sdks/organizationsv1/README.md#rescindinvite) +* [acceptInvite](docs/sdks/organizationsv1/README.md#acceptinvite) - AcceptInvite +* [getOrgMembers](docs/sdks/organizationsv1/README.md#getorgmembers) - GetOrgMembers +* [getOrgPendingInvites](docs/sdks/organizationsv1/README.md#getorgpendinginvites) - GetOrgPendingInvites +* [getOrgs](docs/sdks/organizationsv1/README.md#getorgs) - GetOrgs +* [getUserPendingInvites](docs/sdks/organizationsv1/README.md#getuserpendinginvites) - GetUserPendingInvites +* [inviteUser](docs/sdks/organizationsv1/README.md#inviteuser) - InviteUser +* [rejectInvite](docs/sdks/organizationsv1/README.md#rejectinvite) - RejectInvite +* [rescindInvite](docs/sdks/organizationsv1/README.md#rescindinvite) - RescindInvite ### [~~processesV1()~~](docs/sdks/processesv1/README.md) -* [~~getProcessInfoDeprecated~~](docs/sdks/processesv1/README.md#getprocessinfodeprecated) - Get details for a [process](https://hathora.dev/docs/concepts/hathora-entities#process). :warning: **Deprecated** -* [~~getRunningProcesses~~](docs/sdks/processesv1/README.md#getrunningprocesses) - Retrieve 10 most recently started [process](https://hathora.dev/docs/concepts/hathora-entities#process) objects for an [application](https://hathora.dev/docs/concepts/hathora-entities#application). Filter the array by optionally passing in a `region`. :warning: **Deprecated** -* [~~getStoppedProcesses~~](docs/sdks/processesv1/README.md#getstoppedprocesses) - Retrieve 10 most recently stopped [process](https://hathora.dev/docs/concepts/hathora-entities#process) objects for an [application](https://hathora.dev/docs/concepts/hathora-entities#application). Filter the array by optionally passing in a `region`. :warning: **Deprecated** +* [~~getProcessInfoDeprecated~~](docs/sdks/processesv1/README.md#getprocessinfodeprecated) - GetProcessInfoDeprecated :warning: **Deprecated** +* [~~getRunningProcesses~~](docs/sdks/processesv1/README.md#getrunningprocesses) - GetRunningProcesses :warning: **Deprecated** +* [~~getStoppedProcesses~~](docs/sdks/processesv1/README.md#getstoppedprocesses) - GetStoppedProcesses :warning: **Deprecated** ### [~~processesV2()~~](docs/sdks/processesv2/README.md) -* [~~createProcessV2Deprecated~~](docs/sdks/processesv2/README.md#createprocessv2deprecated) - 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. :warning: **Deprecated** -* [~~getLatestProcessesV2Deprecated~~](docs/sdks/processesv2/README.md#getlatestprocessesv2deprecated) - Retrieve the 10 most recent [processes](https://hathora.dev/docs/concepts/hathora-entities#process) objects for an [application](https://hathora.dev/docs/concepts/hathora-entities#application). Filter the array by optionally passing in a `status` or `region`. :warning: **Deprecated** -* [~~getProcessInfoV2Deprecated~~](docs/sdks/processesv2/README.md#getprocessinfov2deprecated) - Get details for a [process](https://hathora.dev/docs/concepts/hathora-entities#process). :warning: **Deprecated** -* [~~getProcessesCountExperimentalV2Deprecated~~](docs/sdks/processesv2/README.md#getprocessescountexperimentalv2deprecated) - Count the number of [processes](https://hathora.dev/docs/concepts/hathora-entities#process) objects for an [application](https://hathora.dev/docs/concepts/hathora-entities#application). Filter by optionally passing in a `status` or `region`. :warning: **Deprecated** -* [~~stopProcessV2Deprecated~~](docs/sdks/processesv2/README.md#stopprocessv2deprecated) - Stops a [process](https://hathora.dev/docs/concepts/hathora-entities#process) immediately. :warning: **Deprecated** +* [~~createProcessV2Deprecated~~](docs/sdks/processesv2/README.md#createprocessv2deprecated) - CreateProcessV2Deprecated :warning: **Deprecated** +* [~~getLatestProcessesV2Deprecated~~](docs/sdks/processesv2/README.md#getlatestprocessesv2deprecated) - GetLatestProcessesV2Deprecated :warning: **Deprecated** +* [~~getProcessInfoV2Deprecated~~](docs/sdks/processesv2/README.md#getprocessinfov2deprecated) - GetProcessInfoV2Deprecated :warning: **Deprecated** +* [~~getProcessesCountExperimentalV2Deprecated~~](docs/sdks/processesv2/README.md#getprocessescountexperimentalv2deprecated) - GetProcessesCountExperimentalV2Deprecated :warning: **Deprecated** +* [~~stopProcessV2Deprecated~~](docs/sdks/processesv2/README.md#stopprocessv2deprecated) - StopProcessV2Deprecated :warning: **Deprecated** ### [processesV3()](docs/sdks/processesv3/README.md) -* [createProcess](docs/sdks/processesv3/README.md#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. -* [getLatestProcesses](docs/sdks/processesv3/README.md#getlatestprocesses) - Retrieve the 10 most recent [processes](https://hathora.dev/docs/concepts/hathora-entities#process) objects for an [application](https://hathora.dev/docs/concepts/hathora-entities#application). Filter the array by optionally passing in a `status` or `region`. -* [getProcess](docs/sdks/processesv3/README.md#getprocess) - Get details for a [process](https://hathora.dev/docs/concepts/hathora-entities#process). -* [getProcessMetrics](docs/sdks/processesv3/README.md#getprocessmetrics) -* [getProcessesCountExperimental](docs/sdks/processesv3/README.md#getprocessescountexperimental) - Count the number of [processes](https://hathora.dev/docs/concepts/hathora-entities#process) objects for an [application](https://hathora.dev/docs/concepts/hathora-entities#application). Filter by optionally passing in a `status` or `region`. -* [stopProcess](docs/sdks/processesv3/README.md#stopprocess) - Stops a [process](https://hathora.dev/docs/concepts/hathora-entities#process) immediately. +* [createProcess](docs/sdks/processesv3/README.md#createprocess) - CreateProcess +* [getLatestProcesses](docs/sdks/processesv3/README.md#getlatestprocesses) - GetLatestProcesses +* [getProcess](docs/sdks/processesv3/README.md#getprocess) - GetProcess +* [getProcessMetrics](docs/sdks/processesv3/README.md#getprocessmetrics) - GetProcessMetrics +* [getProcessesCountExperimental](docs/sdks/processesv3/README.md#getprocessescountexperimental) - GetProcessesCountExperimental +* [stopProcess](docs/sdks/processesv3/README.md#stopprocess) - StopProcess ### [~~roomsV1()~~](docs/sdks/roomsv1/README.md) -* [~~createRoomDeprecated~~](docs/sdks/roomsv1/README.md#createroomdeprecated) - :warning: **Deprecated** -* [~~destroyRoomDeprecated~~](docs/sdks/roomsv1/README.md#destroyroomdeprecated) - :warning: **Deprecated** -* [~~getActiveRoomsForProcessDeprecated~~](docs/sdks/roomsv1/README.md#getactiveroomsforprocessdeprecated) - :warning: **Deprecated** -* [~~getConnectionInfoDeprecated~~](docs/sdks/roomsv1/README.md#getconnectioninfodeprecated) - :warning: **Deprecated** -* [~~getInactiveRoomsForProcessDeprecated~~](docs/sdks/roomsv1/README.md#getinactiveroomsforprocessdeprecated) - :warning: **Deprecated** -* [~~getRoomInfoDeprecated~~](docs/sdks/roomsv1/README.md#getroominfodeprecated) - :warning: **Deprecated** -* [~~suspendRoomDeprecated~~](docs/sdks/roomsv1/README.md#suspendroomdeprecated) - :warning: **Deprecated** +* [~~createRoomDeprecated~~](docs/sdks/roomsv1/README.md#createroomdeprecated) - CreateRoomDeprecated :warning: **Deprecated** +* [~~destroyRoomDeprecated~~](docs/sdks/roomsv1/README.md#destroyroomdeprecated) - DestroyRoomDeprecated :warning: **Deprecated** +* [~~getActiveRoomsForProcessDeprecated~~](docs/sdks/roomsv1/README.md#getactiveroomsforprocessdeprecated) - GetActiveRoomsForProcessDeprecated :warning: **Deprecated** +* [~~getConnectionInfoDeprecated~~](docs/sdks/roomsv1/README.md#getconnectioninfodeprecated) - GetConnectionInfoDeprecated :warning: **Deprecated** +* [~~getInactiveRoomsForProcessDeprecated~~](docs/sdks/roomsv1/README.md#getinactiveroomsforprocessdeprecated) - GetInactiveRoomsForProcessDeprecated :warning: **Deprecated** +* [~~getRoomInfoDeprecated~~](docs/sdks/roomsv1/README.md#getroominfodeprecated) - GetRoomInfoDeprecated :warning: **Deprecated** +* [~~suspendRoomDeprecated~~](docs/sdks/roomsv1/README.md#suspendroomdeprecated) - SuspendRoomDeprecated :warning: **Deprecated** ### [roomsV2()](docs/sdks/roomsv2/README.md) -* [createRoom](docs/sdks/roomsv2/README.md#createroom) - Create a new [room](https://hathora.dev/docs/concepts/hathora-entities#room) for an existing [application](https://hathora.dev/docs/concepts/hathora-entities#application). Poll the [`GetConnectionInfo()`](https://hathora.dev/api#tag/RoomV2/operation/GetConnectionInfo) endpoint to get connection details for an active room. -* [destroyRoom](docs/sdks/roomsv2/README.md#destroyroom) - Destroy a [room](https://hathora.dev/docs/concepts/hathora-entities#room). All associated metadata is deleted. -* [getActiveRoomsForProcess](docs/sdks/roomsv2/README.md#getactiveroomsforprocess) - Get all active [rooms](https://hathora.dev/docs/concepts/hathora-entities#room) for a given [process](https://hathora.dev/docs/concepts/hathora-entities#process). -* [getConnectionInfo](docs/sdks/roomsv2/README.md#getconnectioninfo) - Poll this endpoint to get connection details to a [room](https://hathora.dev/docs/concepts/hathora-entities#room). Clients can call this endpoint without authentication. -* [getInactiveRoomsForProcess](docs/sdks/roomsv2/README.md#getinactiveroomsforprocess) - Get all inactive [rooms](https://hathora.dev/docs/concepts/hathora-entities#room) for a given [process](https://hathora.dev/docs/concepts/hathora-entities#process). -* [getRoomInfo](docs/sdks/roomsv2/README.md#getroominfo) - Retreive current and historical allocation data for a [room](https://hathora.dev/docs/concepts/hathora-entities#room). -* [~~suspendRoomV2Deprecated~~](docs/sdks/roomsv2/README.md#suspendroomv2deprecated) - Suspend a [room](https://hathora.dev/docs/concepts/hathora-entities#room). The room is unallocated from the process but can be rescheduled later using the same `roomId`. :warning: **Deprecated** -* [updateRoomConfig](docs/sdks/roomsv2/README.md#updateroomconfig) +* [createRoom](docs/sdks/roomsv2/README.md#createroom) - CreateRoom +* [destroyRoom](docs/sdks/roomsv2/README.md#destroyroom) - DestroyRoom +* [getActiveRoomsForProcess](docs/sdks/roomsv2/README.md#getactiveroomsforprocess) - GetActiveRoomsForProcess +* [getConnectionInfo](docs/sdks/roomsv2/README.md#getconnectioninfo) - GetConnectionInfo +* [getInactiveRoomsForProcess](docs/sdks/roomsv2/README.md#getinactiveroomsforprocess) - GetInactiveRoomsForProcess +* [getRoomInfo](docs/sdks/roomsv2/README.md#getroominfo) - GetRoomInfo +* [~~suspendRoomV2Deprecated~~](docs/sdks/roomsv2/README.md#suspendroomv2deprecated) - SuspendRoomV2Deprecated :warning: **Deprecated** +* [updateRoomConfig](docs/sdks/roomsv2/README.md#updateroomconfig) - UpdateRoomConfig ### [tokensV1()](docs/sdks/tokensv1/README.md) -* [createOrgToken](docs/sdks/tokensv1/README.md#createorgtoken) - Create a new organization token. -* [getOrgTokens](docs/sdks/tokensv1/README.md#getorgtokens) - List all organization tokens for a given org. -* [revokeOrgToken](docs/sdks/tokensv1/README.md#revokeorgtoken) - Revoke an organization token. +* [createOrgToken](docs/sdks/tokensv1/README.md#createorgtoken) - CreateOrgToken +* [getOrgTokens](docs/sdks/tokensv1/README.md#getorgtokens) - GetOrgTokens +* [revokeOrgToken](docs/sdks/tokensv1/README.md#revokeorgtoken) - RevokeOrgToken diff --git a/RELEASES.md b/RELEASES.md index c8e58ea1..1bcdd183 100644 --- a/RELEASES.md +++ b/RELEASES.md @@ -819,4 +819,14 @@ Based on: ### Generated - [java v2.10.12] . ### Releases -- [Maven Central v2.10.12] https://central.sonatype.com/artifact/dev.hathora/cloud-sdk/2.10.12 - . \ No newline at end of file +- [Maven Central v2.10.12] https://central.sonatype.com/artifact/dev.hathora/cloud-sdk/2.10.12 - . + +## 2024-11-05 00:07:41 +### Changes +Based on: +- OpenAPI Doc +- Speakeasy CLI 1.425.3 (2.446.5) https://github.com/speakeasy-api/speakeasy +### Generated +- [java v2.10.13] . +### Releases +- [Maven Central v2.10.13] https://central.sonatype.com/artifact/dev.hathora/cloud-sdk/2.10.13 - . \ No newline at end of file diff --git a/build.gradle b/build.gradle index a9051108..f8711934 100644 --- a/build.gradle +++ b/build.gradle @@ -63,7 +63,7 @@ tasks.withType(Javadoc) { } group = "dev.hathora" -version = "2.10.12" +version = "2.10.13" sourcesJar { archiveBaseName = "cloud-sdk" @@ -101,7 +101,7 @@ publishing { maven(MavenPublication) { groupId = 'dev.hathora' artifactId = 'cloud-sdk' - version = '2.10.12' + version = '2.10.13' from components.java diff --git a/docs/sdks/appsv1/README.md b/docs/sdks/appsv1/README.md index ae46a30a..0cba4287 100644 --- a/docs/sdks/appsv1/README.md +++ b/docs/sdks/appsv1/README.md @@ -5,11 +5,11 @@ ### Available Operations -* [~~createAppV1Deprecated~~](#createappv1deprecated) - Create a new [application](https://hathora.dev/docs/concepts/hathora-entities#application). :warning: **Deprecated** -* [~~deleteAppV1Deprecated~~](#deleteappv1deprecated) - Delete an [application](https://hathora.dev/docs/concepts/hathora-entities#application) using `appId`. Your organization will lose access to this application. :warning: **Deprecated** -* [~~getAppInfoV1Deprecated~~](#getappinfov1deprecated) - Get details for an [application](https://hathora.dev/docs/concepts/hathora-entities#application) using `appId`. :warning: **Deprecated** -* [~~getAppsV1Deprecated~~](#getappsv1deprecated) - Returns an unsorted list of your organization’s [applications](https://hathora.dev/docs/concepts/hathora-entities#application). An application is uniquely identified by an `appId`. :warning: **Deprecated** -* [~~updateAppV1Deprecated~~](#updateappv1deprecated) - Update data for an existing [application](https://hathora.dev/docs/concepts/hathora-entities#application) using `appId`. :warning: **Deprecated** +* [~~createAppV1Deprecated~~](#createappv1deprecated) - CreateAppV1Deprecated :warning: **Deprecated** +* [~~deleteAppV1Deprecated~~](#deleteappv1deprecated) - DeleteAppV1Deprecated :warning: **Deprecated** +* [~~getAppInfoV1Deprecated~~](#getappinfov1deprecated) - GetAppInfoV1Deprecated :warning: **Deprecated** +* [~~getAppsV1Deprecated~~](#getappsv1deprecated) - GetAppsV1Deprecated :warning: **Deprecated** +* [~~updateAppV1Deprecated~~](#updateappv1deprecated) - UpdateAppV1Deprecated :warning: **Deprecated** ## ~~createAppV1Deprecated~~ diff --git a/docs/sdks/appsv2/README.md b/docs/sdks/appsv2/README.md index cfc4ccf4..25a51faf 100644 --- a/docs/sdks/appsv2/README.md +++ b/docs/sdks/appsv2/README.md @@ -7,11 +7,11 @@ Operations that allow you manage your [applications](https://hathora.dev/docs/co ### Available Operations -* [createApp](#createapp) - Create a new [application](https://hathora.dev/docs/concepts/hathora-entities#application). -* [deleteApp](#deleteapp) - Delete an [application](https://hathora.dev/docs/concepts/hathora-entities#application) using `appId`. Your organization will lose access to this application. -* [getApp](#getapp) - Get details for an [application](https://hathora.dev/docs/concepts/hathora-entities#application) using `appId`. -* [getApps](#getapps) - Returns an unsorted list of your organization’s [applications](https://hathora.dev/docs/concepts/hathora-entities#application). An application is uniquely identified by an `appId`. -* [updateApp](#updateapp) - Update data for an existing [application](https://hathora.dev/docs/concepts/hathora-entities#application) using `appId`. +* [createApp](#createapp) - CreateApp +* [deleteApp](#deleteapp) - DeleteApp +* [getApp](#getapp) - GetApp +* [getApps](#getapps) - GetApps +* [updateApp](#updateapp) - UpdateApp ## createApp diff --git a/docs/sdks/authv1/README.md b/docs/sdks/authv1/README.md index 038b3e66..5e25d1ab 100644 --- a/docs/sdks/authv1/README.md +++ b/docs/sdks/authv1/README.md @@ -7,9 +7,9 @@ Operations that allow you to generate a Hathora-signed [JSON web token (JWT)](ht ### Available Operations -* [loginAnonymous](#loginanonymous) - Returns a unique player token for an anonymous user. -* [loginGoogle](#logingoogle) - Returns a unique player token using a Google-signed OIDC `idToken`. -* [loginNickname](#loginnickname) - Returns a unique player token with a specified nickname for a user. +* [loginAnonymous](#loginanonymous) - LoginAnonymous +* [loginGoogle](#logingoogle) - LoginGoogle +* [loginNickname](#loginnickname) - LoginNickname ## loginAnonymous diff --git a/docs/sdks/billingv1/README.md b/docs/sdks/billingv1/README.md index c069f022..f22a334c 100644 --- a/docs/sdks/billingv1/README.md +++ b/docs/sdks/billingv1/README.md @@ -7,15 +7,17 @@ ### Available Operations -* [getBalance](#getbalance) -* [getInvoices](#getinvoices) -* [getPaymentMethod](#getpaymentmethod) -* [getUpcomingInvoiceItems](#getupcominginvoiceitems) -* [getUpcomingInvoiceTotal](#getupcominginvoicetotal) -* [initStripeCustomerPortalUrl](#initstripecustomerportalurl) +* [getBalance](#getbalance) - GetBalance +* [getInvoices](#getinvoices) - GetInvoices +* [getPaymentMethod](#getpaymentmethod) - GetPaymentMethod +* [getUpcomingInvoiceItems](#getupcominginvoiceitems) - GetUpcomingInvoiceItems +* [getUpcomingInvoiceTotal](#getupcominginvoicetotal) - GetUpcomingInvoiceTotal +* [initStripeCustomerPortalUrl](#initstripecustomerportalurl) - InitStripeCustomerPortalUrl ## getBalance +GetBalance + ### Example Usage ```java @@ -61,6 +63,8 @@ public class Application { ## getInvoices +GetInvoices + ### Example Usage ```java @@ -106,6 +110,8 @@ public class Application { ## getPaymentMethod +GetPaymentMethod + ### Example Usage ```java @@ -151,6 +157,8 @@ public class Application { ## getUpcomingInvoiceItems +GetUpcomingInvoiceItems + ### Example Usage ```java @@ -196,6 +204,8 @@ public class Application { ## getUpcomingInvoiceTotal +GetUpcomingInvoiceTotal + ### Example Usage ```java @@ -241,6 +251,8 @@ public class Application { ## initStripeCustomerPortalUrl +InitStripeCustomerPortalUrl + ### Example Usage ```java diff --git a/docs/sdks/buildsv1/README.md b/docs/sdks/buildsv1/README.md index be290891..7e2f7793 100644 --- a/docs/sdks/buildsv1/README.md +++ b/docs/sdks/buildsv1/README.md @@ -5,11 +5,11 @@ ### Available Operations -* [~~createBuildDeprecated~~](#createbuilddeprecated) - Creates a new [build](https://hathora.dev/docs/concepts/hathora-entities#build). 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. :warning: **Deprecated** -* [~~deleteBuildDeprecated~~](#deletebuilddeprecated) - Delete a [build](https://hathora.dev/docs/concepts/hathora-entities#build). All associated metadata is deleted. :warning: **Deprecated** -* [~~getBuildInfoDeprecated~~](#getbuildinfodeprecated) - Get details for a [build](https://hathora.dev/docs/concepts/hathora-entities#build). :warning: **Deprecated** -* [~~getBuildsDeprecated~~](#getbuildsdeprecated) - Returns an array of [builds](https://hathora.dev/docs/concepts/hathora-entities#build) for an [application](https://hathora.dev/docs/concepts/hathora-entities#application). :warning: **Deprecated** -* [~~runBuildDeprecated~~](#runbuilddeprecated) - Builds a game server artifact from a tarball you provide. Pass in the `buildId` generated from [`CreateBuild()`](https://hathora.dev/api#tag/BuildV1/operation/CreateBuild). :warning: **Deprecated** +* [~~createBuildDeprecated~~](#createbuilddeprecated) - CreateBuildDeprecated :warning: **Deprecated** +* [~~deleteBuildDeprecated~~](#deletebuilddeprecated) - DeleteBuildDeprecated :warning: **Deprecated** +* [~~getBuildInfoDeprecated~~](#getbuildinfodeprecated) - GetBuildInfoDeprecated :warning: **Deprecated** +* [~~getBuildsDeprecated~~](#getbuildsdeprecated) - GetBuildsDeprecated :warning: **Deprecated** +* [~~runBuildDeprecated~~](#runbuilddeprecated) - RunBuildDeprecated :warning: **Deprecated** ## ~~createBuildDeprecated~~ diff --git a/docs/sdks/buildsv2/README.md b/docs/sdks/buildsv2/README.md index 70529696..05ede274 100644 --- a/docs/sdks/buildsv2/README.md +++ b/docs/sdks/buildsv2/README.md @@ -5,13 +5,13 @@ ### Available Operations -* [~~createBuildV2Deprecated~~](#createbuildv2deprecated) - Creates a new [build](https://hathora.dev/docs/concepts/hathora-entities#build). 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. :warning: **Deprecated** -* [~~createBuildWithUploadUrlV2Deprecated~~](#createbuildwithuploadurlv2deprecated) - Creates a new [build](https://hathora.dev/docs/concepts/hathora-entities#build) with `uploadUrl` that can be used to upload the build to 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. :warning: **Deprecated** -* [~~createWithMultipartUploadsV2Deprecated~~](#createwithmultipartuploadsv2deprecated) - 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. :warning: **Deprecated** -* [~~deleteBuildV2Deprecated~~](#deletebuildv2deprecated) - Delete a [build](https://hathora.dev/docs/concepts/hathora-entities#build). All associated metadata is deleted. :warning: **Deprecated** -* [~~getBuildInfoV2Deprecated~~](#getbuildinfov2deprecated) - Get details for a [build](https://hathora.dev/docs/concepts/hathora-entities#build). :warning: **Deprecated** -* [~~getBuildsV2Deprecated~~](#getbuildsv2deprecated) - Returns an array of [builds](https://hathora.dev/docs/concepts/hathora-entities#build) for an [application](https://hathora.dev/docs/concepts/hathora-entities#application). :warning: **Deprecated** -* [~~runBuildV2Deprecated~~](#runbuildv2deprecated) - Builds a game server artifact from a tarball you provide. Pass in the `buildId` generated from [`CreateBuild()`](https://hathora.dev/api#tag/BuildV1/operation/CreateBuild). :warning: **Deprecated** +* [~~createBuildV2Deprecated~~](#createbuildv2deprecated) - CreateBuildV2Deprecated :warning: **Deprecated** +* [~~createBuildWithUploadUrlV2Deprecated~~](#createbuildwithuploadurlv2deprecated) - CreateBuildWithUploadUrlV2Deprecated :warning: **Deprecated** +* [~~createWithMultipartUploadsV2Deprecated~~](#createwithmultipartuploadsv2deprecated) - CreateWithMultipartUploadsV2Deprecated :warning: **Deprecated** +* [~~deleteBuildV2Deprecated~~](#deletebuildv2deprecated) - DeleteBuildV2Deprecated :warning: **Deprecated** +* [~~getBuildInfoV2Deprecated~~](#getbuildinfov2deprecated) - GetBuildInfoV2Deprecated :warning: **Deprecated** +* [~~getBuildsV2Deprecated~~](#getbuildsv2deprecated) - GetBuildsV2Deprecated :warning: **Deprecated** +* [~~runBuildV2Deprecated~~](#runbuildv2deprecated) - RunBuildV2Deprecated :warning: **Deprecated** ## ~~createBuildV2Deprecated~~ diff --git a/docs/sdks/buildsv3/README.md b/docs/sdks/buildsv3/README.md index eae17bfa..88d55d4b 100644 --- a/docs/sdks/buildsv3/README.md +++ b/docs/sdks/buildsv3/README.md @@ -7,13 +7,11 @@ Operations that allow you create and manage your [builds](https://hathora.dev/do ### 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. -* [deleteBuild](#deletebuild) - Delete a [build](https://hathora.dev/docs/concepts/hathora-entities#build). All associated metadata is deleted. -Be careful which builds you delete. This endpoint does not prevent you from deleting actively used builds. -Deleting a build that is actively build used by an app's deployment will cause failures when creating rooms. -* [getBuild](#getbuild) - Get details for a [build](https://hathora.dev/docs/concepts/hathora-entities#build). -* [getBuilds](#getbuilds) - Returns an array of [builds](https://hathora.dev/docs/concepts/hathora-entities#build) for an [application](https://hathora.dev/docs/concepts/hathora-entities#application). -* [runBuild](#runbuild) - Builds a game server artifact from a tarball you provide. Pass in the `buildId` generated from [`CreateBuild()`](https://hathora.dev/api#tag/BuildV1/operation/CreateBuild). +* [createBuild](#createbuild) - CreateBuild +* [deleteBuild](#deletebuild) - DeleteBuild +* [getBuild](#getbuild) - GetBuild +* [getBuilds](#getbuilds) - GetBuilds +* [runBuild](#runbuild) - RunBuild ## createBuild diff --git a/docs/sdks/deploymentsv1/README.md b/docs/sdks/deploymentsv1/README.md index e8d09a20..e7017feb 100644 --- a/docs/sdks/deploymentsv1/README.md +++ b/docs/sdks/deploymentsv1/README.md @@ -5,10 +5,10 @@ ### Available Operations -* [~~createDeploymentV1Deprecated~~](#createdeploymentv1deprecated) - 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. :warning: **Deprecated** -* [~~getDeploymentInfoV1Deprecated~~](#getdeploymentinfov1deprecated) - Get details for a [deployment](https://hathora.dev/docs/concepts/hathora-entities#deployment). :warning: **Deprecated** -* [~~getDeploymentsV1Deprecated~~](#getdeploymentsv1deprecated) - Returns an array of [deployments](https://hathora.dev/docs/concepts/hathora-entities#deployment) for an [application](https://hathora.dev/docs/concepts/hathora-entities#application). :warning: **Deprecated** -* [~~getLatestDeploymentV1Deprecated~~](#getlatestdeploymentv1deprecated) - Get the latest [deployment](https://hathora.dev/docs/concepts/hathora-entities#deployment) for an [application](https://hathora.dev/docs/concepts/hathora-entities#application). :warning: **Deprecated** +* [~~createDeploymentV1Deprecated~~](#createdeploymentv1deprecated) - CreateDeploymentV1Deprecated :warning: **Deprecated** +* [~~getDeploymentInfoV1Deprecated~~](#getdeploymentinfov1deprecated) - GetDeploymentInfoV1Deprecated :warning: **Deprecated** +* [~~getDeploymentsV1Deprecated~~](#getdeploymentsv1deprecated) - GetDeploymentsV1Deprecated :warning: **Deprecated** +* [~~getLatestDeploymentV1Deprecated~~](#getlatestdeploymentv1deprecated) - GetLatestDeploymentV1Deprecated :warning: **Deprecated** ## ~~createDeploymentV1Deprecated~~ diff --git a/docs/sdks/deploymentsv2/README.md b/docs/sdks/deploymentsv2/README.md index 9b54ceb7..d632c428 100644 --- a/docs/sdks/deploymentsv2/README.md +++ b/docs/sdks/deploymentsv2/README.md @@ -5,10 +5,10 @@ ### Available Operations -* [~~createDeploymentV2Deprecated~~](#createdeploymentv2deprecated) - 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. :warning: **Deprecated** -* [~~getDeploymentInfoV2Deprecated~~](#getdeploymentinfov2deprecated) - Get details for a [deployment](https://hathora.dev/docs/concepts/hathora-entities#deployment). :warning: **Deprecated** -* [~~getDeploymentsV2Deprecated~~](#getdeploymentsv2deprecated) - Returns an array of [deployments](https://hathora.dev/docs/concepts/hathora-entities#deployment) for an [application](https://hathora.dev/docs/concepts/hathora-entities#application). :warning: **Deprecated** -* [~~getLatestDeploymentV2Deprecated~~](#getlatestdeploymentv2deprecated) - Get the latest [deployment](https://hathora.dev/docs/concepts/hathora-entities#deployment) for an [application](https://hathora.dev/docs/concepts/hathora-entities#application). :warning: **Deprecated** +* [~~createDeploymentV2Deprecated~~](#createdeploymentv2deprecated) - CreateDeploymentV2Deprecated :warning: **Deprecated** +* [~~getDeploymentInfoV2Deprecated~~](#getdeploymentinfov2deprecated) - GetDeploymentInfoV2Deprecated :warning: **Deprecated** +* [~~getDeploymentsV2Deprecated~~](#getdeploymentsv2deprecated) - GetDeploymentsV2Deprecated :warning: **Deprecated** +* [~~getLatestDeploymentV2Deprecated~~](#getlatestdeploymentv2deprecated) - GetLatestDeploymentV2Deprecated :warning: **Deprecated** ## ~~createDeploymentV2Deprecated~~ diff --git a/docs/sdks/deploymentsv3/README.md b/docs/sdks/deploymentsv3/README.md index 224b2f06..de2eb9fc 100644 --- a/docs/sdks/deploymentsv3/README.md +++ b/docs/sdks/deploymentsv3/README.md @@ -7,10 +7,10 @@ Operations that allow you configure and manage an application's [build](https:// ### 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. -* [getDeployment](#getdeployment) - Get details for a [deployment](https://hathora.dev/docs/concepts/hathora-entities#deployment). -* [getDeployments](#getdeployments) - Returns an array of [deployments](https://hathora.dev/docs/concepts/hathora-entities#deployment) for an [application](https://hathora.dev/docs/concepts/hathora-entities#application), optionally filtered by deploymentTag. -* [getLatestDeployment](#getlatestdeployment) - Get the latest [deployment](https://hathora.dev/docs/concepts/hathora-entities#deployment) for an [application](https://hathora.dev/docs/concepts/hathora-entities#application). +* [createDeployment](#createdeployment) - CreateDeployment +* [getDeployment](#getdeployment) - GetDeployment +* [getDeployments](#getdeployments) - GetDeployments +* [getLatestDeployment](#getlatestdeployment) - GetLatestDeployment ## createDeployment diff --git a/docs/sdks/discoveryv1/README.md b/docs/sdks/discoveryv1/README.md index 05c40390..8a1effea 100644 --- a/docs/sdks/discoveryv1/README.md +++ b/docs/sdks/discoveryv1/README.md @@ -7,7 +7,7 @@ Deprecated. Does not include latest Regions (missing Dallas region). Use [Discov ### Available Operations -* [~~getPingServiceEndpointsDeprecated~~](#getpingserviceendpointsdeprecated) - Returns an array of V1 regions with a host and port that a client can directly ping. Open a websocket connection to `wss://:/ws` and send a packet. To calculate ping, measure the time it takes to get an echo packet back. :warning: **Deprecated** +* [~~getPingServiceEndpointsDeprecated~~](#getpingserviceendpointsdeprecated) - GetPingServiceEndpointsDeprecated :warning: **Deprecated** ## ~~getPingServiceEndpointsDeprecated~~ diff --git a/docs/sdks/discoveryv2/README.md b/docs/sdks/discoveryv2/README.md index 8d97137c..e8c00f32 100644 --- a/docs/sdks/discoveryv2/README.md +++ b/docs/sdks/discoveryv2/README.md @@ -7,7 +7,7 @@ Service that allows clients to directly ping all Hathora regions to get latency ### Available Operations -* [getPingServiceEndpoints](#getpingserviceendpoints) - Returns an array of all regions with a host and port that a client can directly ping. Open a websocket connection to `wss://:/ws` and send a packet. To calculate ping, measure the time it takes to get an echo packet back. +* [getPingServiceEndpoints](#getpingserviceendpoints) - GetPingServiceEndpoints ## getPingServiceEndpoints diff --git a/docs/sdks/fleetsv1/README.md b/docs/sdks/fleetsv1/README.md index fa5516f9..befc84ba 100644 --- a/docs/sdks/fleetsv1/README.md +++ b/docs/sdks/fleetsv1/README.md @@ -7,10 +7,10 @@ Operations to manage and view a [fleet](https://hathora.dev/docs/concepts/hathor ### Available Operations -* [getFleetMetrics](#getfleetmetrics) - Gets metrics for a [fleet](https://hathora.dev/docs/concepts/hathora-entities#fleet) in a region. -* [getFleetRegion](#getfleetregion) - Gets the configuration for a given [fleet](https://hathora.dev/docs/concepts/hathora-entities#fleet) in a region. -* [getFleets](#getfleets) - Returns an array of [fleets](https://hathora.dev/docs/concepts/hathora-entities#fleet). -* [updateFleetRegion](#updatefleetregion) - Updates the configuration for a given [fleet](https://hathora.dev/docs/concepts/hathora-entities#fleet) in a region. +* [getFleetMetrics](#getfleetmetrics) - GetFleetMetrics +* [getFleetRegion](#getfleetregion) - GetFleetRegion +* [getFleets](#getfleets) - GetFleets +* [updateFleetRegion](#updatefleetregion) - UpdateFleetRegion ## getFleetMetrics diff --git a/docs/sdks/lobbiesv1/README.md b/docs/sdks/lobbiesv1/README.md index fae219db..fa4a29a9 100644 --- a/docs/sdks/lobbiesv1/README.md +++ b/docs/sdks/lobbiesv1/README.md @@ -5,12 +5,14 @@ ### Available Operations -* [~~createPrivateLobbyDeprecated~~](#createprivatelobbydeprecated) - :warning: **Deprecated** -* [~~createPublicLobbyDeprecated~~](#createpubliclobbydeprecated) - :warning: **Deprecated** -* [~~listActivePublicLobbiesDeprecatedV1~~](#listactivepubliclobbiesdeprecatedv1) - :warning: **Deprecated** +* [~~createPrivateLobbyDeprecated~~](#createprivatelobbydeprecated) - CreatePrivateLobbyDeprecated :warning: **Deprecated** +* [~~createPublicLobbyDeprecated~~](#createpubliclobbydeprecated) - CreatePublicLobbyDeprecated :warning: **Deprecated** +* [~~listActivePublicLobbiesDeprecatedV1~~](#listactivepubliclobbiesdeprecatedv1) - ListActivePublicLobbiesDeprecatedV1 :warning: **Deprecated** ## ~~createPrivateLobbyDeprecated~~ +CreatePrivateLobbyDeprecated + > :warning: **DEPRECATED**: This will be removed in a future release, please migrate away from it as soon as possible. ### Example Usage @@ -71,6 +73,8 @@ public class Application { ## ~~createPublicLobbyDeprecated~~ +CreatePublicLobbyDeprecated + > :warning: **DEPRECATED**: This will be removed in a future release, please migrate away from it as soon as possible. ### Example Usage @@ -131,6 +135,8 @@ public class Application { ## ~~listActivePublicLobbiesDeprecatedV1~~ +ListActivePublicLobbiesDeprecatedV1 + > :warning: **DEPRECATED**: This will be removed in a future release, please migrate away from it as soon as possible. ### Example Usage diff --git a/docs/sdks/lobbiesv2/README.md b/docs/sdks/lobbiesv2/README.md index 1eb8a2b3..b0d0ef1f 100644 --- a/docs/sdks/lobbiesv2/README.md +++ b/docs/sdks/lobbiesv2/README.md @@ -5,13 +5,13 @@ ### Available Operations -* [~~createLobbyDeprecated~~](#createlobbydeprecated) - Create a new lobby for an [application](https://hathora.dev/docs/concepts/hathora-entities#application). A lobby object is a wrapper around a [room](https://hathora.dev/docs/concepts/hathora-entities#room) object. With a lobby, you get additional functionality like configuring the visibility of the room, managing the state of a match, and retrieving a list of public lobbies to display to players. :warning: **Deprecated** -* [~~createLocalLobby~~](#createlocallobby) - :warning: **Deprecated** -* [~~createPrivateLobby~~](#createprivatelobby) - :warning: **Deprecated** -* [~~createPublicLobby~~](#createpubliclobby) - :warning: **Deprecated** -* [~~getLobbyInfo~~](#getlobbyinfo) - Get details for a lobby. :warning: **Deprecated** -* [~~listActivePublicLobbiesDeprecatedV2~~](#listactivepubliclobbiesdeprecatedv2) - Get all active lobbies for a an [application](https://hathora.dev/docs/concepts/hathora-entities#application). Filter by optionally passing in a `region`. Use this endpoint to display all public lobbies that a player can join in the game client. :warning: **Deprecated** -* [~~setLobbyState~~](#setlobbystate) - Set the state of a lobby. State is intended to be set by the server and must be smaller than 1MB. Use this endpoint to store match data like live player count to enforce max number of clients or persist end-game data (i.e. winner or final scores). :warning: **Deprecated** +* [~~createLobbyDeprecated~~](#createlobbydeprecated) - CreateLobbyDeprecated :warning: **Deprecated** +* [~~createLocalLobby~~](#createlocallobby) - CreateLocalLobby :warning: **Deprecated** +* [~~createPrivateLobby~~](#createprivatelobby) - CreatePrivateLobby :warning: **Deprecated** +* [~~createPublicLobby~~](#createpubliclobby) - CreatePublicLobby :warning: **Deprecated** +* [~~getLobbyInfo~~](#getlobbyinfo) - GetLobbyInfo :warning: **Deprecated** +* [~~listActivePublicLobbiesDeprecatedV2~~](#listactivepubliclobbiesdeprecatedv2) - ListActivePublicLobbiesDeprecatedV2 :warning: **Deprecated** +* [~~setLobbyState~~](#setlobbystate) - SetLobbyState :warning: **Deprecated** ## ~~createLobbyDeprecated~~ @@ -83,6 +83,8 @@ public class Application { ## ~~createLocalLobby~~ +CreateLocalLobby + > :warning: **DEPRECATED**: This will be removed in a future release, please migrate away from it as soon as possible. ### Example Usage @@ -147,6 +149,8 @@ public class Application { ## ~~createPrivateLobby~~ +CreatePrivateLobby + > :warning: **DEPRECATED**: This will be removed in a future release, please migrate away from it as soon as possible. ### Example Usage @@ -211,6 +215,8 @@ public class Application { ## ~~createPublicLobby~~ +CreatePublicLobby + > :warning: **DEPRECATED**: This will be removed in a future release, please migrate away from it as soon as possible. ### Example Usage diff --git a/docs/sdks/lobbiesv3/README.md b/docs/sdks/lobbiesv3/README.md index 580bbba4..9a40cc9e 100644 --- a/docs/sdks/lobbiesv3/README.md +++ b/docs/sdks/lobbiesv3/README.md @@ -5,10 +5,10 @@ ### Available Operations -* [createLobby](#createlobby) - Create a new lobby for an [application](https://hathora.dev/docs/concepts/hathora-entities#application). A lobby object is a wrapper around a [room](https://hathora.dev/docs/concepts/hathora-entities#room) object. With a lobby, you get additional functionality like configuring the visibility of the room, managing the state of a match, and retrieving a list of public lobbies to display to players. -* [getLobbyInfoByRoomId](#getlobbyinfobyroomid) - Get details for a lobby. -* [getLobbyInfoByShortCode](#getlobbyinfobyshortcode) - Get details for a lobby. If 2 or more lobbies have the same `shortCode`, then the most recently created lobby will be returned. -* [listActivePublicLobbies](#listactivepubliclobbies) - Get all active lobbies for a given [application](https://hathora.dev/docs/concepts/hathora-entities#application). Filter the array by optionally passing in a `region`. Use this endpoint to display all public lobbies that a player can join in the game client. +* [createLobby](#createlobby) - CreateLobby +* [getLobbyInfoByRoomId](#getlobbyinfobyroomid) - GetLobbyInfoByRoomId +* [getLobbyInfoByShortCode](#getlobbyinfobyshortcode) - GetLobbyInfoByShortCode +* [listActivePublicLobbies](#listactivepubliclobbies) - ListActivePublicLobbies ## createLobby diff --git a/docs/sdks/logsv1/README.md b/docs/sdks/logsv1/README.md index 036707e2..11e97bef 100644 --- a/docs/sdks/logsv1/README.md +++ b/docs/sdks/logsv1/README.md @@ -5,8 +5,8 @@ ### Available Operations -* [downloadLogForProcess](#downloadlogforprocess) - Download entire log file for a stopped process. -* [getLogsForProcess](#getlogsforprocess) - Returns a stream of logs for a [process](https://hathora.dev/docs/concepts/hathora-entities#process) using `appId` and `processId`. +* [downloadLogForProcess](#downloadlogforprocess) - DownloadLogForProcess +* [getLogsForProcess](#getlogsforprocess) - GetLogsForProcess ## downloadLogForProcess diff --git a/docs/sdks/managementv1/README.md b/docs/sdks/managementv1/README.md index c7d65b79..ff668299 100644 --- a/docs/sdks/managementv1/README.md +++ b/docs/sdks/managementv1/README.md @@ -7,10 +7,12 @@ ### Available Operations -* [sendVerificationEmail](#sendverificationemail) +* [sendVerificationEmail](#sendverificationemail) - SendVerificationEmail ## sendVerificationEmail +SendVerificationEmail + ### Example Usage ```java diff --git a/docs/sdks/metricsv1/README.md b/docs/sdks/metricsv1/README.md index 127e0370..8e4c7dcb 100644 --- a/docs/sdks/metricsv1/README.md +++ b/docs/sdks/metricsv1/README.md @@ -7,7 +7,7 @@ Operations to get metrics by [process](https://hathora.dev/docs/concepts/hathora ### Available Operations -* [~~getMetricsDeprecated~~](#getmetricsdeprecated) - Get metrics for a [process](https://hathora.dev/docs/concepts/hathora-entities#process) using `appId` and `processId`. :warning: **Deprecated** +* [~~getMetricsDeprecated~~](#getmetricsdeprecated) - GetMetricsDeprecated :warning: **Deprecated** ## ~~getMetricsDeprecated~~ diff --git a/docs/sdks/organizationsv1/README.md b/docs/sdks/organizationsv1/README.md index 5f383396..b99521f5 100644 --- a/docs/sdks/organizationsv1/README.md +++ b/docs/sdks/organizationsv1/README.md @@ -5,17 +5,19 @@ ### Available Operations -* [acceptInvite](#acceptinvite) -* [getOrgMembers](#getorgmembers) -* [getOrgPendingInvites](#getorgpendinginvites) -* [getOrgs](#getorgs) - Returns an unsorted list of all organizations that you are a member of (an accepted membership invite). An organization is uniquely identified by an `orgId`. -* [getUserPendingInvites](#getuserpendinginvites) -* [inviteUser](#inviteuser) -* [rejectInvite](#rejectinvite) -* [rescindInvite](#rescindinvite) +* [acceptInvite](#acceptinvite) - AcceptInvite +* [getOrgMembers](#getorgmembers) - GetOrgMembers +* [getOrgPendingInvites](#getorgpendinginvites) - GetOrgPendingInvites +* [getOrgs](#getorgs) - GetOrgs +* [getUserPendingInvites](#getuserpendinginvites) - GetUserPendingInvites +* [inviteUser](#inviteuser) - InviteUser +* [rejectInvite](#rejectinvite) - RejectInvite +* [rescindInvite](#rescindinvite) - RescindInvite ## acceptInvite +AcceptInvite + ### Example Usage ```java @@ -66,6 +68,8 @@ public class Application { ## getOrgMembers +GetOrgMembers + ### Example Usage ```java @@ -118,6 +122,8 @@ public class Application { ## getOrgPendingInvites +GetOrgPendingInvites + ### Example Usage ```java @@ -217,6 +223,8 @@ public class Application { ## getUserPendingInvites +GetUserPendingInvites + ### Example Usage ```java @@ -262,6 +270,8 @@ public class Application { ## inviteUser +InviteUser + ### Example Usage ```java @@ -319,6 +329,8 @@ public class Application { ## rejectInvite +RejectInvite + ### Example Usage ```java @@ -369,6 +381,8 @@ public class Application { ## rescindInvite +RescindInvite + ### Example Usage ```java diff --git a/docs/sdks/processesv1/README.md b/docs/sdks/processesv1/README.md index 31a02586..ac447545 100644 --- a/docs/sdks/processesv1/README.md +++ b/docs/sdks/processesv1/README.md @@ -7,9 +7,9 @@ Deprecated. Use [ProcessesV3](https://hathora.dev/api#tag/ProcessesV3). ### Available Operations -* [~~getProcessInfoDeprecated~~](#getprocessinfodeprecated) - Get details for a [process](https://hathora.dev/docs/concepts/hathora-entities#process). :warning: **Deprecated** -* [~~getRunningProcesses~~](#getrunningprocesses) - Retrieve 10 most recently started [process](https://hathora.dev/docs/concepts/hathora-entities#process) objects for an [application](https://hathora.dev/docs/concepts/hathora-entities#application). Filter the array by optionally passing in a `region`. :warning: **Deprecated** -* [~~getStoppedProcesses~~](#getstoppedprocesses) - Retrieve 10 most recently stopped [process](https://hathora.dev/docs/concepts/hathora-entities#process) objects for an [application](https://hathora.dev/docs/concepts/hathora-entities#application). Filter the array by optionally passing in a `region`. :warning: **Deprecated** +* [~~getProcessInfoDeprecated~~](#getprocessinfodeprecated) - GetProcessInfoDeprecated :warning: **Deprecated** +* [~~getRunningProcesses~~](#getrunningprocesses) - GetRunningProcesses :warning: **Deprecated** +* [~~getStoppedProcesses~~](#getstoppedprocesses) - GetStoppedProcesses :warning: **Deprecated** ## ~~getProcessInfoDeprecated~~ diff --git a/docs/sdks/processesv2/README.md b/docs/sdks/processesv2/README.md index bee64923..e7147d3d 100644 --- a/docs/sdks/processesv2/README.md +++ b/docs/sdks/processesv2/README.md @@ -7,11 +7,11 @@ Deprecated. Use [ProcessesV3](https://hathora.dev/api#tag/ProcessesV3). ### Available Operations -* [~~createProcessV2Deprecated~~](#createprocessv2deprecated) - 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. :warning: **Deprecated** -* [~~getLatestProcessesV2Deprecated~~](#getlatestprocessesv2deprecated) - Retrieve the 10 most recent [processes](https://hathora.dev/docs/concepts/hathora-entities#process) objects for an [application](https://hathora.dev/docs/concepts/hathora-entities#application). Filter the array by optionally passing in a `status` or `region`. :warning: **Deprecated** -* [~~getProcessInfoV2Deprecated~~](#getprocessinfov2deprecated) - Get details for a [process](https://hathora.dev/docs/concepts/hathora-entities#process). :warning: **Deprecated** -* [~~getProcessesCountExperimentalV2Deprecated~~](#getprocessescountexperimentalv2deprecated) - Count the number of [processes](https://hathora.dev/docs/concepts/hathora-entities#process) objects for an [application](https://hathora.dev/docs/concepts/hathora-entities#application). Filter by optionally passing in a `status` or `region`. :warning: **Deprecated** -* [~~stopProcessV2Deprecated~~](#stopprocessv2deprecated) - Stops a [process](https://hathora.dev/docs/concepts/hathora-entities#process) immediately. :warning: **Deprecated** +* [~~createProcessV2Deprecated~~](#createprocessv2deprecated) - CreateProcessV2Deprecated :warning: **Deprecated** +* [~~getLatestProcessesV2Deprecated~~](#getlatestprocessesv2deprecated) - GetLatestProcessesV2Deprecated :warning: **Deprecated** +* [~~getProcessInfoV2Deprecated~~](#getprocessinfov2deprecated) - GetProcessInfoV2Deprecated :warning: **Deprecated** +* [~~getProcessesCountExperimentalV2Deprecated~~](#getprocessescountexperimentalv2deprecated) - GetProcessesCountExperimentalV2Deprecated :warning: **Deprecated** +* [~~stopProcessV2Deprecated~~](#stopprocessv2deprecated) - StopProcessV2Deprecated :warning: **Deprecated** ## ~~createProcessV2Deprecated~~ diff --git a/docs/sdks/processesv3/README.md b/docs/sdks/processesv3/README.md index 27246416..d45e58aa 100644 --- a/docs/sdks/processesv3/README.md +++ b/docs/sdks/processesv3/README.md @@ -7,12 +7,12 @@ Operations to get data on active and stopped [processes](https://hathora.dev/doc ### 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. -* [getLatestProcesses](#getlatestprocesses) - Retrieve the 10 most recent [processes](https://hathora.dev/docs/concepts/hathora-entities#process) objects for an [application](https://hathora.dev/docs/concepts/hathora-entities#application). Filter the array by optionally passing in a `status` or `region`. -* [getProcess](#getprocess) - Get details for a [process](https://hathora.dev/docs/concepts/hathora-entities#process). -* [getProcessMetrics](#getprocessmetrics) -* [getProcessesCountExperimental](#getprocessescountexperimental) - Count the number of [processes](https://hathora.dev/docs/concepts/hathora-entities#process) objects for an [application](https://hathora.dev/docs/concepts/hathora-entities#application). Filter by optionally passing in a `status` or `region`. -* [stopProcess](#stopprocess) - Stops a [process](https://hathora.dev/docs/concepts/hathora-entities#process) immediately. +* [createProcess](#createprocess) - CreateProcess +* [getLatestProcesses](#getlatestprocesses) - GetLatestProcesses +* [getProcess](#getprocess) - GetProcess +* [getProcessMetrics](#getprocessmetrics) - GetProcessMetrics +* [getProcessesCountExperimental](#getprocessescountexperimental) - GetProcessesCountExperimental +* [stopProcess](#stopprocess) - StopProcess ## createProcess @@ -192,6 +192,8 @@ public class Application { ## getProcessMetrics +GetProcessMetrics + ### Example Usage ```java diff --git a/docs/sdks/roomsv1/README.md b/docs/sdks/roomsv1/README.md index 47288000..43d3d2c1 100644 --- a/docs/sdks/roomsv1/README.md +++ b/docs/sdks/roomsv1/README.md @@ -5,16 +5,18 @@ ### Available Operations -* [~~createRoomDeprecated~~](#createroomdeprecated) - :warning: **Deprecated** -* [~~destroyRoomDeprecated~~](#destroyroomdeprecated) - :warning: **Deprecated** -* [~~getActiveRoomsForProcessDeprecated~~](#getactiveroomsforprocessdeprecated) - :warning: **Deprecated** -* [~~getConnectionInfoDeprecated~~](#getconnectioninfodeprecated) - :warning: **Deprecated** -* [~~getInactiveRoomsForProcessDeprecated~~](#getinactiveroomsforprocessdeprecated) - :warning: **Deprecated** -* [~~getRoomInfoDeprecated~~](#getroominfodeprecated) - :warning: **Deprecated** -* [~~suspendRoomDeprecated~~](#suspendroomdeprecated) - :warning: **Deprecated** +* [~~createRoomDeprecated~~](#createroomdeprecated) - CreateRoomDeprecated :warning: **Deprecated** +* [~~destroyRoomDeprecated~~](#destroyroomdeprecated) - DestroyRoomDeprecated :warning: **Deprecated** +* [~~getActiveRoomsForProcessDeprecated~~](#getactiveroomsforprocessdeprecated) - GetActiveRoomsForProcessDeprecated :warning: **Deprecated** +* [~~getConnectionInfoDeprecated~~](#getconnectioninfodeprecated) - GetConnectionInfoDeprecated :warning: **Deprecated** +* [~~getInactiveRoomsForProcessDeprecated~~](#getinactiveroomsforprocessdeprecated) - GetInactiveRoomsForProcessDeprecated :warning: **Deprecated** +* [~~getRoomInfoDeprecated~~](#getroominfodeprecated) - GetRoomInfoDeprecated :warning: **Deprecated** +* [~~suspendRoomDeprecated~~](#suspendroomdeprecated) - SuspendRoomDeprecated :warning: **Deprecated** ## ~~createRoomDeprecated~~ +CreateRoomDeprecated + > :warning: **DEPRECATED**: This will be removed in a future release, please migrate away from it as soon as possible. ### Example Usage @@ -82,6 +84,8 @@ public class Application { ## ~~destroyRoomDeprecated~~ +DestroyRoomDeprecated + > :warning: **DEPRECATED**: This will be removed in a future release, please migrate away from it as soon as possible. ### Example Usage @@ -136,6 +140,8 @@ public class Application { ## ~~getActiveRoomsForProcessDeprecated~~ +GetActiveRoomsForProcessDeprecated + > :warning: **DEPRECATED**: This will be removed in a future release, please migrate away from it as soon as possible. ### Example Usage @@ -192,6 +198,8 @@ public class Application { ## ~~getConnectionInfoDeprecated~~ +GetConnectionInfoDeprecated + > :warning: **DEPRECATED**: This will be removed in a future release, please migrate away from it as soon as possible. ### Example Usage @@ -244,6 +252,8 @@ public class Application { ## ~~getInactiveRoomsForProcessDeprecated~~ +GetInactiveRoomsForProcessDeprecated + > :warning: **DEPRECATED**: This will be removed in a future release, please migrate away from it as soon as possible. ### Example Usage @@ -300,6 +310,8 @@ public class Application { ## ~~getRoomInfoDeprecated~~ +GetRoomInfoDeprecated + > :warning: **DEPRECATED**: This will be removed in a future release, please migrate away from it as soon as possible. ### Example Usage @@ -356,6 +368,8 @@ public class Application { ## ~~suspendRoomDeprecated~~ +SuspendRoomDeprecated + > :warning: **DEPRECATED**: This will be removed in a future release, please migrate away from it as soon as possible. ### Example Usage diff --git a/docs/sdks/roomsv2/README.md b/docs/sdks/roomsv2/README.md index ee1e5e4f..28abe233 100644 --- a/docs/sdks/roomsv2/README.md +++ b/docs/sdks/roomsv2/README.md @@ -5,14 +5,14 @@ ### Available Operations -* [createRoom](#createroom) - Create a new [room](https://hathora.dev/docs/concepts/hathora-entities#room) for an existing [application](https://hathora.dev/docs/concepts/hathora-entities#application). Poll the [`GetConnectionInfo()`](https://hathora.dev/api#tag/RoomV2/operation/GetConnectionInfo) endpoint to get connection details for an active room. -* [destroyRoom](#destroyroom) - Destroy a [room](https://hathora.dev/docs/concepts/hathora-entities#room). All associated metadata is deleted. -* [getActiveRoomsForProcess](#getactiveroomsforprocess) - Get all active [rooms](https://hathora.dev/docs/concepts/hathora-entities#room) for a given [process](https://hathora.dev/docs/concepts/hathora-entities#process). -* [getConnectionInfo](#getconnectioninfo) - Poll this endpoint to get connection details to a [room](https://hathora.dev/docs/concepts/hathora-entities#room). Clients can call this endpoint without authentication. -* [getInactiveRoomsForProcess](#getinactiveroomsforprocess) - Get all inactive [rooms](https://hathora.dev/docs/concepts/hathora-entities#room) for a given [process](https://hathora.dev/docs/concepts/hathora-entities#process). -* [getRoomInfo](#getroominfo) - Retreive current and historical allocation data for a [room](https://hathora.dev/docs/concepts/hathora-entities#room). -* [~~suspendRoomV2Deprecated~~](#suspendroomv2deprecated) - Suspend a [room](https://hathora.dev/docs/concepts/hathora-entities#room). The room is unallocated from the process but can be rescheduled later using the same `roomId`. :warning: **Deprecated** -* [updateRoomConfig](#updateroomconfig) +* [createRoom](#createroom) - CreateRoom +* [destroyRoom](#destroyroom) - DestroyRoom +* [getActiveRoomsForProcess](#getactiveroomsforprocess) - GetActiveRoomsForProcess +* [getConnectionInfo](#getconnectioninfo) - GetConnectionInfo +* [getInactiveRoomsForProcess](#getinactiveroomsforprocess) - GetInactiveRoomsForProcess +* [getRoomInfo](#getroominfo) - GetRoomInfo +* [~~suspendRoomV2Deprecated~~](#suspendroomv2deprecated) - SuspendRoomV2Deprecated :warning: **Deprecated** +* [updateRoomConfig](#updateroomconfig) - UpdateRoomConfig ## createRoom @@ -413,6 +413,8 @@ public class Application { ## updateRoomConfig +UpdateRoomConfig + ### Example Usage ```java diff --git a/docs/sdks/tokensv1/README.md b/docs/sdks/tokensv1/README.md index c55c0410..abe1ccba 100644 --- a/docs/sdks/tokensv1/README.md +++ b/docs/sdks/tokensv1/README.md @@ -7,9 +7,9 @@ ### Available Operations -* [createOrgToken](#createorgtoken) - Create a new organization token. -* [getOrgTokens](#getorgtokens) - List all organization tokens for a given org. -* [revokeOrgToken](#revokeorgtoken) - Revoke an organization token. +* [createOrgToken](#createorgtoken) - CreateOrgToken +* [getOrgTokens](#getorgtokens) - GetOrgTokens +* [revokeOrgToken](#revokeorgtoken) - RevokeOrgToken ## createOrgToken diff --git a/gen.yaml b/gen.yaml index 70919d43..56925c14 100644 --- a/gen.yaml +++ b/gen.yaml @@ -12,7 +12,7 @@ generation: baseServerURL: "" flattenGlobalSecurity: true java: - version: 2.10.12 + version: 2.10.13 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/AppsV1.java b/src/main/java/dev/hathora/cloud_sdk/AppsV1.java index 892c279e..4c49230d 100644 --- a/src/main/java/dev/hathora/cloud_sdk/AppsV1.java +++ b/src/main/java/dev/hathora/cloud_sdk/AppsV1.java @@ -57,6 +57,7 @@ public class AppsV1 implements /** + * CreateAppV1Deprecated * Create a new [application](https://hathora.dev/docs/concepts/hathora-entities#application). * @return The call builder * @deprecated method: This will be removed in a future release, please migrate away from it as soon as possible. @@ -67,6 +68,7 @@ public CreateAppV1DeprecatedRequestBuilder createAppV1Deprecated() { } /** + * CreateAppV1Deprecated * Create a new [application](https://hathora.dev/docs/concepts/hathora-entities#application). * @param request The request object containing all of the parameters for the API call. * @return The response from the API call @@ -202,6 +204,7 @@ public CreateAppV1DeprecatedResponse createAppV1Deprecated( /** + * DeleteAppV1Deprecated * Delete an [application](https://hathora.dev/docs/concepts/hathora-entities#application) using `appId`. Your organization will lose access to this application. * @return The call builder * @deprecated method: This will be removed in a future release, please migrate away from it as soon as possible. @@ -212,6 +215,7 @@ public DeleteAppV1DeprecatedRequestBuilder deleteAppV1Deprecated() { } /** + * DeleteAppV1Deprecated * Delete an [application](https://hathora.dev/docs/concepts/hathora-entities#application) using `appId`. Your organization will lose access to this application. * @return The response from the API call * @throws Exception if the API call fails @@ -223,6 +227,7 @@ public DeleteAppV1DeprecatedResponse deleteAppV1DeprecatedDirect() throws Except } /** + * DeleteAppV1Deprecated * Delete an [application](https://hathora.dev/docs/concepts/hathora-entities#application) using `appId`. Your organization will lose access to this application. * @param appId * @return The response from the API call @@ -342,6 +347,7 @@ public DeleteAppV1DeprecatedResponse deleteAppV1Deprecated( /** + * GetAppInfoV1Deprecated * Get details for an [application](https://hathora.dev/docs/concepts/hathora-entities#application) using `appId`. * @return The call builder * @deprecated method: This will be removed in a future release, please migrate away from it as soon as possible. @@ -352,6 +358,7 @@ public GetAppInfoV1DeprecatedRequestBuilder getAppInfoV1Deprecated() { } /** + * GetAppInfoV1Deprecated * Get details for an [application](https://hathora.dev/docs/concepts/hathora-entities#application) using `appId`. * @return The response from the API call * @throws Exception if the API call fails @@ -363,6 +370,7 @@ public GetAppInfoV1DeprecatedResponse getAppInfoV1DeprecatedDirect() throws Exce } /** + * GetAppInfoV1Deprecated * Get details for an [application](https://hathora.dev/docs/concepts/hathora-entities#application) using `appId`. * @param appId * @return The response from the API call @@ -493,6 +501,7 @@ public GetAppInfoV1DeprecatedResponse getAppInfoV1Deprecated( /** + * GetAppsV1Deprecated * Returns an unsorted list of your organization’s [applications](https://hathora.dev/docs/concepts/hathora-entities#application). An application is uniquely identified by an `appId`. * @return The call builder * @deprecated method: This will be removed in a future release, please migrate away from it as soon as possible. @@ -503,6 +512,7 @@ public GetAppsV1DeprecatedRequestBuilder getAppsV1Deprecated() { } /** + * GetAppsV1Deprecated * Returns an unsorted list of your organization’s [applications](https://hathora.dev/docs/concepts/hathora-entities#application). An application is uniquely identified by an `appId`. * @return The response from the API call * @throws Exception if the API call fails @@ -623,6 +633,7 @@ public GetAppsV1DeprecatedResponse getAppsV1DeprecatedDirect() throws Exception /** + * UpdateAppV1Deprecated * Update data for an existing [application](https://hathora.dev/docs/concepts/hathora-entities#application) using `appId`. * @return The call builder * @deprecated method: This will be removed in a future release, please migrate away from it as soon as possible. @@ -633,6 +644,7 @@ public UpdateAppV1DeprecatedRequestBuilder updateAppV1Deprecated() { } /** + * UpdateAppV1Deprecated * Update data for an existing [application](https://hathora.dev/docs/concepts/hathora-entities#application) using `appId`. * @param appConfig * @return The response from the API call @@ -646,6 +658,7 @@ public UpdateAppV1DeprecatedResponse updateAppV1Deprecated( } /** + * UpdateAppV1Deprecated * Update data for an existing [application](https://hathora.dev/docs/concepts/hathora-entities#application) using `appId`. * @param appConfig * @param appId diff --git a/src/main/java/dev/hathora/cloud_sdk/AppsV2.java b/src/main/java/dev/hathora/cloud_sdk/AppsV2.java index aaaa56bc..a9090462 100644 --- a/src/main/java/dev/hathora/cloud_sdk/AppsV2.java +++ b/src/main/java/dev/hathora/cloud_sdk/AppsV2.java @@ -61,6 +61,7 @@ public class AppsV2 implements /** + * CreateApp * Create a new [application](https://hathora.dev/docs/concepts/hathora-entities#application). * @return The call builder */ @@ -69,6 +70,7 @@ public CreateAppRequestBuilder createApp() { } /** + * CreateApp * Create a new [application](https://hathora.dev/docs/concepts/hathora-entities#application). * @param appConfig * @return The response from the API call @@ -80,6 +82,7 @@ public CreateAppResponse createApp( } /** + * CreateApp * Create a new [application](https://hathora.dev/docs/concepts/hathora-entities#application). * @param appConfig * @param orgId @@ -227,6 +230,7 @@ public CreateAppResponse createApp( /** + * DeleteApp * Delete an [application](https://hathora.dev/docs/concepts/hathora-entities#application) using `appId`. Your organization will lose access to this application. * @return The call builder */ @@ -235,6 +239,7 @@ public DeleteAppRequestBuilder deleteApp() { } /** + * DeleteApp * Delete an [application](https://hathora.dev/docs/concepts/hathora-entities#application) using `appId`. Your organization will lose access to this application. * @return The response from the API call * @throws Exception if the API call fails @@ -244,6 +249,7 @@ public DeleteAppResponse deleteAppDirect() throws Exception { } /** + * DeleteApp * Delete an [application](https://hathora.dev/docs/concepts/hathora-entities#application) using `appId`. Your organization will lose access to this application. * @param appId * @return The response from the API call @@ -361,6 +367,7 @@ public DeleteAppResponse deleteApp( /** + * GetApp * Get details for an [application](https://hathora.dev/docs/concepts/hathora-entities#application) using `appId`. * @return The call builder */ @@ -369,6 +376,7 @@ public GetAppRequestBuilder getApp() { } /** + * GetApp * Get details for an [application](https://hathora.dev/docs/concepts/hathora-entities#application) using `appId`. * @return The response from the API call * @throws Exception if the API call fails @@ -378,6 +386,7 @@ public GetAppResponse getAppDirect() throws Exception { } /** + * GetApp * Get details for an [application](https://hathora.dev/docs/concepts/hathora-entities#application) using `appId`. * @param appId * @return The response from the API call @@ -506,6 +515,7 @@ public GetAppResponse getApp( /** + * GetApps * Returns an unsorted list of your organization’s [applications](https://hathora.dev/docs/concepts/hathora-entities#application). An application is uniquely identified by an `appId`. * @return The call builder */ @@ -514,6 +524,7 @@ public GetAppsRequestBuilder getApps() { } /** + * GetApps * Returns an unsorted list of your organization’s [applications](https://hathora.dev/docs/concepts/hathora-entities#application). An application is uniquely identified by an `appId`. * @return The response from the API call * @throws Exception if the API call fails @@ -523,6 +534,7 @@ public GetAppsResponse getAppsDirect() throws Exception { } /** + * GetApps * Returns an unsorted list of your organization’s [applications](https://hathora.dev/docs/concepts/hathora-entities#application). An application is uniquely identified by an `appId`. * @param orgId * @return The response from the API call @@ -654,6 +666,7 @@ public GetAppsResponse getApps( /** + * UpdateApp * Update data for an existing [application](https://hathora.dev/docs/concepts/hathora-entities#application) using `appId`. * @return The call builder */ @@ -662,6 +675,7 @@ public UpdateAppRequestBuilder updateApp() { } /** + * UpdateApp * Update data for an existing [application](https://hathora.dev/docs/concepts/hathora-entities#application) using `appId`. * @param appConfig * @return The response from the API call @@ -673,6 +687,7 @@ public UpdateAppResponse updateApp( } /** + * UpdateApp * Update data for an existing [application](https://hathora.dev/docs/concepts/hathora-entities#application) using `appId`. * @param appConfig * @param appId diff --git a/src/main/java/dev/hathora/cloud_sdk/AuthV1.java b/src/main/java/dev/hathora/cloud_sdk/AuthV1.java index 26550cd2..fc398294 100644 --- a/src/main/java/dev/hathora/cloud_sdk/AuthV1.java +++ b/src/main/java/dev/hathora/cloud_sdk/AuthV1.java @@ -53,6 +53,7 @@ public class AuthV1 implements /** + * LoginAnonymous * Returns a unique player token for an anonymous user. * @return The call builder */ @@ -61,6 +62,7 @@ public LoginAnonymousRequestBuilder loginAnonymous() { } /** + * LoginAnonymous * Returns a unique player token for an anonymous user. * @return The response from the API call * @throws Exception if the API call fails @@ -70,6 +72,7 @@ public LoginAnonymousResponse loginAnonymousDirect() throws Exception { } /** + * LoginAnonymous * Returns a unique player token for an anonymous user. * @param appId * @return The response from the API call @@ -195,6 +198,7 @@ public LoginAnonymousResponse loginAnonymous( /** + * LoginGoogle * Returns a unique player token using a Google-signed OIDC `idToken`. * @return The call builder */ @@ -203,6 +207,7 @@ public LoginGoogleRequestBuilder loginGoogle() { } /** + * LoginGoogle * Returns a unique player token using a Google-signed OIDC `idToken`. * @param googleIdTokenObject * @return The response from the API call @@ -214,6 +219,7 @@ public LoginGoogleResponse loginGoogle( } /** + * LoginGoogle * Returns a unique player token using a Google-signed OIDC `idToken`. * @param googleIdTokenObject * @param appId @@ -355,6 +361,7 @@ public LoginGoogleResponse loginGoogle( /** + * LoginNickname * Returns a unique player token with a specified nickname for a user. * @return The call builder */ @@ -363,6 +370,7 @@ public LoginNicknameRequestBuilder loginNickname() { } /** + * LoginNickname * Returns a unique player token with a specified nickname for a user. * @param nicknameObject * @return The response from the API call @@ -374,6 +382,7 @@ public LoginNicknameResponse loginNickname( } /** + * LoginNickname * Returns a unique player token with a specified nickname for a user. * @param nicknameObject * @param appId diff --git a/src/main/java/dev/hathora/cloud_sdk/BillingV1.java b/src/main/java/dev/hathora/cloud_sdk/BillingV1.java index 43066d7c..642c86d7 100644 --- a/src/main/java/dev/hathora/cloud_sdk/BillingV1.java +++ b/src/main/java/dev/hathora/cloud_sdk/BillingV1.java @@ -61,10 +61,19 @@ public class BillingV1 implements } + /** + * GetBalance + * @return The call builder + */ public GetBalanceRequestBuilder getBalance() { return new GetBalanceRequestBuilder(this); } + /** + * GetBalance + * @return The response from the API call + * @throws Exception if the API call fails + */ public GetBalanceResponse getBalanceDirect() throws Exception { String _baseUrl = this.sdkConfiguration.serverUrl; String _url = Utils.generateURL( @@ -178,10 +187,19 @@ public GetBalanceResponse getBalanceDirect() throws Exception { + /** + * GetInvoices + * @return The call builder + */ public GetInvoicesRequestBuilder getInvoices() { return new GetInvoicesRequestBuilder(this); } + /** + * GetInvoices + * @return The response from the API call + * @throws Exception if the API call fails + */ public GetInvoicesResponse getInvoicesDirect() throws Exception { String _baseUrl = this.sdkConfiguration.serverUrl; String _url = Utils.generateURL( @@ -295,10 +313,19 @@ public GetInvoicesResponse getInvoicesDirect() throws Exception { + /** + * GetPaymentMethod + * @return The call builder + */ public GetPaymentMethodRequestBuilder getPaymentMethod() { return new GetPaymentMethodRequestBuilder(this); } + /** + * GetPaymentMethod + * @return The response from the API call + * @throws Exception if the API call fails + */ public GetPaymentMethodResponse getPaymentMethodDirect() throws Exception { String _baseUrl = this.sdkConfiguration.serverUrl; String _url = Utils.generateURL( @@ -412,10 +439,19 @@ public GetPaymentMethodResponse getPaymentMethodDirect() throws Exception { + /** + * GetUpcomingInvoiceItems + * @return The call builder + */ public GetUpcomingInvoiceItemsRequestBuilder getUpcomingInvoiceItems() { return new GetUpcomingInvoiceItemsRequestBuilder(this); } + /** + * GetUpcomingInvoiceItems + * @return The response from the API call + * @throws Exception if the API call fails + */ public GetUpcomingInvoiceItemsResponse getUpcomingInvoiceItemsDirect() throws Exception { String _baseUrl = this.sdkConfiguration.serverUrl; String _url = Utils.generateURL( @@ -529,10 +565,19 @@ public GetUpcomingInvoiceItemsResponse getUpcomingInvoiceItemsDirect() throws Ex + /** + * GetUpcomingInvoiceTotal + * @return The call builder + */ public GetUpcomingInvoiceTotalRequestBuilder getUpcomingInvoiceTotal() { return new GetUpcomingInvoiceTotalRequestBuilder(this); } + /** + * GetUpcomingInvoiceTotal + * @return The response from the API call + * @throws Exception if the API call fails + */ public GetUpcomingInvoiceTotalResponse getUpcomingInvoiceTotalDirect() throws Exception { String _baseUrl = this.sdkConfiguration.serverUrl; String _url = Utils.generateURL( @@ -646,10 +691,20 @@ public GetUpcomingInvoiceTotalResponse getUpcomingInvoiceTotalDirect() throws Ex + /** + * InitStripeCustomerPortalUrl + * @return The call builder + */ public InitStripeCustomerPortalUrlRequestBuilder initStripeCustomerPortalUrl() { return new InitStripeCustomerPortalUrlRequestBuilder(this); } + /** + * InitStripeCustomerPortalUrl + * @param request The request object containing all of the parameters for the API call. + * @return The response from the API call + * @throws Exception if the API call fails + */ public InitStripeCustomerPortalUrlResponse initStripeCustomerPortalUrl( CustomerPortalUrl request) throws Exception { String _baseUrl = this.sdkConfiguration.serverUrl; diff --git a/src/main/java/dev/hathora/cloud_sdk/BuildsV1.java b/src/main/java/dev/hathora/cloud_sdk/BuildsV1.java index 80c4eed9..9c065d65 100644 --- a/src/main/java/dev/hathora/cloud_sdk/BuildsV1.java +++ b/src/main/java/dev/hathora/cloud_sdk/BuildsV1.java @@ -59,6 +59,7 @@ public class BuildsV1 implements /** + * CreateBuildDeprecated * Creates a new [build](https://hathora.dev/docs/concepts/hathora-entities#build). 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. * @return The call builder * @deprecated method: This will be removed in a future release, please migrate away from it as soon as possible. @@ -69,6 +70,7 @@ public CreateBuildDeprecatedRequestBuilder createBuildDeprecated() { } /** + * CreateBuildDeprecated * Creates a new [build](https://hathora.dev/docs/concepts/hathora-entities#build). 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. * @param createBuildParams * @return The response from the API call @@ -82,6 +84,7 @@ public CreateBuildDeprecatedResponse createBuildDeprecated( } /** + * CreateBuildDeprecated * Creates a new [build](https://hathora.dev/docs/concepts/hathora-entities#build). 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. * @param createBuildParams * @param appId @@ -228,6 +231,7 @@ public CreateBuildDeprecatedResponse createBuildDeprecated( /** + * DeleteBuildDeprecated * Delete a [build](https://hathora.dev/docs/concepts/hathora-entities#build). All associated metadata is deleted. * @return The call builder * @deprecated method: This will be removed in a future release, please migrate away from it as soon as possible. @@ -238,6 +242,7 @@ public DeleteBuildDeprecatedRequestBuilder deleteBuildDeprecated() { } /** + * DeleteBuildDeprecated * Delete a [build](https://hathora.dev/docs/concepts/hathora-entities#build). All associated metadata is deleted. * @param buildId * @return The response from the API call @@ -251,6 +256,7 @@ public DeleteBuildDeprecatedResponse deleteBuildDeprecated( } /** + * DeleteBuildDeprecated * Delete a [build](https://hathora.dev/docs/concepts/hathora-entities#build). All associated metadata is deleted. * @param appId * @param buildId @@ -373,6 +379,7 @@ public DeleteBuildDeprecatedResponse deleteBuildDeprecated( /** + * GetBuildInfoDeprecated * Get details for a [build](https://hathora.dev/docs/concepts/hathora-entities#build). * @return The call builder * @deprecated method: This will be removed in a future release, please migrate away from it as soon as possible. @@ -383,6 +390,7 @@ public GetBuildInfoDeprecatedRequestBuilder getBuildInfoDeprecated() { } /** + * GetBuildInfoDeprecated * Get details for a [build](https://hathora.dev/docs/concepts/hathora-entities#build). * @param buildId * @return The response from the API call @@ -396,6 +404,7 @@ public GetBuildInfoDeprecatedResponse getBuildInfoDeprecated( } /** + * GetBuildInfoDeprecated * Get details for a [build](https://hathora.dev/docs/concepts/hathora-entities#build). * @param appId * @param buildId @@ -529,6 +538,7 @@ public GetBuildInfoDeprecatedResponse getBuildInfoDeprecated( /** + * GetBuildsDeprecated * Returns an array of [builds](https://hathora.dev/docs/concepts/hathora-entities#build) for an [application](https://hathora.dev/docs/concepts/hathora-entities#application). * @return The call builder * @deprecated method: This will be removed in a future release, please migrate away from it as soon as possible. @@ -539,6 +549,7 @@ public GetBuildsDeprecatedRequestBuilder getBuildsDeprecated() { } /** + * GetBuildsDeprecated * Returns an array of [builds](https://hathora.dev/docs/concepts/hathora-entities#build) for an [application](https://hathora.dev/docs/concepts/hathora-entities#application). * @return The response from the API call * @throws Exception if the API call fails @@ -550,6 +561,7 @@ public GetBuildsDeprecatedResponse getBuildsDeprecatedDirect() throws Exception } /** + * GetBuildsDeprecated * Returns an array of [builds](https://hathora.dev/docs/concepts/hathora-entities#build) for an [application](https://hathora.dev/docs/concepts/hathora-entities#application). * @param appId * @return The response from the API call @@ -680,6 +692,7 @@ public GetBuildsDeprecatedResponse getBuildsDeprecated( /** + * RunBuildDeprecated * Builds a game server artifact from a tarball you provide. Pass in the `buildId` generated from [`CreateBuild()`](https://hathora.dev/api#tag/BuildV1/operation/CreateBuild). * @return The call builder * @deprecated method: This will be removed in a future release, please migrate away from it as soon as possible. @@ -690,6 +703,7 @@ public RunBuildDeprecatedRequestBuilder runBuildDeprecated() { } /** + * RunBuildDeprecated * Builds a game server artifact from a tarball you provide. Pass in the `buildId` generated from [`CreateBuild()`](https://hathora.dev/api#tag/BuildV1/operation/CreateBuild). * @param requestBody * @param buildId @@ -705,6 +719,7 @@ public RunBuildDeprecatedResponse runBuildDeprecated( } /** + * RunBuildDeprecated * Builds a game server artifact from a tarball you provide. Pass in the `buildId` generated from [`CreateBuild()`](https://hathora.dev/api#tag/BuildV1/operation/CreateBuild). * @param requestBody * @param appId diff --git a/src/main/java/dev/hathora/cloud_sdk/BuildsV2.java b/src/main/java/dev/hathora/cloud_sdk/BuildsV2.java index 33f97afd..dfde18e4 100644 --- a/src/main/java/dev/hathora/cloud_sdk/BuildsV2.java +++ b/src/main/java/dev/hathora/cloud_sdk/BuildsV2.java @@ -70,6 +70,7 @@ public class BuildsV2 implements /** + * CreateBuildV2Deprecated * Creates a new [build](https://hathora.dev/docs/concepts/hathora-entities#build). 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. * @return The call builder * @deprecated method: This will be removed in a future release, please migrate away from it as soon as possible. @@ -80,6 +81,7 @@ public CreateBuildV2DeprecatedRequestBuilder createBuildV2Deprecated() { } /** + * CreateBuildV2Deprecated * Creates a new [build](https://hathora.dev/docs/concepts/hathora-entities#build). 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. * @param createBuildParams * @return The response from the API call @@ -93,6 +95,7 @@ public CreateBuildV2DeprecatedResponse createBuildV2Deprecated( } /** + * CreateBuildV2Deprecated * Creates a new [build](https://hathora.dev/docs/concepts/hathora-entities#build). 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. * @param createBuildParams * @param appId @@ -239,6 +242,7 @@ public CreateBuildV2DeprecatedResponse createBuildV2Deprecated( /** + * CreateBuildWithUploadUrlV2Deprecated * Creates a new [build](https://hathora.dev/docs/concepts/hathora-entities#build) with `uploadUrl` that can be used to upload the build to 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. * @return The call builder * @deprecated method: This will be removed in a future release, please migrate away from it as soon as possible. @@ -249,6 +253,7 @@ public CreateBuildWithUploadUrlV2DeprecatedRequestBuilder createBuildWithUploadU } /** + * CreateBuildWithUploadUrlV2Deprecated * Creates a new [build](https://hathora.dev/docs/concepts/hathora-entities#build) with `uploadUrl` that can be used to upload the build to 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. * @param createBuildParams * @return The response from the API call @@ -262,6 +267,7 @@ public CreateBuildWithUploadUrlV2DeprecatedResponse createBuildWithUploadUrlV2De } /** + * CreateBuildWithUploadUrlV2Deprecated * Creates a new [build](https://hathora.dev/docs/concepts/hathora-entities#build) with `uploadUrl` that can be used to upload the build to 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. * @param createBuildParams * @param appId @@ -408,6 +414,7 @@ public CreateBuildWithUploadUrlV2DeprecatedResponse createBuildWithUploadUrlV2De /** + * CreateWithMultipartUploadsV2Deprecated * 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. * @return The call builder * @deprecated method: This will be removed in a future release, please migrate away from it as soon as possible. @@ -418,6 +425,7 @@ public CreateWithMultipartUploadsV2DeprecatedRequestBuilder createWithMultipartU } /** + * CreateWithMultipartUploadsV2Deprecated * 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. * @param createMultipartBuildParams * @return The response from the API call @@ -431,6 +439,7 @@ public CreateWithMultipartUploadsV2DeprecatedResponse createWithMultipartUploads } /** + * CreateWithMultipartUploadsV2Deprecated * 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. * @param createMultipartBuildParams * @param appId @@ -577,6 +586,7 @@ public CreateWithMultipartUploadsV2DeprecatedResponse createWithMultipartUploads /** + * DeleteBuildV2Deprecated * Delete a [build](https://hathora.dev/docs/concepts/hathora-entities#build). All associated metadata is deleted. * @return The call builder * @deprecated method: This will be removed in a future release, please migrate away from it as soon as possible. @@ -587,6 +597,7 @@ public DeleteBuildV2DeprecatedRequestBuilder deleteBuildV2Deprecated() { } /** + * DeleteBuildV2Deprecated * Delete a [build](https://hathora.dev/docs/concepts/hathora-entities#build). All associated metadata is deleted. * @param buildId * @return The response from the API call @@ -600,6 +611,7 @@ public DeleteBuildV2DeprecatedResponse deleteBuildV2Deprecated( } /** + * DeleteBuildV2Deprecated * Delete a [build](https://hathora.dev/docs/concepts/hathora-entities#build). All associated metadata is deleted. * @param appId * @param buildId @@ -722,6 +734,7 @@ public DeleteBuildV2DeprecatedResponse deleteBuildV2Deprecated( /** + * GetBuildInfoV2Deprecated * Get details for a [build](https://hathora.dev/docs/concepts/hathora-entities#build). * @return The call builder * @deprecated method: This will be removed in a future release, please migrate away from it as soon as possible. @@ -732,6 +745,7 @@ public GetBuildInfoV2DeprecatedRequestBuilder getBuildInfoV2Deprecated() { } /** + * GetBuildInfoV2Deprecated * Get details for a [build](https://hathora.dev/docs/concepts/hathora-entities#build). * @param buildId * @return The response from the API call @@ -745,6 +759,7 @@ public GetBuildInfoV2DeprecatedResponse getBuildInfoV2Deprecated( } /** + * GetBuildInfoV2Deprecated * Get details for a [build](https://hathora.dev/docs/concepts/hathora-entities#build). * @param appId * @param buildId @@ -878,6 +893,7 @@ public GetBuildInfoV2DeprecatedResponse getBuildInfoV2Deprecated( /** + * GetBuildsV2Deprecated * Returns an array of [builds](https://hathora.dev/docs/concepts/hathora-entities#build) for an [application](https://hathora.dev/docs/concepts/hathora-entities#application). * @return The call builder * @deprecated method: This will be removed in a future release, please migrate away from it as soon as possible. @@ -888,6 +904,7 @@ public GetBuildsV2DeprecatedRequestBuilder getBuildsV2Deprecated() { } /** + * GetBuildsV2Deprecated * Returns an array of [builds](https://hathora.dev/docs/concepts/hathora-entities#build) for an [application](https://hathora.dev/docs/concepts/hathora-entities#application). * @return The response from the API call * @throws Exception if the API call fails @@ -899,6 +916,7 @@ public GetBuildsV2DeprecatedResponse getBuildsV2DeprecatedDirect() throws Except } /** + * GetBuildsV2Deprecated * Returns an array of [builds](https://hathora.dev/docs/concepts/hathora-entities#build) for an [application](https://hathora.dev/docs/concepts/hathora-entities#application). * @param appId * @return The response from the API call @@ -1029,6 +1047,7 @@ public GetBuildsV2DeprecatedResponse getBuildsV2Deprecated( /** + * RunBuildV2Deprecated * Builds a game server artifact from a tarball you provide. Pass in the `buildId` generated from [`CreateBuild()`](https://hathora.dev/api#tag/BuildV1/operation/CreateBuild). * @return The call builder * @deprecated method: This will be removed in a future release, please migrate away from it as soon as possible. @@ -1039,6 +1058,7 @@ public RunBuildV2DeprecatedRequestBuilder runBuildV2Deprecated() { } /** + * RunBuildV2Deprecated * Builds a game server artifact from a tarball you provide. Pass in the `buildId` generated from [`CreateBuild()`](https://hathora.dev/api#tag/BuildV1/operation/CreateBuild). * @param requestBody * @param buildId @@ -1054,6 +1074,7 @@ public RunBuildV2DeprecatedResponse runBuildV2Deprecated( } /** + * RunBuildV2Deprecated * Builds a game server artifact from a tarball you provide. Pass in the `buildId` generated from [`CreateBuild()`](https://hathora.dev/api#tag/BuildV1/operation/CreateBuild). * @param requestBody * @param appId diff --git a/src/main/java/dev/hathora/cloud_sdk/BuildsV3.java b/src/main/java/dev/hathora/cloud_sdk/BuildsV3.java index 19ffad7a..337bd082 100644 --- a/src/main/java/dev/hathora/cloud_sdk/BuildsV3.java +++ b/src/main/java/dev/hathora/cloud_sdk/BuildsV3.java @@ -63,6 +63,7 @@ public class BuildsV3 implements /** + * 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. * @return The call builder */ @@ -71,6 +72,7 @@ public CreateBuildRequestBuilder 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. * @param createMultipartBuildParams * @return The response from the API call @@ -82,6 +84,7 @@ public CreateBuildResponse 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. * @param createMultipartBuildParams * @param orgId @@ -229,7 +232,10 @@ public CreateBuildResponse createBuild( /** - * Delete a [build](https://hathora.dev/docs/concepts/hathora-entities#build). All associated metadata is deleted. - Be careful which builds you delete. This endpoint does not prevent you from deleting actively used builds. - Deleting a build that is actively build used by an app's deployment will cause failures when creating rooms. + * DeleteBuild + * Delete a [build](https://hathora.dev/docs/concepts/hathora-entities#build). All associated metadata is deleted. + * Be careful which builds you delete. This endpoint does not prevent you from deleting actively used builds. + * Deleting a build that is actively build used by an app's deployment will cause failures when creating rooms. * @return The call builder */ public DeleteBuildRequestBuilder deleteBuild() { @@ -237,7 +243,10 @@ public DeleteBuildRequestBuilder deleteBuild() { } /** - * Delete a [build](https://hathora.dev/docs/concepts/hathora-entities#build). All associated metadata is deleted. - Be careful which builds you delete. This endpoint does not prevent you from deleting actively used builds. - Deleting a build that is actively build used by an app's deployment will cause failures when creating rooms. + * DeleteBuild + * Delete a [build](https://hathora.dev/docs/concepts/hathora-entities#build). All associated metadata is deleted. + * Be careful which builds you delete. This endpoint does not prevent you from deleting actively used builds. + * Deleting a build that is actively build used by an app's deployment will cause failures when creating rooms. * @param buildId * @return The response from the API call * @throws Exception if the API call fails @@ -248,7 +257,10 @@ public DeleteBuildResponse deleteBuild( } /** - * Delete a [build](https://hathora.dev/docs/concepts/hathora-entities#build). All associated metadata is deleted. - Be careful which builds you delete. This endpoint does not prevent you from deleting actively used builds. - Deleting a build that is actively build used by an app's deployment will cause failures when creating rooms. + * DeleteBuild + * Delete a [build](https://hathora.dev/docs/concepts/hathora-entities#build). All associated metadata is deleted. + * Be careful which builds you delete. This endpoint does not prevent you from deleting actively used builds. + * Deleting a build that is actively build used by an app's deployment will cause failures when creating rooms. * @param buildId * @param orgId * @return The response from the API call @@ -384,6 +396,7 @@ public DeleteBuildResponse deleteBuild( /** + * GetBuild * Get details for a [build](https://hathora.dev/docs/concepts/hathora-entities#build). * @return The call builder */ @@ -392,6 +405,7 @@ public GetBuildRequestBuilder getBuild() { } /** + * GetBuild * Get details for a [build](https://hathora.dev/docs/concepts/hathora-entities#build). * @param buildId * @return The response from the API call @@ -403,6 +417,7 @@ public GetBuildResponse getBuild( } /** + * GetBuild * Get details for a [build](https://hathora.dev/docs/concepts/hathora-entities#build). * @param buildId * @param orgId @@ -539,6 +554,7 @@ public GetBuildResponse getBuild( /** + * GetBuilds * Returns an array of [builds](https://hathora.dev/docs/concepts/hathora-entities#build) for an [application](https://hathora.dev/docs/concepts/hathora-entities#application). * @return The call builder */ @@ -547,6 +563,7 @@ public GetBuildsRequestBuilder getBuilds() { } /** + * GetBuilds * Returns an array of [builds](https://hathora.dev/docs/concepts/hathora-entities#build) for an [application](https://hathora.dev/docs/concepts/hathora-entities#application). * @return The response from the API call * @throws Exception if the API call fails @@ -556,6 +573,7 @@ public GetBuildsResponse getBuildsDirect() throws Exception { } /** + * GetBuilds * Returns an array of [builds](https://hathora.dev/docs/concepts/hathora-entities#build) for an [application](https://hathora.dev/docs/concepts/hathora-entities#application). * @param orgId * @return The response from the API call @@ -687,6 +705,7 @@ public GetBuildsResponse getBuilds( /** + * RunBuild * Builds a game server artifact from a tarball you provide. Pass in the `buildId` generated from [`CreateBuild()`](https://hathora.dev/api#tag/BuildV1/operation/CreateBuild). * @return The call builder */ @@ -695,6 +714,7 @@ public RunBuildRequestBuilder runBuild() { } /** + * RunBuild * Builds a game server artifact from a tarball you provide. Pass in the `buildId` generated from [`CreateBuild()`](https://hathora.dev/api#tag/BuildV1/operation/CreateBuild). * @param buildId * @return The response from the API call @@ -706,6 +726,7 @@ public RunBuildResponse runBuild( } /** + * RunBuild * Builds a game server artifact from a tarball you provide. Pass in the `buildId` generated from [`CreateBuild()`](https://hathora.dev/api#tag/BuildV1/operation/CreateBuild). * @param buildId * @param orgId diff --git a/src/main/java/dev/hathora/cloud_sdk/DeploymentsV1.java b/src/main/java/dev/hathora/cloud_sdk/DeploymentsV1.java index 91269abe..52b96d86 100644 --- a/src/main/java/dev/hathora/cloud_sdk/DeploymentsV1.java +++ b/src/main/java/dev/hathora/cloud_sdk/DeploymentsV1.java @@ -54,6 +54,7 @@ public class DeploymentsV1 implements /** + * CreateDeploymentV1Deprecated * 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. * @return The call builder * @deprecated method: This will be removed in a future release, please migrate away from it as soon as possible. @@ -64,6 +65,7 @@ public CreateDeploymentV1DeprecatedRequestBuilder createDeploymentV1Deprecated() } /** + * CreateDeploymentV1Deprecated * 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. * @param deploymentConfig User specified deployment configuration for your application at runtime. * @param buildId @@ -79,6 +81,7 @@ public CreateDeploymentV1DeprecatedResponse createDeploymentV1Deprecated( } /** + * CreateDeploymentV1Deprecated * 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. * @param deploymentConfig User specified deployment configuration for your application at runtime. * @param appId @@ -228,6 +231,7 @@ public CreateDeploymentV1DeprecatedResponse createDeploymentV1Deprecated( /** + * GetDeploymentInfoV1Deprecated * Get details for a [deployment](https://hathora.dev/docs/concepts/hathora-entities#deployment). * @return The call builder * @deprecated method: This will be removed in a future release, please migrate away from it as soon as possible. @@ -238,6 +242,7 @@ public GetDeploymentInfoV1DeprecatedRequestBuilder getDeploymentInfoV1Deprecated } /** + * GetDeploymentInfoV1Deprecated * Get details for a [deployment](https://hathora.dev/docs/concepts/hathora-entities#deployment). * @param deploymentId * @return The response from the API call @@ -251,6 +256,7 @@ public GetDeploymentInfoV1DeprecatedResponse getDeploymentInfoV1Deprecated( } /** + * GetDeploymentInfoV1Deprecated * Get details for a [deployment](https://hathora.dev/docs/concepts/hathora-entities#deployment). * @param appId * @param deploymentId @@ -384,6 +390,7 @@ public GetDeploymentInfoV1DeprecatedResponse getDeploymentInfoV1Deprecated( /** + * GetDeploymentsV1Deprecated * Returns an array of [deployments](https://hathora.dev/docs/concepts/hathora-entities#deployment) for an [application](https://hathora.dev/docs/concepts/hathora-entities#application). * @return The call builder * @deprecated method: This will be removed in a future release, please migrate away from it as soon as possible. @@ -394,6 +401,7 @@ public GetDeploymentsV1DeprecatedRequestBuilder getDeploymentsV1Deprecated() { } /** + * GetDeploymentsV1Deprecated * Returns an array of [deployments](https://hathora.dev/docs/concepts/hathora-entities#deployment) for an [application](https://hathora.dev/docs/concepts/hathora-entities#application). * @return The response from the API call * @throws Exception if the API call fails @@ -405,6 +413,7 @@ public GetDeploymentsV1DeprecatedResponse getDeploymentsV1DeprecatedDirect() thr } /** + * GetDeploymentsV1Deprecated * Returns an array of [deployments](https://hathora.dev/docs/concepts/hathora-entities#deployment) for an [application](https://hathora.dev/docs/concepts/hathora-entities#application). * @param appId * @return The response from the API call @@ -535,6 +544,7 @@ public GetDeploymentsV1DeprecatedResponse getDeploymentsV1Deprecated( /** + * GetLatestDeploymentV1Deprecated * Get the latest [deployment](https://hathora.dev/docs/concepts/hathora-entities#deployment) for an [application](https://hathora.dev/docs/concepts/hathora-entities#application). * @return The call builder * @deprecated method: This will be removed in a future release, please migrate away from it as soon as possible. @@ -545,6 +555,7 @@ public GetLatestDeploymentV1DeprecatedRequestBuilder getLatestDeploymentV1Deprec } /** + * GetLatestDeploymentV1Deprecated * Get the latest [deployment](https://hathora.dev/docs/concepts/hathora-entities#deployment) for an [application](https://hathora.dev/docs/concepts/hathora-entities#application). * @return The response from the API call * @throws Exception if the API call fails @@ -556,6 +567,7 @@ public GetLatestDeploymentV1DeprecatedResponse getLatestDeploymentV1DeprecatedDi } /** + * GetLatestDeploymentV1Deprecated * Get the latest [deployment](https://hathora.dev/docs/concepts/hathora-entities#deployment) for an [application](https://hathora.dev/docs/concepts/hathora-entities#application). * @param appId * @return The response from the API call diff --git a/src/main/java/dev/hathora/cloud_sdk/DeploymentsV2.java b/src/main/java/dev/hathora/cloud_sdk/DeploymentsV2.java index e13219ca..c7f425a4 100644 --- a/src/main/java/dev/hathora/cloud_sdk/DeploymentsV2.java +++ b/src/main/java/dev/hathora/cloud_sdk/DeploymentsV2.java @@ -54,6 +54,7 @@ public class DeploymentsV2 implements /** + * CreateDeploymentV2Deprecated * 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. * @return The call builder * @deprecated method: This will be removed in a future release, please migrate away from it as soon as possible. @@ -64,6 +65,7 @@ public CreateDeploymentV2DeprecatedRequestBuilder createDeploymentV2Deprecated() } /** + * CreateDeploymentV2Deprecated * 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. * @param deploymentConfigV2 * @param buildId @@ -79,6 +81,7 @@ public CreateDeploymentV2DeprecatedResponse createDeploymentV2Deprecated( } /** + * CreateDeploymentV2Deprecated * 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. * @param deploymentConfigV2 * @param appId @@ -228,6 +231,7 @@ public CreateDeploymentV2DeprecatedResponse createDeploymentV2Deprecated( /** + * GetDeploymentInfoV2Deprecated * Get details for a [deployment](https://hathora.dev/docs/concepts/hathora-entities#deployment). * @return The call builder * @deprecated method: This will be removed in a future release, please migrate away from it as soon as possible. @@ -238,6 +242,7 @@ public GetDeploymentInfoV2DeprecatedRequestBuilder getDeploymentInfoV2Deprecated } /** + * GetDeploymentInfoV2Deprecated * Get details for a [deployment](https://hathora.dev/docs/concepts/hathora-entities#deployment). * @param deploymentId * @return The response from the API call @@ -251,6 +256,7 @@ public GetDeploymentInfoV2DeprecatedResponse getDeploymentInfoV2Deprecated( } /** + * GetDeploymentInfoV2Deprecated * Get details for a [deployment](https://hathora.dev/docs/concepts/hathora-entities#deployment). * @param appId * @param deploymentId @@ -384,6 +390,7 @@ public GetDeploymentInfoV2DeprecatedResponse getDeploymentInfoV2Deprecated( /** + * GetDeploymentsV2Deprecated * Returns an array of [deployments](https://hathora.dev/docs/concepts/hathora-entities#deployment) for an [application](https://hathora.dev/docs/concepts/hathora-entities#application). * @return The call builder * @deprecated method: This will be removed in a future release, please migrate away from it as soon as possible. @@ -394,6 +401,7 @@ public GetDeploymentsV2DeprecatedRequestBuilder getDeploymentsV2Deprecated() { } /** + * GetDeploymentsV2Deprecated * Returns an array of [deployments](https://hathora.dev/docs/concepts/hathora-entities#deployment) for an [application](https://hathora.dev/docs/concepts/hathora-entities#application). * @return The response from the API call * @throws Exception if the API call fails @@ -405,6 +413,7 @@ public GetDeploymentsV2DeprecatedResponse getDeploymentsV2DeprecatedDirect() thr } /** + * GetDeploymentsV2Deprecated * Returns an array of [deployments](https://hathora.dev/docs/concepts/hathora-entities#deployment) for an [application](https://hathora.dev/docs/concepts/hathora-entities#application). * @param appId * @return The response from the API call @@ -535,6 +544,7 @@ public GetDeploymentsV2DeprecatedResponse getDeploymentsV2Deprecated( /** + * GetLatestDeploymentV2Deprecated * Get the latest [deployment](https://hathora.dev/docs/concepts/hathora-entities#deployment) for an [application](https://hathora.dev/docs/concepts/hathora-entities#application). * @return The call builder * @deprecated method: This will be removed in a future release, please migrate away from it as soon as possible. @@ -545,6 +555,7 @@ public GetLatestDeploymentV2DeprecatedRequestBuilder getLatestDeploymentV2Deprec } /** + * GetLatestDeploymentV2Deprecated * Get the latest [deployment](https://hathora.dev/docs/concepts/hathora-entities#deployment) for an [application](https://hathora.dev/docs/concepts/hathora-entities#application). * @return The response from the API call * @throws Exception if the API call fails @@ -556,6 +567,7 @@ public GetLatestDeploymentV2DeprecatedResponse getLatestDeploymentV2DeprecatedDi } /** + * GetLatestDeploymentV2Deprecated * Get the latest [deployment](https://hathora.dev/docs/concepts/hathora-entities#deployment) for an [application](https://hathora.dev/docs/concepts/hathora-entities#application). * @param appId * @return The response from the API call diff --git a/src/main/java/dev/hathora/cloud_sdk/DeploymentsV3.java b/src/main/java/dev/hathora/cloud_sdk/DeploymentsV3.java index 7dec1433..58950328 100644 --- a/src/main/java/dev/hathora/cloud_sdk/DeploymentsV3.java +++ b/src/main/java/dev/hathora/cloud_sdk/DeploymentsV3.java @@ -57,6 +57,7 @@ public class DeploymentsV3 implements /** + * 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. * @return The call builder */ @@ -65,6 +66,7 @@ public CreateDeploymentRequestBuilder 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. * @param deploymentConfigV3 * @return The response from the API call @@ -76,6 +78,7 @@ public CreateDeploymentResponse 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. * @param deploymentConfigV3 * @param appId @@ -220,6 +223,7 @@ public CreateDeploymentResponse createDeployment( /** + * GetDeployment * Get details for a [deployment](https://hathora.dev/docs/concepts/hathora-entities#deployment). * @return The call builder */ @@ -228,6 +232,7 @@ public GetDeploymentRequestBuilder getDeployment() { } /** + * GetDeployment * Get details for a [deployment](https://hathora.dev/docs/concepts/hathora-entities#deployment). * @param deploymentId * @return The response from the API call @@ -239,6 +244,7 @@ public GetDeploymentResponse getDeployment( } /** + * GetDeployment * Get details for a [deployment](https://hathora.dev/docs/concepts/hathora-entities#deployment). * @param appId * @param deploymentId @@ -370,6 +376,7 @@ public GetDeploymentResponse getDeployment( /** + * GetDeployments * Returns an array of [deployments](https://hathora.dev/docs/concepts/hathora-entities#deployment) for an [application](https://hathora.dev/docs/concepts/hathora-entities#application), optionally filtered by deploymentTag. * @return The call builder */ @@ -378,6 +385,7 @@ public GetDeploymentsRequestBuilder getDeployments() { } /** + * GetDeployments * Returns an array of [deployments](https://hathora.dev/docs/concepts/hathora-entities#deployment) for an [application](https://hathora.dev/docs/concepts/hathora-entities#application), optionally filtered by deploymentTag. * @return The response from the API call * @throws Exception if the API call fails @@ -387,6 +395,7 @@ public GetDeploymentsResponse getDeploymentsDirect() throws Exception { } /** + * GetDeployments * Returns an array of [deployments](https://hathora.dev/docs/concepts/hathora-entities#deployment) for an [application](https://hathora.dev/docs/concepts/hathora-entities#application), optionally filtered by deploymentTag. * @param appId * @param deploymentTag @@ -523,6 +532,7 @@ public GetDeploymentsResponse getDeployments( /** + * GetLatestDeployment * Get the latest [deployment](https://hathora.dev/docs/concepts/hathora-entities#deployment) for an [application](https://hathora.dev/docs/concepts/hathora-entities#application). * @return The call builder */ @@ -531,6 +541,7 @@ public GetLatestDeploymentRequestBuilder getLatestDeployment() { } /** + * GetLatestDeployment * Get the latest [deployment](https://hathora.dev/docs/concepts/hathora-entities#deployment) for an [application](https://hathora.dev/docs/concepts/hathora-entities#application). * @return The response from the API call * @throws Exception if the API call fails @@ -540,6 +551,7 @@ public GetLatestDeploymentResponse getLatestDeploymentDirect() throws Exception } /** + * GetLatestDeployment * Get the latest [deployment](https://hathora.dev/docs/concepts/hathora-entities#deployment) for an [application](https://hathora.dev/docs/concepts/hathora-entities#application). * @param appId * @return The response from the API call diff --git a/src/main/java/dev/hathora/cloud_sdk/DiscoveryV1.java b/src/main/java/dev/hathora/cloud_sdk/DiscoveryV1.java index dd14ce47..2663cfe7 100644 --- a/src/main/java/dev/hathora/cloud_sdk/DiscoveryV1.java +++ b/src/main/java/dev/hathora/cloud_sdk/DiscoveryV1.java @@ -39,6 +39,7 @@ public class DiscoveryV1 implements /** + * GetPingServiceEndpointsDeprecated * Returns an array of V1 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. * @return The call builder * @deprecated method: This will be removed in a future release, please migrate away from it as soon as possible. @@ -49,6 +50,7 @@ public GetPingServiceEndpointsDeprecatedRequestBuilder getPingServiceEndpointsDe } /** + * GetPingServiceEndpointsDeprecated * Returns an array of V1 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. * @return The response from the API call * @throws Exception if the API call fails diff --git a/src/main/java/dev/hathora/cloud_sdk/DiscoveryV2.java b/src/main/java/dev/hathora/cloud_sdk/DiscoveryV2.java index e84b2611..52fd9d1e 100644 --- a/src/main/java/dev/hathora/cloud_sdk/DiscoveryV2.java +++ b/src/main/java/dev/hathora/cloud_sdk/DiscoveryV2.java @@ -38,6 +38,7 @@ public class DiscoveryV2 implements /** + * 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. * @return The call builder */ @@ -46,6 +47,7 @@ public GetPingServiceEndpointsRequestBuilder getPingServiceEndpoints() { } /** + * 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. * @return The response from the API call * @throws Exception if the API call fails diff --git a/src/main/java/dev/hathora/cloud_sdk/FleetsV1.java b/src/main/java/dev/hathora/cloud_sdk/FleetsV1.java index 4b554a10..58aaba39 100644 --- a/src/main/java/dev/hathora/cloud_sdk/FleetsV1.java +++ b/src/main/java/dev/hathora/cloud_sdk/FleetsV1.java @@ -58,6 +58,7 @@ public class FleetsV1 implements /** + * GetFleetMetrics * Gets metrics for a [fleet](https://hathora.dev/docs/concepts/hathora-entities#fleet) in a region. * @return The call builder */ @@ -66,6 +67,7 @@ public GetFleetMetricsRequestBuilder getFleetMetrics() { } /** + * GetFleetMetrics * Gets metrics for a [fleet](https://hathora.dev/docs/concepts/hathora-entities#fleet) in a region. * @param request The request object containing all of the parameters for the API call. * @return The response from the API call @@ -193,6 +195,7 @@ public GetFleetMetricsResponse getFleetMetrics( /** + * GetFleetRegion * Gets the configuration for a given [fleet](https://hathora.dev/docs/concepts/hathora-entities#fleet) in a region. * @return The call builder */ @@ -201,6 +204,7 @@ public GetFleetRegionRequestBuilder getFleetRegion() { } /** + * GetFleetRegion * Gets the configuration for a given [fleet](https://hathora.dev/docs/concepts/hathora-entities#fleet) in a region. * @param fleetId * @param region @@ -214,6 +218,7 @@ public GetFleetRegionResponse getFleetRegion( } /** + * GetFleetRegion * Gets the configuration for a given [fleet](https://hathora.dev/docs/concepts/hathora-entities#fleet) in a region. * @param fleetId * @param orgId @@ -353,6 +358,7 @@ public GetFleetRegionResponse getFleetRegion( /** + * GetFleets * Returns an array of [fleets](https://hathora.dev/docs/concepts/hathora-entities#fleet). * @return The call builder */ @@ -361,6 +367,7 @@ public GetFleetsRequestBuilder getFleets() { } /** + * GetFleets * Returns an array of [fleets](https://hathora.dev/docs/concepts/hathora-entities#fleet). * @return The response from the API call * @throws Exception if the API call fails @@ -370,6 +377,7 @@ public GetFleetsResponse getFleetsDirect() throws Exception { } /** + * GetFleets * Returns an array of [fleets](https://hathora.dev/docs/concepts/hathora-entities#fleet). * @param orgId * @return The response from the API call @@ -501,6 +509,7 @@ public GetFleetsResponse getFleets( /** + * UpdateFleetRegion * Updates the configuration for a given [fleet](https://hathora.dev/docs/concepts/hathora-entities#fleet) in a region. * @return The call builder */ @@ -509,6 +518,7 @@ public UpdateFleetRegionRequestBuilder updateFleetRegion() { } /** + * UpdateFleetRegion * Updates the configuration for a given [fleet](https://hathora.dev/docs/concepts/hathora-entities#fleet) in a region. * @param request The request object containing all of the parameters for the API call. * @return The response from the API call diff --git a/src/main/java/dev/hathora/cloud_sdk/LobbiesV1.java b/src/main/java/dev/hathora/cloud_sdk/LobbiesV1.java index 66a153ab..44610b96 100644 --- a/src/main/java/dev/hathora/cloud_sdk/LobbiesV1.java +++ b/src/main/java/dev/hathora/cloud_sdk/LobbiesV1.java @@ -50,6 +50,7 @@ public class LobbiesV1 implements /** + * CreatePrivateLobbyDeprecated * @return The call builder * @deprecated method: This will be removed in a future release, please migrate away from it as soon as possible. */ @@ -59,6 +60,7 @@ public CreatePrivateLobbyDeprecatedRequestBuilder createPrivateLobbyDeprecated() } /** + * CreatePrivateLobbyDeprecated * @param security The security details to use for authentication. * @return The response from the API call * @throws Exception if the API call fails @@ -71,6 +73,7 @@ public CreatePrivateLobbyDeprecatedResponse createPrivateLobbyDeprecated( } /** + * CreatePrivateLobbyDeprecated * @param security The security details to use for authentication. * @param appId * @param local @@ -212,6 +215,7 @@ public CreatePrivateLobbyDeprecatedResponse createPrivateLobbyDeprecated( /** + * CreatePublicLobbyDeprecated * @return The call builder * @deprecated method: This will be removed in a future release, please migrate away from it as soon as possible. */ @@ -221,6 +225,7 @@ public CreatePublicLobbyDeprecatedRequestBuilder createPublicLobbyDeprecated() { } /** + * CreatePublicLobbyDeprecated * @param security The security details to use for authentication. * @return The response from the API call * @throws Exception if the API call fails @@ -233,6 +238,7 @@ public CreatePublicLobbyDeprecatedResponse createPublicLobbyDeprecated( } /** + * CreatePublicLobbyDeprecated * @param security The security details to use for authentication. * @param appId * @param local @@ -374,6 +380,7 @@ public CreatePublicLobbyDeprecatedResponse createPublicLobbyDeprecated( /** + * ListActivePublicLobbiesDeprecatedV1 * @return The call builder * @deprecated method: This will be removed in a future release, please migrate away from it as soon as possible. */ @@ -383,6 +390,7 @@ public ListActivePublicLobbiesDeprecatedV1RequestBuilder listActivePublicLobbies } /** + * ListActivePublicLobbiesDeprecatedV1 * @return The response from the API call * @throws Exception if the API call fails * @deprecated method: This will be removed in a future release, please migrate away from it as soon as possible. @@ -393,6 +401,7 @@ public ListActivePublicLobbiesDeprecatedV1Response listActivePublicLobbiesDeprec } /** + * ListActivePublicLobbiesDeprecatedV1 * @param appId * @param local * @param region diff --git a/src/main/java/dev/hathora/cloud_sdk/LobbiesV2.java b/src/main/java/dev/hathora/cloud_sdk/LobbiesV2.java index 19b17f0b..afc10514 100644 --- a/src/main/java/dev/hathora/cloud_sdk/LobbiesV2.java +++ b/src/main/java/dev/hathora/cloud_sdk/LobbiesV2.java @@ -75,6 +75,7 @@ public class LobbiesV2 implements /** + * CreateLobbyDeprecated * Create a new lobby for an [application](https://hathora.dev/docs/concepts/hathora-entities#application). A lobby object is a wrapper around a [room](https://hathora.dev/docs/concepts/hathora-entities#room) object. With a lobby, you get additional functionality like configuring the visibility of the room, managing the state of a match, and retrieving a list of public lobbies to display to players. * @return The call builder * @deprecated method: This will be removed in a future release, please migrate away from it as soon as possible. @@ -85,6 +86,7 @@ public CreateLobbyDeprecatedRequestBuilder createLobbyDeprecated() { } /** + * CreateLobbyDeprecated * Create a new lobby for an [application](https://hathora.dev/docs/concepts/hathora-entities#application). A lobby object is a wrapper around a [room](https://hathora.dev/docs/concepts/hathora-entities#room) object. With a lobby, you get additional functionality like configuring the visibility of the room, managing the state of a match, and retrieving a list of public lobbies to display to players. * @param security The security details to use for authentication. * @param createLobbyParams @@ -100,6 +102,7 @@ public CreateLobbyDeprecatedResponse createLobbyDeprecated( } /** + * CreateLobbyDeprecated * Create a new lobby for an [application](https://hathora.dev/docs/concepts/hathora-entities#application). A lobby object is a wrapper around a [room](https://hathora.dev/docs/concepts/hathora-entities#room) object. With a lobby, you get additional functionality like configuring the visibility of the room, managing the state of a match, and retrieving a list of public lobbies to display to players. * @param security The security details to use for authentication. * @param createLobbyParams @@ -255,6 +258,7 @@ public CreateLobbyDeprecatedResponse createLobbyDeprecated( /** + * CreateLocalLobby * @return The call builder * @deprecated method: This will be removed in a future release, please migrate away from it as soon as possible. */ @@ -264,6 +268,7 @@ public CreateLocalLobbyRequestBuilder createLocalLobby() { } /** + * CreateLocalLobby * @param security The security details to use for authentication. * @param requestBody * @return The response from the API call @@ -278,6 +283,7 @@ public CreateLocalLobbyResponse createLocalLobby( } /** + * CreateLocalLobby * @param security The security details to use for authentication. * @param requestBody * @param appId @@ -432,6 +438,7 @@ public CreateLocalLobbyResponse createLocalLobby( /** + * CreatePrivateLobby * @return The call builder * @deprecated method: This will be removed in a future release, please migrate away from it as soon as possible. */ @@ -441,6 +448,7 @@ public CreatePrivateLobbyRequestBuilder createPrivateLobby() { } /** + * CreatePrivateLobby * @param security The security details to use for authentication. * @param requestBody * @return The response from the API call @@ -455,6 +463,7 @@ public CreatePrivateLobbyResponse createPrivateLobby( } /** + * CreatePrivateLobby * @param security The security details to use for authentication. * @param requestBody * @param appId @@ -609,6 +618,7 @@ public CreatePrivateLobbyResponse createPrivateLobby( /** + * CreatePublicLobby * @return The call builder * @deprecated method: This will be removed in a future release, please migrate away from it as soon as possible. */ @@ -618,6 +628,7 @@ public CreatePublicLobbyRequestBuilder createPublicLobby() { } /** + * CreatePublicLobby * @param security The security details to use for authentication. * @param requestBody * @return The response from the API call @@ -632,6 +643,7 @@ public CreatePublicLobbyResponse createPublicLobby( } /** + * CreatePublicLobby * @param security The security details to use for authentication. * @param requestBody * @param appId @@ -786,6 +798,7 @@ public CreatePublicLobbyResponse createPublicLobby( /** + * GetLobbyInfo * Get details for a lobby. * @return The call builder * @deprecated method: This will be removed in a future release, please migrate away from it as soon as possible. @@ -796,6 +809,7 @@ public GetLobbyInfoRequestBuilder getLobbyInfo() { } /** + * GetLobbyInfo * Get details for a lobby. * @param roomId * @return The response from the API call @@ -809,6 +823,7 @@ public GetLobbyInfoResponse getLobbyInfo( } /** + * GetLobbyInfo * Get details for a lobby. * @param appId * @param roomId @@ -939,6 +954,7 @@ public GetLobbyInfoResponse getLobbyInfo( /** + * ListActivePublicLobbiesDeprecatedV2 * Get all active lobbies for a an [application](https://hathora.dev/docs/concepts/hathora-entities#application). Filter by optionally passing in a `region`. Use this endpoint to display all public lobbies that a player can join in the game client. * @return The call builder * @deprecated method: This will be removed in a future release, please migrate away from it as soon as possible. @@ -949,6 +965,7 @@ public ListActivePublicLobbiesDeprecatedV2RequestBuilder listActivePublicLobbies } /** + * ListActivePublicLobbiesDeprecatedV2 * Get all active lobbies for a an [application](https://hathora.dev/docs/concepts/hathora-entities#application). Filter by optionally passing in a `region`. Use this endpoint to display all public lobbies that a player can join in the game client. * @return The response from the API call * @throws Exception if the API call fails @@ -960,6 +977,7 @@ public ListActivePublicLobbiesDeprecatedV2Response listActivePublicLobbiesDeprec } /** + * ListActivePublicLobbiesDeprecatedV2 * Get all active lobbies for a an [application](https://hathora.dev/docs/concepts/hathora-entities#application). Filter by optionally passing in a `region`. Use this endpoint to display all public lobbies that a player can join in the game client. * @param appId * @param region @@ -1095,6 +1113,7 @@ public ListActivePublicLobbiesDeprecatedV2Response listActivePublicLobbiesDeprec /** + * SetLobbyState * Set the state of a lobby. State is intended to be set by the server and must be smaller than 1MB. Use this endpoint to store match data like live player count to enforce max number of clients or persist end-game data (i.e. winner or final scores). * @return The call builder * @deprecated method: This will be removed in a future release, please migrate away from it as soon as possible. @@ -1105,6 +1124,7 @@ public SetLobbyStateRequestBuilder setLobbyState() { } /** + * SetLobbyState * Set the state of a lobby. State is intended to be set by the server and must be smaller than 1MB. Use this endpoint to store match data like live player count to enforce max number of clients or persist end-game data (i.e. winner or final scores). * @param setLobbyStateParams * @param roomId @@ -1120,6 +1140,7 @@ public SetLobbyStateResponse setLobbyState( } /** + * SetLobbyState * Set the state of a lobby. State is intended to be set by the server and must be smaller than 1MB. Use this endpoint to store match data like live player count to enforce max number of clients or persist end-game data (i.e. winner or final scores). * @param setLobbyStateParams * @param appId diff --git a/src/main/java/dev/hathora/cloud_sdk/LobbiesV3.java b/src/main/java/dev/hathora/cloud_sdk/LobbiesV3.java index 7e476bd6..1afd24aa 100644 --- a/src/main/java/dev/hathora/cloud_sdk/LobbiesV3.java +++ b/src/main/java/dev/hathora/cloud_sdk/LobbiesV3.java @@ -54,6 +54,7 @@ public class LobbiesV3 implements /** + * CreateLobby * Create a new lobby for an [application](https://hathora.dev/docs/concepts/hathora-entities#application). A lobby object is a wrapper around a [room](https://hathora.dev/docs/concepts/hathora-entities#room) object. With a lobby, you get additional functionality like configuring the visibility of the room, managing the state of a match, and retrieving a list of public lobbies to display to players. * @return The call builder */ @@ -62,6 +63,7 @@ public CreateLobbyRequestBuilder createLobby() { } /** + * CreateLobby * Create a new lobby for an [application](https://hathora.dev/docs/concepts/hathora-entities#application). A lobby object is a wrapper around a [room](https://hathora.dev/docs/concepts/hathora-entities#room) object. With a lobby, you get additional functionality like configuring the visibility of the room, managing the state of a match, and retrieving a list of public lobbies to display to players. * @param request The request object containing all of the parameters for the API call. * @param security The security details to use for authentication. @@ -203,6 +205,7 @@ public CreateLobbyResponse createLobby( /** + * GetLobbyInfoByRoomId * Get details for a lobby. * @return The call builder */ @@ -211,6 +214,7 @@ public GetLobbyInfoByRoomIdRequestBuilder getLobbyInfoByRoomId() { } /** + * GetLobbyInfoByRoomId * Get details for a lobby. * @param roomId * @return The response from the API call @@ -222,6 +226,7 @@ public GetLobbyInfoByRoomIdResponse getLobbyInfoByRoomId( } /** + * GetLobbyInfoByRoomId * Get details for a lobby. * @param appId * @param roomId @@ -350,6 +355,7 @@ public GetLobbyInfoByRoomIdResponse getLobbyInfoByRoomId( /** + * GetLobbyInfoByShortCode * Get details for a lobby. If 2 or more lobbies have the same `shortCode`, then the most recently created lobby will be returned. * @return The call builder */ @@ -358,6 +364,7 @@ public GetLobbyInfoByShortCodeRequestBuilder getLobbyInfoByShortCode() { } /** + * GetLobbyInfoByShortCode * Get details for a lobby. If 2 or more lobbies have the same `shortCode`, then the most recently created lobby will be returned. * @param shortCode * @return The response from the API call @@ -369,6 +376,7 @@ public GetLobbyInfoByShortCodeResponse getLobbyInfoByShortCode( } /** + * GetLobbyInfoByShortCode * Get details for a lobby. If 2 or more lobbies have the same `shortCode`, then the most recently created lobby will be returned. * @param appId * @param shortCode @@ -497,6 +505,7 @@ public GetLobbyInfoByShortCodeResponse getLobbyInfoByShortCode( /** + * ListActivePublicLobbies * Get all active lobbies for a given [application](https://hathora.dev/docs/concepts/hathora-entities#application). Filter the array by optionally passing in a `region`. Use this endpoint to display all public lobbies that a player can join in the game client. * @return The call builder */ @@ -505,6 +514,7 @@ public ListActivePublicLobbiesRequestBuilder listActivePublicLobbies() { } /** + * ListActivePublicLobbies * Get all active lobbies for a given [application](https://hathora.dev/docs/concepts/hathora-entities#application). Filter the array by optionally passing in a `region`. Use this endpoint to display all public lobbies that a player can join in the game client. * @return The response from the API call * @throws Exception if the API call fails @@ -514,6 +524,7 @@ public ListActivePublicLobbiesResponse listActivePublicLobbiesDirect() throws Ex } /** + * ListActivePublicLobbies * Get all active lobbies for a given [application](https://hathora.dev/docs/concepts/hathora-entities#application). Filter the array by optionally passing in a `region`. Use this endpoint to display all public lobbies that a player can join in the game client. * @param appId * @param region diff --git a/src/main/java/dev/hathora/cloud_sdk/LogsV1.java b/src/main/java/dev/hathora/cloud_sdk/LogsV1.java index a67a8c27..8e205d56 100644 --- a/src/main/java/dev/hathora/cloud_sdk/LogsV1.java +++ b/src/main/java/dev/hathora/cloud_sdk/LogsV1.java @@ -40,6 +40,7 @@ public class LogsV1 implements /** + * DownloadLogForProcess * Download entire log file for a stopped process. * @return The call builder */ @@ -48,6 +49,7 @@ public DownloadLogForProcessRequestBuilder downloadLogForProcess() { } /** + * DownloadLogForProcess * Download entire log file for a stopped process. * @param processId * @return The response from the API call @@ -59,6 +61,7 @@ public DownloadLogForProcessResponse downloadLogForProcess( } /** + * DownloadLogForProcess * Download entire log file for a stopped process. * @param appId * @param processId @@ -189,6 +192,7 @@ public DownloadLogForProcessResponse downloadLogForProcess( /** + * GetLogsForProcess * Returns a stream of logs for a [process](https://hathora.dev/docs/concepts/hathora-entities#process) using `appId` and `processId`. * @return The call builder */ @@ -197,6 +201,7 @@ public GetLogsForProcessRequestBuilder getLogsForProcess() { } /** + * GetLogsForProcess * Returns a stream of logs for a [process](https://hathora.dev/docs/concepts/hathora-entities#process) using `appId` and `processId`. * @param request The request object containing all of the parameters for the API call. * @return The response from the API call diff --git a/src/main/java/dev/hathora/cloud_sdk/ManagementV1.java b/src/main/java/dev/hathora/cloud_sdk/ManagementV1.java index 8e2012bd..a57f4635 100644 --- a/src/main/java/dev/hathora/cloud_sdk/ManagementV1.java +++ b/src/main/java/dev/hathora/cloud_sdk/ManagementV1.java @@ -42,10 +42,20 @@ public class ManagementV1 implements } + /** + * SendVerificationEmail + * @return The call builder + */ public SendVerificationEmailRequestBuilder sendVerificationEmail() { return new SendVerificationEmailRequestBuilder(this); } + /** + * SendVerificationEmail + * @param request The request object containing all of the parameters for the API call. + * @return The response from the API call + * @throws Exception if the API call fails + */ public SendVerificationEmailResponse sendVerificationEmail( VerificationEmailRequest request) throws Exception { String _baseUrl = this.sdkConfiguration.serverUrl; diff --git a/src/main/java/dev/hathora/cloud_sdk/MetricsV1.java b/src/main/java/dev/hathora/cloud_sdk/MetricsV1.java index 4138c3c0..19f44af0 100644 --- a/src/main/java/dev/hathora/cloud_sdk/MetricsV1.java +++ b/src/main/java/dev/hathora/cloud_sdk/MetricsV1.java @@ -41,6 +41,7 @@ public class MetricsV1 implements /** + * GetMetricsDeprecated * Get metrics for a [process](https://hathora.dev/docs/concepts/hathora-entities#process) using `appId` and `processId`. * @return The call builder * @deprecated method: This will be removed in a future release, please migrate away from it as soon as possible. @@ -51,6 +52,7 @@ public GetMetricsDeprecatedRequestBuilder getMetricsDeprecated() { } /** + * GetMetricsDeprecated * Get metrics for a [process](https://hathora.dev/docs/concepts/hathora-entities#process) using `appId` and `processId`. * @param request The request object containing all of the parameters for the API call. * @return The response from the API call diff --git a/src/main/java/dev/hathora/cloud_sdk/OrganizationsV1.java b/src/main/java/dev/hathora/cloud_sdk/OrganizationsV1.java index 7812c73b..2ad6a59c 100644 --- a/src/main/java/dev/hathora/cloud_sdk/OrganizationsV1.java +++ b/src/main/java/dev/hathora/cloud_sdk/OrganizationsV1.java @@ -70,10 +70,20 @@ public class OrganizationsV1 implements } + /** + * AcceptInvite + * @return The call builder + */ public AcceptInviteRequestBuilder acceptInvite() { return new AcceptInviteRequestBuilder(this); } + /** + * AcceptInvite + * @param orgId + * @return The response from the API call + * @throws Exception if the API call fails + */ public AcceptInviteResponse acceptInvite( String orgId) throws Exception { AcceptInviteRequest request = @@ -185,10 +195,20 @@ public AcceptInviteResponse acceptInvite( + /** + * GetOrgMembers + * @return The call builder + */ public GetOrgMembersRequestBuilder getOrgMembers() { return new GetOrgMembersRequestBuilder(this); } + /** + * GetOrgMembers + * @param orgId + * @return The response from the API call + * @throws Exception if the API call fails + */ public GetOrgMembersResponse getOrgMembers( String orgId) throws Exception { GetOrgMembersRequest request = @@ -311,10 +331,20 @@ public GetOrgMembersResponse getOrgMembers( + /** + * GetOrgPendingInvites + * @return The call builder + */ public GetOrgPendingInvitesRequestBuilder getOrgPendingInvites() { return new GetOrgPendingInvitesRequestBuilder(this); } + /** + * GetOrgPendingInvites + * @param orgId + * @return The response from the API call + * @throws Exception if the API call fails + */ public GetOrgPendingInvitesResponse getOrgPendingInvites( String orgId) throws Exception { GetOrgPendingInvitesRequest request = @@ -438,6 +468,7 @@ public GetOrgPendingInvitesResponse getOrgPendingInvites( /** + * GetOrgs * Returns an unsorted list of all organizations that you are a member of (an accepted membership invite). An organization is uniquely identified by an `orgId`. * @return The call builder */ @@ -446,6 +477,7 @@ public GetOrgsRequestBuilder getOrgs() { } /** + * GetOrgs * Returns an unsorted list of all organizations that you are a member of (an accepted membership invite). An organization is uniquely identified by an `orgId`. * @return The response from the API call * @throws Exception if the API call fails @@ -563,10 +595,19 @@ public GetOrgsResponse getOrgsDirect() throws Exception { + /** + * GetUserPendingInvites + * @return The call builder + */ public GetUserPendingInvitesRequestBuilder getUserPendingInvites() { return new GetUserPendingInvitesRequestBuilder(this); } + /** + * GetUserPendingInvites + * @return The response from the API call + * @throws Exception if the API call fails + */ public GetUserPendingInvitesResponse getUserPendingInvitesDirect() throws Exception { String _baseUrl = this.sdkConfiguration.serverUrl; String _url = Utils.generateURL( @@ -680,10 +721,21 @@ public GetUserPendingInvitesResponse getUserPendingInvitesDirect() throws Except + /** + * InviteUser + * @return The call builder + */ public InviteUserRequestBuilder inviteUser() { return new InviteUserRequestBuilder(this); } + /** + * InviteUser + * @param createUserInvite + * @param orgId + * @return The response from the API call + * @throws Exception if the API call fails + */ public InviteUserResponse inviteUser( CreateUserInvite createUserInvite, String orgId) throws Exception { @@ -821,10 +873,20 @@ public InviteUserResponse inviteUser( + /** + * RejectInvite + * @return The call builder + */ public RejectInviteRequestBuilder rejectInvite() { return new RejectInviteRequestBuilder(this); } + /** + * RejectInvite + * @param orgId + * @return The response from the API call + * @throws Exception if the API call fails + */ public RejectInviteResponse rejectInvite( String orgId) throws Exception { RejectInviteRequest request = @@ -936,10 +998,21 @@ public RejectInviteResponse rejectInvite( + /** + * RescindInvite + * @return The call builder + */ public RescindInviteRequestBuilder rescindInvite() { return new RescindInviteRequestBuilder(this); } + /** + * RescindInvite + * @param rescindUserInvite + * @param orgId + * @return The response from the API call + * @throws Exception if the API call fails + */ public RescindInviteResponse rescindInvite( RescindUserInvite rescindUserInvite, String orgId) throws Exception { diff --git a/src/main/java/dev/hathora/cloud_sdk/ProcessesV1.java b/src/main/java/dev/hathora/cloud_sdk/ProcessesV1.java index 50930898..cee1a3ee 100644 --- a/src/main/java/dev/hathora/cloud_sdk/ProcessesV1.java +++ b/src/main/java/dev/hathora/cloud_sdk/ProcessesV1.java @@ -51,6 +51,7 @@ public class ProcessesV1 implements /** + * GetProcessInfoDeprecated * Get details for a [process](https://hathora.dev/docs/concepts/hathora-entities#process). * @return The call builder * @deprecated method: This will be removed in a future release, please migrate away from it as soon as possible. @@ -61,6 +62,7 @@ public GetProcessInfoDeprecatedRequestBuilder getProcessInfoDeprecated() { } /** + * GetProcessInfoDeprecated * Get details for a [process](https://hathora.dev/docs/concepts/hathora-entities#process). * @param processId * @return The response from the API call @@ -74,6 +76,7 @@ public GetProcessInfoDeprecatedResponse getProcessInfoDeprecated( } /** + * GetProcessInfoDeprecated * Get details for a [process](https://hathora.dev/docs/concepts/hathora-entities#process). * @param appId * @param processId @@ -207,6 +210,7 @@ public GetProcessInfoDeprecatedResponse getProcessInfoDeprecated( /** + * GetRunningProcesses * Retrieve 10 most recently started [process](https://hathora.dev/docs/concepts/hathora-entities#process) objects for an [application](https://hathora.dev/docs/concepts/hathora-entities#application). Filter the array by optionally passing in a `region`. * @return The call builder * @deprecated method: This will be removed in a future release, please migrate away from it as soon as possible. @@ -217,6 +221,7 @@ public GetRunningProcessesRequestBuilder getRunningProcesses() { } /** + * GetRunningProcesses * Retrieve 10 most recently started [process](https://hathora.dev/docs/concepts/hathora-entities#process) objects for an [application](https://hathora.dev/docs/concepts/hathora-entities#application). Filter the array by optionally passing in a `region`. * @return The response from the API call * @throws Exception if the API call fails @@ -228,6 +233,7 @@ public GetRunningProcessesResponse getRunningProcessesDirect() throws Exception } /** + * GetRunningProcesses * Retrieve 10 most recently started [process](https://hathora.dev/docs/concepts/hathora-entities#process) objects for an [application](https://hathora.dev/docs/concepts/hathora-entities#application). Filter the array by optionally passing in a `region`. * @param appId * @param region @@ -366,6 +372,7 @@ public GetRunningProcessesResponse getRunningProcesses( /** + * GetStoppedProcesses * Retrieve 10 most recently stopped [process](https://hathora.dev/docs/concepts/hathora-entities#process) objects for an [application](https://hathora.dev/docs/concepts/hathora-entities#application). Filter the array by optionally passing in a `region`. * @return The call builder * @deprecated method: This will be removed in a future release, please migrate away from it as soon as possible. @@ -376,6 +383,7 @@ public GetStoppedProcessesRequestBuilder getStoppedProcesses() { } /** + * GetStoppedProcesses * Retrieve 10 most recently stopped [process](https://hathora.dev/docs/concepts/hathora-entities#process) objects for an [application](https://hathora.dev/docs/concepts/hathora-entities#application). Filter the array by optionally passing in a `region`. * @return The response from the API call * @throws Exception if the API call fails @@ -387,6 +395,7 @@ public GetStoppedProcessesResponse getStoppedProcessesDirect() throws Exception } /** + * GetStoppedProcesses * Retrieve 10 most recently stopped [process](https://hathora.dev/docs/concepts/hathora-entities#process) objects for an [application](https://hathora.dev/docs/concepts/hathora-entities#application). Filter the array by optionally passing in a `region`. * @param appId * @param region diff --git a/src/main/java/dev/hathora/cloud_sdk/ProcessesV2.java b/src/main/java/dev/hathora/cloud_sdk/ProcessesV2.java index 0c07ce86..a6eeb43c 100644 --- a/src/main/java/dev/hathora/cloud_sdk/ProcessesV2.java +++ b/src/main/java/dev/hathora/cloud_sdk/ProcessesV2.java @@ -60,6 +60,7 @@ public class ProcessesV2 implements /** + * CreateProcessV2Deprecated * 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. * @return The call builder * @deprecated method: This will be removed in a future release, please migrate away from it as soon as possible. @@ -70,6 +71,7 @@ public CreateProcessV2DeprecatedRequestBuilder createProcessV2Deprecated() { } /** + * CreateProcessV2Deprecated * 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. * @param region * @return The response from the API call @@ -83,6 +85,7 @@ public CreateProcessV2DeprecatedResponse createProcessV2Deprecated( } /** + * CreateProcessV2Deprecated * 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. * @param appId * @param region @@ -216,6 +219,7 @@ public CreateProcessV2DeprecatedResponse createProcessV2Deprecated( /** + * GetLatestProcessesV2Deprecated * Retrieve the 10 most recent [processes](https://hathora.dev/docs/concepts/hathora-entities#process) objects for an [application](https://hathora.dev/docs/concepts/hathora-entities#application). Filter the array by optionally passing in a `status` or `region`. * @return The call builder * @deprecated method: This will be removed in a future release, please migrate away from it as soon as possible. @@ -226,6 +230,7 @@ public GetLatestProcessesV2DeprecatedRequestBuilder getLatestProcessesV2Deprecat } /** + * GetLatestProcessesV2Deprecated * Retrieve the 10 most recent [processes](https://hathora.dev/docs/concepts/hathora-entities#process) objects for an [application](https://hathora.dev/docs/concepts/hathora-entities#application). Filter the array by optionally passing in a `status` or `region`. * @return The response from the API call * @throws Exception if the API call fails @@ -237,6 +242,7 @@ public GetLatestProcessesV2DeprecatedResponse getLatestProcessesV2DeprecatedDire } /** + * GetLatestProcessesV2Deprecated * Retrieve the 10 most recent [processes](https://hathora.dev/docs/concepts/hathora-entities#process) objects for an [application](https://hathora.dev/docs/concepts/hathora-entities#application). Filter the array by optionally passing in a `status` or `region`. * @param appId * @param region @@ -378,6 +384,7 @@ public GetLatestProcessesV2DeprecatedResponse getLatestProcessesV2Deprecated( /** + * GetProcessInfoV2Deprecated * Get details for a [process](https://hathora.dev/docs/concepts/hathora-entities#process). * @return The call builder * @deprecated method: This will be removed in a future release, please migrate away from it as soon as possible. @@ -388,6 +395,7 @@ public GetProcessInfoV2DeprecatedRequestBuilder getProcessInfoV2Deprecated() { } /** + * GetProcessInfoV2Deprecated * Get details for a [process](https://hathora.dev/docs/concepts/hathora-entities#process). * @param processId * @return The response from the API call @@ -401,6 +409,7 @@ public GetProcessInfoV2DeprecatedResponse getProcessInfoV2Deprecated( } /** + * GetProcessInfoV2Deprecated * Get details for a [process](https://hathora.dev/docs/concepts/hathora-entities#process). * @param appId * @param processId @@ -534,6 +543,7 @@ public GetProcessInfoV2DeprecatedResponse getProcessInfoV2Deprecated( /** + * GetProcessesCountExperimentalV2Deprecated * Count the number of [processes](https://hathora.dev/docs/concepts/hathora-entities#process) objects for an [application](https://hathora.dev/docs/concepts/hathora-entities#application). Filter by optionally passing in a `status` or `region`. * @return The call builder * @deprecated method: This will be removed in a future release, please migrate away from it as soon as possible. @@ -544,6 +554,7 @@ public GetProcessesCountExperimentalV2DeprecatedRequestBuilder getProcessesCount } /** + * GetProcessesCountExperimentalV2Deprecated * Count the number of [processes](https://hathora.dev/docs/concepts/hathora-entities#process) objects for an [application](https://hathora.dev/docs/concepts/hathora-entities#application). Filter by optionally passing in a `status` or `region`. * @return The response from the API call * @throws Exception if the API call fails @@ -555,6 +566,7 @@ public GetProcessesCountExperimentalV2DeprecatedResponse getProcessesCountExperi } /** + * GetProcessesCountExperimentalV2Deprecated * Count the number of [processes](https://hathora.dev/docs/concepts/hathora-entities#process) objects for an [application](https://hathora.dev/docs/concepts/hathora-entities#application). Filter by optionally passing in a `status` or `region`. * @param appId * @param region @@ -696,6 +708,7 @@ public GetProcessesCountExperimentalV2DeprecatedResponse getProcessesCountExperi /** + * StopProcessV2Deprecated * Stops a [process](https://hathora.dev/docs/concepts/hathora-entities#process) immediately. * @return The call builder * @deprecated method: This will be removed in a future release, please migrate away from it as soon as possible. @@ -706,6 +719,7 @@ public StopProcessV2DeprecatedRequestBuilder stopProcessV2Deprecated() { } /** + * StopProcessV2Deprecated * Stops a [process](https://hathora.dev/docs/concepts/hathora-entities#process) immediately. * @param processId * @return The response from the API call @@ -719,6 +733,7 @@ public StopProcessV2DeprecatedResponse stopProcessV2Deprecated( } /** + * StopProcessV2Deprecated * Stops a [process](https://hathora.dev/docs/concepts/hathora-entities#process) immediately. * @param appId * @param processId diff --git a/src/main/java/dev/hathora/cloud_sdk/ProcessesV3.java b/src/main/java/dev/hathora/cloud_sdk/ProcessesV3.java index 77508448..0b916c51 100644 --- a/src/main/java/dev/hathora/cloud_sdk/ProcessesV3.java +++ b/src/main/java/dev/hathora/cloud_sdk/ProcessesV3.java @@ -64,6 +64,7 @@ public class ProcessesV3 implements /** + * 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. * @return The call builder */ @@ -72,6 +73,7 @@ public CreateProcessRequestBuilder 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. * @param region * @return The response from the API call @@ -83,6 +85,7 @@ public CreateProcessResponse 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. * @param appId * @param region @@ -214,6 +217,7 @@ public CreateProcessResponse createProcess( /** + * GetLatestProcesses * Retrieve the 10 most recent [processes](https://hathora.dev/docs/concepts/hathora-entities#process) objects for an [application](https://hathora.dev/docs/concepts/hathora-entities#application). Filter the array by optionally passing in a `status` or `region`. * @return The call builder */ @@ -222,6 +226,7 @@ public GetLatestProcessesRequestBuilder getLatestProcesses() { } /** + * GetLatestProcesses * Retrieve the 10 most recent [processes](https://hathora.dev/docs/concepts/hathora-entities#process) objects for an [application](https://hathora.dev/docs/concepts/hathora-entities#application). Filter the array by optionally passing in a `status` or `region`. * @return The response from the API call * @throws Exception if the API call fails @@ -231,6 +236,7 @@ public GetLatestProcessesResponse getLatestProcessesDirect() throws Exception { } /** + * GetLatestProcesses * Retrieve the 10 most recent [processes](https://hathora.dev/docs/concepts/hathora-entities#process) objects for an [application](https://hathora.dev/docs/concepts/hathora-entities#application). Filter the array by optionally passing in a `status` or `region`. * @param appId * @param region @@ -370,6 +376,7 @@ public GetLatestProcessesResponse getLatestProcesses( /** + * GetProcess * Get details for a [process](https://hathora.dev/docs/concepts/hathora-entities#process). * @return The call builder */ @@ -378,6 +385,7 @@ public GetProcessRequestBuilder getProcess() { } /** + * GetProcess * Get details for a [process](https://hathora.dev/docs/concepts/hathora-entities#process). * @param processId * @return The response from the API call @@ -389,6 +397,7 @@ public GetProcessResponse getProcess( } /** + * GetProcess * Get details for a [process](https://hathora.dev/docs/concepts/hathora-entities#process). * @param appId * @param processId @@ -519,10 +528,20 @@ public GetProcessResponse getProcess( + /** + * GetProcessMetrics + * @return The call builder + */ public GetProcessMetricsRequestBuilder getProcessMetrics() { return new GetProcessMetricsRequestBuilder(this); } + /** + * GetProcessMetrics + * @param request The request object containing all of the parameters for the API call. + * @return The response from the API call + * @throws Exception if the API call fails + */ public GetProcessMetricsResponse getProcessMetrics( GetProcessMetricsRequest request) throws Exception { String _baseUrl = this.sdkConfiguration.serverUrl; @@ -645,6 +664,7 @@ public GetProcessMetricsResponse getProcessMetrics( /** + * GetProcessesCountExperimental * Count the number of [processes](https://hathora.dev/docs/concepts/hathora-entities#process) objects for an [application](https://hathora.dev/docs/concepts/hathora-entities#application). Filter by optionally passing in a `status` or `region`. * @return The call builder */ @@ -653,6 +673,7 @@ public GetProcessesCountExperimentalRequestBuilder getProcessesCountExperimental } /** + * GetProcessesCountExperimental * Count the number of [processes](https://hathora.dev/docs/concepts/hathora-entities#process) objects for an [application](https://hathora.dev/docs/concepts/hathora-entities#application). Filter by optionally passing in a `status` or `region`. * @return The response from the API call * @throws Exception if the API call fails @@ -662,6 +683,7 @@ public GetProcessesCountExperimentalResponse getProcessesCountExperimentalDirect } /** + * GetProcessesCountExperimental * Count the number of [processes](https://hathora.dev/docs/concepts/hathora-entities#process) objects for an [application](https://hathora.dev/docs/concepts/hathora-entities#application). Filter by optionally passing in a `status` or `region`. * @param appId * @param region @@ -801,6 +823,7 @@ public GetProcessesCountExperimentalResponse getProcessesCountExperimental( /** + * StopProcess * Stops a [process](https://hathora.dev/docs/concepts/hathora-entities#process) immediately. * @return The call builder */ @@ -809,6 +832,7 @@ public StopProcessRequestBuilder stopProcess() { } /** + * StopProcess * Stops a [process](https://hathora.dev/docs/concepts/hathora-entities#process) immediately. * @param processId * @return The response from the API call @@ -820,6 +844,7 @@ public StopProcessResponse stopProcess( } /** + * StopProcess * Stops a [process](https://hathora.dev/docs/concepts/hathora-entities#process) immediately. * @param appId * @param processId diff --git a/src/main/java/dev/hathora/cloud_sdk/RoomsV1.java b/src/main/java/dev/hathora/cloud_sdk/RoomsV1.java index 5ec3cbd4..108d718a 100644 --- a/src/main/java/dev/hathora/cloud_sdk/RoomsV1.java +++ b/src/main/java/dev/hathora/cloud_sdk/RoomsV1.java @@ -68,6 +68,7 @@ public class RoomsV1 implements /** + * CreateRoomDeprecated * @return The call builder * @deprecated method: This will be removed in a future release, please migrate away from it as soon as possible. */ @@ -77,6 +78,7 @@ public CreateRoomDeprecatedRequestBuilder createRoomDeprecated() { } /** + * CreateRoomDeprecated * @param createRoomParams * @return The response from the API call * @throws Exception if the API call fails @@ -89,6 +91,7 @@ public CreateRoomDeprecatedResponse createRoomDeprecated( } /** + * CreateRoomDeprecated * @param createRoomParams * @param appId * @param roomId @@ -242,6 +245,7 @@ public CreateRoomDeprecatedResponse createRoomDeprecated( /** + * DestroyRoomDeprecated * @return The call builder * @deprecated method: This will be removed in a future release, please migrate away from it as soon as possible. */ @@ -251,6 +255,7 @@ public DestroyRoomDeprecatedRequestBuilder destroyRoomDeprecated() { } /** + * DestroyRoomDeprecated * @param roomId * @return The response from the API call * @throws Exception if the API call fails @@ -263,6 +268,7 @@ public DestroyRoomDeprecatedResponse destroyRoomDeprecated( } /** + * DestroyRoomDeprecated * @param appId * @param roomId * @return The response from the API call @@ -384,6 +390,7 @@ public DestroyRoomDeprecatedResponse destroyRoomDeprecated( /** + * GetActiveRoomsForProcessDeprecated * @return The call builder * @deprecated method: This will be removed in a future release, please migrate away from it as soon as possible. */ @@ -393,6 +400,7 @@ public GetActiveRoomsForProcessDeprecatedRequestBuilder getActiveRoomsForProcess } /** + * GetActiveRoomsForProcessDeprecated * @param processId * @return The response from the API call * @throws Exception if the API call fails @@ -405,6 +413,7 @@ public GetActiveRoomsForProcessDeprecatedResponse getActiveRoomsForProcessDeprec } /** + * GetActiveRoomsForProcessDeprecated * @param appId * @param processId * @return The response from the API call @@ -537,6 +546,7 @@ public GetActiveRoomsForProcessDeprecatedResponse getActiveRoomsForProcessDeprec /** + * GetConnectionInfoDeprecated * @return The call builder * @deprecated method: This will be removed in a future release, please migrate away from it as soon as possible. */ @@ -546,6 +556,7 @@ public GetConnectionInfoDeprecatedRequestBuilder getConnectionInfoDeprecated() { } /** + * GetConnectionInfoDeprecated * @param roomId * @return The response from the API call * @throws Exception if the API call fails @@ -558,6 +569,7 @@ public GetConnectionInfoDeprecatedResponse getConnectionInfoDeprecated( } /** + * GetConnectionInfoDeprecated * @param appId * @param roomId * @return The response from the API call @@ -687,6 +699,7 @@ public GetConnectionInfoDeprecatedResponse getConnectionInfoDeprecated( /** + * GetInactiveRoomsForProcessDeprecated * @return The call builder * @deprecated method: This will be removed in a future release, please migrate away from it as soon as possible. */ @@ -696,6 +709,7 @@ public GetInactiveRoomsForProcessDeprecatedRequestBuilder getInactiveRoomsForPro } /** + * GetInactiveRoomsForProcessDeprecated * @param processId * @return The response from the API call * @throws Exception if the API call fails @@ -708,6 +722,7 @@ public GetInactiveRoomsForProcessDeprecatedResponse getInactiveRoomsForProcessDe } /** + * GetInactiveRoomsForProcessDeprecated * @param appId * @param processId * @return The response from the API call @@ -840,6 +855,7 @@ public GetInactiveRoomsForProcessDeprecatedResponse getInactiveRoomsForProcessDe /** + * GetRoomInfoDeprecated * @return The call builder * @deprecated method: This will be removed in a future release, please migrate away from it as soon as possible. */ @@ -849,6 +865,7 @@ public GetRoomInfoDeprecatedRequestBuilder getRoomInfoDeprecated() { } /** + * GetRoomInfoDeprecated * @param roomId * @return The response from the API call * @throws Exception if the API call fails @@ -861,6 +878,7 @@ public GetRoomInfoDeprecatedResponse getRoomInfoDeprecated( } /** + * GetRoomInfoDeprecated * @param appId * @param roomId * @return The response from the API call @@ -993,6 +1011,7 @@ public GetRoomInfoDeprecatedResponse getRoomInfoDeprecated( /** + * SuspendRoomDeprecated * @return The call builder * @deprecated method: This will be removed in a future release, please migrate away from it as soon as possible. */ @@ -1002,6 +1021,7 @@ public SuspendRoomDeprecatedRequestBuilder suspendRoomDeprecated() { } /** + * SuspendRoomDeprecated * @param roomId * @return The response from the API call * @throws Exception if the API call fails @@ -1014,6 +1034,7 @@ public SuspendRoomDeprecatedResponse suspendRoomDeprecated( } /** + * SuspendRoomDeprecated * @param appId * @param roomId * @return The response from the API call diff --git a/src/main/java/dev/hathora/cloud_sdk/RoomsV2.java b/src/main/java/dev/hathora/cloud_sdk/RoomsV2.java index 99368440..def7d9af 100644 --- a/src/main/java/dev/hathora/cloud_sdk/RoomsV2.java +++ b/src/main/java/dev/hathora/cloud_sdk/RoomsV2.java @@ -74,6 +74,7 @@ public class RoomsV2 implements /** + * CreateRoom * Create a new [room](https://hathora.dev/docs/concepts/hathora-entities#room) for an existing [application](https://hathora.dev/docs/concepts/hathora-entities#application). Poll the [`GetConnectionInfo()`](https://hathora.dev/api#tag/RoomV2/operation/GetConnectionInfo) endpoint to get connection details for an active room. * @return The call builder */ @@ -82,6 +83,7 @@ public CreateRoomRequestBuilder createRoom() { } /** + * CreateRoom * Create a new [room](https://hathora.dev/docs/concepts/hathora-entities#room) for an existing [application](https://hathora.dev/docs/concepts/hathora-entities#application). Poll the [`GetConnectionInfo()`](https://hathora.dev/api#tag/RoomV2/operation/GetConnectionInfo) endpoint to get connection details for an active room. * @param createRoomParams * @return The response from the API call @@ -93,6 +95,7 @@ public CreateRoomResponse createRoom( } /** + * CreateRoom * Create a new [room](https://hathora.dev/docs/concepts/hathora-entities#room) for an existing [application](https://hathora.dev/docs/concepts/hathora-entities#application). Poll the [`GetConnectionInfo()`](https://hathora.dev/api#tag/RoomV2/operation/GetConnectionInfo) endpoint to get connection details for an active room. * @param createRoomParams * @param appId @@ -245,6 +248,7 @@ public CreateRoomResponse createRoom( /** + * DestroyRoom * Destroy a [room](https://hathora.dev/docs/concepts/hathora-entities#room). All associated metadata is deleted. * @return The call builder */ @@ -253,6 +257,7 @@ public DestroyRoomRequestBuilder destroyRoom() { } /** + * DestroyRoom * Destroy a [room](https://hathora.dev/docs/concepts/hathora-entities#room). All associated metadata is deleted. * @param roomId * @return The response from the API call @@ -264,6 +269,7 @@ public DestroyRoomResponse destroyRoom( } /** + * DestroyRoom * Destroy a [room](https://hathora.dev/docs/concepts/hathora-entities#room). All associated metadata is deleted. * @param appId * @param roomId @@ -384,6 +390,7 @@ public DestroyRoomResponse destroyRoom( /** + * GetActiveRoomsForProcess * Get all active [rooms](https://hathora.dev/docs/concepts/hathora-entities#room) for a given [process](https://hathora.dev/docs/concepts/hathora-entities#process). * @return The call builder */ @@ -392,6 +399,7 @@ public GetActiveRoomsForProcessRequestBuilder getActiveRoomsForProcess() { } /** + * GetActiveRoomsForProcess * Get all active [rooms](https://hathora.dev/docs/concepts/hathora-entities#room) for a given [process](https://hathora.dev/docs/concepts/hathora-entities#process). * @param processId * @return The response from the API call @@ -403,6 +411,7 @@ public GetActiveRoomsForProcessResponse getActiveRoomsForProcess( } /** + * GetActiveRoomsForProcess * Get all active [rooms](https://hathora.dev/docs/concepts/hathora-entities#room) for a given [process](https://hathora.dev/docs/concepts/hathora-entities#process). * @param appId * @param processId @@ -534,6 +543,7 @@ public GetActiveRoomsForProcessResponse getActiveRoomsForProcess( /** + * GetConnectionInfo * Poll this endpoint to get connection details to a [room](https://hathora.dev/docs/concepts/hathora-entities#room). Clients can call this endpoint without authentication. * @return The call builder */ @@ -542,6 +552,7 @@ public GetConnectionInfoRequestBuilder getConnectionInfo() { } /** + * GetConnectionInfo * Poll this endpoint to get connection details to a [room](https://hathora.dev/docs/concepts/hathora-entities#room). Clients can call this endpoint without authentication. * @param roomId * @return The response from the API call @@ -553,6 +564,7 @@ public GetConnectionInfoResponse getConnectionInfo( } /** + * GetConnectionInfo * Poll this endpoint to get connection details to a [room](https://hathora.dev/docs/concepts/hathora-entities#room). Clients can call this endpoint without authentication. * @param appId * @param roomId @@ -681,6 +693,7 @@ public GetConnectionInfoResponse getConnectionInfo( /** + * GetInactiveRoomsForProcess * Get all inactive [rooms](https://hathora.dev/docs/concepts/hathora-entities#room) for a given [process](https://hathora.dev/docs/concepts/hathora-entities#process). * @return The call builder */ @@ -689,6 +702,7 @@ public GetInactiveRoomsForProcessRequestBuilder getInactiveRoomsForProcess() { } /** + * GetInactiveRoomsForProcess * Get all inactive [rooms](https://hathora.dev/docs/concepts/hathora-entities#room) for a given [process](https://hathora.dev/docs/concepts/hathora-entities#process). * @param processId * @return The response from the API call @@ -700,6 +714,7 @@ public GetInactiveRoomsForProcessResponse getInactiveRoomsForProcess( } /** + * GetInactiveRoomsForProcess * Get all inactive [rooms](https://hathora.dev/docs/concepts/hathora-entities#room) for a given [process](https://hathora.dev/docs/concepts/hathora-entities#process). * @param appId * @param processId @@ -831,6 +846,7 @@ public GetInactiveRoomsForProcessResponse getInactiveRoomsForProcess( /** + * GetRoomInfo * Retreive current and historical allocation data for a [room](https://hathora.dev/docs/concepts/hathora-entities#room). * @return The call builder */ @@ -839,6 +855,7 @@ public GetRoomInfoRequestBuilder getRoomInfo() { } /** + * GetRoomInfo * Retreive current and historical allocation data for a [room](https://hathora.dev/docs/concepts/hathora-entities#room). * @param roomId * @return The response from the API call @@ -850,6 +867,7 @@ public GetRoomInfoResponse getRoomInfo( } /** + * GetRoomInfo * Retreive current and historical allocation data for a [room](https://hathora.dev/docs/concepts/hathora-entities#room). * @param appId * @param roomId @@ -981,6 +999,7 @@ public GetRoomInfoResponse getRoomInfo( /** + * SuspendRoomV2Deprecated * Suspend a [room](https://hathora.dev/docs/concepts/hathora-entities#room). The room is unallocated from the process but can be rescheduled later using the same `roomId`. * @return The call builder * @deprecated method: This will be removed in a future release, please migrate away from it as soon as possible. @@ -991,6 +1010,7 @@ public SuspendRoomV2DeprecatedRequestBuilder suspendRoomV2Deprecated() { } /** + * SuspendRoomV2Deprecated * Suspend a [room](https://hathora.dev/docs/concepts/hathora-entities#room). The room is unallocated from the process but can be rescheduled later using the same `roomId`. * @param roomId * @return The response from the API call @@ -1004,6 +1024,7 @@ public SuspendRoomV2DeprecatedResponse suspendRoomV2Deprecated( } /** + * SuspendRoomV2Deprecated * Suspend a [room](https://hathora.dev/docs/concepts/hathora-entities#room). The room is unallocated from the process but can be rescheduled later using the same `roomId`. * @param appId * @param roomId @@ -1125,16 +1146,35 @@ public SuspendRoomV2DeprecatedResponse suspendRoomV2Deprecated( + /** + * UpdateRoomConfig + * @return The call builder + */ public UpdateRoomConfigRequestBuilder updateRoomConfig() { return new UpdateRoomConfigRequestBuilder(this); } + /** + * UpdateRoomConfig + * @param updateRoomConfigParams + * @param roomId + * @return The response from the API call + * @throws Exception if the API call fails + */ public UpdateRoomConfigResponse updateRoomConfig( UpdateRoomConfigParams updateRoomConfigParams, String roomId) throws Exception { return updateRoomConfig(updateRoomConfigParams, Optional.empty(), roomId); } + /** + * UpdateRoomConfig + * @param updateRoomConfigParams + * @param appId + * @param roomId + * @return The response from the API call + * @throws Exception if the API call fails + */ public UpdateRoomConfigResponse updateRoomConfig( UpdateRoomConfigParams updateRoomConfigParams, Optional appId, diff --git a/src/main/java/dev/hathora/cloud_sdk/SDKConfiguration.java b/src/main/java/dev/hathora/cloud_sdk/SDKConfiguration.java index 22590bc5..d5e0b162 100644 --- a/src/main/java/dev/hathora/cloud_sdk/SDKConfiguration.java +++ b/src/main/java/dev/hathora/cloud_sdk/SDKConfiguration.java @@ -25,8 +25,8 @@ public Optional securitySource() { public int serverIdx = 0; private static final String LANGUAGE = "java"; public static final String OPENAPI_DOC_VERSION = "0.0.1"; - public static final String SDK_VERSION = "2.10.12"; - public static final String GEN_VERSION = "2.445.1"; + public static final String SDK_VERSION = "2.10.13"; + public static final String GEN_VERSION = "2.446.5"; private static final String BASE_PACKAGE = "dev.hathora.cloud_sdk"; public static final String USER_AGENT = String.format("speakeasy-sdk/%s %s %s %s %s", diff --git a/src/main/java/dev/hathora/cloud_sdk/TokensV1.java b/src/main/java/dev/hathora/cloud_sdk/TokensV1.java index cc60dba2..8406e1f9 100644 --- a/src/main/java/dev/hathora/cloud_sdk/TokensV1.java +++ b/src/main/java/dev/hathora/cloud_sdk/TokensV1.java @@ -54,6 +54,7 @@ public class TokensV1 implements /** + * CreateOrgToken * Create a new organization token. * @return The call builder */ @@ -62,6 +63,7 @@ public CreateOrgTokenRequestBuilder createOrgToken() { } /** + * CreateOrgToken * Create a new organization token. * @param createOrgToken * @param orgId @@ -206,6 +208,7 @@ public CreateOrgTokenResponse createOrgToken( /** + * GetOrgTokens * List all organization tokens for a given org. * @return The call builder */ @@ -214,6 +217,7 @@ public GetOrgTokensRequestBuilder getOrgTokens() { } /** + * GetOrgTokens * List all organization tokens for a given org. * @param orgId * @return The response from the API call @@ -342,6 +346,7 @@ public GetOrgTokensResponse getOrgTokens( /** + * RevokeOrgToken * Revoke an organization token. * @return The call builder */ @@ -350,6 +355,7 @@ public RevokeOrgTokenRequestBuilder revokeOrgToken() { } /** + * RevokeOrgToken * Revoke an organization token. * @param orgId * @param orgTokenId