Skip to content

Commit

Permalink
liblab SDK update for version v0.9.0-alpha.5
Browse files Browse the repository at this point in the history
  • Loading branch information
seniorquico committed Oct 1, 2024
1 parent 2649887 commit 190d484
Show file tree
Hide file tree
Showing 75 changed files with 639 additions and 395 deletions.
28 changes: 13 additions & 15 deletions .manifest.json
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
{
"liblabVersion": "2.4.1",
"date": "2024-09-25T03:53:34.133Z",
"liblabVersion": "2.5.0",
"date": "2024-10-01T05:14:05.407Z",
"config": {
"apiId": 1172,
"apiId": 1228,
"sdkName": "salad-cloud-sdk",
"sdkVersion": "0.9.0-alpha.4",
"sdkVersion": "0.9.0-alpha.5",
"liblabVersion": "2",
"deliveryMethods": ["zip"],
"languages": ["java"],
Expand All @@ -26,15 +26,15 @@
"homepage": "https://github.com/saladtechnologies/salad-cloud-sdk-dotnet",
"ignoreFiles": [".gitignore", "./LICENSE"],
"liblabVersion": "2",
"sdkVersion": "0.9.0-alpha.3",
"sdkVersion": "0.9.0-alpha.4",
"targetBranch": "main"
},
"go": {
"goModuleName": "github.com/saladtechnologies/salad-cloud-sdk-go",
"githubRepoName": "salad-cloud-sdk-go",
"ignoreFiles": [".gitignore", "./LICENSE"],
"liblabVersion": "2",
"sdkVersion": "0.9.0-alpha.3",
"sdkVersion": "0.9.0-alpha.4",
"targetBranch": "main"
},
"java": {
Expand All @@ -58,7 +58,7 @@
"homepage": "https://github.com/saladtechnologies/salad-cloud-sdk-java",
"ignoreFiles": [".gitignore", "./LICENSE"],
"liblabVersion": "2",
"sdkVersion": "0.9.0-alpha.4",
"sdkVersion": "0.9.0-alpha.5",
"targetBranch": "main"
},
"python": {
Expand Down Expand Up @@ -101,7 +101,7 @@
"githubRepoName": "salad-cloud-sdk-python",
"ignoreFiles": [".gitignore", "./LICENSE"],
"liblabVersion": "2",
"sdkVersion": "0.9.0-alpha.3",
"sdkVersion": "0.9.0-alpha.4",
"targetBranch": "main"
},
"terraform": {
Expand All @@ -112,7 +112,7 @@
"providerSchemaConfig": {
"authTokenKey": "api_key"
},
"providerVersion": "0.9.0-alpha.3",
"providerVersion": "0.9.0-alpha.1",
"githubRepoName": "terraform-provider-salad-cloud",
"ignoreFiles": [".gitignore", "./LICENSE"],
"liblabVersion": "2",
Expand All @@ -138,7 +138,7 @@
"homepage": "https://github.com/saladtechnologies/salad-cloud-sdk-javascript",
"ignoreFiles": [".gitignore", "./LICENSE"],
"liblabVersion": "2",
"sdkVersion": "0.9.0-alpha.4",
"sdkVersion": "0.9.0-alpha.5",
"targetBranch": "main",
"generateEnumAs": "enum"
}
Expand Down Expand Up @@ -233,7 +233,7 @@
}
],
"apiName": "SaladCloud API",
"apiVersion": "0.9.0-alpha.3",
"apiVersion": "0.9.0-alpha.4",
"authentication": {
"apiKey": {
"header": "Salad-Api-Key"
Expand Down Expand Up @@ -294,7 +294,7 @@
"httpLibrary": {
"name": "axios",
"packages": {
"axios": "^1.7.4"
"axios": "^1.7.7"
},
"languages": ["typescript"]
},
Expand Down Expand Up @@ -469,7 +469,6 @@
"documentation/models/QueueJobEvent.md",
"documentation/models/QueueJobEventAction.md",
"documentation/models/ContainerGroupsQuotas.md",
"documentation/models/RecipesQuotas.md",
"documentation/models/InferenceEndpointJobStatus.md",
"documentation/models/InferenceEndpointJobEvent.md",
"documentation/models/InferenceEndpointJobEventAction.md",
Expand Down Expand Up @@ -590,14 +589,14 @@
"src/main/java/com/salad/cloud/sdk/models/RegistryAuthenticationAwsEcr2.java",
"src/main/java/com/salad/cloud/sdk/models/RegistryAuthenticationDockerHub2.java",
"src/main/java/com/salad/cloud/sdk/models/QueueJobEvent.java",
"src/main/java/com/salad/cloud/sdk/models/RecipesQuotas.java",
"src/main/java/com/salad/cloud/sdk/models/InferenceEndpointJobEvent.java",
"src/main/java/com/salad/cloud/sdk/models/ListQueueJobsParameters.java",
"src/main/java/com/salad/cloud/sdk/models/ListInferenceEndpointsParameters.java",
"src/main/java/com/salad/cloud/sdk/models/GetInferenceEndpointJobsParameters.java",
"documentation/services/WebhookSecretKeyService.md",
"src/main/java/com/salad/cloud/sdk/models/CreateQueue.java",
"src/main/java/com/salad/cloud/sdk/models/CreateQueueJob.java",
"src/main/java/com/salad/cloud/sdk/models/Quotas.java",
"src/main/java/com/salad/cloud/sdk/models/CreateInferenceEndpointJob.java",
"src/main/java/com/salad/cloud/sdk/models/ContainerGroupQueueConnection.java",
"src/main/java/com/salad/cloud/sdk/models/LoggingAxiom1.java",
Expand All @@ -607,7 +606,6 @@
"src/main/java/com/salad/cloud/sdk/models/LoggingDatadog2.java",
"src/main/java/com/salad/cloud/sdk/models/LoggingAxiom3.java",
"src/main/java/com/salad/cloud/sdk/models/LoggingDatadog3.java",
"src/main/java/com/salad/cloud/sdk/models/Quotas.java",
"src/main/java/com/salad/cloud/sdk/models/ContainerGroupNetworking.java",
"src/main/java/com/salad/cloud/sdk/models/ContainerResourceRequirements.java",
"src/main/java/com/salad/cloud/sdk/models/ContainerGroupInstanceStatusCount.java",
Expand Down
11 changes: 5 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
# SaladCloudSdk Java SDK 0.9.0-alpha.4
# SaladCloudSdk Java SDK 0.9.0-alpha.5

Welcome to the SaladCloudSdk SDK documentation. This guide will help you get started with integrating and using the SaladCloudSdk SDK in your project.

## Versions

- API version: `0.9.0-alpha.3`
- SDK version: `0.9.0-alpha.4`
- API version: `0.9.0-alpha.4`
- SDK version: `0.9.0-alpha.5`

## About the API

Expand Down Expand Up @@ -38,14 +38,14 @@ If you use Maven, place the following within the _dependency_ tag in your `pom.x
<dependency>
<groupId>com.salad.cloud</groupId>
<artifactId>sdk</artifactId>
<version>0.9.0-alpha.4</version>
<version>0.9.0-alpha.5</version>
</dependency>
```

If you use Gradle, paste the next line inside the _dependencies_ block of your `build.gradle` file:

```Gradle
implementation group: com.salad.cloud, name: sdk, version: 0.9.0-alpha.4
implementation group: com.salad.cloud, name: sdk, version: 0.9.0-alpha.5
```

If you use JAR files, package the SDK by running the following command:
Expand Down Expand Up @@ -219,7 +219,6 @@ The SDK includes several models that represent the data structures used in API r
| [WorkloadError](documentation/models/WorkloadError.md) | Represents a workload error |
| [QueueJobEvent](documentation/models/QueueJobEvent.md) | Represents an event for queue job |
| [ContainerGroupsQuotas](documentation/models/ContainerGroupsQuotas.md) | |
| [RecipesQuotas](documentation/models/RecipesQuotas.md) | |
| [InferenceEndpointJobEvent](documentation/models/InferenceEndpointJobEvent.md) | Represents an event for inference endpoint job |
| [GpuClass](documentation/models/GpuClass.md) | Represents a GPU Class |
| [GpuClassPrice](documentation/models/GpuClassPrice.md) | Represents the price of a GPU class for a given container group priority |
Expand Down
1 change: 0 additions & 1 deletion documentation/models/Quotas.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,5 @@ Represents the organization quotas
| Name | Type | Required | Description |
| :-------------------- | :-------------------- | :------- | :------------------------------------- |
| containerGroupsQuotas | ContainerGroupsQuotas || |
| recipesQuotas | RecipesQuotas || |
| createTime | String || The time the resource was created |
| updateTime | String || The time the resource was last updated |
8 changes: 0 additions & 8 deletions documentation/models/RecipesQuotas.md

This file was deleted.

2 changes: 1 addition & 1 deletion documentation/services/ContainerGroupsService.md
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ public class Main {
ContainerResourceRequirements containerResourceRequirements = ContainerResourceRequirements
.builder()
.cpu(10L)
.memory(17858L)
.memory(35273L)
.gpuClasses(gpuClasses)
.storageAmount(32391110488L)
.build();
Expand Down
30 changes: 15 additions & 15 deletions documentation/services/InferenceEndpointsService.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,12 +50,12 @@ public class Main {

ListInferenceEndpointsParameters requestParameters = ListInferenceEndpointsParameters
.builder()
.page(756148233L)
.pageSize(66L)
.page(832002798L)
.pageSize(51L)
.build();

InferenceEndpointsList response = saladCloudSdk.inferenceEndpointsService.listInferenceEndpoints(
"wg1umdxtc9fte8osib-e-5ux2vsmrhjjt13u7q3pryxxnm",
"l50g1umdxtc9fte7",
requestParameters
);

Expand Down Expand Up @@ -102,8 +102,8 @@ public class Main {
SaladCloudSdk saladCloudSdk = new SaladCloudSdk(config);

InferenceEndpoint response = saladCloudSdk.inferenceEndpointsService.getInferenceEndpoint(
"uzp1dyfm2yp4-lxa27tl0fwms3fu3myo74a99jr6ouv4w8",
"aute Ut reprehenderit occaecat sed"
"zux2vsmrhjjt13u7q3pryxxnnnyigut20zp1dyfm2yp4-lxa27tl0e",
"qui adipisicing"
);

System.out.println(response);
Expand Down Expand Up @@ -152,13 +152,13 @@ public class Main {

GetInferenceEndpointJobsParameters requestParameters = GetInferenceEndpointJobsParameters
.builder()
.page(1653138765L)
.pageSize(76L)
.page(82661968L)
.pageSize(27L)
.build();

InferenceEndpointJobList response = saladCloudSdk.inferenceEndpointsService.getInferenceEndpointJobs(
"trzfoq1p77wk9jgwxjp56dzbnwtbgowklqt1wsbe00",
"ut officia ut",
"bzx0y-i4o1cvulgdrx",
"minim",
requestParameters
);

Expand Down Expand Up @@ -214,8 +214,8 @@ public class Main {
.build();

InferenceEndpointJob response = saladCloudSdk.inferenceEndpointsService.createInferenceEndpointJob(
"trzfoq1p77wk9jgwxjp56dzbnwtbgowklqt1wsbe00",
"ut officia ut",
"bzx0y-i4o1cvulgdrx",
"minim",
createInferenceEndpointJob
);

Expand Down Expand Up @@ -263,8 +263,8 @@ public class Main {
SaladCloudSdk saladCloudSdk = new SaladCloudSdk(config);

InferenceEndpointJob response = saladCloudSdk.inferenceEndpointsService.getInferenceEndpointJob(
"b7tj9",
"sed eu labore",
"v0jo001xz6w2uhgmhtgvpqzhztmaqawqn92-rig0bznv-21cb7tj-hp2ecbvldq",
"elit sint",
"inference_endpoint_job_id"
);

Expand Down Expand Up @@ -307,8 +307,8 @@ public class Main {
SaladCloudSdk saladCloudSdk = new SaladCloudSdk(config);

saladCloudSdk.inferenceEndpointsService.deleteInferenceEndpointJob(
"b7tj9",
"sed eu labore",
"v0jo001xz6w2uhgmhtgvpqzhztmaqawqn92-rig0bznv-21cb7tj-hp2ecbvldq",
"elit sint",
"inference_endpoint_job_id"
);
}
Expand Down
2 changes: 1 addition & 1 deletion documentation/services/OrganizationDataService.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ public class Main {
SaladCloudSdk saladCloudSdk = new SaladCloudSdk(config);

GpuClassesList response = saladCloudSdk.organizationDataService.listGpuClasses(
"ksb7ikadj659qttkrqdm5b9xdre4met9iop"
"w9qttkrqdm5b9xdre4met9ioqxf-a3suyfz4tkhle7s9-vpaj7uvpj"
);

System.out.println(response);
Expand Down
4 changes: 2 additions & 2 deletions documentation/services/WebhookSecretKeyService.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ public class Main {
SaladCloudSdk saladCloudSdk = new SaladCloudSdk(config);

WebhookSecretKey response = saladCloudSdk.webhookSecretKeyService.getWebhookSecretKey(
"dyxdaqq1t3iwwpawdlk-78rt9bh26smkuf3v0nd2ropp"
"wmkuf3v0nd2roppi64zikv73wys88ns81"
);

System.out.println(response);
Expand Down Expand Up @@ -88,7 +88,7 @@ public class Main {
SaladCloudSdk saladCloudSdk = new SaladCloudSdk(config);

WebhookSecretKey response = saladCloudSdk.webhookSecretKeyService.updateWebhookSecretKey(
"dyxdaqq1t3iwwpawdlk-78rt9bh26smkuf3v0nd2ropp"
"wmkuf3v0nd2roppi64zikv73wys88ns81"
);

System.out.println(response);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ public class Main {
SaladCloudSdk saladCloudSdk = new SaladCloudSdk(config);

GpuClassesList response = saladCloudSdk.organizationDataService.listGpuClasses(
"ksb7ikadj659qttkrqdm5b9xdre4met9iop"
"w9qttkrqdm5b9xdre4met9ioqxf-a3suyfz4tkhle7s9-vpaj7uvpj"
);

System.out.println(response);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,12 @@ public class Main {

ListInferenceEndpointsParameters requestParameters = ListInferenceEndpointsParameters
.builder()
.page(756148233L)
.pageSize(66L)
.page(832002798L)
.pageSize(51L)
.build();

InferenceEndpointsList response = saladCloudSdk.inferenceEndpointsService.listInferenceEndpoints(
"wg1umdxtc9fte8osib-e-5ux2vsmrhjjt13u7q3pryxxnm",
"l50g1umdxtc9fte7",
requestParameters
);

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@ public class Main {
SaladCloudSdk saladCloudSdk = new SaladCloudSdk(config);

InferenceEndpoint response = saladCloudSdk.inferenceEndpointsService.getInferenceEndpoint(
"uzp1dyfm2yp4-lxa27tl0fwms3fu3myo74a99jr6ouv4w8",
"aute Ut reprehenderit occaecat sed"
"zux2vsmrhjjt13u7q3pryxxnnnyigut20zp1dyfm2yp4-lxa27tl0e",
"qui adipisicing"
);

System.out.println(response);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,13 +17,13 @@ public class Main {

GetInferenceEndpointJobsParameters requestParameters = GetInferenceEndpointJobsParameters
.builder()
.page(1653138765L)
.pageSize(76L)
.page(82661968L)
.pageSize(27L)
.build();

InferenceEndpointJobList response = saladCloudSdk.inferenceEndpointsService.getInferenceEndpointJobs(
"trzfoq1p77wk9jgwxjp56dzbnwtbgowklqt1wsbe00",
"ut officia ut",
"bzx0y-i4o1cvulgdrx",
"minim",
requestParameters
);

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@ public class Main {
.build();

InferenceEndpointJob response = saladCloudSdk.inferenceEndpointsService.createInferenceEndpointJob(
"trzfoq1p77wk9jgwxjp56dzbnwtbgowklqt1wsbe00",
"ut officia ut",
"bzx0y-i4o1cvulgdrx",
"minim",
createInferenceEndpointJob
);

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@ public class Main {
SaladCloudSdk saladCloudSdk = new SaladCloudSdk(config);

saladCloudSdk.inferenceEndpointsService.deleteInferenceEndpointJob(
"b7tj9",
"sed eu labore",
"v0jo001xz6w2uhgmhtgvpqzhztmaqawqn92-rig0bznv-21cb7tj-hp2ecbvldq",
"elit sint",
"inference_endpoint_job_id"
);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@ public class Main {
SaladCloudSdk saladCloudSdk = new SaladCloudSdk(config);

InferenceEndpointJob response = saladCloudSdk.inferenceEndpointsService.getInferenceEndpointJob(
"b7tj9",
"sed eu labore",
"v0jo001xz6w2uhgmhtgvpqzhztmaqawqn92-rig0bznv-21cb7tj-hp2ecbvldq",
"elit sint",
"inference_endpoint_job_id"
);

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ public class Main {
ContainerResourceRequirements containerResourceRequirements = ContainerResourceRequirements
.builder()
.cpu(10L)
.memory(17858L)
.memory(35273L)
.gpuClasses(gpuClasses)
.storageAmount(32391110488L)
.build();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ public class Main {
SaladCloudSdk saladCloudSdk = new SaladCloudSdk(config);

WebhookSecretKey response = saladCloudSdk.webhookSecretKeyService.getWebhookSecretKey(
"dyxdaqq1t3iwwpawdlk-78rt9bh26smkuf3v0nd2ropp"
"wmkuf3v0nd2roppi64zikv73wys88ns81"
);

System.out.println(response);
Expand Down
Loading

0 comments on commit 190d484

Please sign in to comment.