-
Notifications
You must be signed in to change notification settings - Fork 492
/
v1beta1PodDisruptionBudgetSpec.ts
54 lines (48 loc) · 1.85 KB
/
v1beta1PodDisruptionBudgetSpec.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
/**
* 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';
import { V1LabelSelector } from './v1LabelSelector';
/**
* PodDisruptionBudgetSpec is a description of a PodDisruptionBudget.
*/
export class V1beta1PodDisruptionBudgetSpec {
/**
* 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;
/**
* 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.
*/
'minAvailable'?: IntOrString;
'selector'?: V1LabelSelector;
static discriminator: string | undefined = undefined;
static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
{
"name": "maxUnavailable",
"baseName": "maxUnavailable",
"type": "IntOrString"
},
{
"name": "minAvailable",
"baseName": "minAvailable",
"type": "IntOrString"
},
{
"name": "selector",
"baseName": "selector",
"type": "V1LabelSelector"
} ];
static getAttributeTypeMap() {
return V1beta1PodDisruptionBudgetSpec.attributeTypeMap;
}
}