-
Notifications
You must be signed in to change notification settings - Fork 596
/
api_enums.go
39 lines (30 loc) · 918 Bytes
/
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
// Code generated by private/model/cli/gen-api/main.go. DO NOT EDIT.
package rdsdata
type DecimalReturnType string
// Enum values for DecimalReturnType
const (
DecimalReturnTypeDoubleOrLong DecimalReturnType = "DOUBLE_OR_LONG"
DecimalReturnTypeString DecimalReturnType = "STRING"
)
func (enum DecimalReturnType) MarshalValue() (string, error) {
return string(enum), nil
}
func (enum DecimalReturnType) MarshalValueBuf(b []byte) ([]byte, error) {
b = b[0:0]
return append(b, enum...), nil
}
type TypeHint string
// Enum values for TypeHint
const (
TypeHintDate TypeHint = "DATE"
TypeHintDecimal TypeHint = "DECIMAL"
TypeHintTime TypeHint = "TIME"
TypeHintTimestamp TypeHint = "TIMESTAMP"
)
func (enum TypeHint) MarshalValue() (string, error) {
return string(enum), nil
}
func (enum TypeHint) MarshalValueBuf(b []byte) ([]byte, error) {
b = b[0:0]
return append(b, enum...), nil
}