Documentation ¶
Index ¶
- Variables
- func Bool(b bool) *bool
- func Float32(f float32) *float32
- func Float64(f float64) *float64
- func Int(i int) *int
- func Int64(i int64) *int64
- func String(s string) *string
- type BodyParams
- func (s *BodyParams) PostSendDate(ctx context.Context, request []byte) (*operations.PostSendDateResponse, error)
- func (s *BodyParams) PostSendIntegerArray(ctx context.Context, request operations.PostSendIntegerArrayRequest) (*operations.PostSendIntegerArrayResponse, error)
- func (s *BodyParams) PostSendIntegerEnumArray(ctx context.Context, request operations.PostSendIntegerEnumArrayRequest) (*operations.PostSendIntegerEnumArrayResponse, error)
- func (s *BodyParams) PostSendModel(ctx context.Context, request shared.Employee) (*operations.PostSendModelResponse, error)
- func (s *BodyParams) PostSendRfc1123DateTime(ctx context.Context, request string) (*operations.PostSendRfc1123DateTimeResponse, error)
- func (s *BodyParams) PostSendRfc3339DateTime(ctx context.Context, request []byte) (*operations.PostSendRfc3339DateTimeResponse, error)
- func (s *BodyParams) PostSendStringArray(ctx context.Context, request operations.PostSendStringArrayRequest) (*operations.PostSendStringArrayResponse, error)
- func (s *BodyParams) PostSendStringEnumArray(ctx context.Context, request operations.PostSendStringEnumArrayRequest) (*operations.PostSendStringEnumArrayResponse, error)
- func (s *BodyParams) PostSendUnixDateTime(ctx context.Context, request []byte) (*operations.PostSendUnixDateTimeResponse, error)
- func (s *BodyParams) SendDeleteBody(ctx context.Context) (*operations.SendDeleteBodyResponse, error)
- func (s *BodyParams) SendDeleteBodywithModel(ctx context.Context) (*operations.SendDeleteBodywithModelResponse, error)
- func (s *BodyParams) SendDeletePlainText(ctx context.Context) (*operations.SendDeletePlainTextResponse, error)
- func (s *BodyParams) SendDynamic(ctx context.Context, request []byte) (*operations.SendDynamicResponse, error)
- func (s *BodyParams) UpdateModel(ctx context.Context, request shared.Employee) (*operations.UpdateModelResponse, error)
- func (s *BodyParams) UpdateString(ctx context.Context, request string) (*operations.UpdateStringResponse, error)
- type Echo
- type ErrorCodes
- func (s *ErrorCodes) Catch412globalerror(ctx context.Context, opts ...operations.Option) (*operations.Catch412globalerrorResponse, error)
- func (s *ErrorCodes) Get400(ctx context.Context, opts ...operations.Option) (*operations.Get400Response, error)
- func (s *ErrorCodes) Get401(ctx context.Context, opts ...operations.Option) (*operations.Get401Response, error)
- func (s *ErrorCodes) Get500(ctx context.Context, opts ...operations.Option) (*operations.Get500Response, error)
- func (s *ErrorCodes) Get501(ctx context.Context, opts ...operations.Option) (*operations.Get501Response, error)
- type FormParams
- func (s *FormParams) SendDate(ctx context.Context, request *operations.SendDateRequestBody) (*operations.SendDateResponse, error)
- func (s *FormParams) SendDeleteMultipart(ctx context.Context) (*operations.SendDeleteMultipartResponse, error)
- func (s *FormParams) SendFile(ctx context.Context, request *operations.SendFileRequestBody) (*operations.SendFileResponse, error)
- func (s *FormParams) SendIntegerEnumArray(ctx context.Context, request operations.SendIntegerEnumArrayRequest) (*operations.SendIntegerEnumArrayResponse, error)
- func (s *FormParams) SendLong(ctx context.Context, request *operations.SendLongRequestBody) (*operations.SendLongResponse, error)
- func (s *FormParams) SendMixedArray(ctx context.Context, request *operations.SendMixedArrayRequestBody) (*operations.SendMixedArrayResponse, error)
- func (s *FormParams) SendModel(ctx context.Context, request *operations.SendModelRequestBody) (*operations.SendModelResponse, error)
- func (s *FormParams) SendRfc1123DateTime(ctx context.Context, request *operations.SendRfc1123DateTimeRequestBody) (*operations.SendRfc1123DateTimeResponse, error)
- func (s *FormParams) SendRfc3339DateTime(ctx context.Context, request *operations.SendRfc3339DateTimeRequestBody) (*operations.SendRfc3339DateTimeResponse, error)
- func (s *FormParams) SendStringArray(ctx context.Context, request operations.SendStringArrayRequest) (*operations.SendStringArrayResponse, error)
- func (s *FormParams) SendStringEnumArray(ctx context.Context, request operations.SendStringEnumArrayRequest) (*operations.SendStringEnumArrayResponse, error)
- func (s *FormParams) SendUnixDateTime(ctx context.Context, request *operations.SendUnixDateTimeRequestBody) (*operations.SendUnixDateTimeResponse, error)
- func (s *FormParams) SenddeleteForm(ctx context.Context) (*operations.SenddeleteFormResponse, error)
- func (s *FormParams) SenddeleteForm1(ctx context.Context) (*operations.SenddeleteForm1Response, error)
- func (s *FormParams) UpdateModelwithForm(ctx context.Context, request *operations.UpdateModelwithFormRequestBody) (*operations.UpdateModelwithFormResponse, error)
- func (s *FormParams) UpdateStringwithForm(ctx context.Context, request *operations.UpdateStringwithFormRequestBody) (*operations.UpdateStringwithFormResponse, error)
- type HTTPClient
- type Header
- type QueryParam
- func (s *QueryParam) Date(ctx context.Context, request operations.DateRequest) (*operations.DateResponse, error)
- func (s *QueryParam) DateArray(ctx context.Context, request operations.DateArrayRequest) (*operations.DateArrayResponse, error)
- func (s *QueryParam) IntegerEnumArray(ctx context.Context, request operations.IntegerEnumArrayRequest) (*operations.IntegerEnumArrayResponse, error)
- func (s *QueryParam) MultipleParams(ctx context.Context, request operations.MultipleParamsRequest) (*operations.MultipleParamsResponse, error)
- func (s *QueryParam) NoParams(ctx context.Context) (*operations.NoParamsResponse, error)
- func (s *QueryParam) NumberArray(ctx context.Context, request operations.NumberArrayRequest) (*operations.NumberArrayResponse, error)
- func (s *QueryParam) OptionalDynamicQueryParam(ctx context.Context, request operations.OptionalDynamicQueryParamRequest) (*operations.OptionalDynamicQueryParamResponse, error)
- func (s *QueryParam) Rfc1123DateTime(ctx context.Context, request operations.Rfc1123DateTimeRequest) (*operations.Rfc1123DateTimeResponse, error)
- func (s *QueryParam) Rfc1123DateTimeArray(ctx context.Context, request operations.Rfc1123DateTimeArrayRequest) (*operations.Rfc1123DateTimeArrayResponse, error)
- func (s *QueryParam) Rfc3339DateTime(ctx context.Context, request operations.Rfc3339DateTimeRequest) (*operations.Rfc3339DateTimeResponse, error)
- func (s *QueryParam) Rfc3339DateTimeArray(ctx context.Context, request operations.Rfc3339DateTimeArrayRequest) (*operations.Rfc3339DateTimeArrayResponse, error)
- func (s *QueryParam) SimpleQuery(ctx context.Context, request operations.SimpleQueryRequest) (*operations.SimpleQueryResponse, error)
- func (s *QueryParam) StringArray(ctx context.Context, request operations.StringArrayRequest) (*operations.StringArrayResponse, error)
- func (s *QueryParam) StringEnumArray(ctx context.Context, request operations.StringEnumArrayRequest) (*operations.StringEnumArrayResponse, error)
- func (s *QueryParam) StringParam(ctx context.Context, request operations.StringParamRequest) (*operations.StringParamResponse, error)
- func (s *QueryParam) URLParam(ctx context.Context, request operations.URLParamRequest) (*operations.URLParamResponse, error)
- func (s *QueryParam) UnixDateTime(ctx context.Context, request operations.UnixDateTimeRequest) (*operations.UnixDateTimeResponse, error)
- func (s *QueryParam) UnixDateTimeArray(ctx context.Context, request operations.UnixDateTimeArrayRequest) (*operations.UnixDateTimeArrayResponse, error)
- type ResponseTypes
- func (s *ResponseTypes) Get1123DateTime(ctx context.Context, opts ...operations.Option) (*operations.Get1123DateTimeResponse, error)
- func (s *ResponseTypes) Get3339Datetime(ctx context.Context, opts ...operations.Option) (*operations.Get3339DatetimeResponse, error)
- func (s *ResponseTypes) GetBinary(ctx context.Context, opts ...operations.Option) (*operations.GetBinaryResponse, error)
- func (s *ResponseTypes) GetBoolean(ctx context.Context, opts ...operations.Option) (*operations.GetBooleanResponse, error)
- func (s *ResponseTypes) GetDateArray(ctx context.Context, request operations.GetDateArrayRequest) (*operations.GetDateArrayResponse, error)
- func (s *ResponseTypes) GetDynamic(ctx context.Context, opts ...operations.Option) (*operations.GetDynamicResponse, error)
- func (s *ResponseTypes) GetHeaders(ctx context.Context) (*operations.GetHeadersResponse, error)
- func (s *ResponseTypes) GetInteger(ctx context.Context, opts ...operations.Option) (*operations.GetIntegerResponse, error)
- func (s *ResponseTypes) GetLong(ctx context.Context, opts ...operations.Option) (*operations.GetLongResponse, error)
- func (s *ResponseTypes) GetModelArray(ctx context.Context, request operations.GetModelArrayRequest) (*operations.GetModelArrayResponse, error)
- func (s *ResponseTypes) GetPrecision(ctx context.Context, opts ...operations.Option) (*operations.GetPrecisionResponse, error)
- func (s *ResponseTypes) GetStringEnumArray(ctx context.Context, request operations.GetStringEnumArrayRequest) (*operations.GetStringEnumArrayResponse, error)
- func (s *ResponseTypes) GetUnixDateTime(ctx context.Context, opts ...operations.Option) (*operations.GetUnixDateTimeResponse, error)
- func (s *ResponseTypes) Getcontenttypeheaders(ctx context.Context) (*operations.GetcontenttypeheadersResponse, error)
- func (s *ResponseTypes) Returnresponsewithenums(ctx context.Context) (*operations.ReturnresponsewithenumsResponse, error)
- type SDKOption
- type Tester
Constants ¶
This section is empty.
Variables ¶
var ServerList = []string{
"http://localhost:3000",
}
ServerList contains the list of servers available to the SDK
Functions ¶
Types ¶
type BodyParams ¶ added in v0.3.0
type BodyParams struct {
// contains filtered or unexported fields
}
func (*BodyParams) PostSendDate ¶ added in v0.3.0
func (s *BodyParams) PostSendDate(ctx context.Context, request []byte) (*operations.PostSendDateResponse, error)
PostSendDate - Send Date
func (*BodyParams) PostSendIntegerArray ¶ added in v0.3.0
func (s *BodyParams) PostSendIntegerArray(ctx context.Context, request operations.PostSendIntegerArrayRequest) (*operations.PostSendIntegerArrayResponse, error)
PostSendIntegerArray - Send Integer Array
func (*BodyParams) PostSendIntegerEnumArray ¶ added in v0.3.0
func (s *BodyParams) PostSendIntegerEnumArray(ctx context.Context, request operations.PostSendIntegerEnumArrayRequest) (*operations.PostSendIntegerEnumArrayResponse, error)
PostSendIntegerEnumArray - SendIntegerEnumArray
func (*BodyParams) PostSendModel ¶ added in v0.3.0
func (s *BodyParams) PostSendModel(ctx context.Context, request shared.Employee) (*operations.PostSendModelResponse, error)
PostSendModel - Send Model
func (*BodyParams) PostSendRfc1123DateTime ¶ added in v0.3.0
func (s *BodyParams) PostSendRfc1123DateTime(ctx context.Context, request string) (*operations.PostSendRfc1123DateTimeResponse, error)
PostSendRfc1123DateTime - Send Rfc1123 DateTime
func (*BodyParams) PostSendRfc3339DateTime ¶ added in v0.3.0
func (s *BodyParams) PostSendRfc3339DateTime(ctx context.Context, request []byte) (*operations.PostSendRfc3339DateTimeResponse, error)
PostSendRfc3339DateTime - Send Rfc3339 DateTime
func (*BodyParams) PostSendStringArray ¶ added in v0.3.0
func (s *BodyParams) PostSendStringArray(ctx context.Context, request operations.PostSendStringArrayRequest) (*operations.PostSendStringArrayResponse, error)
PostSendStringArray - Send String Array sends a string body param
func (*BodyParams) PostSendStringEnumArray ¶ added in v0.3.0
func (s *BodyParams) PostSendStringEnumArray(ctx context.Context, request operations.PostSendStringEnumArrayRequest) (*operations.PostSendStringEnumArrayResponse, error)
PostSendStringEnumArray - SendStringEnumArray
func (*BodyParams) PostSendUnixDateTime ¶ added in v0.3.0
func (s *BodyParams) PostSendUnixDateTime(ctx context.Context, request []byte) (*operations.PostSendUnixDateTimeResponse, error)
PostSendUnixDateTime - Send UnixDateTime
func (*BodyParams) SendDeleteBody ¶ added in v0.3.0
func (s *BodyParams) SendDeleteBody(ctx context.Context) (*operations.SendDeleteBodyResponse, error)
SendDeleteBody - send Delete Body
func (*BodyParams) SendDeleteBodywithModel ¶ added in v0.3.0
func (s *BodyParams) SendDeleteBodywithModel(ctx context.Context) (*operations.SendDeleteBodywithModelResponse, error)
SendDeleteBodywithModel - Send Delete Body with Model
func (*BodyParams) SendDeletePlainText ¶ added in v0.3.0
func (s *BodyParams) SendDeletePlainText(ctx context.Context) (*operations.SendDeletePlainTextResponse, error)
SendDeletePlainText - Send Delete PlainText
func (*BodyParams) SendDynamic ¶ added in v0.3.0
func (s *BodyParams) SendDynamic(ctx context.Context, request []byte) (*operations.SendDynamicResponse, error)
SendDynamic - Send Dynamic
func (*BodyParams) UpdateModel ¶ added in v0.3.0
func (s *BodyParams) UpdateModel(ctx context.Context, request shared.Employee) (*operations.UpdateModelResponse, error)
UpdateModel - Update Model
func (*BodyParams) UpdateString ¶ added in v0.3.0
func (s *BodyParams) UpdateString(ctx context.Context, request string) (*operations.UpdateStringResponse, error)
UpdateString - update String
type Echo ¶ added in v0.3.0
type Echo struct {
// contains filtered or unexported fields
}
func (*Echo) Jsonecho ¶ added in v0.3.0
func (s *Echo) Jsonecho(ctx context.Context, request []byte, opts ...operations.Option) (*operations.JsonechoResponse, error)
Jsonecho - Json echo Echo's back the request
func (*Echo) QueryEcho ¶ added in v0.3.0
func (s *Echo) QueryEcho(ctx context.Context) (*operations.QueryEchoResponse, error)
QueryEcho
type ErrorCodes ¶ added in v0.3.0
type ErrorCodes struct {
// contains filtered or unexported fields
}
func (*ErrorCodes) Catch412globalerror ¶ added in v0.3.0
func (s *ErrorCodes) Catch412globalerror(ctx context.Context, opts ...operations.Option) (*operations.Catch412globalerrorResponse, error)
Catch412globalerror - catch 412 global error
func (*ErrorCodes) Get400 ¶ added in v0.3.0
func (s *ErrorCodes) Get400(ctx context.Context, opts ...operations.Option) (*operations.Get400Response, error)
Get400
func (*ErrorCodes) Get401 ¶ added in v0.3.0
func (s *ErrorCodes) Get401(ctx context.Context, opts ...operations.Option) (*operations.Get401Response, error)
Get401
func (*ErrorCodes) Get500 ¶ added in v0.3.0
func (s *ErrorCodes) Get500(ctx context.Context, opts ...operations.Option) (*operations.Get500Response, error)
Get500
func (*ErrorCodes) Get501 ¶ added in v0.3.0
func (s *ErrorCodes) Get501(ctx context.Context, opts ...operations.Option) (*operations.Get501Response, error)
Get501
type FormParams ¶ added in v0.3.0
type FormParams struct {
// contains filtered or unexported fields
}
func (*FormParams) SendDate ¶ added in v0.3.0
func (s *FormParams) SendDate(ctx context.Context, request *operations.SendDateRequestBody) (*operations.SendDateResponse, error)
SendDate - Send Date
func (*FormParams) SendDeleteMultipart ¶ added in v0.3.0
func (s *FormParams) SendDeleteMultipart(ctx context.Context) (*operations.SendDeleteMultipartResponse, error)
SendDeleteMultipart - send Delete Multipart
func (*FormParams) SendFile ¶ added in v0.3.0
func (s *FormParams) SendFile(ctx context.Context, request *operations.SendFileRequestBody) (*operations.SendFileResponse, error)
SendFile - Send File
func (*FormParams) SendIntegerEnumArray ¶ added in v0.3.0
func (s *FormParams) SendIntegerEnumArray(ctx context.Context, request operations.SendIntegerEnumArrayRequest) (*operations.SendIntegerEnumArrayResponse, error)
SendIntegerEnumArray
func (*FormParams) SendLong ¶ added in v0.3.0
func (s *FormParams) SendLong(ctx context.Context, request *operations.SendLongRequestBody) (*operations.SendLongResponse, error)
SendLong - Send Long
func (*FormParams) SendMixedArray ¶ added in v0.3.0
func (s *FormParams) SendMixedArray(ctx context.Context, request *operations.SendMixedArrayRequestBody) (*operations.SendMixedArrayResponse, error)
SendMixedArray Send a variety for form params. Returns file count and body params
func (*FormParams) SendModel ¶ added in v0.3.0
func (s *FormParams) SendModel(ctx context.Context, request *operations.SendModelRequestBody) (*operations.SendModelResponse, error)
SendModel - Send Model
func (*FormParams) SendRfc1123DateTime ¶ added in v0.3.0
func (s *FormParams) SendRfc1123DateTime(ctx context.Context, request *operations.SendRfc1123DateTimeRequestBody) (*operations.SendRfc1123DateTimeResponse, error)
SendRfc1123DateTime - Send Rfc1123 DateTime
func (*FormParams) SendRfc3339DateTime ¶ added in v0.3.0
func (s *FormParams) SendRfc3339DateTime(ctx context.Context, request *operations.SendRfc3339DateTimeRequestBody) (*operations.SendRfc3339DateTimeResponse, error)
SendRfc3339DateTime - Send Rfc3339 DateTime
func (*FormParams) SendStringArray ¶ added in v0.3.0
func (s *FormParams) SendStringArray(ctx context.Context, request operations.SendStringArrayRequest) (*operations.SendStringArrayResponse, error)
SendStringArray - Send String Array
func (*FormParams) SendStringEnumArray ¶ added in v0.3.0
func (s *FormParams) SendStringEnumArray(ctx context.Context, request operations.SendStringEnumArrayRequest) (*operations.SendStringEnumArrayResponse, error)
SendStringEnumArray
func (*FormParams) SendUnixDateTime ¶ added in v0.3.0
func (s *FormParams) SendUnixDateTime(ctx context.Context, request *operations.SendUnixDateTimeRequestBody) (*operations.SendUnixDateTimeResponse, error)
SendUnixDateTime - Send UnixDateTime
func (*FormParams) SenddeleteForm ¶ added in v0.3.0
func (s *FormParams) SenddeleteForm(ctx context.Context) (*operations.SenddeleteFormResponse, error)
SenddeleteForm - send delete Form
func (*FormParams) SenddeleteForm1 ¶ added in v0.3.0
func (s *FormParams) SenddeleteForm1(ctx context.Context) (*operations.SenddeleteForm1Response, error)
SenddeleteForm1 - send delete Form1
func (*FormParams) UpdateModelwithForm ¶ added in v0.3.0
func (s *FormParams) UpdateModelwithForm(ctx context.Context, request *operations.UpdateModelwithFormRequestBody) (*operations.UpdateModelwithFormResponse, error)
UpdateModelwithForm - Update Model with Form
func (*FormParams) UpdateStringwithForm ¶ added in v0.3.0
func (s *FormParams) UpdateStringwithForm(ctx context.Context, request *operations.UpdateStringwithFormRequestBody) (*operations.UpdateStringwithFormResponse, error)
UpdateStringwithForm - update String with Form
type HTTPClient ¶
HTTPClient provides an interface for suplying the SDK with a custom HTTP client
type Header ¶ added in v0.3.0
type Header struct {
// contains filtered or unexported fields
}
func (*Header) SendHeaders ¶ added in v0.3.0
func (s *Header) SendHeaders(ctx context.Context, request operations.SendHeadersRequest) (*operations.SendHeadersResponse, error)
SendHeaders - Send Headers Sends a single header params
type QueryParam ¶ added in v0.3.0
type QueryParam struct {
// contains filtered or unexported fields
}
func (*QueryParam) Date ¶ added in v0.3.0
func (s *QueryParam) Date(ctx context.Context, request operations.DateRequest) (*operations.DateResponse, error)
Date
func (*QueryParam) DateArray ¶ added in v0.3.0
func (s *QueryParam) DateArray(ctx context.Context, request operations.DateArrayRequest) (*operations.DateArrayResponse, error)
DateArray - Date Array
func (*QueryParam) IntegerEnumArray ¶ added in v0.3.0
func (s *QueryParam) IntegerEnumArray(ctx context.Context, request operations.IntegerEnumArrayRequest) (*operations.IntegerEnumArrayResponse, error)
IntegerEnumArray - Integer Enum Array
func (*QueryParam) MultipleParams ¶ added in v0.3.0
func (s *QueryParam) MultipleParams(ctx context.Context, request operations.MultipleParamsRequest) (*operations.MultipleParamsResponse, error)
MultipleParams
func (*QueryParam) NoParams ¶ added in v0.3.0
func (s *QueryParam) NoParams(ctx context.Context) (*operations.NoParamsResponse, error)
NoParams
func (*QueryParam) NumberArray ¶ added in v0.3.0
func (s *QueryParam) NumberArray(ctx context.Context, request operations.NumberArrayRequest) (*operations.NumberArrayResponse, error)
NumberArray - Number Array
func (*QueryParam) OptionalDynamicQueryParam ¶ added in v0.3.0
func (s *QueryParam) OptionalDynamicQueryParam(ctx context.Context, request operations.OptionalDynamicQueryParamRequest) (*operations.OptionalDynamicQueryParamResponse, error)
OptionalDynamicQueryParam - Optional Dynamic Query Param get optional dynamic query parameter
func (*QueryParam) Rfc1123DateTime ¶ added in v0.3.0
func (s *QueryParam) Rfc1123DateTime(ctx context.Context, request operations.Rfc1123DateTimeRequest) (*operations.Rfc1123DateTimeResponse, error)
Rfc1123DateTime - Rfc1123 DateTime
func (*QueryParam) Rfc1123DateTimeArray ¶ added in v0.3.0
func (s *QueryParam) Rfc1123DateTimeArray(ctx context.Context, request operations.Rfc1123DateTimeArrayRequest) (*operations.Rfc1123DateTimeArrayResponse, error)
Rfc1123DateTimeArray - Rfc1123 DateTime Array
func (*QueryParam) Rfc3339DateTime ¶ added in v0.3.0
func (s *QueryParam) Rfc3339DateTime(ctx context.Context, request operations.Rfc3339DateTimeRequest) (*operations.Rfc3339DateTimeResponse, error)
Rfc3339DateTime - Rfc3339 DateTime
func (*QueryParam) Rfc3339DateTimeArray ¶ added in v0.3.0
func (s *QueryParam) Rfc3339DateTimeArray(ctx context.Context, request operations.Rfc3339DateTimeArrayRequest) (*operations.Rfc3339DateTimeArrayResponse, error)
Rfc3339DateTimeArray - Rfc3339 DateTime Array
func (*QueryParam) SimpleQuery ¶ added in v0.3.0
func (s *QueryParam) SimpleQuery(ctx context.Context, request operations.SimpleQueryRequest) (*operations.SimpleQueryResponse, error)
SimpleQuery
func (*QueryParam) StringArray ¶ added in v0.3.0
func (s *QueryParam) StringArray(ctx context.Context, request operations.StringArrayRequest) (*operations.StringArrayResponse, error)
StringArray - String Array
func (*QueryParam) StringEnumArray ¶ added in v0.3.0
func (s *QueryParam) StringEnumArray(ctx context.Context, request operations.StringEnumArrayRequest) (*operations.StringEnumArrayResponse, error)
StringEnumArray - String Enum Array
func (*QueryParam) StringParam ¶ added in v0.3.0
func (s *QueryParam) StringParam(ctx context.Context, request operations.StringParamRequest) (*operations.StringParamResponse, error)
StringParam
func (*QueryParam) URLParam ¶ added in v0.3.0
func (s *QueryParam) URLParam(ctx context.Context, request operations.URLParamRequest) (*operations.URLParamResponse, error)
URLParam - UrlParam
func (*QueryParam) UnixDateTime ¶ added in v0.3.0
func (s *QueryParam) UnixDateTime(ctx context.Context, request operations.UnixDateTimeRequest) (*operations.UnixDateTimeResponse, error)
UnixDateTime - Unix DateTime
func (*QueryParam) UnixDateTimeArray ¶ added in v0.3.0
func (s *QueryParam) UnixDateTimeArray(ctx context.Context, request operations.UnixDateTimeArrayRequest) (*operations.UnixDateTimeArrayResponse, error)
UnixDateTimeArray - Unix DateTime Array
type ResponseTypes ¶ added in v0.3.0
type ResponseTypes struct {
// contains filtered or unexported fields
}
func (*ResponseTypes) Get1123DateTime ¶ added in v0.3.0
func (s *ResponseTypes) Get1123DateTime(ctx context.Context, opts ...operations.Option) (*operations.Get1123DateTimeResponse, error)
Get1123DateTime - Get 1123DateTime
func (*ResponseTypes) Get3339Datetime ¶ added in v0.3.0
func (s *ResponseTypes) Get3339Datetime(ctx context.Context, opts ...operations.Option) (*operations.Get3339DatetimeResponse, error)
Get3339Datetime - Get 3339Datetime
func (*ResponseTypes) GetBinary ¶ added in v0.3.0
func (s *ResponseTypes) GetBinary(ctx context.Context, opts ...operations.Option) (*operations.GetBinaryResponse, error)
GetBinary - Get Binary gets a binary object
func (*ResponseTypes) GetBoolean ¶ added in v0.3.0
func (s *ResponseTypes) GetBoolean(ctx context.Context, opts ...operations.Option) (*operations.GetBooleanResponse, error)
GetBoolean - Get Boolean
func (*ResponseTypes) GetDateArray ¶ added in v0.3.0
func (s *ResponseTypes) GetDateArray(ctx context.Context, request operations.GetDateArrayRequest) (*operations.GetDateArrayResponse, error)
GetDateArray - Get Date Array
func (*ResponseTypes) GetDynamic ¶ added in v0.3.0
func (s *ResponseTypes) GetDynamic(ctx context.Context, opts ...operations.Option) (*operations.GetDynamicResponse, error)
GetDynamic - Get Dynamic
func (*ResponseTypes) GetHeaders ¶ added in v0.3.0
func (s *ResponseTypes) GetHeaders(ctx context.Context) (*operations.GetHeadersResponse, error)
GetHeaders - Get Headers
func (*ResponseTypes) GetInteger ¶ added in v0.3.0
func (s *ResponseTypes) GetInteger(ctx context.Context, opts ...operations.Option) (*operations.GetIntegerResponse, error)
GetInteger - Get Integer Gets a integer response
func (*ResponseTypes) GetLong ¶ added in v0.3.0
func (s *ResponseTypes) GetLong(ctx context.Context, opts ...operations.Option) (*operations.GetLongResponse, error)
GetLong - Get Long
func (*ResponseTypes) GetModelArray ¶ added in v0.3.0
func (s *ResponseTypes) GetModelArray(ctx context.Context, request operations.GetModelArrayRequest) (*operations.GetModelArrayResponse, error)
GetModelArray - Get Model Array
func (*ResponseTypes) GetPrecision ¶ added in v0.3.0
func (s *ResponseTypes) GetPrecision(ctx context.Context, opts ...operations.Option) (*operations.GetPrecisionResponse, error)
GetPrecision - Get Precision
func (*ResponseTypes) GetStringEnumArray ¶ added in v0.3.0
func (s *ResponseTypes) GetStringEnumArray(ctx context.Context, request operations.GetStringEnumArrayRequest) (*operations.GetStringEnumArrayResponse, error)
GetStringEnumArray - Get String Enum Array
func (*ResponseTypes) GetUnixDateTime ¶ added in v0.3.0
func (s *ResponseTypes) GetUnixDateTime(ctx context.Context, opts ...operations.Option) (*operations.GetUnixDateTimeResponse, error)
GetUnixDateTime - Get UnixDateTime
func (*ResponseTypes) Getcontenttypeheaders ¶ added in v0.3.0
func (s *ResponseTypes) Getcontenttypeheaders(ctx context.Context) (*operations.GetcontenttypeheadersResponse, error)
Getcontenttypeheaders - get content type headers
func (*ResponseTypes) Returnresponsewithenums ¶ added in v0.3.0
func (s *ResponseTypes) Returnresponsewithenums(ctx context.Context) (*operations.ReturnresponsewithenumsResponse, error)
Returnresponsewithenums - return response with enums
type SDKOption ¶
type SDKOption func(*Tester)
func WithClient ¶
func WithClient(client HTTPClient) SDKOption
WithClient allows the overriding of the default HTTP client used by the SDK
func WithRetryConfig ¶
func WithRetryConfig(retryConfig utils.RetryConfig) SDKOption
func WithServerIndex ¶
WithServerIndex allows the overriding of the default server by index
func WithServerURL ¶
WithServerURL allows the overriding of the default server URL
type Tester ¶
type Tester struct { Echo *Echo BodyParams *BodyParams ErrorCodes *ErrorCodes FormParams *FormParams Header *Header QueryParam *QueryParam ResponseTypes *ResponseTypes // contains filtered or unexported fields }
Tester - Tester: Testing various
api
features