@otr-app/shared-backend-generated-client 2.5.3 → 2.5.4
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.
|
@@ -10,6 +10,8 @@
|
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
12
|
export interface ViolationModel0 {
|
|
13
|
+
"isCriminal"?: boolean;
|
|
14
|
+
"isMoving"?: boolean;
|
|
13
15
|
"userFriendlyName"?: string;
|
|
14
16
|
"violationClassification"?: ViolationModel0.ViolationClassificationEnum;
|
|
15
17
|
"violationClassificationDescription"?: string;
|
|
@@ -15,6 +15,18 @@
|
|
|
15
15
|
* @interface ViolationModel0
|
|
16
16
|
*/
|
|
17
17
|
export interface ViolationModel0 {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {boolean}
|
|
21
|
+
* @memberof ViolationModel0
|
|
22
|
+
*/
|
|
23
|
+
isCriminal?: boolean;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {boolean}
|
|
27
|
+
* @memberof ViolationModel0
|
|
28
|
+
*/
|
|
29
|
+
isMoving?: boolean;
|
|
18
30
|
/**
|
|
19
31
|
*
|
|
20
32
|
* @type {string}
|
|
@@ -20,6 +20,8 @@ export function ViolationModel0FromJSONTyped(json, ignoreDiscriminator) {
|
|
|
20
20
|
return json;
|
|
21
21
|
}
|
|
22
22
|
return {
|
|
23
|
+
'isCriminal': !exists(json, 'isCriminal') ? undefined : json['isCriminal'],
|
|
24
|
+
'isMoving': !exists(json, 'isMoving') ? undefined : json['isMoving'],
|
|
23
25
|
'userFriendlyName': !exists(json, 'userFriendlyName') ? undefined : json['userFriendlyName'],
|
|
24
26
|
'violationClassification': !exists(json, 'violationClassification') ? undefined : json['violationClassification'],
|
|
25
27
|
'violationClassificationDescription': !exists(json, 'violationClassificationDescription') ? undefined : json['violationClassificationDescription'],
|
|
@@ -34,6 +36,8 @@ export function ViolationModel0ToJSON(value) {
|
|
|
34
36
|
return null;
|
|
35
37
|
}
|
|
36
38
|
return {
|
|
39
|
+
'isCriminal': value.isCriminal,
|
|
40
|
+
'isMoving': value.isMoving,
|
|
37
41
|
'userFriendlyName': value.userFriendlyName,
|
|
38
42
|
'violationClassification': value.violationClassification,
|
|
39
43
|
'violationClassificationDescription': value.violationClassificationDescription,
|