@explo-tech/fido-api 0.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,50 @@
1
+ /**
2
+ * fido API
3
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
4
+ *
5
+ * The version of the OpenAPI document: unspecified
6
+ *
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
+ import { RequestFile } from './models';
14
+ import { DataRequestParameters } from './dataRequestParameters';
15
+
16
+ export class ComputedViewRunRequest {
17
+ 'query': string;
18
+ 'tableIdentifier': string;
19
+ 'dataRequestParameters': DataRequestParameters;
20
+ 'queryContext': { [key: string]: any; };
21
+
22
+ static discriminator: string | undefined = undefined;
23
+
24
+ static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
25
+ {
26
+ "name": "query",
27
+ "baseName": "query",
28
+ "type": "string"
29
+ },
30
+ {
31
+ "name": "tableIdentifier",
32
+ "baseName": "tableIdentifier",
33
+ "type": "string"
34
+ },
35
+ {
36
+ "name": "dataRequestParameters",
37
+ "baseName": "dataRequestParameters",
38
+ "type": "DataRequestParameters"
39
+ },
40
+ {
41
+ "name": "queryContext",
42
+ "baseName": "queryContext",
43
+ "type": "{ [key: string]: any; }"
44
+ } ];
45
+
46
+ static getAttributeTypeMap() {
47
+ return ComputedViewRunRequest.attributeTypeMap;
48
+ }
49
+ }
50
+
@@ -0,0 +1,32 @@
1
+ /**
2
+ * fido API
3
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
4
+ *
5
+ * The version of the OpenAPI document: unspecified
6
+ *
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
+ import { RequestFile } from './models';
14
+ import { Record } from './record';
15
+
16
+ export class DataPage {
17
+ 'records': Array<Record>;
18
+
19
+ static discriminator: string | undefined = undefined;
20
+
21
+ static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
22
+ {
23
+ "name": "records",
24
+ "baseName": "records",
25
+ "type": "Array<Record>"
26
+ } ];
27
+
28
+ static getAttributeTypeMap() {
29
+ return DataPage.attributeTypeMap;
30
+ }
31
+ }
32
+
@@ -0,0 +1,38 @@
1
+ /**
2
+ * fido API
3
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
4
+ *
5
+ * The version of the OpenAPI document: unspecified
6
+ *
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
+ import { RequestFile } from './models';
14
+ import { PagingConfiguration } from './pagingConfiguration';
15
+
16
+ export class DataRequestParameters {
17
+ 'pagingConfiguration'?: PagingConfiguration;
18
+ 'includeTotalResults'?: boolean;
19
+
20
+ static discriminator: string | undefined = undefined;
21
+
22
+ static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
23
+ {
24
+ "name": "pagingConfiguration",
25
+ "baseName": "pagingConfiguration",
26
+ "type": "PagingConfiguration"
27
+ },
28
+ {
29
+ "name": "includeTotalResults",
30
+ "baseName": "includeTotalResults",
31
+ "type": "boolean"
32
+ } ];
33
+
34
+ static getAttributeTypeMap() {
35
+ return DataRequestParameters.attributeTypeMap;
36
+ }
37
+ }
38
+
@@ -0,0 +1,44 @@
1
+ /**
2
+ * fido API
3
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
4
+ *
5
+ * The version of the OpenAPI document: unspecified
6
+ *
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
+ import { RequestFile } from './models';
14
+ import { DataSchema } from './dataSchema';
15
+
16
+ export class DataResponseMetadata {
17
+ 'schema': DataSchema;
18
+ 'totalResults': number | null;
19
+ 'renderedQuery': string | null;
20
+
21
+ static discriminator: string | undefined = undefined;
22
+
23
+ static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
24
+ {
25
+ "name": "schema",
26
+ "baseName": "schema",
27
+ "type": "DataSchema"
28
+ },
29
+ {
30
+ "name": "totalResults",
31
+ "baseName": "totalResults",
32
+ "type": "number"
33
+ },
34
+ {
35
+ "name": "renderedQuery",
36
+ "baseName": "renderedQuery",
37
+ "type": "string"
38
+ } ];
39
+
40
+ static getAttributeTypeMap() {
41
+ return DataResponseMetadata.attributeTypeMap;
42
+ }
43
+ }
44
+
@@ -0,0 +1,32 @@
1
+ /**
2
+ * fido API
3
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
4
+ *
5
+ * The version of the OpenAPI document: unspecified
6
+ *
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
+ import { RequestFile } from './models';
14
+ import { PropertySchema } from './propertySchema';
15
+
16
+ export class DataSchema {
17
+ 'propertySchema': Array<PropertySchema>;
18
+
19
+ static discriminator: string | undefined = undefined;
20
+
21
+ static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
22
+ {
23
+ "name": "propertySchema",
24
+ "baseName": "propertySchema",
25
+ "type": "Array<PropertySchema>"
26
+ } ];
27
+
28
+ static getAttributeTypeMap() {
29
+ return DataSchema.attributeTypeMap;
30
+ }
31
+ }
32
+
@@ -0,0 +1,56 @@
1
+ /**
2
+ * fido API
3
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
4
+ *
5
+ * The version of the OpenAPI document: unspecified
6
+ *
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
+ import { RequestFile } from './models';
14
+ import { DataSourceConfiguration } from './dataSourceConfiguration';
15
+
16
+ export class DataSource {
17
+ 'name': string;
18
+ 'externalId': string;
19
+ 'id'?: string | null;
20
+ 'namespaceId'?: string | null;
21
+ 'configuration': DataSourceConfiguration;
22
+
23
+ static discriminator: string | undefined = undefined;
24
+
25
+ static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
26
+ {
27
+ "name": "name",
28
+ "baseName": "name",
29
+ "type": "string"
30
+ },
31
+ {
32
+ "name": "externalId",
33
+ "baseName": "externalId",
34
+ "type": "string"
35
+ },
36
+ {
37
+ "name": "id",
38
+ "baseName": "id",
39
+ "type": "string"
40
+ },
41
+ {
42
+ "name": "namespaceId",
43
+ "baseName": "namespaceId",
44
+ "type": "string"
45
+ },
46
+ {
47
+ "name": "configuration",
48
+ "baseName": "configuration",
49
+ "type": "DataSourceConfiguration"
50
+ } ];
51
+
52
+ static getAttributeTypeMap() {
53
+ return DataSource.attributeTypeMap;
54
+ }
55
+ }
56
+
@@ -0,0 +1,31 @@
1
+ /**
2
+ * fido API
3
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
4
+ *
5
+ * The version of the OpenAPI document: unspecified
6
+ *
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
+ import { RequestFile } from './models';
14
+
15
+ export class DataSourceConfiguration {
16
+ 'tunnel'?: object;
17
+
18
+ static discriminator: string | undefined = undefined;
19
+
20
+ static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
21
+ {
22
+ "name": "tunnel",
23
+ "baseName": "tunnel",
24
+ "type": "object"
25
+ } ];
26
+
27
+ static getAttributeTypeMap() {
28
+ return DataSourceConfiguration.attributeTypeMap;
29
+ }
30
+ }
31
+
@@ -0,0 +1,32 @@
1
+ /**
2
+ * fido API
3
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
4
+ *
5
+ * The version of the OpenAPI document: unspecified
6
+ *
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
+ import { RequestFile } from './models';
14
+ import { DataSource } from './dataSource';
15
+
16
+ export class DataSourceRequest {
17
+ 'dataSource': DataSource;
18
+
19
+ static discriminator: string | undefined = undefined;
20
+
21
+ static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
22
+ {
23
+ "name": "dataSource",
24
+ "baseName": "dataSource",
25
+ "type": "DataSource"
26
+ } ];
27
+
28
+ static getAttributeTypeMap() {
29
+ return DataSourceRequest.attributeTypeMap;
30
+ }
31
+ }
32
+
@@ -0,0 +1,38 @@
1
+ /**
2
+ * fido API
3
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
4
+ *
5
+ * The version of the OpenAPI document: unspecified
6
+ *
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
+ import { RequestFile } from './models';
14
+ import { DataRequestParameters } from './dataRequestParameters';
15
+
16
+ export class DataSourceTablePreviewRequest {
17
+ 'tableIdentifier': string;
18
+ 'dataRequestParameters': DataRequestParameters;
19
+
20
+ static discriminator: string | undefined = undefined;
21
+
22
+ static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
23
+ {
24
+ "name": "tableIdentifier",
25
+ "baseName": "tableIdentifier",
26
+ "type": "string"
27
+ },
28
+ {
29
+ "name": "dataRequestParameters",
30
+ "baseName": "dataRequestParameters",
31
+ "type": "DataRequestParameters"
32
+ } ];
33
+
34
+ static getAttributeTypeMap() {
35
+ return DataSourceTablePreviewRequest.attributeTypeMap;
36
+ }
37
+ }
38
+
@@ -0,0 +1,282 @@
1
+ import localVarRequest from 'request';
2
+
3
+ export * from './computedViewRunRequest';
4
+ export * from './dataPage';
5
+ export * from './dataRequestParameters';
6
+ export * from './dataResponseMetadata';
7
+ export * from './dataSchema';
8
+ export * from './dataSource';
9
+ export * from './dataSourceConfiguration';
10
+ export * from './dataSourceRequest';
11
+ export * from './dataSourceTablePreviewRequest';
12
+ export * from './namespace';
13
+ export * from './namespaceRequest';
14
+ export * from './namespaceResponseMetadata';
15
+ export * from './pagingConfiguration';
16
+ export * from './propertySchema';
17
+ export * from './propertyType';
18
+ export * from './record';
19
+ export * from './v1NamespacesIdGet200Response';
20
+ export * from './v1NamespacesIdGet200ResponseMeta';
21
+ export * from './v1NamespacesIdGet4xxResponse';
22
+ export * from './v1NamespacesNamespaceIdDataSourcesDataSourceIdPreviewPost200Response';
23
+ export * from './v1NamespacesNamespaceIdDataSourcesIdGet200Response';
24
+
25
+ import * as fs from 'fs';
26
+
27
+ export interface RequestDetailedFile {
28
+ value: Buffer;
29
+ options?: {
30
+ filename?: string;
31
+ contentType?: string;
32
+ }
33
+ }
34
+
35
+ export type RequestFile = string | Buffer | fs.ReadStream | RequestDetailedFile;
36
+
37
+
38
+ import { ComputedViewRunRequest } from './computedViewRunRequest';
39
+ import { DataPage } from './dataPage';
40
+ import { DataRequestParameters } from './dataRequestParameters';
41
+ import { DataResponseMetadata } from './dataResponseMetadata';
42
+ import { DataSchema } from './dataSchema';
43
+ import { DataSource } from './dataSource';
44
+ import { DataSourceConfiguration } from './dataSourceConfiguration';
45
+ import { DataSourceRequest } from './dataSourceRequest';
46
+ import { DataSourceTablePreviewRequest } from './dataSourceTablePreviewRequest';
47
+ import { Namespace } from './namespace';
48
+ import { NamespaceRequest } from './namespaceRequest';
49
+ import { NamespaceResponseMetadata } from './namespaceResponseMetadata';
50
+ import { PagingConfiguration } from './pagingConfiguration';
51
+ import { PropertySchema } from './propertySchema';
52
+ import { PropertyType } from './propertyType';
53
+ import { Record } from './record';
54
+ import { V1NamespacesIdGet200Response } from './v1NamespacesIdGet200Response';
55
+ import { V1NamespacesIdGet200ResponseMeta } from './v1NamespacesIdGet200ResponseMeta';
56
+ import { V1NamespacesIdGet4xxResponse } from './v1NamespacesIdGet4xxResponse';
57
+ import { V1NamespacesNamespaceIdDataSourcesDataSourceIdPreviewPost200Response } from './v1NamespacesNamespaceIdDataSourcesDataSourceIdPreviewPost200Response';
58
+ import { V1NamespacesNamespaceIdDataSourcesIdGet200Response } from './v1NamespacesNamespaceIdDataSourcesIdGet200Response';
59
+
60
+ /* tslint:disable:no-unused-variable */
61
+ let primitives = [
62
+ "string",
63
+ "boolean",
64
+ "double",
65
+ "integer",
66
+ "long",
67
+ "float",
68
+ "number",
69
+ "any"
70
+ ];
71
+
72
+ let enumsMap: {[index: string]: any} = {
73
+ "PropertyType": PropertyType,
74
+ }
75
+
76
+ let typeMap: {[index: string]: any} = {
77
+ "ComputedViewRunRequest": ComputedViewRunRequest,
78
+ "DataPage": DataPage,
79
+ "DataRequestParameters": DataRequestParameters,
80
+ "DataResponseMetadata": DataResponseMetadata,
81
+ "DataSchema": DataSchema,
82
+ "DataSource": DataSource,
83
+ "DataSourceConfiguration": DataSourceConfiguration,
84
+ "DataSourceRequest": DataSourceRequest,
85
+ "DataSourceTablePreviewRequest": DataSourceTablePreviewRequest,
86
+ "Namespace": Namespace,
87
+ "NamespaceRequest": NamespaceRequest,
88
+ "NamespaceResponseMetadata": NamespaceResponseMetadata,
89
+ "PagingConfiguration": PagingConfiguration,
90
+ "PropertySchema": PropertySchema,
91
+ "Record": Record,
92
+ "V1NamespacesIdGet200Response": V1NamespacesIdGet200Response,
93
+ "V1NamespacesIdGet200ResponseMeta": V1NamespacesIdGet200ResponseMeta,
94
+ "V1NamespacesIdGet4xxResponse": V1NamespacesIdGet4xxResponse,
95
+ "V1NamespacesNamespaceIdDataSourcesDataSourceIdPreviewPost200Response": V1NamespacesNamespaceIdDataSourcesDataSourceIdPreviewPost200Response,
96
+ "V1NamespacesNamespaceIdDataSourcesIdGet200Response": V1NamespacesNamespaceIdDataSourcesIdGet200Response,
97
+ }
98
+
99
+ export class ObjectSerializer {
100
+ public static findCorrectType(data: any, expectedType: string) {
101
+ if (data == undefined) {
102
+ return expectedType;
103
+ } else if (primitives.indexOf(expectedType.toLowerCase()) !== -1) {
104
+ return expectedType;
105
+ } else if (expectedType === "Date") {
106
+ return expectedType;
107
+ } else {
108
+ if (enumsMap[expectedType]) {
109
+ return expectedType;
110
+ }
111
+
112
+ if (!typeMap[expectedType]) {
113
+ return expectedType; // w/e we don't know the type
114
+ }
115
+
116
+ // Check the discriminator
117
+ let discriminatorProperty = typeMap[expectedType].discriminator;
118
+ if (discriminatorProperty == null) {
119
+ return expectedType; // the type does not have a discriminator. use it.
120
+ } else {
121
+ if (data[discriminatorProperty]) {
122
+ var discriminatorType = data[discriminatorProperty];
123
+ if(typeMap[discriminatorType]){
124
+ return discriminatorType; // use the type given in the discriminator
125
+ } else {
126
+ return expectedType; // discriminator did not map to a type
127
+ }
128
+ } else {
129
+ return expectedType; // discriminator was not present (or an empty string)
130
+ }
131
+ }
132
+ }
133
+ }
134
+
135
+ public static serialize(data: any, type: string) {
136
+ if (data == undefined) {
137
+ return data;
138
+ } else if (primitives.indexOf(type.toLowerCase()) !== -1) {
139
+ return data;
140
+ } else if (type.lastIndexOf("Array<", 0) === 0) { // string.startsWith pre es6
141
+ let subType: string = type.replace("Array<", ""); // Array<Type> => Type>
142
+ subType = subType.substring(0, subType.length - 1); // Type> => Type
143
+ let transformedData: any[] = [];
144
+ for (let index = 0; index < data.length; index++) {
145
+ let datum = data[index];
146
+ transformedData.push(ObjectSerializer.serialize(datum, subType));
147
+ }
148
+ return transformedData;
149
+ } else if (type === "Date") {
150
+ return data.toISOString();
151
+ } else {
152
+ if (enumsMap[type]) {
153
+ return data;
154
+ }
155
+ if (!typeMap[type]) { // in case we dont know the type
156
+ return data;
157
+ }
158
+
159
+ // Get the actual type of this object
160
+ type = this.findCorrectType(data, type);
161
+
162
+ // get the map for the correct type.
163
+ let attributeTypes = typeMap[type].getAttributeTypeMap();
164
+ let instance: {[index: string]: any} = {};
165
+ for (let index = 0; index < attributeTypes.length; index++) {
166
+ let attributeType = attributeTypes[index];
167
+ instance[attributeType.baseName] = ObjectSerializer.serialize(data[attributeType.name], attributeType.type);
168
+ }
169
+ return instance;
170
+ }
171
+ }
172
+
173
+ public static deserialize(data: any, type: string) {
174
+ // polymorphism may change the actual type.
175
+ type = ObjectSerializer.findCorrectType(data, type);
176
+ if (data == undefined) {
177
+ return data;
178
+ } else if (primitives.indexOf(type.toLowerCase()) !== -1) {
179
+ return data;
180
+ } else if (type.lastIndexOf("Array<", 0) === 0) { // string.startsWith pre es6
181
+ let subType: string = type.replace("Array<", ""); // Array<Type> => Type>
182
+ subType = subType.substring(0, subType.length - 1); // Type> => Type
183
+ let transformedData: any[] = [];
184
+ for (let index = 0; index < data.length; index++) {
185
+ let datum = data[index];
186
+ transformedData.push(ObjectSerializer.deserialize(datum, subType));
187
+ }
188
+ return transformedData;
189
+ } else if (type === "Date") {
190
+ return new Date(data);
191
+ } else {
192
+ if (enumsMap[type]) {// is Enum
193
+ return data;
194
+ }
195
+
196
+ if (!typeMap[type]) { // dont know the type
197
+ return data;
198
+ }
199
+ let instance = new typeMap[type]();
200
+ let attributeTypes = typeMap[type].getAttributeTypeMap();
201
+ for (let index = 0; index < attributeTypes.length; index++) {
202
+ let attributeType = attributeTypes[index];
203
+ instance[attributeType.name] = ObjectSerializer.deserialize(data[attributeType.baseName], attributeType.type);
204
+ }
205
+ return instance;
206
+ }
207
+ }
208
+ }
209
+
210
+ export interface Authentication {
211
+ /**
212
+ * Apply authentication settings to header and query params.
213
+ */
214
+ applyToRequest(requestOptions: localVarRequest.Options): Promise<void> | void;
215
+ }
216
+
217
+ export class HttpBasicAuth implements Authentication {
218
+ public username: string = '';
219
+ public password: string = '';
220
+
221
+ applyToRequest(requestOptions: localVarRequest.Options): void {
222
+ requestOptions.auth = {
223
+ username: this.username, password: this.password
224
+ }
225
+ }
226
+ }
227
+
228
+ export class HttpBearerAuth implements Authentication {
229
+ public accessToken: string | (() => string) = '';
230
+
231
+ applyToRequest(requestOptions: localVarRequest.Options): void {
232
+ if (requestOptions && requestOptions.headers) {
233
+ const accessToken = typeof this.accessToken === 'function'
234
+ ? this.accessToken()
235
+ : this.accessToken;
236
+ requestOptions.headers["Authorization"] = "Bearer " + accessToken;
237
+ }
238
+ }
239
+ }
240
+
241
+ export class ApiKeyAuth implements Authentication {
242
+ public apiKey: string = '';
243
+
244
+ constructor(private location: string, private paramName: string) {
245
+ }
246
+
247
+ applyToRequest(requestOptions: localVarRequest.Options): void {
248
+ if (this.location == "query") {
249
+ (<any>requestOptions.qs)[this.paramName] = this.apiKey;
250
+ } else if (this.location == "header" && requestOptions && requestOptions.headers) {
251
+ requestOptions.headers[this.paramName] = this.apiKey;
252
+ } else if (this.location == 'cookie' && requestOptions && requestOptions.headers) {
253
+ if (requestOptions.headers['Cookie']) {
254
+ requestOptions.headers['Cookie'] += '; ' + this.paramName + '=' + encodeURIComponent(this.apiKey);
255
+ }
256
+ else {
257
+ requestOptions.headers['Cookie'] = this.paramName + '=' + encodeURIComponent(this.apiKey);
258
+ }
259
+ }
260
+ }
261
+ }
262
+
263
+ export class OAuth implements Authentication {
264
+ public accessToken: string = '';
265
+
266
+ applyToRequest(requestOptions: localVarRequest.Options): void {
267
+ if (requestOptions && requestOptions.headers) {
268
+ requestOptions.headers["Authorization"] = "Bearer " + this.accessToken;
269
+ }
270
+ }
271
+ }
272
+
273
+ export class VoidAuth implements Authentication {
274
+ public username: string = '';
275
+ public password: string = '';
276
+
277
+ applyToRequest(_: localVarRequest.Options): void {
278
+ // Do nothing
279
+ }
280
+ }
281
+
282
+ export type Interceptor = (requestOptions: localVarRequest.Options) => (Promise<void> | void);
@@ -0,0 +1,37 @@
1
+ /**
2
+ * fido API
3
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
4
+ *
5
+ * The version of the OpenAPI document: unspecified
6
+ *
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
+ import { RequestFile } from './models';
14
+
15
+ export class Namespace {
16
+ 'name': string;
17
+ 'id'?: string | null;
18
+
19
+ static discriminator: string | undefined = undefined;
20
+
21
+ static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
22
+ {
23
+ "name": "name",
24
+ "baseName": "name",
25
+ "type": "string"
26
+ },
27
+ {
28
+ "name": "id",
29
+ "baseName": "id",
30
+ "type": "string"
31
+ } ];
32
+
33
+ static getAttributeTypeMap() {
34
+ return Namespace.attributeTypeMap;
35
+ }
36
+ }
37
+