Skip to content

Commit f952aeb

Browse files
committed
Merge branch 'master' into md-javascript-client-sdk
# Conflicts: # incubator/ClientSDKs/csharp-client-sdk/.github/workflows/new-csharp-release.yml # incubator/ClientSDKs/csharp-client-sdk/.github/workflows/nuget-pack.yml # incubator/ClientSDKs/csharp-client-sdk/DelveClientSDK/DelveClientSDK.csproj
2 parents 59a906e + 751e096 commit f952aeb

File tree

8 files changed

+300
-0
lines changed

8 files changed

+300
-0
lines changed

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -182,6 +182,8 @@ Class | Method | HTTP request | Description
182182
- [DelveClientSdk.SetOptionsAction](docs/SetOptionsAction.md)
183183
- [DelveClientSdk.SetOptionsActionResult](docs/SetOptionsActionResult.md)
184184
- [DelveClientSdk.Source](docs/Source.md)
185+
- [DelveClientSdk.StatusAction](docs/StatusAction.md)
186+
- [DelveClientSdk.StatusActionResult](docs/StatusActionResult.md)
185187
- [DelveClientSdk.SyntaxError](docs/SyntaxError.md)
186188
- [DelveClientSdk.SyntaxNode](docs/SyntaxNode.md)
187189
- [DelveClientSdk.Token](docs/Token.md)

client/src/index.js

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,8 @@ import S3Integration from './model/S3Integration';
7777
import SetOptionsAction from './model/SetOptionsAction';
7878
import SetOptionsActionResult from './model/SetOptionsActionResult';
7979
import Source from './model/Source';
80+
import StatusAction from './model/StatusAction';
81+
import StatusActionResult from './model/StatusActionResult';
8082
import SyntaxError from './model/SyntaxError';
8183
import SyntaxNode from './model/SyntaxNode';
8284
import Token from './model/Token';
@@ -507,6 +509,18 @@ export {
507509
*/
508510
Source,
509511

512+
/**
513+
* The StatusAction model constructor.
514+
* @property {module:model/StatusAction}
515+
*/
516+
StatusAction,
517+
518+
/**
519+
* The StatusActionResult model constructor.
520+
* @property {module:model/StatusActionResult}
521+
*/
522+
StatusActionResult,
523+
510524
/**
511525
* The SyntaxError model constructor.
512526
* @property {module:model/SyntaxError}

docs/StatusAction.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
# DelveClientSdk.StatusAction
2+
3+
## Properties
4+
5+
Name | Type | Description | Notes
6+
------------ | ------------- | ------------- | -------------
7+
8+

docs/StatusActionResult.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
# DelveClientSdk.StatusActionResult
2+
3+
## Properties
4+
5+
Name | Type | Description | Notes
6+
------------ | ------------- | ------------- | -------------
7+
8+

src/model/StatusAction.js

Lines changed: 75 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,75 @@
1+
/**
2+
* Delve Client SDK
3+
* This is a Client SDK for Delve API
4+
*
5+
* The version of the OpenAPI document: 1.0.9
6+
* Contact: support@relational.ai
7+
*
8+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9+
* https://openapi-generator.tech
10+
* Do not edit the class manually.
11+
*
12+
*/
13+
14+
import ApiClient from '../ApiClient';
15+
import Action from './Action';
16+
17+
/**
18+
* The StatusAction model module.
19+
* @module model/StatusAction
20+
* @version 1.0.9
21+
*/
22+
class StatusAction {
23+
/**
24+
* Constructs a new <code>StatusAction</code>.
25+
* @alias module:model/StatusAction
26+
* @extends module:model/Action
27+
* @implements module:model/Action
28+
* @param type {String}
29+
*/
30+
constructor(type) {
31+
Action.initialize(this, type);
32+
StatusAction.initialize(this, type);
33+
}
34+
35+
/**
36+
* Initializes the fields of this object.
37+
* This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
38+
* Only for internal use.
39+
*/
40+
static initialize(obj, type) {
41+
}
42+
43+
/**
44+
* Constructs a <code>StatusAction</code> from a plain JavaScript object, optionally creating a new instance.
45+
* Copies all relevant properties from <code>data</code> to <code>obj</code> if supplied or a new instance if not.
46+
* @param {Object} data The plain JavaScript object bearing properties of interest.
47+
* @param {module:model/StatusAction} obj Optional instance to populate.
48+
* @return {module:model/StatusAction} The populated <code>StatusAction</code> instance.
49+
*/
50+
static constructFromObject(data, obj) {
51+
if (data) {
52+
obj = obj || new StatusAction();
53+
Action.constructFromObject(data, obj);
54+
Action.constructFromObject(data, obj);
55+
56+
}
57+
return obj;
58+
}
59+
60+
61+
}
62+
63+
64+
// Implement Action interface:
65+
/**
66+
* @member {String} type
67+
* @default ''
68+
*/
69+
Action.prototype['type'] = '';
70+
71+
72+
73+
74+
export default StatusAction;
75+

src/model/StatusActionResult.js

Lines changed: 75 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,75 @@
1+
/**
2+
* Delve Client SDK
3+
* This is a Client SDK for Delve API
4+
*
5+
* The version of the OpenAPI document: 1.0.9
6+
* Contact: support@relational.ai
7+
*
8+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9+
* https://openapi-generator.tech
10+
* Do not edit the class manually.
11+
*
12+
*/
13+
14+
import ApiClient from '../ApiClient';
15+
import ActionResult from './ActionResult';
16+
17+
/**
18+
* The StatusActionResult model module.
19+
* @module model/StatusActionResult
20+
* @version 1.0.9
21+
*/
22+
class StatusActionResult {
23+
/**
24+
* Constructs a new <code>StatusActionResult</code>.
25+
* @alias module:model/StatusActionResult
26+
* @extends module:model/ActionResult
27+
* @implements module:model/ActionResult
28+
* @param type {String}
29+
*/
30+
constructor(type) {
31+
ActionResult.initialize(this, type);
32+
StatusActionResult.initialize(this, type);
33+
}
34+
35+
/**
36+
* Initializes the fields of this object.
37+
* This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
38+
* Only for internal use.
39+
*/
40+
static initialize(obj, type) {
41+
}
42+
43+
/**
44+
* Constructs a <code>StatusActionResult</code> from a plain JavaScript object, optionally creating a new instance.
45+
* Copies all relevant properties from <code>data</code> to <code>obj</code> if supplied or a new instance if not.
46+
* @param {Object} data The plain JavaScript object bearing properties of interest.
47+
* @param {module:model/StatusActionResult} obj Optional instance to populate.
48+
* @return {module:model/StatusActionResult} The populated <code>StatusActionResult</code> instance.
49+
*/
50+
static constructFromObject(data, obj) {
51+
if (data) {
52+
obj = obj || new StatusActionResult();
53+
ActionResult.constructFromObject(data, obj);
54+
ActionResult.constructFromObject(data, obj);
55+
56+
}
57+
return obj;
58+
}
59+
60+
61+
}
62+
63+
64+
// Implement ActionResult interface:
65+
/**
66+
* @member {String} type
67+
* @default ''
68+
*/
69+
ActionResult.prototype['type'] = '';
70+
71+
72+
73+
74+
export default StatusActionResult;
75+

test/model/StatusAction.spec.js

Lines changed: 59 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,59 @@
1+
/**
2+
* Delve Client SDK
3+
* This is a Client SDK for Delve API
4+
*
5+
* The version of the OpenAPI document: 1.0.9
6+
* Contact: support@relational.ai
7+
*
8+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9+
* https://openapi-generator.tech
10+
* Do not edit the class manually.
11+
*
12+
*/
13+
14+
(function(root, factory) {
15+
if (typeof define === 'function' && define.amd) {
16+
// AMD.
17+
define(['expect.js', process.cwd()+'/src/index'], factory);
18+
} else if (typeof module === 'object' && module.exports) {
19+
// CommonJS-like environments that support module.exports, like Node.
20+
factory(require('expect.js'), require(process.cwd()+'/src/index'));
21+
} else {
22+
// Browser globals (root is window)
23+
factory(root.expect, root.DelveClientSdk);
24+
}
25+
}(this, function(expect, DelveClientSdk) {
26+
'use strict';
27+
28+
var instance;
29+
30+
beforeEach(function() {
31+
instance = new DelveClientSdk.StatusAction();
32+
});
33+
34+
var getProperty = function(object, getter, property) {
35+
// Use getter method if present; otherwise, get the property directly.
36+
if (typeof object[getter] === 'function')
37+
return object[getter]();
38+
else
39+
return object[property];
40+
}
41+
42+
var setProperty = function(object, setter, property, value) {
43+
// Use setter method if present; otherwise, set the property directly.
44+
if (typeof object[setter] === 'function')
45+
object[setter](value);
46+
else
47+
object[property] = value;
48+
}
49+
50+
describe('StatusAction', function() {
51+
it('should create an instance of StatusAction', function() {
52+
// uncomment below and update the code to test StatusAction
53+
//var instane = new DelveClientSdk.StatusAction();
54+
//expect(instance).to.be.a(DelveClientSdk.StatusAction);
55+
});
56+
57+
});
58+
59+
}));
Lines changed: 59 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,59 @@
1+
/**
2+
* Delve Client SDK
3+
* This is a Client SDK for Delve API
4+
*
5+
* The version of the OpenAPI document: 1.0.9
6+
* Contact: support@relational.ai
7+
*
8+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9+
* https://openapi-generator.tech
10+
* Do not edit the class manually.
11+
*
12+
*/
13+
14+
(function(root, factory) {
15+
if (typeof define === 'function' && define.amd) {
16+
// AMD.
17+
define(['expect.js', process.cwd()+'/src/index'], factory);
18+
} else if (typeof module === 'object' && module.exports) {
19+
// CommonJS-like environments that support module.exports, like Node.
20+
factory(require('expect.js'), require(process.cwd()+'/src/index'));
21+
} else {
22+
// Browser globals (root is window)
23+
factory(root.expect, root.DelveClientSdk);
24+
}
25+
}(this, function(expect, DelveClientSdk) {
26+
'use strict';
27+
28+
var instance;
29+
30+
beforeEach(function() {
31+
instance = new DelveClientSdk.StatusActionResult();
32+
});
33+
34+
var getProperty = function(object, getter, property) {
35+
// Use getter method if present; otherwise, get the property directly.
36+
if (typeof object[getter] === 'function')
37+
return object[getter]();
38+
else
39+
return object[property];
40+
}
41+
42+
var setProperty = function(object, setter, property, value) {
43+
// Use setter method if present; otherwise, set the property directly.
44+
if (typeof object[setter] === 'function')
45+
object[setter](value);
46+
else
47+
object[property] = value;
48+
}
49+
50+
describe('StatusActionResult', function() {
51+
it('should create an instance of StatusActionResult', function() {
52+
// uncomment below and update the code to test StatusActionResult
53+
//var instane = new DelveClientSdk.StatusActionResult();
54+
//expect(instance).to.be.a(DelveClientSdk.StatusActionResult);
55+
});
56+
57+
});
58+
59+
}));

0 commit comments

Comments
 (0)