1package spellcheck 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// ActionType enumerates the values for action type. 10type ActionType string 11 12const ( 13 // Edit ... 14 Edit ActionType = "Edit" 15 // Load ... 16 Load ActionType = "Load" 17) 18 19// PossibleActionTypeValues returns an array of possible values for the ActionType const type. 20func PossibleActionTypeValues() []ActionType { 21 return []ActionType{Edit, Load} 22} 23 24// ErrorCode enumerates the values for error code. 25type ErrorCode string 26 27const ( 28 // InsufficientAuthorization ... 29 InsufficientAuthorization ErrorCode = "InsufficientAuthorization" 30 // InvalidAuthorization ... 31 InvalidAuthorization ErrorCode = "InvalidAuthorization" 32 // InvalidRequest ... 33 InvalidRequest ErrorCode = "InvalidRequest" 34 // None ... 35 None ErrorCode = "None" 36 // RateLimitExceeded ... 37 RateLimitExceeded ErrorCode = "RateLimitExceeded" 38 // ServerError ... 39 ServerError ErrorCode = "ServerError" 40) 41 42// PossibleErrorCodeValues returns an array of possible values for the ErrorCode const type. 43func PossibleErrorCodeValues() []ErrorCode { 44 return []ErrorCode{InsufficientAuthorization, InvalidAuthorization, InvalidRequest, None, RateLimitExceeded, ServerError} 45} 46 47// ErrorSubCode enumerates the values for error sub code. 48type ErrorSubCode string 49 50const ( 51 // AuthorizationDisabled ... 52 AuthorizationDisabled ErrorSubCode = "AuthorizationDisabled" 53 // AuthorizationExpired ... 54 AuthorizationExpired ErrorSubCode = "AuthorizationExpired" 55 // AuthorizationMissing ... 56 AuthorizationMissing ErrorSubCode = "AuthorizationMissing" 57 // AuthorizationRedundancy ... 58 AuthorizationRedundancy ErrorSubCode = "AuthorizationRedundancy" 59 // Blocked ... 60 Blocked ErrorSubCode = "Blocked" 61 // HTTPNotAllowed ... 62 HTTPNotAllowed ErrorSubCode = "HttpNotAllowed" 63 // NotImplemented ... 64 NotImplemented ErrorSubCode = "NotImplemented" 65 // ParameterInvalidValue ... 66 ParameterInvalidValue ErrorSubCode = "ParameterInvalidValue" 67 // ParameterMissing ... 68 ParameterMissing ErrorSubCode = "ParameterMissing" 69 // ResourceError ... 70 ResourceError ErrorSubCode = "ResourceError" 71 // UnexpectedError ... 72 UnexpectedError ErrorSubCode = "UnexpectedError" 73) 74 75// PossibleErrorSubCodeValues returns an array of possible values for the ErrorSubCode const type. 76func PossibleErrorSubCodeValues() []ErrorSubCode { 77 return []ErrorSubCode{AuthorizationDisabled, AuthorizationExpired, AuthorizationMissing, AuthorizationRedundancy, Blocked, HTTPNotAllowed, NotImplemented, ParameterInvalidValue, ParameterMissing, ResourceError, UnexpectedError} 78} 79 80// ErrorType enumerates the values for error type. 81type ErrorType string 82 83const ( 84 // RepeatedToken ... 85 RepeatedToken ErrorType = "RepeatedToken" 86 // UnknownToken ... 87 UnknownToken ErrorType = "UnknownToken" 88) 89 90// PossibleErrorTypeValues returns an array of possible values for the ErrorType const type. 91func PossibleErrorTypeValues() []ErrorType { 92 return []ErrorType{RepeatedToken, UnknownToken} 93} 94 95// Mode enumerates the values for mode. 96type Mode string 97 98const ( 99 // Proof ... 100 Proof Mode = "proof" 101 // Spell ... 102 Spell Mode = "spell" 103) 104 105// PossibleModeValues returns an array of possible values for the Mode const type. 106func PossibleModeValues() []Mode { 107 return []Mode{Proof, Spell} 108} 109 110// Type enumerates the values for type. 111type Type string 112 113const ( 114 // TypeAnswer ... 115 TypeAnswer Type = "Answer" 116 // TypeErrorResponse ... 117 TypeErrorResponse Type = "ErrorResponse" 118 // TypeIdentifiable ... 119 TypeIdentifiable Type = "Identifiable" 120 // TypeResponse ... 121 TypeResponse Type = "Response" 122 // TypeResponseBase ... 123 TypeResponseBase Type = "ResponseBase" 124 // TypeSpellCheck ... 125 TypeSpellCheck Type = "SpellCheck" 126) 127 128// PossibleTypeValues returns an array of possible values for the Type const type. 129func PossibleTypeValues() []Type { 130 return []Type{TypeAnswer, TypeErrorResponse, TypeIdentifiable, TypeResponse, TypeResponseBase, TypeSpellCheck} 131} 132