endpoint

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Dec 20, 2017 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AddAPIBadRequest

type AddAPIBadRequest struct {
	Payload *models.Error
}

AddAPIBadRequest handles this case with default header values.

Invalid Input

func NewAddAPIBadRequest

func NewAddAPIBadRequest() *AddAPIBadRequest

NewAddAPIBadRequest creates a AddAPIBadRequest with default headers values

func (*AddAPIBadRequest) Error

func (o *AddAPIBadRequest) Error() string

type AddAPIInternalServerError

type AddAPIInternalServerError struct {
	Payload *models.Error
}

AddAPIInternalServerError handles this case with default header values.

Internal Error

func NewAddAPIInternalServerError

func NewAddAPIInternalServerError() *AddAPIInternalServerError

NewAddAPIInternalServerError creates a AddAPIInternalServerError with default headers values

func (*AddAPIInternalServerError) Error

func (o *AddAPIInternalServerError) Error() string

type AddAPIOK

type AddAPIOK struct {
	Payload *models.API
}

AddAPIOK handles this case with default header values.

API created

func NewAddAPIOK

func NewAddAPIOK() *AddAPIOK

NewAddAPIOK creates a AddAPIOK with default headers values

func (*AddAPIOK) Error

func (o *AddAPIOK) Error() string

type AddAPIParams

type AddAPIParams struct {

	/*Body
	  API object

	*/
	Body *models.API

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

AddAPIParams contains all the parameters to send to the API endpoint for the add API operation typically these are written to a http.Request

func NewAddAPIParams

func NewAddAPIParams() *AddAPIParams

NewAddAPIParams creates a new AddAPIParams object with the default values initialized.

func NewAddAPIParamsWithContext

func NewAddAPIParamsWithContext(ctx context.Context) *AddAPIParams

NewAddAPIParamsWithContext creates a new AddAPIParams object with the default values initialized, and the ability to set a context for a request

func NewAddAPIParamsWithHTTPClient

func NewAddAPIParamsWithHTTPClient(client *http.Client) *AddAPIParams

NewAddAPIParamsWithHTTPClient creates a new AddAPIParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewAddAPIParamsWithTimeout

func NewAddAPIParamsWithTimeout(timeout time.Duration) *AddAPIParams

NewAddAPIParamsWithTimeout creates a new AddAPIParams object with the default values initialized, and the ability to set a timeout on a request

func (*AddAPIParams) SetBody

func (o *AddAPIParams) SetBody(body *models.API)

SetBody adds the body to the add API params

func (*AddAPIParams) SetContext

func (o *AddAPIParams) SetContext(ctx context.Context)

SetContext adds the context to the add API params

func (*AddAPIParams) SetHTTPClient

func (o *AddAPIParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the add API params

func (*AddAPIParams) SetTimeout

func (o *AddAPIParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the add API params

func (*AddAPIParams) WithBody

func (o *AddAPIParams) WithBody(body *models.API) *AddAPIParams

WithBody adds the body to the add API params

func (*AddAPIParams) WithContext

func (o *AddAPIParams) WithContext(ctx context.Context) *AddAPIParams

WithContext adds the context to the add API params

func (*AddAPIParams) WithHTTPClient

func (o *AddAPIParams) WithHTTPClient(client *http.Client) *AddAPIParams

WithHTTPClient adds the HTTPClient to the add API params

func (*AddAPIParams) WithTimeout

func (o *AddAPIParams) WithTimeout(timeout time.Duration) *AddAPIParams

WithTimeout adds the timeout to the add API params

func (*AddAPIParams) WriteToRequest

func (o *AddAPIParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type AddAPIReader

type AddAPIReader struct {
	// contains filtered or unexported fields
}

AddAPIReader is a Reader for the AddAPI structure.

func (*AddAPIReader) ReadResponse

func (o *AddAPIReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type AddAPIUnauthorized

type AddAPIUnauthorized struct {
	Payload *models.Error
}

AddAPIUnauthorized handles this case with default header values.

Unauthorized Request

func NewAddAPIUnauthorized

func NewAddAPIUnauthorized() *AddAPIUnauthorized

NewAddAPIUnauthorized creates a AddAPIUnauthorized with default headers values

func (*AddAPIUnauthorized) Error

func (o *AddAPIUnauthorized) Error() string

type Client

type Client struct {
	// contains filtered or unexported fields
}

Client for endpoint API

func New

func New(transport runtime.ClientTransport, formats strfmt.Registry) *Client

New creates a new endpoint API client.

func (*Client) AddAPI

func (a *Client) AddAPI(params *AddAPIParams, authInfo runtime.ClientAuthInfoWriter) (*AddAPIOK, error)

AddAPI adds a new API

func (*Client) DeleteAPI

func (a *Client) DeleteAPI(params *DeleteAPIParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteAPIOK, error)

DeleteAPI deletes an API

func (*Client) GetAPI

func (a *Client) GetAPI(params *GetAPIParams, authInfo runtime.ClientAuthInfoWriter) (*GetAPIOK, error)

GetAPI finds API by name

get an API by name

func (*Client) GetApis

func (a *Client) GetApis(params *GetApisParams, authInfo runtime.ClientAuthInfoWriter) (*GetApisOK, error)

GetApis lists all existing apis

func (*Client) SetTransport

func (a *Client) SetTransport(transport runtime.ClientTransport)

SetTransport changes the transport on the client

func (*Client) UpdateAPI

func (a *Client) UpdateAPI(params *UpdateAPIParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateAPIOK, error)

UpdateAPI updates an API

type DeleteAPIBadRequest

type DeleteAPIBadRequest struct {
	Payload *models.Error
}

DeleteAPIBadRequest handles this case with default header values.

Invalid Name supplied

func NewDeleteAPIBadRequest

func NewDeleteAPIBadRequest() *DeleteAPIBadRequest

NewDeleteAPIBadRequest creates a DeleteAPIBadRequest with default headers values

func (*DeleteAPIBadRequest) Error

func (o *DeleteAPIBadRequest) Error() string

type DeleteAPIInternalServerError

type DeleteAPIInternalServerError struct {
	Payload *models.Error
}

DeleteAPIInternalServerError handles this case with default header values.

Internal error

func NewDeleteAPIInternalServerError

func NewDeleteAPIInternalServerError() *DeleteAPIInternalServerError

NewDeleteAPIInternalServerError creates a DeleteAPIInternalServerError with default headers values

func (*DeleteAPIInternalServerError) Error

type DeleteAPINotFound

type DeleteAPINotFound struct {
	Payload *models.Error
}

DeleteAPINotFound handles this case with default header values.

API not found

func NewDeleteAPINotFound

func NewDeleteAPINotFound() *DeleteAPINotFound

NewDeleteAPINotFound creates a DeleteAPINotFound with default headers values

func (*DeleteAPINotFound) Error

func (o *DeleteAPINotFound) Error() string

type DeleteAPIOK

type DeleteAPIOK struct {
	Payload *models.API
}

DeleteAPIOK handles this case with default header values.

Successful operation

func NewDeleteAPIOK

func NewDeleteAPIOK() *DeleteAPIOK

NewDeleteAPIOK creates a DeleteAPIOK with default headers values

func (*DeleteAPIOK) Error

func (o *DeleteAPIOK) Error() string

type DeleteAPIParams

type DeleteAPIParams struct {

	/*API
	  Name of API to work on

	*/
	API string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

DeleteAPIParams contains all the parameters to send to the API endpoint for the delete API operation typically these are written to a http.Request

func NewDeleteAPIParams

func NewDeleteAPIParams() *DeleteAPIParams

NewDeleteAPIParams creates a new DeleteAPIParams object with the default values initialized.

func NewDeleteAPIParamsWithContext

func NewDeleteAPIParamsWithContext(ctx context.Context) *DeleteAPIParams

NewDeleteAPIParamsWithContext creates a new DeleteAPIParams object with the default values initialized, and the ability to set a context for a request

func NewDeleteAPIParamsWithHTTPClient

func NewDeleteAPIParamsWithHTTPClient(client *http.Client) *DeleteAPIParams

NewDeleteAPIParamsWithHTTPClient creates a new DeleteAPIParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewDeleteAPIParamsWithTimeout

func NewDeleteAPIParamsWithTimeout(timeout time.Duration) *DeleteAPIParams

NewDeleteAPIParamsWithTimeout creates a new DeleteAPIParams object with the default values initialized, and the ability to set a timeout on a request

func (*DeleteAPIParams) SetAPI

func (o *DeleteAPIParams) SetAPI(api string)

SetAPI adds the api to the delete API params

func (*DeleteAPIParams) SetContext

func (o *DeleteAPIParams) SetContext(ctx context.Context)

SetContext adds the context to the delete API params

func (*DeleteAPIParams) SetHTTPClient

func (o *DeleteAPIParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the delete API params

func (*DeleteAPIParams) SetTimeout

func (o *DeleteAPIParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the delete API params

func (*DeleteAPIParams) WithAPI

func (o *DeleteAPIParams) WithAPI(api string) *DeleteAPIParams

WithAPI adds the api to the delete API params

func (*DeleteAPIParams) WithContext

func (o *DeleteAPIParams) WithContext(ctx context.Context) *DeleteAPIParams

WithContext adds the context to the delete API params

func (*DeleteAPIParams) WithHTTPClient

func (o *DeleteAPIParams) WithHTTPClient(client *http.Client) *DeleteAPIParams

WithHTTPClient adds the HTTPClient to the delete API params

func (*DeleteAPIParams) WithTimeout

func (o *DeleteAPIParams) WithTimeout(timeout time.Duration) *DeleteAPIParams

WithTimeout adds the timeout to the delete API params

func (*DeleteAPIParams) WriteToRequest

func (o *DeleteAPIParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type DeleteAPIReader

type DeleteAPIReader struct {
	// contains filtered or unexported fields
}

DeleteAPIReader is a Reader for the DeleteAPI structure.

func (*DeleteAPIReader) ReadResponse

func (o *DeleteAPIReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type GetAPIBadRequest

type GetAPIBadRequest struct {
	Payload *models.Error
}

GetAPIBadRequest handles this case with default header values.

Invalid Name supplied

func NewGetAPIBadRequest

func NewGetAPIBadRequest() *GetAPIBadRequest

NewGetAPIBadRequest creates a GetAPIBadRequest with default headers values

func (*GetAPIBadRequest) Error

func (o *GetAPIBadRequest) Error() string

type GetAPIInternalServerError

type GetAPIInternalServerError struct {
	Payload *models.Error
}

GetAPIInternalServerError handles this case with default header values.

Internal error

func NewGetAPIInternalServerError

func NewGetAPIInternalServerError() *GetAPIInternalServerError

NewGetAPIInternalServerError creates a GetAPIInternalServerError with default headers values

func (*GetAPIInternalServerError) Error

func (o *GetAPIInternalServerError) Error() string

type GetAPINotFound

type GetAPINotFound struct {
	Payload *models.Error
}

GetAPINotFound handles this case with default header values.

API not found

func NewGetAPINotFound

func NewGetAPINotFound() *GetAPINotFound

NewGetAPINotFound creates a GetAPINotFound with default headers values

func (*GetAPINotFound) Error

func (o *GetAPINotFound) Error() string

type GetAPIOK

type GetAPIOK struct {
	Payload *models.API
}

GetAPIOK handles this case with default header values.

Successful operation

func NewGetAPIOK

func NewGetAPIOK() *GetAPIOK

NewGetAPIOK creates a GetAPIOK with default headers values

func (*GetAPIOK) Error

func (o *GetAPIOK) Error() string

type GetAPIParams

type GetAPIParams struct {

	/*API
	  Name of API to work on

	*/
	API string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetAPIParams contains all the parameters to send to the API endpoint for the get API operation typically these are written to a http.Request

func NewGetAPIParams

func NewGetAPIParams() *GetAPIParams

NewGetAPIParams creates a new GetAPIParams object with the default values initialized.

func NewGetAPIParamsWithContext

func NewGetAPIParamsWithContext(ctx context.Context) *GetAPIParams

NewGetAPIParamsWithContext creates a new GetAPIParams object with the default values initialized, and the ability to set a context for a request

func NewGetAPIParamsWithHTTPClient

func NewGetAPIParamsWithHTTPClient(client *http.Client) *GetAPIParams

NewGetAPIParamsWithHTTPClient creates a new GetAPIParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewGetAPIParamsWithTimeout

func NewGetAPIParamsWithTimeout(timeout time.Duration) *GetAPIParams

NewGetAPIParamsWithTimeout creates a new GetAPIParams object with the default values initialized, and the ability to set a timeout on a request

func (*GetAPIParams) SetAPI

func (o *GetAPIParams) SetAPI(api string)

SetAPI adds the api to the get API params

func (*GetAPIParams) SetContext

func (o *GetAPIParams) SetContext(ctx context.Context)

SetContext adds the context to the get API params

func (*GetAPIParams) SetHTTPClient

func (o *GetAPIParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the get API params

func (*GetAPIParams) SetTimeout

func (o *GetAPIParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the get API params

func (*GetAPIParams) WithAPI

func (o *GetAPIParams) WithAPI(api string) *GetAPIParams

WithAPI adds the api to the get API params

func (*GetAPIParams) WithContext

func (o *GetAPIParams) WithContext(ctx context.Context) *GetAPIParams

WithContext adds the context to the get API params

func (*GetAPIParams) WithHTTPClient

func (o *GetAPIParams) WithHTTPClient(client *http.Client) *GetAPIParams

WithHTTPClient adds the HTTPClient to the get API params

func (*GetAPIParams) WithTimeout

func (o *GetAPIParams) WithTimeout(timeout time.Duration) *GetAPIParams

WithTimeout adds the timeout to the get API params

func (*GetAPIParams) WriteToRequest

func (o *GetAPIParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type GetAPIReader

type GetAPIReader struct {
	// contains filtered or unexported fields
}

GetAPIReader is a Reader for the GetAPI structure.

func (*GetAPIReader) ReadResponse

func (o *GetAPIReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type GetApisDefault

type GetApisDefault struct {
	Payload *models.Error
	// contains filtered or unexported fields
}

GetApisDefault handles this case with default header values.

Unexpected Error

func NewGetApisDefault

func NewGetApisDefault(code int) *GetApisDefault

NewGetApisDefault creates a GetApisDefault with default headers values

func (*GetApisDefault) Code

func (o *GetApisDefault) Code() int

Code gets the status code for the get apis default response

func (*GetApisDefault) Error

func (o *GetApisDefault) Error() string

type GetApisInternalServerError

type GetApisInternalServerError struct {
	Payload *models.Error
}

GetApisInternalServerError handles this case with default header values.

Internal Error

func NewGetApisInternalServerError

func NewGetApisInternalServerError() *GetApisInternalServerError

NewGetApisInternalServerError creates a GetApisInternalServerError with default headers values

func (*GetApisInternalServerError) Error

type GetApisOK

type GetApisOK struct {
	Payload models.GetApisOKBody
}

GetApisOK handles this case with default header values.

Successful operation

func NewGetApisOK

func NewGetApisOK() *GetApisOK

NewGetApisOK creates a GetApisOK with default headers values

func (*GetApisOK) Error

func (o *GetApisOK) Error() string

type GetApisParams

type GetApisParams struct {

	/*Function
	  Filter based on function names

	*/
	Function *string
	/*Tags
	  Filter on API tags

	*/
	Tags []string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetApisParams contains all the parameters to send to the API endpoint for the get apis operation typically these are written to a http.Request

func NewGetApisParams

func NewGetApisParams() *GetApisParams

NewGetApisParams creates a new GetApisParams object with the default values initialized.

func NewGetApisParamsWithContext

func NewGetApisParamsWithContext(ctx context.Context) *GetApisParams

NewGetApisParamsWithContext creates a new GetApisParams object with the default values initialized, and the ability to set a context for a request

func NewGetApisParamsWithHTTPClient

func NewGetApisParamsWithHTTPClient(client *http.Client) *GetApisParams

NewGetApisParamsWithHTTPClient creates a new GetApisParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewGetApisParamsWithTimeout

func NewGetApisParamsWithTimeout(timeout time.Duration) *GetApisParams

NewGetApisParamsWithTimeout creates a new GetApisParams object with the default values initialized, and the ability to set a timeout on a request

func (*GetApisParams) SetContext

func (o *GetApisParams) SetContext(ctx context.Context)

SetContext adds the context to the get apis params

func (*GetApisParams) SetFunction

func (o *GetApisParams) SetFunction(function *string)

SetFunction adds the function to the get apis params

func (*GetApisParams) SetHTTPClient

func (o *GetApisParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the get apis params

func (*GetApisParams) SetTags

func (o *GetApisParams) SetTags(tags []string)

SetTags adds the tags to the get apis params

func (*GetApisParams) SetTimeout

func (o *GetApisParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the get apis params

func (*GetApisParams) WithContext

func (o *GetApisParams) WithContext(ctx context.Context) *GetApisParams

WithContext adds the context to the get apis params

func (*GetApisParams) WithFunction

func (o *GetApisParams) WithFunction(function *string) *GetApisParams

WithFunction adds the function to the get apis params

func (*GetApisParams) WithHTTPClient

func (o *GetApisParams) WithHTTPClient(client *http.Client) *GetApisParams

WithHTTPClient adds the HTTPClient to the get apis params

func (*GetApisParams) WithTags

func (o *GetApisParams) WithTags(tags []string) *GetApisParams

WithTags adds the tags to the get apis params

func (*GetApisParams) WithTimeout

func (o *GetApisParams) WithTimeout(timeout time.Duration) *GetApisParams

WithTimeout adds the timeout to the get apis params

func (*GetApisParams) WriteToRequest

func (o *GetApisParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type GetApisReader

type GetApisReader struct {
	// contains filtered or unexported fields
}

GetApisReader is a Reader for the GetApis structure.

func (*GetApisReader) ReadResponse

func (o *GetApisReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type UpdateAPIBadRequest

type UpdateAPIBadRequest struct {
	Payload *models.Error
}

UpdateAPIBadRequest handles this case with default header values.

Invalid input

func NewUpdateAPIBadRequest

func NewUpdateAPIBadRequest() *UpdateAPIBadRequest

NewUpdateAPIBadRequest creates a UpdateAPIBadRequest with default headers values

func (*UpdateAPIBadRequest) Error

func (o *UpdateAPIBadRequest) Error() string

type UpdateAPIInternalServerError

type UpdateAPIInternalServerError struct {
	Payload *models.Error
}

UpdateAPIInternalServerError handles this case with default header values.

Internal error

func NewUpdateAPIInternalServerError

func NewUpdateAPIInternalServerError() *UpdateAPIInternalServerError

NewUpdateAPIInternalServerError creates a UpdateAPIInternalServerError with default headers values

func (*UpdateAPIInternalServerError) Error

type UpdateAPINotFound

type UpdateAPINotFound struct {
	Payload *models.Error
}

UpdateAPINotFound handles this case with default header values.

API not found

func NewUpdateAPINotFound

func NewUpdateAPINotFound() *UpdateAPINotFound

NewUpdateAPINotFound creates a UpdateAPINotFound with default headers values

func (*UpdateAPINotFound) Error

func (o *UpdateAPINotFound) Error() string

type UpdateAPIOK

type UpdateAPIOK struct {
	Payload *models.API
}

UpdateAPIOK handles this case with default header values.

Successful update

func NewUpdateAPIOK

func NewUpdateAPIOK() *UpdateAPIOK

NewUpdateAPIOK creates a UpdateAPIOK with default headers values

func (*UpdateAPIOK) Error

func (o *UpdateAPIOK) Error() string

type UpdateAPIParams

type UpdateAPIParams struct {

	/*API
	  Name of API to work on

	*/
	API string
	/*Body
	  API object

	*/
	Body *models.API

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

UpdateAPIParams contains all the parameters to send to the API endpoint for the update API operation typically these are written to a http.Request

func NewUpdateAPIParams

func NewUpdateAPIParams() *UpdateAPIParams

NewUpdateAPIParams creates a new UpdateAPIParams object with the default values initialized.

func NewUpdateAPIParamsWithContext

func NewUpdateAPIParamsWithContext(ctx context.Context) *UpdateAPIParams

NewUpdateAPIParamsWithContext creates a new UpdateAPIParams object with the default values initialized, and the ability to set a context for a request

func NewUpdateAPIParamsWithHTTPClient

func NewUpdateAPIParamsWithHTTPClient(client *http.Client) *UpdateAPIParams

NewUpdateAPIParamsWithHTTPClient creates a new UpdateAPIParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewUpdateAPIParamsWithTimeout

func NewUpdateAPIParamsWithTimeout(timeout time.Duration) *UpdateAPIParams

NewUpdateAPIParamsWithTimeout creates a new UpdateAPIParams object with the default values initialized, and the ability to set a timeout on a request

func (*UpdateAPIParams) SetAPI

func (o *UpdateAPIParams) SetAPI(api string)

SetAPI adds the api to the update API params

func (*UpdateAPIParams) SetBody

func (o *UpdateAPIParams) SetBody(body *models.API)

SetBody adds the body to the update API params

func (*UpdateAPIParams) SetContext

func (o *UpdateAPIParams) SetContext(ctx context.Context)

SetContext adds the context to the update API params

func (*UpdateAPIParams) SetHTTPClient

func (o *UpdateAPIParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the update API params

func (*UpdateAPIParams) SetTimeout

func (o *UpdateAPIParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the update API params

func (*UpdateAPIParams) WithAPI

func (o *UpdateAPIParams) WithAPI(api string) *UpdateAPIParams

WithAPI adds the api to the update API params

func (*UpdateAPIParams) WithBody

func (o *UpdateAPIParams) WithBody(body *models.API) *UpdateAPIParams

WithBody adds the body to the update API params

func (*UpdateAPIParams) WithContext

func (o *UpdateAPIParams) WithContext(ctx context.Context) *UpdateAPIParams

WithContext adds the context to the update API params

func (*UpdateAPIParams) WithHTTPClient

func (o *UpdateAPIParams) WithHTTPClient(client *http.Client) *UpdateAPIParams

WithHTTPClient adds the HTTPClient to the update API params

func (*UpdateAPIParams) WithTimeout

func (o *UpdateAPIParams) WithTimeout(timeout time.Duration) *UpdateAPIParams

WithTimeout adds the timeout to the update API params

func (*UpdateAPIParams) WriteToRequest

func (o *UpdateAPIParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type UpdateAPIReader

type UpdateAPIReader struct {
	// contains filtered or unexported fields
}

UpdateAPIReader is a Reader for the UpdateAPI structure.

func (*UpdateAPIReader) ReadResponse

func (o *UpdateAPIReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

Jump to

Keyboard shortcuts

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