/
v1beta2PriorityLevelConfigurationSpec.ts
51 lines (45 loc) · 2.03 KB
/
v1beta2PriorityLevelConfigurationSpec.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
/**
* 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';
import { V1beta2ExemptPriorityLevelConfiguration } from './v1beta2ExemptPriorityLevelConfiguration';
import { V1beta2LimitedPriorityLevelConfiguration } from './v1beta2LimitedPriorityLevelConfiguration';
/**
* PriorityLevelConfigurationSpec specifies the configuration of a priority level.
*/
export class V1beta2PriorityLevelConfigurationSpec {
'exempt'?: V1beta2ExemptPriorityLevelConfiguration;
'limited'?: V1beta2LimitedPriorityLevelConfiguration;
/**
* `type` indicates whether this priority level is subject to limitation on request execution. A value of `\"Exempt\"` means that requests of this priority level are not subject to a limit (and thus are never queued) and do not detract from the capacity made available to other priority levels. A value of `\"Limited\"` means that (a) requests of this priority level _are_ subject to limits and (b) some of the server\'s limited capacity is made available exclusively to this priority level. Required.
*/
'type': string;
static discriminator: string | undefined = undefined;
static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
{
"name": "exempt",
"baseName": "exempt",
"type": "V1beta2ExemptPriorityLevelConfiguration"
},
{
"name": "limited",
"baseName": "limited",
"type": "V1beta2LimitedPriorityLevelConfiguration"
},
{
"name": "type",
"baseName": "type",
"type": "string"
} ];
static getAttributeTypeMap() {
return V1beta2PriorityLevelConfigurationSpec.attributeTypeMap;
}
}