Documentation ¶
Overview ¶
Code generated by OpenAPI Generator; DO NOT EDIT.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GenericOpenAPIError ¶
type GenericOpenAPIError struct {
// contains filtered or unexported fields
}
GenericOpenAPIError Provides access to the body, error and model on returned errors.
func NewGenericOpenAPIError ¶
func NewGenericOpenAPIError(body []byte, error string, model interface{}) *GenericOpenAPIError
func (GenericOpenAPIError) Body ¶
func (e GenericOpenAPIError) Body() []byte
Body returns the raw bytes of the response
func (GenericOpenAPIError) Error ¶
func (e GenericOpenAPIError) Error() string
Error returns non-empty string if there was an error.
func (GenericOpenAPIError) Model ¶
func (e GenericOpenAPIError) Model() interface{}
Model returns the unpacked model of the error
func (*GenericOpenAPIError) SetError ¶
func (e *GenericOpenAPIError) SetError(error string)
SetError update the error description
func (*GenericOpenAPIError) SetModel ¶
func (e *GenericOpenAPIError) SetModel(model interface{})
type IClient ¶
type IClient interface { GetConfig() IConfiguration PrepareRequest( ctx context.Context, path string, method string, postBody interface{}, headerParams map[string]string, queryParams url.Values, formParams url.Values, formFiles []FormFile) (localVarRequest *http.Request, err error) CallAPI(request *http.Request) (*http.Response, error) Decode(v interface{}, b []byte, contentType string) (err error) }
Click to show internal directories.
Click to hide internal directories.