models

package
v0.2.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 27, 2023 License: MIT Imports: 0 Imported by: 0

Documentation

Overview

Package models provides primitives to interact with the openapi HTTP API.

Code generated by github.com/deepmap/oapi-codegen version v1.12.4 DO NOT EDIT.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ConvertNumberToWordJSONRequestBody

type ConvertNumberToWordJSONRequestBody = ConvertNumberToWords

ConvertNumberToWordJSONRequestBody defines body for ConvertNumberToWord for application/json ContentType.

type ConvertNumberToWordParams

type ConvertNumberToWordParams struct {
	// XCorrelationId The unique request identifier
	XCorrelationId *XCorrelationId `json:"x-correlation-id,omitempty"`
}

ConvertNumberToWordParams defines parameters for ConvertNumberToWord.

type ConvertNumberToWords

type ConvertNumberToWords struct {
	// Number The number to be converted to words
	Number string `json:"number"`
}

ConvertNumberToWords Convert number to words request representation

type ConvertNumberToWordsRequest

type ConvertNumberToWordsRequest = ConvertNumberToWords

ConvertNumberToWordsRequest Convert number to words request representation

type ConvertNumberToWordsResponse

type ConvertNumberToWordsResponse = Word

ConvertNumberToWordsResponse The number representation in words

type ConvertWordsToNumber

type ConvertWordsToNumber struct {
	// Words The words to be converted to number
	Words string `json:"words"`
}

ConvertWordsToNumber Convert words to number request representation

type ConvertWordsToNumberJSONRequestBody

type ConvertWordsToNumberJSONRequestBody = ConvertWordsToNumber

ConvertWordsToNumberJSONRequestBody defines body for ConvertWordsToNumber for application/json ContentType.

type ConvertWordsToNumberParams

type ConvertWordsToNumberParams struct {
	// XCorrelationId The unique request identifier
	XCorrelationId *XCorrelationId `json:"x-correlation-id,omitempty"`
}

ConvertWordsToNumberParams defines parameters for ConvertWordsToNumber.

type ConvertWordsToNumberRequest

type ConvertWordsToNumberRequest = ConvertWordsToNumber

ConvertWordsToNumberRequest Convert words to number request representation

type ConvertWordsToNumberResponse

type ConvertWordsToNumberResponse = Number

ConvertWordsToNumberResponse Words representation in number

type Error

type Error struct {
	// Code The code of an error that describes the Error.
	Code string `json:"code"`

	// Message The message of an error that describes the Error.
	Message string `json:"message"`
}

Error Representation of an Error that can appear using the application.

type Number

type Number struct {
	// Number Words representation in number
	Number string `json:"number"`
}

Number Words representation in number

type UnknownError

type UnknownError = Error

UnknownError Representation of an Error that can appear using the application.

type Word

type Word struct {
	// Words The number representation in words
	Words string `json:"words"`
}

Word The number representation in words

type XCorrelationId

type XCorrelationId = string

XCorrelationId defines model for x-correlation-id.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL