// Code generated by "stringer -type operationId"; DO NOT EDIT. package ipp import "strconv" func _() { // An "invalid array index" compiler error signifies that the constant values have changed. // Re-run the stringer command to generate them again. var x [1]struct{} _ = x[PrintJob-2] _ = x[PrintURI-3] _ = x[ValidateJob-4] _ = x[CreateJob-5] _ = x[SendDocument-6] _ = x[SendURI-7] _ = x[CancelJob-8] _ = x[GetJobAttributes-9] _ = x[GetJobs-10] _ = x[GetPrinterAttributes-11] _ = x[HoldJob-12] _ = x[ReleaseJob-13] _ = x[RestartJob-14] _ = x[PausePrinter-16] _ = x[ResumePrinter-17] _ = x[PurgeJobs-18] } const ( _operationId_name_0 = "PrintJobPrintURIValidateJobCreateJobSendDocumentSendURICancelJobGetJobAttributesGetJobsGetPrinterAttributesHoldJobReleaseJobRestartJob" _operationId_name_1 = "PausePrinterResumePrinterPurgeJobs" ) var ( _operationId_index_0 = [...]uint8{0, 8, 16, 27, 36, 48, 55, 64, 80, 87, 107, 114, 124, 134} _operationId_index_1 = [...]uint8{0, 12, 25, 34} ) func (i OperationID) String() string { switch { case 2 <= i && i <= 14: i -= 2 return _operationId_name_0[_operationId_index_0[i]:_operationId_index_0[i+1]] case 16 <= i && i <= 18: i -= 16 return _operationId_name_1[_operationId_index_1[i]:_operationId_index_1[i+1]] default: return "operationId(" + strconv.FormatInt(int64(i), 10) + ")" } }