@openshift-migration-advisor/planner-sdk 0.13.0 → 0.13.1-5b03e25a9bc5
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.
- package/README.md +2 -2
- package/dist/esm/models/SharingSubject.d.ts +6 -0
- package/dist/esm/models/SharingSubject.js +4 -0
- package/dist/models/SharingSubject.d.ts +6 -0
- package/dist/models/SharingSubject.js +4 -0
- package/docs/SharingSubject.md +2 -0
- package/package.json +1 -1
- package/src/models/SharingSubject.ts +9 -0
package/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
# @openshift-migration-advisor/planner-sdk@0.13.
|
|
1
|
+
# @openshift-migration-advisor/planner-sdk@0.13.1-5b03e25a9bc5
|
|
2
2
|
|
|
3
3
|
A TypeScript SDK client for the raw.githubusercontent.com API.
|
|
4
4
|
|
|
@@ -181,7 +181,7 @@ and is automatically generated by the
|
|
|
181
181
|
[OpenAPI Generator](https://openapi-generator.tech) project:
|
|
182
182
|
|
|
183
183
|
- API version: `v1alpha1`
|
|
184
|
-
- Package version: `0.13.
|
|
184
|
+
- Package version: `0.13.1-5b03e25a9bc5`
|
|
185
185
|
- Generator version: `7.23.0-SNAPSHOT`
|
|
186
186
|
- Build package: `org.openapitools.codegen.languages.TypeScriptFetchClientCodegen`
|
|
187
187
|
|
|
@@ -27,6 +27,12 @@ export interface SharingSubject {
|
|
|
27
27
|
* @memberof SharingSubject
|
|
28
28
|
*/
|
|
29
29
|
id: string;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof SharingSubject
|
|
34
|
+
*/
|
|
35
|
+
name: string;
|
|
30
36
|
}
|
|
31
37
|
/**
|
|
32
38
|
* Check if a given object implements the SharingSubject interface.
|
|
@@ -19,6 +19,8 @@ export function instanceOfSharingSubject(value) {
|
|
|
19
19
|
return false;
|
|
20
20
|
if (!('id' in value) || value['id'] === undefined)
|
|
21
21
|
return false;
|
|
22
|
+
if (!('name' in value) || value['name'] === undefined)
|
|
23
|
+
return false;
|
|
22
24
|
return true;
|
|
23
25
|
}
|
|
24
26
|
export function SharingSubjectFromJSON(json) {
|
|
@@ -31,6 +33,7 @@ export function SharingSubjectFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
31
33
|
return {
|
|
32
34
|
'type': json['type'],
|
|
33
35
|
'id': json['id'],
|
|
36
|
+
'name': json['name'],
|
|
34
37
|
};
|
|
35
38
|
}
|
|
36
39
|
export function SharingSubjectToJSON(json) {
|
|
@@ -43,5 +46,6 @@ export function SharingSubjectToJSONTyped(value, ignoreDiscriminator = false) {
|
|
|
43
46
|
return {
|
|
44
47
|
'type': value['type'],
|
|
45
48
|
'id': value['id'],
|
|
49
|
+
'name': value['name'],
|
|
46
50
|
};
|
|
47
51
|
}
|
|
@@ -27,6 +27,12 @@ export interface SharingSubject {
|
|
|
27
27
|
* @memberof SharingSubject
|
|
28
28
|
*/
|
|
29
29
|
id: string;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof SharingSubject
|
|
34
|
+
*/
|
|
35
|
+
name: string;
|
|
30
36
|
}
|
|
31
37
|
/**
|
|
32
38
|
* Check if a given object implements the SharingSubject interface.
|
|
@@ -26,6 +26,8 @@ function instanceOfSharingSubject(value) {
|
|
|
26
26
|
return false;
|
|
27
27
|
if (!('id' in value) || value['id'] === undefined)
|
|
28
28
|
return false;
|
|
29
|
+
if (!('name' in value) || value['name'] === undefined)
|
|
30
|
+
return false;
|
|
29
31
|
return true;
|
|
30
32
|
}
|
|
31
33
|
function SharingSubjectFromJSON(json) {
|
|
@@ -38,6 +40,7 @@ function SharingSubjectFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
38
40
|
return {
|
|
39
41
|
'type': json['type'],
|
|
40
42
|
'id': json['id'],
|
|
43
|
+
'name': json['name'],
|
|
41
44
|
};
|
|
42
45
|
}
|
|
43
46
|
function SharingSubjectToJSON(json) {
|
|
@@ -50,5 +53,6 @@ function SharingSubjectToJSONTyped(value, ignoreDiscriminator = false) {
|
|
|
50
53
|
return {
|
|
51
54
|
'type': value['type'],
|
|
52
55
|
'id': value['id'],
|
|
56
|
+
'name': value['name'],
|
|
53
57
|
};
|
|
54
58
|
}
|
package/docs/SharingSubject.md
CHANGED
|
@@ -8,6 +8,7 @@ Name | Type
|
|
|
8
8
|
------------ | -------------
|
|
9
9
|
`type` | string
|
|
10
10
|
`id` | string
|
|
11
|
+
`name` | string
|
|
11
12
|
|
|
12
13
|
## Example
|
|
13
14
|
|
|
@@ -18,6 +19,7 @@ import type { SharingSubject } from '@openshift-migration-advisor/planner-sdk'
|
|
|
18
19
|
const example = {
|
|
19
20
|
"type": null,
|
|
20
21
|
"id": null,
|
|
22
|
+
"name": null,
|
|
21
23
|
} satisfies SharingSubject
|
|
22
24
|
|
|
23
25
|
console.log(example)
|
package/package.json
CHANGED
|
@@ -31,6 +31,12 @@ export interface SharingSubject {
|
|
|
31
31
|
* @memberof SharingSubject
|
|
32
32
|
*/
|
|
33
33
|
id: string;
|
|
34
|
+
/**
|
|
35
|
+
*
|
|
36
|
+
* @type {string}
|
|
37
|
+
* @memberof SharingSubject
|
|
38
|
+
*/
|
|
39
|
+
name: string;
|
|
34
40
|
}
|
|
35
41
|
|
|
36
42
|
/**
|
|
@@ -39,6 +45,7 @@ export interface SharingSubject {
|
|
|
39
45
|
export function instanceOfSharingSubject(value: object): value is SharingSubject {
|
|
40
46
|
if (!('type' in value) || value['type'] === undefined) return false;
|
|
41
47
|
if (!('id' in value) || value['id'] === undefined) return false;
|
|
48
|
+
if (!('name' in value) || value['name'] === undefined) return false;
|
|
42
49
|
return true;
|
|
43
50
|
}
|
|
44
51
|
|
|
@@ -54,6 +61,7 @@ export function SharingSubjectFromJSONTyped(json: any, ignoreDiscriminator: bool
|
|
|
54
61
|
|
|
55
62
|
'type': json['type'],
|
|
56
63
|
'id': json['id'],
|
|
64
|
+
'name': json['name'],
|
|
57
65
|
};
|
|
58
66
|
}
|
|
59
67
|
|
|
@@ -70,6 +78,7 @@ export function SharingSubjectToJSONTyped(value?: SharingSubject | null, ignoreD
|
|
|
70
78
|
|
|
71
79
|
'type': value['type'],
|
|
72
80
|
'id': value['id'],
|
|
81
|
+
'name': value['name'],
|
|
73
82
|
};
|
|
74
83
|
}
|
|
75
84
|
|