/
v1RollingUpdateDeployment.ts
47 lines (41 loc) · 1.61 KB
/
v1RollingUpdateDeployment.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
/**
* Kubernetes
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
*
* The version of the OpenAPI document: v1.22.2
*
*
* 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';
import { IntOrString } from '../../types';
/**
* Spec to control the desired behavior of rolling update.
*/
export class V1RollingUpdateDeployment {
/**
* IntOrString is a type that can hold an int32 or a string. When used in JSON or YAML marshalling and unmarshalling, it produces or consumes the inner type. This allows you to have, for example, a JSON field that can accept a name or number.
*/
'maxSurge'?: IntOrString;
/**
* IntOrString is a type that can hold an int32 or a string. When used in JSON or YAML marshalling and unmarshalling, it produces or consumes the inner type. This allows you to have, for example, a JSON field that can accept a name or number.
*/
'maxUnavailable'?: IntOrString;
static discriminator: string | undefined = undefined;
static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
{
"name": "maxSurge",
"baseName": "maxSurge",
"type": "IntOrString"
},
{
"name": "maxUnavailable",
"baseName": "maxUnavailable",
"type": "IntOrString"
} ];
static getAttributeTypeMap() {
return V1RollingUpdateDeployment.attributeTypeMap;
}
}