Skip to content

Commit 30e7e66

Browse files
committed
[skip ci] repo-sync
1 parent 9a9e8c2 commit 30e7e66

12 files changed

+332
-22
lines changed
Lines changed: 51 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,51 @@
1+
/**
2+
* Api
3+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
4+
*
5+
* OpenAPI spec version: master
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+
14+
15+
/**
16+
* GenericRequestInput defines the payload that needs to be sent to a button\'s action URL
17+
*/
18+
export class LicenseApiGenericRequestInput {
19+
/**
20+
* Payload provides the json encoded payload
21+
*/
22+
'payload'?: string;
23+
/**
24+
* ReturnURL is the url from which the request is initiated
25+
*/
26+
'returnURL'?: string;
27+
28+
static readonly discriminator: string | undefined = undefined;
29+
30+
static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [
31+
{
32+
"name": "payload",
33+
"baseName": "payload",
34+
"type": "string",
35+
"format": ""
36+
},
37+
{
38+
"name": "returnURL",
39+
"baseName": "returnURL",
40+
"type": "string",
41+
"format": ""
42+
} ];
43+
44+
static getAttributeTypeMap() {
45+
return LicenseApiGenericRequestInput.attributeTypeMap;
46+
}
47+
48+
public constructor() {
49+
}
50+
}
51+
Lines changed: 62 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,62 @@
1+
/**
2+
* Api
3+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
4+
*
5+
* OpenAPI spec version: master
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 { LicenseApiButton } from '../models/licenseApiButton';
14+
15+
16+
/**
17+
* GenericRequestOutput specifies the response
18+
*/
19+
export class LicenseApiGenericRequestOutput {
20+
/**
21+
* Buttons to be shown to the user alongside other content (e.g. HTML).
22+
*/
23+
'buttons'?: Array<LicenseApiButton>;
24+
/**
25+
* HTML to display to the user.
26+
*/
27+
'html'?: string;
28+
/**
29+
* RedirectURL to redirect the user to.
30+
*/
31+
'redirectURL'?: string;
32+
33+
static readonly discriminator: string | undefined = undefined;
34+
35+
static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [
36+
{
37+
"name": "buttons",
38+
"baseName": "buttons",
39+
"type": "Array<LicenseApiButton>",
40+
"format": ""
41+
},
42+
{
43+
"name": "html",
44+
"baseName": "html",
45+
"type": "string",
46+
"format": ""
47+
},
48+
{
49+
"name": "redirectURL",
50+
"baseName": "redirectURL",
51+
"type": "string",
52+
"format": ""
53+
} ];
54+
55+
static getAttributeTypeMap() {
56+
return LicenseApiGenericRequestOutput.attributeTypeMap;
57+
}
58+
59+
public constructor() {
60+
}
61+
}
62+
Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,48 @@
1+
/**
2+
* Api
3+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
4+
*
5+
* OpenAPI spec version: master
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+
14+
15+
export class LicenseApiInstanceTokenAuth {
16+
/**
17+
* Certificate is the signing certificate for the token.
18+
*/
19+
'certificate': string;
20+
/**
21+
* Token is the jwt token identifying the loft instance.
22+
*/
23+
'token': string;
24+
25+
static readonly discriminator: string | undefined = undefined;
26+
27+
static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [
28+
{
29+
"name": "certificate",
30+
"baseName": "certificate",
31+
"type": "string",
32+
"format": ""
33+
},
34+
{
35+
"name": "token",
36+
"baseName": "token",
37+
"type": "string",
38+
"format": ""
39+
} ];
40+
41+
static getAttributeTypeMap() {
42+
return LicenseApiInstanceTokenAuth.attributeTypeMap;
43+
}
44+
45+
public constructor() {
46+
}
47+
}
48+

gen/models/licenseApiLicense.ts

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -25,10 +25,6 @@ import { LicenseApiPlan } from '../models/licenseApiPlan';
2525
export class LicenseApiLicense {
2626
'analytics'?: LicenseApiAnalytics;
2727
/**
28-
* Annotations contains additional metadata about the license.
29-
*/
30-
'annotations'?: { [key: string]: string; };
31-
/**
3228
* Announcements is a map string/string such that we can easily add any additional data without needing to change types. For now, we will use the keys \"name\" and \"content\".
3329
*/
3430
'announcement'?: Array<LicenseApiAnnouncement>;
@@ -75,12 +71,6 @@ export class LicenseApiLicense {
7571
"type": "LicenseApiAnalytics",
7672
"format": ""
7773
},
78-
{
79-
"name": "annotations",
80-
"baseName": "annotations",
81-
"type": "{ [key: string]: string; }",
82-
"format": ""
83-
},
8474
{
8575
"name": "announcement",
8676
"baseName": "announcement",

gen/models/managementV1LicenseRequestSpec.ts

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -10,13 +10,11 @@
1010
* Do not edit the class manually.
1111
*/
1212

13+
import { LicenseApiGenericRequestInput } from '../models/licenseApiGenericRequestInput';
1314

1415

1516
export class ManagementV1LicenseRequestSpec {
16-
/**
17-
* Input is the input payload to send to the url.
18-
*/
19-
'input'?: string;
17+
'input'?: LicenseApiGenericRequestInput;
2018
/**
2119
* URL is the url for the request.
2220
*/
@@ -28,7 +26,7 @@ export class ManagementV1LicenseRequestSpec {
2826
{
2927
"name": "input",
3028
"baseName": "input",
31-
"type": "string",
29+
"type": "LicenseApiGenericRequestInput",
3230
"format": ""
3331
},
3432
{

gen/models/managementV1LicenseRequestStatus.ts

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -10,21 +10,19 @@
1010
* Do not edit the class manually.
1111
*/
1212

13+
import { LicenseApiGenericRequestOutput } from '../models/licenseApiGenericRequestOutput';
1314

1415

1516
export class ManagementV1LicenseRequestStatus {
16-
/**
17-
* Output is where the request output is stored.
18-
*/
19-
'output'?: string;
17+
'output'?: LicenseApiGenericRequestOutput;
2018

2119
static readonly discriminator: string | undefined = undefined;
2220

2321
static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [
2422
{
2523
"name": "output",
2624
"baseName": "output",
27-
"type": "string",
25+
"type": "LicenseApiGenericRequestOutput",
2826
"format": ""
2927
} ];
3028

Lines changed: 75 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,75 @@
1+
/**
2+
* Api
3+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
4+
*
5+
* OpenAPI spec version: master
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 { ManagementV1LicenseTokenSpec } from '../models/managementV1LicenseTokenSpec';
14+
import { ManagementV1LicenseTokenStatus } from '../models/managementV1LicenseTokenStatus';
15+
import { V1ObjectMeta } from '../models/V1ObjectMeta';
16+
17+
18+
/**
19+
* License Token holds the license token information
20+
*/
21+
export class ManagementV1LicenseToken {
22+
/**
23+
* APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
24+
*/
25+
'apiVersion'?: string;
26+
/**
27+
* Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
28+
*/
29+
'kind'?: string;
30+
'metadata'?: V1ObjectMeta;
31+
'spec'?: ManagementV1LicenseTokenSpec;
32+
'status'?: ManagementV1LicenseTokenStatus;
33+
34+
static readonly discriminator: string | undefined = undefined;
35+
36+
static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [
37+
{
38+
"name": "apiVersion",
39+
"baseName": "apiVersion",
40+
"type": "string",
41+
"format": ""
42+
},
43+
{
44+
"name": "kind",
45+
"baseName": "kind",
46+
"type": "string",
47+
"format": ""
48+
},
49+
{
50+
"name": "metadata",
51+
"baseName": "metadata",
52+
"type": "V1ObjectMeta",
53+
"format": ""
54+
},
55+
{
56+
"name": "spec",
57+
"baseName": "spec",
58+
"type": "ManagementV1LicenseTokenSpec",
59+
"format": ""
60+
},
61+
{
62+
"name": "status",
63+
"baseName": "status",
64+
"type": "ManagementV1LicenseTokenStatus",
65+
"format": ""
66+
} ];
67+
68+
static getAttributeTypeMap() {
69+
return ManagementV1LicenseToken.attributeTypeMap;
70+
}
71+
72+
public constructor() {
73+
}
74+
}
75+
Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
/**
2+
* Api
3+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
4+
*
5+
* OpenAPI spec version: master
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+
14+
15+
export class ManagementV1LicenseTokenSpec {
16+
'payload'?: string;
17+
'url'?: string;
18+
19+
static readonly discriminator: string | undefined = undefined;
20+
21+
static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [
22+
{
23+
"name": "payload",
24+
"baseName": "payload",
25+
"type": "string",
26+
"format": ""
27+
},
28+
{
29+
"name": "url",
30+
"baseName": "url",
31+
"type": "string",
32+
"format": ""
33+
} ];
34+
35+
static getAttributeTypeMap() {
36+
return ManagementV1LicenseTokenSpec.attributeTypeMap;
37+
}
38+
39+
public constructor() {
40+
}
41+
}
42+
Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
/**
2+
* Api
3+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
4+
*
5+
* OpenAPI spec version: master
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 { LicenseApiInstanceTokenAuth } from '../models/licenseApiInstanceTokenAuth';
14+
15+
16+
export class ManagementV1LicenseTokenStatus {
17+
'token'?: LicenseApiInstanceTokenAuth;
18+
19+
static readonly discriminator: string | undefined = undefined;
20+
21+
static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [
22+
{
23+
"name": "token",
24+
"baseName": "token",
25+
"type": "LicenseApiInstanceTokenAuth",
26+
"format": ""
27+
} ];
28+
29+
static getAttributeTypeMap() {
30+
return ManagementV1LicenseTokenStatus.attributeTypeMap;
31+
}
32+
33+
public constructor() {
34+
}
35+
}
36+

0 commit comments

Comments
 (0)