Skip to content

Commit b553017

Browse files
Assel Mehergeokollias
andauthored
[SDKs] support cleaned up /database (#3092)
* update julia SDK * update SDKs (displayName -> Name) * add support for databasefilters * fix databaseGetCall filters * fix java api test * Synchonize raicloud openapi spec with infra's one * Bump version to 1.1.2 * Revert SDK version bump * add filter support to julia sdk * add documenation for julia list_databases with filters * document C# compute/database filter with examples Co-authored-by: George Kollias <286415+geokollias@users.noreply.github.com>
1 parent 13456d0 commit b553017

18 files changed

+51
-42
lines changed

docs/DatabaseInfo.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,8 @@ Name | Type | Description | Notes
77
**accountName** | **String** | | [optional]
88
**name** | **String** | | [optional]
99
**region** | **String** | | [optional]
10-
**databaseId** | **String** | | [optional]
10+
**id** | **String** | | [optional]
11+
**createdBy** | **String** | | [optional]
1112
**defaultComputeName** | **String** | | [optional]
1213
**status** | **String** | | [optional]
1314

docs/UpdateDatabaseRequestProtocol.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
Name | Type | Description | Notes
66
------------ | ------------- | ------------- | -------------
7-
**displayName** | **String** | | [optional]
7+
**name** | **String** | | [optional]
88
**defaultComputeName** | **String** | | [optional]
99
**removeDefaultCompute** | **Boolean** | | [optional]
1010
**dryrun** | **Boolean** | | [optional]

src/model/ComputeInfoProtocol.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
* RAI Cloud SDK
33
* This is a Client SDK for RAI Cloud
44
*
5-
* The version of the OpenAPI document: 1.2.0
5+
* The version of the OpenAPI document: 1.3.0
66
* Contact: support@relational.ai
77
*
88
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -16,7 +16,7 @@ import ApiClient from '../ApiClient';
1616
/**
1717
* The ComputeInfoProtocol model module.
1818
* @module model/ComputeInfoProtocol
19-
* @version 1.2.0
19+
* @version 1.3.0
2020
*/
2121
class ComputeInfoProtocol {
2222
/**

src/model/CreateComputeRequestProtocol.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
* RAI Cloud SDK
33
* This is a Client SDK for RAI Cloud
44
*
5-
* The version of the OpenAPI document: 1.2.0
5+
* The version of the OpenAPI document: 1.3.0
66
* Contact: support@relational.ai
77
*
88
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -16,7 +16,7 @@ import ApiClient from '../ApiClient';
1616
/**
1717
* The CreateComputeRequestProtocol model module.
1818
* @module model/CreateComputeRequestProtocol
19-
* @version 1.2.0
19+
* @version 1.3.0
2020
*/
2121
class CreateComputeRequestProtocol {
2222
/**

src/model/CreateComputeResponseProtocol.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
* RAI Cloud SDK
33
* This is a Client SDK for RAI Cloud
44
*
5-
* The version of the OpenAPI document: 1.2.0
5+
* The version of the OpenAPI document: 1.3.0
66
* Contact: support@relational.ai
77
*
88
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -17,7 +17,7 @@ import ComputeInfoProtocol from './ComputeInfoProtocol';
1717
/**
1818
* The CreateComputeResponseProtocol model module.
1919
* @module model/CreateComputeResponseProtocol
20-
* @version 1.2.0
20+
* @version 1.3.0
2121
*/
2222
class CreateComputeResponseProtocol {
2323
/**

src/model/CreateUserRequestProtocol.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
* RAI Cloud SDK
33
* This is a Client SDK for RAI Cloud
44
*
5-
* The version of the OpenAPI document: 1.2.0
5+
* The version of the OpenAPI document: 1.3.0
66
* Contact: support@relational.ai
77
*
88
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -16,7 +16,7 @@ import ApiClient from '../ApiClient';
1616
/**
1717
* The CreateUserRequestProtocol model module.
1818
* @module model/CreateUserRequestProtocol
19-
* @version 1.2.0
19+
* @version 1.3.0
2020
*/
2121
class CreateUserRequestProtocol {
2222
/**

src/model/CreateUserResponseProtocol.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
* RAI Cloud SDK
33
* This is a Client SDK for RAI Cloud
44
*
5-
* The version of the OpenAPI document: 1.2.0
5+
* The version of the OpenAPI document: 1.3.0
66
* Contact: support@relational.ai
77
*
88
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -17,7 +17,7 @@ import UserInfoProtocol from './UserInfoProtocol';
1717
/**
1818
* The CreateUserResponseProtocol model module.
1919
* @module model/CreateUserResponseProtocol
20-
* @version 1.2.0
20+
* @version 1.3.0
2121
*/
2222
class CreateUserResponseProtocol {
2323
/**

src/model/DatabaseInfo.js

Lines changed: 14 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
* RAI Cloud SDK
33
* This is a Client SDK for RAI Cloud
44
*
5-
* The version of the OpenAPI document: 1.2.0
5+
* The version of the OpenAPI document: 1.3.0
66
* Contact: support@relational.ai
77
*
88
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -16,7 +16,7 @@ import ApiClient from '../ApiClient';
1616
/**
1717
* The DatabaseInfo model module.
1818
* @module model/DatabaseInfo
19-
* @version 1.2.0
19+
* @version 1.3.0
2020
*/
2121
class DatabaseInfo {
2222
/**
@@ -56,8 +56,11 @@ class DatabaseInfo {
5656
if (data.hasOwnProperty('region')) {
5757
obj['region'] = ApiClient.convertToType(data['region'], 'String');
5858
}
59-
if (data.hasOwnProperty('database_id')) {
60-
obj['database_id'] = ApiClient.convertToType(data['database_id'], 'String');
59+
if (data.hasOwnProperty('id')) {
60+
obj['id'] = ApiClient.convertToType(data['id'], 'String');
61+
}
62+
if (data.hasOwnProperty('created_by')) {
63+
obj['created_by'] = ApiClient.convertToType(data['created_by'], 'String');
6164
}
6265
if (data.hasOwnProperty('default_compute_name')) {
6366
obj['default_compute_name'] = ApiClient.convertToType(data['default_compute_name'], 'String');
@@ -88,9 +91,14 @@ DatabaseInfo.prototype['name'] = undefined;
8891
DatabaseInfo.prototype['region'] = undefined;
8992

9093
/**
91-
* @member {String} database_id
94+
* @member {String} id
95+
*/
96+
DatabaseInfo.prototype['id'] = undefined;
97+
98+
/**
99+
* @member {String} created_by
92100
*/
93-
DatabaseInfo.prototype['database_id'] = undefined;
101+
DatabaseInfo.prototype['created_by'] = undefined;
94102

95103
/**
96104
* @member {String} default_compute_name

src/model/DeleteComputeRequestProtocol.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
* RAI Cloud SDK
33
* This is a Client SDK for RAI Cloud
44
*
5-
* The version of the OpenAPI document: 1.2.0
5+
* The version of the OpenAPI document: 1.3.0
66
* Contact: support@relational.ai
77
*
88
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -16,7 +16,7 @@ import ApiClient from '../ApiClient';
1616
/**
1717
* The DeleteComputeRequestProtocol model module.
1818
* @module model/DeleteComputeRequestProtocol
19-
* @version 1.2.0
19+
* @version 1.3.0
2020
*/
2121
class DeleteComputeRequestProtocol {
2222
/**

src/model/DeleteComputeResponseProtocol.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
* RAI Cloud SDK
33
* This is a Client SDK for RAI Cloud
44
*
5-
* The version of the OpenAPI document: 1.2.0
5+
* The version of the OpenAPI document: 1.3.0
66
* Contact: support@relational.ai
77
*
88
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -17,7 +17,7 @@ import DeleteComputeStatus from './DeleteComputeStatus';
1717
/**
1818
* The DeleteComputeResponseProtocol model module.
1919
* @module model/DeleteComputeResponseProtocol
20-
* @version 1.2.0
20+
* @version 1.3.0
2121
*/
2222
class DeleteComputeResponseProtocol {
2323
/**

0 commit comments

Comments
 (0)