/
enums.go
83 lines (70 loc) · 2.24 KB
/
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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
// Code generated by smithy-go-codegen DO NOT EDIT.
package types
type DecimalReturnType string
// Enum values for DecimalReturnType
const (
DecimalReturnTypeString DecimalReturnType = "STRING"
DecimalReturnTypeDoubleOrLong DecimalReturnType = "DOUBLE_OR_LONG"
)
// Values returns all known values for DecimalReturnType. Note that this can be
// expanded in the future, and so it is only as up to date as the client. The
// ordering of this slice is not guaranteed to be stable across updates.
func (DecimalReturnType) Values() []DecimalReturnType {
return []DecimalReturnType{
"STRING",
"DOUBLE_OR_LONG",
}
}
type LongReturnType string
// Enum values for LongReturnType
const (
LongReturnTypeString LongReturnType = "STRING"
LongReturnTypeLong LongReturnType = "LONG"
)
// Values returns all known values for LongReturnType. Note that this can be
// expanded in the future, and so it is only as up to date as the client. The
// ordering of this slice is not guaranteed to be stable across updates.
func (LongReturnType) Values() []LongReturnType {
return []LongReturnType{
"STRING",
"LONG",
}
}
type RecordsFormatType string
// Enum values for RecordsFormatType
const (
RecordsFormatTypeNone RecordsFormatType = "NONE"
RecordsFormatTypeJson RecordsFormatType = "JSON"
)
// Values returns all known values for RecordsFormatType. Note that this can be
// expanded in the future, and so it is only as up to date as the client. The
// ordering of this slice is not guaranteed to be stable across updates.
func (RecordsFormatType) Values() []RecordsFormatType {
return []RecordsFormatType{
"NONE",
"JSON",
}
}
type TypeHint string
// Enum values for TypeHint
const (
TypeHintJson TypeHint = "JSON"
TypeHintUuid TypeHint = "UUID"
TypeHintTimestamp TypeHint = "TIMESTAMP"
TypeHintDate TypeHint = "DATE"
TypeHintTime TypeHint = "TIME"
TypeHintDecimal TypeHint = "DECIMAL"
)
// Values returns all known values for TypeHint. Note that this can be expanded in
// the future, and so it is only as up to date as the client. The ordering of this
// slice is not guaranteed to be stable across updates.
func (TypeHint) Values() []TypeHint {
return []TypeHint{
"JSON",
"UUID",
"TIMESTAMP",
"DATE",
"TIME",
"DECIMAL",
}
}