-
Notifications
You must be signed in to change notification settings - Fork 597
/
api_enums.go
41 lines (32 loc) · 1.07 KB
/
api_enums.go
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
// Code generated by private/model/cli/gen-api/main.go. DO NOT EDIT.
package serverlessapplicationrepository
// Values that must be specified in order to deploy some applications.
type Capability string
// Enum values for Capability
const (
CapabilityCapabilityIam Capability = "CAPABILITY_IAM"
CapabilityCapabilityNamedIam Capability = "CAPABILITY_NAMED_IAM"
CapabilityCapabilityAutoExpand Capability = "CAPABILITY_AUTO_EXPAND"
CapabilityCapabilityResourcePolicy Capability = "CAPABILITY_RESOURCE_POLICY"
)
func (enum Capability) MarshalValue() (string, error) {
return string(enum), nil
}
func (enum Capability) MarshalValueBuf(b []byte) ([]byte, error) {
b = b[0:0]
return append(b, enum...), nil
}
type Status string
// Enum values for Status
const (
StatusPreparing Status = "PREPARING"
StatusActive Status = "ACTIVE"
StatusExpired Status = "EXPIRED"
)
func (enum Status) MarshalValue() (string, error) {
return string(enum), nil
}
func (enum Status) MarshalValueBuf(b []byte) ([]byte, error) {
b = b[0:0]
return append(b, enum...), nil
}