/
v1alpha1ServerStorageVersion.ts
64 lines (58 loc) · 1.91 KB
/
v1alpha1ServerStorageVersion.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
/**
* Kubernetes
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
*
* The version of the OpenAPI document: release-1.28
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
import { RequestFile } from './models';
/**
* An API server instance reports the version it can decode and the version it encodes objects to when persisting objects in the backend.
*/
export class V1alpha1ServerStorageVersion {
/**
* The ID of the reporting API server.
*/
'apiServerID'?: string;
/**
* The API server can decode objects encoded in these versions. The encodingVersion must be included in the decodableVersions.
*/
'decodableVersions'?: Array<string>;
/**
* The API server encodes the object to this version when persisting it in the backend (e.g., etcd).
*/
'encodingVersion'?: string;
/**
* The API server can serve these versions. DecodableVersions must include all ServedVersions.
*/
'servedVersions'?: Array<string>;
static discriminator: string | undefined = undefined;
static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
{
"name": "apiServerID",
"baseName": "apiServerID",
"type": "string"
},
{
"name": "decodableVersions",
"baseName": "decodableVersions",
"type": "Array<string>"
},
{
"name": "encodingVersion",
"baseName": "encodingVersion",
"type": "string"
},
{
"name": "servedVersions",
"baseName": "servedVersions",
"type": "Array<string>"
} ];
static getAttributeTypeMap() {
return V1alpha1ServerStorageVersion.attributeTypeMap;
}
}