forked from Azure/azure-sdk-for-go
-
Notifications
You must be signed in to change notification settings - Fork 0
/
enums.go
90 lines (74 loc) · 2.63 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
84
85
86
87
88
89
90
package resourcegraph
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for license information.
//
// Code generated by Microsoft (R) AutoRest Code Generator.
// Changes may cause incorrect behavior and will be lost if the code is regenerated.
// ColumnDataType enumerates the values for column data type.
type ColumnDataType string
const (
// Boolean ...
Boolean ColumnDataType = "boolean"
// Integer ...
Integer ColumnDataType = "integer"
// Number ...
Number ColumnDataType = "number"
// Object ...
Object ColumnDataType = "object"
// String ...
String ColumnDataType = "string"
)
// PossibleColumnDataTypeValues returns an array of possible values for the ColumnDataType const type.
func PossibleColumnDataTypeValues() []ColumnDataType {
return []ColumnDataType{Boolean, Integer, Number, Object, String}
}
// FacetSortOrder enumerates the values for facet sort order.
type FacetSortOrder string
const (
// Asc ...
Asc FacetSortOrder = "asc"
// Desc ...
Desc FacetSortOrder = "desc"
)
// PossibleFacetSortOrderValues returns an array of possible values for the FacetSortOrder const type.
func PossibleFacetSortOrderValues() []FacetSortOrder {
return []FacetSortOrder{Asc, Desc}
}
// ResultFormat enumerates the values for result format.
type ResultFormat string
const (
// ResultFormatObjectArray ...
ResultFormatObjectArray ResultFormat = "objectArray"
// ResultFormatTable ...
ResultFormatTable ResultFormat = "table"
)
// PossibleResultFormatValues returns an array of possible values for the ResultFormat const type.
func PossibleResultFormatValues() []ResultFormat {
return []ResultFormat{ResultFormatObjectArray, ResultFormatTable}
}
// ResultTruncated enumerates the values for result truncated.
type ResultTruncated string
const (
// False ...
False ResultTruncated = "false"
// True ...
True ResultTruncated = "true"
)
// PossibleResultTruncatedValues returns an array of possible values for the ResultTruncated const type.
func PossibleResultTruncatedValues() []ResultTruncated {
return []ResultTruncated{False, True}
}
// ResultType enumerates the values for result type.
type ResultType string
const (
// ResultTypeFacet ...
ResultTypeFacet ResultType = "Facet"
// ResultTypeFacetError ...
ResultTypeFacetError ResultType = "FacetError"
// ResultTypeFacetResult ...
ResultTypeFacetResult ResultType = "FacetResult"
)
// PossibleResultTypeValues returns an array of possible values for the ResultType const type.
func PossibleResultTypeValues() []ResultType {
return []ResultType{ResultTypeFacet, ResultTypeFacetError, ResultTypeFacetResult}
}