Skip to content

Commit e257fcb

Browse files
committed
[ClientSDKs] Generate client SDKs for the recent changes on master
1 parent eb0acc0 commit e257fcb

File tree

5 files changed

+184
-0
lines changed

5 files changed

+184
-0
lines changed

client/README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -151,6 +151,7 @@ Class | Method | HTTP request | Description
151151
- [RaiDbSdk.ImportAction](docs/ImportAction.md)
152152
- [RaiDbSdk.ImportActionResult](docs/ImportActionResult.md)
153153
- [RaiDbSdk.InfraError](docs/InfraError.md)
154+
- [RaiDbSdk.InlineInconsistent](docs/InlineInconsistent.md)
154155
- [RaiDbSdk.InstallAction](docs/InstallAction.md)
155156
- [RaiDbSdk.InstallActionResult](docs/InstallActionResult.md)
156157
- [RaiDbSdk.Integration](docs/Integration.md)

client/docs/InlineInconsistent.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
# RaiDbSdk.InlineInconsistent
2+
3+
## Properties
4+
5+
Name | Type | Description | Notes
6+
------------ | ------------- | ------------- | -------------
7+
**name** | **String** | | [default to '']
8+
**range** | [**Range**](Range.md) | |
9+
10+

client/src/index.js

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@ import ICViolation from './model/ICViolation';
3939
import ImportAction from './model/ImportAction';
4040
import ImportActionResult from './model/ImportActionResult';
4141
import InfraError from './model/InfraError';
42+
import InlineInconsistent from './model/InlineInconsistent';
4243
import InstallAction from './model/InstallAction';
4344
import InstallActionResult from './model/InstallActionResult';
4445
import Integration from './model/Integration';
@@ -281,6 +282,12 @@ export {
281282
*/
282283
InfraError,
283284

285+
/**
286+
* The InlineInconsistent model constructor.
287+
* @property {module:model/InlineInconsistent}
288+
*/
289+
InlineInconsistent,
290+
284291
/**
285292
* The InstallAction model constructor.
286293
* @property {module:model/InstallAction}
Lines changed: 95 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,95 @@
1+
/**
2+
* Delve Client SDK
3+
* This is a Client SDK for Delve API
4+
*
5+
* The version of the OpenAPI document: 1.1.3
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 FrontProblem from './FrontProblem';
16+
import Range from './Range';
17+
18+
/**
19+
* The InlineInconsistent model module.
20+
* @module model/InlineInconsistent
21+
* @version 1.1.3
22+
*/
23+
class InlineInconsistent {
24+
/**
25+
* Constructs a new <code>InlineInconsistent</code>.
26+
* @alias module:model/InlineInconsistent
27+
* @extends module:model/FrontProblem
28+
* @implements module:model/FrontProblem
29+
* @param type {String}
30+
*/
31+
constructor(type) {
32+
FrontProblem.initialize(this, type);
33+
InlineInconsistent.initialize(this, type);
34+
}
35+
36+
/**
37+
* Initializes the fields of this object.
38+
* This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
39+
* Only for internal use.
40+
*/
41+
static initialize(obj, type) {
42+
obj['name'] = name || '';
43+
obj['range'] = range;
44+
}
45+
46+
/**
47+
* Constructs a <code>InlineInconsistent</code> from a plain JavaScript object, optionally creating a new instance.
48+
* Copies all relevant properties from <code>data</code> to <code>obj</code> if supplied or a new instance if not.
49+
* @param {Object} data The plain JavaScript object bearing properties of interest.
50+
* @param {module:model/InlineInconsistent} obj Optional instance to populate.
51+
* @return {module:model/InlineInconsistent} The populated <code>InlineInconsistent</code> instance.
52+
*/
53+
static constructFromObject(data, obj) {
54+
if (data) {
55+
obj = obj || new InlineInconsistent();
56+
FrontProblem.constructFromObject(data, obj);
57+
FrontProblem.constructFromObject(data, obj);
58+
59+
if (data.hasOwnProperty('name')) {
60+
obj['name'] = ApiClient.convertToType(data['name'], 'String');
61+
}
62+
if (data.hasOwnProperty('range')) {
63+
obj['range'] = Range.constructFromObject(data['range']);
64+
}
65+
}
66+
return obj;
67+
}
68+
69+
70+
}
71+
72+
/**
73+
* @member {String} name
74+
* @default ''
75+
*/
76+
InlineInconsistent.prototype['name'] = '';
77+
78+
/**
79+
* @member {module:model/Range} range
80+
*/
81+
InlineInconsistent.prototype['range'] = undefined;
82+
83+
84+
// Implement FrontProblem interface:
85+
/**
86+
* @member {String} type
87+
* @default ''
88+
*/
89+
FrontProblem.prototype['type'] = '';
90+
91+
92+
93+
94+
export default InlineInconsistent;
95+
Lines changed: 71 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,71 @@
1+
/**
2+
* Delve Client SDK
3+
* This is a Client SDK for Delve API
4+
*
5+
* The version of the OpenAPI document: 1.1.3
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.RaiDbSdk);
24+
}
25+
}(this, function(expect, RaiDbSdk) {
26+
'use strict';
27+
28+
var instance;
29+
30+
beforeEach(function() {
31+
instance = new RaiDbSdk.InlineInconsistent();
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('InlineInconsistent', function() {
51+
it('should create an instance of InlineInconsistent', function() {
52+
// uncomment below and update the code to test InlineInconsistent
53+
//var instane = new RaiDbSdk.InlineInconsistent();
54+
//expect(instance).to.be.a(RaiDbSdk.InlineInconsistent);
55+
});
56+
57+
it('should have the property name (base name: "name")', function() {
58+
// uncomment below and update the code to test the property name
59+
//var instane = new RaiDbSdk.InlineInconsistent();
60+
//expect(instance).to.be();
61+
});
62+
63+
it('should have the property range (base name: "range")', function() {
64+
// uncomment below and update the code to test the property range
65+
//var instane = new RaiDbSdk.InlineInconsistent();
66+
//expect(instance).to.be();
67+
});
68+
69+
});
70+
71+
}));

0 commit comments

Comments
 (0)