forked from Azure/azure-sdk-for-go
-
Notifications
You must be signed in to change notification settings - Fork 0
/
enums.go
101 lines (82 loc) · 3.15 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
91
92
93
94
95
96
97
98
99
100
101
package support
// 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.
// CommunicationDirection enumerates the values for communication direction.
type CommunicationDirection string
const (
// Inbound ...
Inbound CommunicationDirection = "inbound"
// Outbound ...
Outbound CommunicationDirection = "outbound"
)
// PossibleCommunicationDirectionValues returns an array of possible values for the CommunicationDirection const type.
func PossibleCommunicationDirectionValues() []CommunicationDirection {
return []CommunicationDirection{Inbound, Outbound}
}
// CommunicationType enumerates the values for communication type.
type CommunicationType string
const (
// Phone ...
Phone CommunicationType = "phone"
// Web ...
Web CommunicationType = "web"
)
// PossibleCommunicationTypeValues returns an array of possible values for the CommunicationType const type.
func PossibleCommunicationTypeValues() []CommunicationType {
return []CommunicationType{Phone, Web}
}
// PreferredContactMethod enumerates the values for preferred contact method.
type PreferredContactMethod string
const (
// PreferredContactMethodEmail ...
PreferredContactMethodEmail PreferredContactMethod = "email"
// PreferredContactMethodPhone ...
PreferredContactMethodPhone PreferredContactMethod = "phone"
)
// PossiblePreferredContactMethodValues returns an array of possible values for the PreferredContactMethod const type.
func PossiblePreferredContactMethodValues() []PreferredContactMethod {
return []PreferredContactMethod{PreferredContactMethodEmail, PreferredContactMethodPhone}
}
// SeverityLevel enumerates the values for severity level.
type SeverityLevel string
const (
// Critical ...
Critical SeverityLevel = "critical"
// Highestcriticalimpact ...
Highestcriticalimpact SeverityLevel = "highestcriticalimpact"
// Minimal ...
Minimal SeverityLevel = "minimal"
// Moderate ...
Moderate SeverityLevel = "moderate"
)
// PossibleSeverityLevelValues returns an array of possible values for the SeverityLevel const type.
func PossibleSeverityLevelValues() []SeverityLevel {
return []SeverityLevel{Critical, Highestcriticalimpact, Minimal, Moderate}
}
// Status enumerates the values for status.
type Status string
const (
// Closed ...
Closed Status = "closed"
// Open ...
Open Status = "open"
)
// PossibleStatusValues returns an array of possible values for the Status const type.
func PossibleStatusValues() []Status {
return []Status{Closed, Open}
}
// Type enumerates the values for type.
type Type string
const (
// MicrosoftSupportcommunications ...
MicrosoftSupportcommunications Type = "Microsoft.Support/communications"
// MicrosoftSupportsupportTickets ...
MicrosoftSupportsupportTickets Type = "Microsoft.Support/supportTickets"
)
// PossibleTypeValues returns an array of possible values for the Type const type.
func PossibleTypeValues() []Type {
return []Type{MicrosoftSupportcommunications, MicrosoftSupportsupportTickets}
}