1package support 2 3// Copyright (c) Microsoft and contributors. All rights reserved. 4// 5// Licensed under the Apache License, Version 2.0 (the "License"); 6// you may not use this file except in compliance with the License. 7// You may obtain a copy of the License at 8// http://www.apache.org/licenses/LICENSE-2.0 9// 10// Unless required by applicable law or agreed to in writing, software 11// distributed under the License is distributed on an "AS IS" BASIS, 12// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13// 14// See the License for the specific language governing permissions and 15// limitations under the License. 16// 17// Code generated by Microsoft (R) AutoRest Code Generator. 18// Changes may cause incorrect behavior and will be lost if the code is regenerated. 19 20// CommunicationDirection enumerates the values for communication direction. 21type CommunicationDirection string 22 23const ( 24 // Inbound ... 25 Inbound CommunicationDirection = "inbound" 26 // Outbound ... 27 Outbound CommunicationDirection = "outbound" 28) 29 30// PossibleCommunicationDirectionValues returns an array of possible values for the CommunicationDirection const type. 31func PossibleCommunicationDirectionValues() []CommunicationDirection { 32 return []CommunicationDirection{Inbound, Outbound} 33} 34 35// CommunicationType enumerates the values for communication type. 36type CommunicationType string 37 38const ( 39 // Phone ... 40 Phone CommunicationType = "phone" 41 // Web ... 42 Web CommunicationType = "web" 43) 44 45// PossibleCommunicationTypeValues returns an array of possible values for the CommunicationType const type. 46func PossibleCommunicationTypeValues() []CommunicationType { 47 return []CommunicationType{Phone, Web} 48} 49 50// PreferredContactMethod enumerates the values for preferred contact method. 51type PreferredContactMethod string 52 53const ( 54 // PreferredContactMethodEmail ... 55 PreferredContactMethodEmail PreferredContactMethod = "email" 56 // PreferredContactMethodPhone ... 57 PreferredContactMethodPhone PreferredContactMethod = "phone" 58) 59 60// PossiblePreferredContactMethodValues returns an array of possible values for the PreferredContactMethod const type. 61func PossiblePreferredContactMethodValues() []PreferredContactMethod { 62 return []PreferredContactMethod{PreferredContactMethodEmail, PreferredContactMethodPhone} 63} 64 65// SeverityLevel enumerates the values for severity level. 66type SeverityLevel string 67 68const ( 69 // Critical ... 70 Critical SeverityLevel = "critical" 71 // Highestcriticalimpact ... 72 Highestcriticalimpact SeverityLevel = "highestcriticalimpact" 73 // Minimal ... 74 Minimal SeverityLevel = "minimal" 75 // Moderate ... 76 Moderate SeverityLevel = "moderate" 77) 78 79// PossibleSeverityLevelValues returns an array of possible values for the SeverityLevel const type. 80func PossibleSeverityLevelValues() []SeverityLevel { 81 return []SeverityLevel{Critical, Highestcriticalimpact, Minimal, Moderate} 82} 83 84// Status enumerates the values for status. 85type Status string 86 87const ( 88 // Closed ... 89 Closed Status = "closed" 90 // Open ... 91 Open Status = "open" 92) 93 94// PossibleStatusValues returns an array of possible values for the Status const type. 95func PossibleStatusValues() []Status { 96 return []Status{Closed, Open} 97} 98 99// Type enumerates the values for type. 100type Type string 101 102const ( 103 // MicrosoftSupportcommunications ... 104 MicrosoftSupportcommunications Type = "Microsoft.Support/communications" 105 // MicrosoftSupportsupportTickets ... 106 MicrosoftSupportsupportTickets Type = "Microsoft.Support/supportTickets" 107) 108 109// PossibleTypeValues returns an array of possible values for the Type const type. 110func PossibleTypeValues() []Type { 111 return []Type{MicrosoftSupportcommunications, MicrosoftSupportsupportTickets} 112} 113