forked from RCOSDP/GakuNinLMS-LTI-MC
/
InlineObject7.ts
121 lines (113 loc) · 2.76 KB
/
InlineObject7.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
/* tslint:disable */
/* eslint-disable */
/**
* chibichilo-server
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
*
* The version of the OpenAPI document: 2.1.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
import { exists, mapValues } from '../runtime';
/**
*
* @export
* @interface InlineObject7
*/
export interface InlineObject7 {
/**
*
* @type {string}
* @memberof InlineObject7
*/
event?: string;
/**
*
* @type {string}
* @memberof InlineObject7
*/
detail?: string;
/**
*
* @type {string}
* @memberof InlineObject7
*/
file?: string;
/**
*
* @type {string}
* @memberof InlineObject7
*/
query?: string;
/**
*
* @type {string}
* @memberof InlineObject7
*/
current?: string;
/**
*
* @type {string}
* @memberof InlineObject7
*/
rid?: string;
/**
*
* @type {string}
* @memberof InlineObject7
*/
uid?: string;
/**
*
* @type {string}
* @memberof InlineObject7
*/
cid?: string;
/**
*
* @type {string}
* @memberof InlineObject7
*/
nonce?: string;
}
export function InlineObject7FromJSON(json: any): InlineObject7 {
return InlineObject7FromJSONTyped(json, false);
}
export function InlineObject7FromJSONTyped(json: any, ignoreDiscriminator: boolean): InlineObject7 {
if ((json === undefined) || (json === null)) {
return json;
}
return {
'event': !exists(json, 'event') ? undefined : json['event'],
'detail': !exists(json, 'detail') ? undefined : json['detail'],
'file': !exists(json, 'file') ? undefined : json['file'],
'query': !exists(json, 'query') ? undefined : json['query'],
'current': !exists(json, 'current') ? undefined : json['current'],
'rid': !exists(json, 'rid') ? undefined : json['rid'],
'uid': !exists(json, 'uid') ? undefined : json['uid'],
'cid': !exists(json, 'cid') ? undefined : json['cid'],
'nonce': !exists(json, 'nonce') ? undefined : json['nonce'],
};
}
export function InlineObject7ToJSON(value?: InlineObject7 | null): any {
if (value === undefined) {
return undefined;
}
if (value === null) {
return null;
}
return {
'event': value.event,
'detail': value.detail,
'file': value.file,
'query': value.query,
'current': value.current,
'rid': value.rid,
'uid': value.uid,
'cid': value.cid,
'nonce': value.nonce,
};
}