1package logic 2 3// Copyright (c) Microsoft Corporation. All rights reserved. 4// Licensed under the MIT License. See License.txt in the project root for license information. 5// 6// Code generated by Microsoft (R) AutoRest Code Generator. 7// Changes may cause incorrect behavior and will be lost if the code is regenerated. 8 9// AgreementType enumerates the values for agreement type. 10type AgreementType string 11 12const ( 13 // AS2 ... 14 AS2 AgreementType = "AS2" 15 // Edifact ... 16 Edifact AgreementType = "Edifact" 17 // NotSpecified ... 18 NotSpecified AgreementType = "NotSpecified" 19 // X12 ... 20 X12 AgreementType = "X12" 21) 22 23// PossibleAgreementTypeValues returns an array of possible values for the AgreementType const type. 24func PossibleAgreementTypeValues() []AgreementType { 25 return []AgreementType{AS2, Edifact, NotSpecified, X12} 26} 27 28// EdifactCharacterSet enumerates the values for edifact character set. 29type EdifactCharacterSet string 30 31const ( 32 // EdifactCharacterSetKECA ... 33 EdifactCharacterSetKECA EdifactCharacterSet = "KECA" 34 // EdifactCharacterSetNotSpecified ... 35 EdifactCharacterSetNotSpecified EdifactCharacterSet = "NotSpecified" 36 // EdifactCharacterSetUNOA ... 37 EdifactCharacterSetUNOA EdifactCharacterSet = "UNOA" 38 // EdifactCharacterSetUNOB ... 39 EdifactCharacterSetUNOB EdifactCharacterSet = "UNOB" 40 // EdifactCharacterSetUNOC ... 41 EdifactCharacterSetUNOC EdifactCharacterSet = "UNOC" 42 // EdifactCharacterSetUNOD ... 43 EdifactCharacterSetUNOD EdifactCharacterSet = "UNOD" 44 // EdifactCharacterSetUNOE ... 45 EdifactCharacterSetUNOE EdifactCharacterSet = "UNOE" 46 // EdifactCharacterSetUNOF ... 47 EdifactCharacterSetUNOF EdifactCharacterSet = "UNOF" 48 // EdifactCharacterSetUNOG ... 49 EdifactCharacterSetUNOG EdifactCharacterSet = "UNOG" 50 // EdifactCharacterSetUNOH ... 51 EdifactCharacterSetUNOH EdifactCharacterSet = "UNOH" 52 // EdifactCharacterSetUNOI ... 53 EdifactCharacterSetUNOI EdifactCharacterSet = "UNOI" 54 // EdifactCharacterSetUNOJ ... 55 EdifactCharacterSetUNOJ EdifactCharacterSet = "UNOJ" 56 // EdifactCharacterSetUNOK ... 57 EdifactCharacterSetUNOK EdifactCharacterSet = "UNOK" 58 // EdifactCharacterSetUNOX ... 59 EdifactCharacterSetUNOX EdifactCharacterSet = "UNOX" 60 // EdifactCharacterSetUNOY ... 61 EdifactCharacterSetUNOY EdifactCharacterSet = "UNOY" 62) 63 64// PossibleEdifactCharacterSetValues returns an array of possible values for the EdifactCharacterSet const type. 65func PossibleEdifactCharacterSetValues() []EdifactCharacterSet { 66 return []EdifactCharacterSet{EdifactCharacterSetKECA, EdifactCharacterSetNotSpecified, EdifactCharacterSetUNOA, EdifactCharacterSetUNOB, EdifactCharacterSetUNOC, EdifactCharacterSetUNOD, EdifactCharacterSetUNOE, EdifactCharacterSetUNOF, EdifactCharacterSetUNOG, EdifactCharacterSetUNOH, EdifactCharacterSetUNOI, EdifactCharacterSetUNOJ, EdifactCharacterSetUNOK, EdifactCharacterSetUNOX, EdifactCharacterSetUNOY} 67} 68 69// EdifactDecimalIndicator enumerates the values for edifact decimal indicator. 70type EdifactDecimalIndicator string 71 72const ( 73 // EdifactDecimalIndicatorComma ... 74 EdifactDecimalIndicatorComma EdifactDecimalIndicator = "Comma" 75 // EdifactDecimalIndicatorDecimal ... 76 EdifactDecimalIndicatorDecimal EdifactDecimalIndicator = "Decimal" 77 // EdifactDecimalIndicatorNotSpecified ... 78 EdifactDecimalIndicatorNotSpecified EdifactDecimalIndicator = "NotSpecified" 79) 80 81// PossibleEdifactDecimalIndicatorValues returns an array of possible values for the EdifactDecimalIndicator const type. 82func PossibleEdifactDecimalIndicatorValues() []EdifactDecimalIndicator { 83 return []EdifactDecimalIndicator{EdifactDecimalIndicatorComma, EdifactDecimalIndicatorDecimal, EdifactDecimalIndicatorNotSpecified} 84} 85 86// EncryptionAlgorithm enumerates the values for encryption algorithm. 87type EncryptionAlgorithm string 88 89const ( 90 // EncryptionAlgorithmAES128 ... 91 EncryptionAlgorithmAES128 EncryptionAlgorithm = "AES128" 92 // EncryptionAlgorithmAES192 ... 93 EncryptionAlgorithmAES192 EncryptionAlgorithm = "AES192" 94 // EncryptionAlgorithmAES256 ... 95 EncryptionAlgorithmAES256 EncryptionAlgorithm = "AES256" 96 // EncryptionAlgorithmDES3 ... 97 EncryptionAlgorithmDES3 EncryptionAlgorithm = "DES3" 98 // EncryptionAlgorithmNone ... 99 EncryptionAlgorithmNone EncryptionAlgorithm = "None" 100 // EncryptionAlgorithmNotSpecified ... 101 EncryptionAlgorithmNotSpecified EncryptionAlgorithm = "NotSpecified" 102 // EncryptionAlgorithmRC2 ... 103 EncryptionAlgorithmRC2 EncryptionAlgorithm = "RC2" 104) 105 106// PossibleEncryptionAlgorithmValues returns an array of possible values for the EncryptionAlgorithm const type. 107func PossibleEncryptionAlgorithmValues() []EncryptionAlgorithm { 108 return []EncryptionAlgorithm{EncryptionAlgorithmAES128, EncryptionAlgorithmAES192, EncryptionAlgorithmAES256, EncryptionAlgorithmDES3, EncryptionAlgorithmNone, EncryptionAlgorithmNotSpecified, EncryptionAlgorithmRC2} 109} 110 111// HashingAlgorithm enumerates the values for hashing algorithm. 112type HashingAlgorithm string 113 114const ( 115 // HashingAlgorithmNone ... 116 HashingAlgorithmNone HashingAlgorithm = "None" 117 // HashingAlgorithmNotSpecified ... 118 HashingAlgorithmNotSpecified HashingAlgorithm = "NotSpecified" 119 // HashingAlgorithmSHA2256 ... 120 HashingAlgorithmSHA2256 HashingAlgorithm = "SHA2256" 121 // HashingAlgorithmSHA2384 ... 122 HashingAlgorithmSHA2384 HashingAlgorithm = "SHA2384" 123 // HashingAlgorithmSHA2512 ... 124 HashingAlgorithmSHA2512 HashingAlgorithm = "SHA2512" 125) 126 127// PossibleHashingAlgorithmValues returns an array of possible values for the HashingAlgorithm const type. 128func PossibleHashingAlgorithmValues() []HashingAlgorithm { 129 return []HashingAlgorithm{HashingAlgorithmNone, HashingAlgorithmNotSpecified, HashingAlgorithmSHA2256, HashingAlgorithmSHA2384, HashingAlgorithmSHA2512} 130} 131 132// MapType enumerates the values for map type. 133type MapType string 134 135const ( 136 // MapTypeNotSpecified ... 137 MapTypeNotSpecified MapType = "NotSpecified" 138 // MapTypeXslt ... 139 MapTypeXslt MapType = "Xslt" 140) 141 142// PossibleMapTypeValues returns an array of possible values for the MapType const type. 143func PossibleMapTypeValues() []MapType { 144 return []MapType{MapTypeNotSpecified, MapTypeXslt} 145} 146 147// MessageFilterType enumerates the values for message filter type. 148type MessageFilterType string 149 150const ( 151 // MessageFilterTypeExclude ... 152 MessageFilterTypeExclude MessageFilterType = "Exclude" 153 // MessageFilterTypeInclude ... 154 MessageFilterTypeInclude MessageFilterType = "Include" 155 // MessageFilterTypeNotSpecified ... 156 MessageFilterTypeNotSpecified MessageFilterType = "NotSpecified" 157) 158 159// PossibleMessageFilterTypeValues returns an array of possible values for the MessageFilterType const type. 160func PossibleMessageFilterTypeValues() []MessageFilterType { 161 return []MessageFilterType{MessageFilterTypeExclude, MessageFilterTypeInclude, MessageFilterTypeNotSpecified} 162} 163 164// PartnerType enumerates the values for partner type. 165type PartnerType string 166 167const ( 168 // PartnerTypeB2B ... 169 PartnerTypeB2B PartnerType = "B2B" 170 // PartnerTypeNotSpecified ... 171 PartnerTypeNotSpecified PartnerType = "NotSpecified" 172) 173 174// PossiblePartnerTypeValues returns an array of possible values for the PartnerType const type. 175func PossiblePartnerTypeValues() []PartnerType { 176 return []PartnerType{PartnerTypeB2B, PartnerTypeNotSpecified} 177} 178 179// SchemaType enumerates the values for schema type. 180type SchemaType string 181 182const ( 183 // SchemaTypeNotSpecified ... 184 SchemaTypeNotSpecified SchemaType = "NotSpecified" 185 // SchemaTypeXML ... 186 SchemaTypeXML SchemaType = "Xml" 187) 188 189// PossibleSchemaTypeValues returns an array of possible values for the SchemaType const type. 190func PossibleSchemaTypeValues() []SchemaType { 191 return []SchemaType{SchemaTypeNotSpecified, SchemaTypeXML} 192} 193 194// SegmentTerminatorSuffix enumerates the values for segment terminator suffix. 195type SegmentTerminatorSuffix string 196 197const ( 198 // SegmentTerminatorSuffixCR ... 199 SegmentTerminatorSuffixCR SegmentTerminatorSuffix = "CR" 200 // SegmentTerminatorSuffixCRLF ... 201 SegmentTerminatorSuffixCRLF SegmentTerminatorSuffix = "CRLF" 202 // SegmentTerminatorSuffixLF ... 203 SegmentTerminatorSuffixLF SegmentTerminatorSuffix = "LF" 204 // SegmentTerminatorSuffixNone ... 205 SegmentTerminatorSuffixNone SegmentTerminatorSuffix = "None" 206 // SegmentTerminatorSuffixNotSpecified ... 207 SegmentTerminatorSuffixNotSpecified SegmentTerminatorSuffix = "NotSpecified" 208) 209 210// PossibleSegmentTerminatorSuffixValues returns an array of possible values for the SegmentTerminatorSuffix const type. 211func PossibleSegmentTerminatorSuffixValues() []SegmentTerminatorSuffix { 212 return []SegmentTerminatorSuffix{SegmentTerminatorSuffixCR, SegmentTerminatorSuffixCRLF, SegmentTerminatorSuffixLF, SegmentTerminatorSuffixNone, SegmentTerminatorSuffixNotSpecified} 213} 214 215// SkuName enumerates the values for sku name. 216type SkuName string 217 218const ( 219 // SkuNameBasic ... 220 SkuNameBasic SkuName = "Basic" 221 // SkuNameFree ... 222 SkuNameFree SkuName = "Free" 223 // SkuNameNotSpecified ... 224 SkuNameNotSpecified SkuName = "NotSpecified" 225 // SkuNamePremium ... 226 SkuNamePremium SkuName = "Premium" 227 // SkuNameShared ... 228 SkuNameShared SkuName = "Shared" 229 // SkuNameStandard ... 230 SkuNameStandard SkuName = "Standard" 231) 232 233// PossibleSkuNameValues returns an array of possible values for the SkuName const type. 234func PossibleSkuNameValues() []SkuName { 235 return []SkuName{SkuNameBasic, SkuNameFree, SkuNameNotSpecified, SkuNamePremium, SkuNameShared, SkuNameStandard} 236} 237 238// TrailingSeparatorPolicy enumerates the values for trailing separator policy. 239type TrailingSeparatorPolicy string 240 241const ( 242 // TrailingSeparatorPolicyMandatory ... 243 TrailingSeparatorPolicyMandatory TrailingSeparatorPolicy = "Mandatory" 244 // TrailingSeparatorPolicyNotAllowed ... 245 TrailingSeparatorPolicyNotAllowed TrailingSeparatorPolicy = "NotAllowed" 246 // TrailingSeparatorPolicyNotSpecified ... 247 TrailingSeparatorPolicyNotSpecified TrailingSeparatorPolicy = "NotSpecified" 248 // TrailingSeparatorPolicyOptional ... 249 TrailingSeparatorPolicyOptional TrailingSeparatorPolicy = "Optional" 250) 251 252// PossibleTrailingSeparatorPolicyValues returns an array of possible values for the TrailingSeparatorPolicy const type. 253func PossibleTrailingSeparatorPolicyValues() []TrailingSeparatorPolicy { 254 return []TrailingSeparatorPolicy{TrailingSeparatorPolicyMandatory, TrailingSeparatorPolicyNotAllowed, TrailingSeparatorPolicyNotSpecified, TrailingSeparatorPolicyOptional} 255} 256 257// UsageIndicator enumerates the values for usage indicator. 258type UsageIndicator string 259 260const ( 261 // UsageIndicatorInformation ... 262 UsageIndicatorInformation UsageIndicator = "Information" 263 // UsageIndicatorNotSpecified ... 264 UsageIndicatorNotSpecified UsageIndicator = "NotSpecified" 265 // UsageIndicatorProduction ... 266 UsageIndicatorProduction UsageIndicator = "Production" 267 // UsageIndicatorTest ... 268 UsageIndicatorTest UsageIndicator = "Test" 269) 270 271// PossibleUsageIndicatorValues returns an array of possible values for the UsageIndicator const type. 272func PossibleUsageIndicatorValues() []UsageIndicator { 273 return []UsageIndicator{UsageIndicatorInformation, UsageIndicatorNotSpecified, UsageIndicatorProduction, UsageIndicatorTest} 274} 275 276// X12CharacterSet enumerates the values for x12 character set. 277type X12CharacterSet string 278 279const ( 280 // X12CharacterSetBasic ... 281 X12CharacterSetBasic X12CharacterSet = "Basic" 282 // X12CharacterSetExtended ... 283 X12CharacterSetExtended X12CharacterSet = "Extended" 284 // X12CharacterSetNotSpecified ... 285 X12CharacterSetNotSpecified X12CharacterSet = "NotSpecified" 286 // X12CharacterSetUTF8 ... 287 X12CharacterSetUTF8 X12CharacterSet = "UTF8" 288) 289 290// PossibleX12CharacterSetValues returns an array of possible values for the X12CharacterSet const type. 291func PossibleX12CharacterSetValues() []X12CharacterSet { 292 return []X12CharacterSet{X12CharacterSetBasic, X12CharacterSetExtended, X12CharacterSetNotSpecified, X12CharacterSetUTF8} 293} 294 295// X12DateFormat enumerates the values for x12 date format. 296type X12DateFormat string 297 298const ( 299 // X12DateFormatCCYYMMDD ... 300 X12DateFormatCCYYMMDD X12DateFormat = "CCYYMMDD" 301 // X12DateFormatNotSpecified ... 302 X12DateFormatNotSpecified X12DateFormat = "NotSpecified" 303 // X12DateFormatYYMMDD ... 304 X12DateFormatYYMMDD X12DateFormat = "YYMMDD" 305) 306 307// PossibleX12DateFormatValues returns an array of possible values for the X12DateFormat const type. 308func PossibleX12DateFormatValues() []X12DateFormat { 309 return []X12DateFormat{X12DateFormatCCYYMMDD, X12DateFormatNotSpecified, X12DateFormatYYMMDD} 310} 311 312// X12TimeFormat enumerates the values for x12 time format. 313type X12TimeFormat string 314 315const ( 316 // X12TimeFormatHHMM ... 317 X12TimeFormatHHMM X12TimeFormat = "HHMM" 318 // X12TimeFormatHHMMSS ... 319 X12TimeFormatHHMMSS X12TimeFormat = "HHMMSS" 320 // X12TimeFormatHHMMSSd ... 321 X12TimeFormatHHMMSSd X12TimeFormat = "HHMMSSd" 322 // X12TimeFormatHHMMSSdd ... 323 X12TimeFormatHHMMSSdd X12TimeFormat = "HHMMSSdd" 324 // X12TimeFormatNotSpecified ... 325 X12TimeFormatNotSpecified X12TimeFormat = "NotSpecified" 326) 327 328// PossibleX12TimeFormatValues returns an array of possible values for the X12TimeFormat const type. 329func PossibleX12TimeFormatValues() []X12TimeFormat { 330 return []X12TimeFormat{X12TimeFormatHHMM, X12TimeFormatHHMMSS, X12TimeFormatHHMMSSd, X12TimeFormatHHMMSSdd, X12TimeFormatNotSpecified} 331} 332