details

package
v0.0.0-...-fda5bac Latest Latest
Warning

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

Go to latest
Published: Apr 28, 2018 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

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

Client for details API

func New

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

New creates a new details API client.

func (*Client) CreateDetail

func (a *Client) CreateDetail(params *CreateDetailParams) (*CreateDetailCreated, error)

CreateDetail creates a detail

func (*Client) DeleteDetail

func (a *Client) DeleteDetail(params *DeleteDetailParams) (*DeleteDetailOK, error)

DeleteDetail deletes detail

A detail deletion will also remove all of its descriptors.

func (*Client) DeleteDetails

func (a *Client) DeleteDetails(params *DeleteDetailsParams) (*DeleteDetailsOK, error)

DeleteDetails deletes all details

a details deletion will also remove all of its descriptors.

func (*Client) GetDetail

func (a *Client) GetDetail(params *GetDetailParams) (*GetDetailOK, error)

GetDetail gets a specific detail

func (*Client) GetDetails

func (a *Client) GetDetails(params *GetDetailsParams) (*GetDetailsOK, error)

GetDetails gets all details

func (*Client) SetTransport

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

SetTransport changes the transport on the client

func (*Client) UpdateDetail

func (a *Client) UpdateDetail(params *UpdateDetailParams) (*UpdateDetailCreated, error)

UpdateDetail updates a specific detail

type CreateDetailBadRequest

type CreateDetailBadRequest struct {
}

CreateDetailBadRequest handles this case with default header values.

Invalid input

func NewCreateDetailBadRequest

func NewCreateDetailBadRequest() *CreateDetailBadRequest

NewCreateDetailBadRequest creates a CreateDetailBadRequest with default headers values

func (*CreateDetailBadRequest) Error

func (o *CreateDetailBadRequest) Error() string

type CreateDetailCreated

type CreateDetailCreated struct {
	Payload *models.Detail
}

CreateDetailCreated handles this case with default header values.

Category Created

func NewCreateDetailCreated

func NewCreateDetailCreated() *CreateDetailCreated

NewCreateDetailCreated creates a CreateDetailCreated with default headers values

func (*CreateDetailCreated) Error

func (o *CreateDetailCreated) Error() string

type CreateDetailParams

type CreateDetailParams struct {

	/*Body
	  Detail that will be created

	*/
	Body *models.Detail

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

CreateDetailParams contains all the parameters to send to the API endpoint for the create detail operation typically these are written to a http.Request

func NewCreateDetailParams

func NewCreateDetailParams() *CreateDetailParams

NewCreateDetailParams creates a new CreateDetailParams object with the default values initialized.

func NewCreateDetailParamsWithContext

func NewCreateDetailParamsWithContext(ctx context.Context) *CreateDetailParams

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

func NewCreateDetailParamsWithHTTPClient

func NewCreateDetailParamsWithHTTPClient(client *http.Client) *CreateDetailParams

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

func NewCreateDetailParamsWithTimeout

func NewCreateDetailParamsWithTimeout(timeout time.Duration) *CreateDetailParams

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

func (*CreateDetailParams) SetBody

func (o *CreateDetailParams) SetBody(body *models.Detail)

SetBody adds the body to the create detail params

func (*CreateDetailParams) SetContext

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

SetContext adds the context to the create detail params

func (*CreateDetailParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the create detail params

func (*CreateDetailParams) SetTimeout

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

SetTimeout adds the timeout to the create detail params

func (*CreateDetailParams) WithBody

func (o *CreateDetailParams) WithBody(body *models.Detail) *CreateDetailParams

WithBody adds the body to the create detail params

func (*CreateDetailParams) WithContext

WithContext adds the context to the create detail params

func (*CreateDetailParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the create detail params

func (*CreateDetailParams) WithTimeout

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

WithTimeout adds the timeout to the create detail params

func (*CreateDetailParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type CreateDetailReader

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

CreateDetailReader is a Reader for the CreateDetail structure.

func (*CreateDetailReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type DeleteDetailBadRequest

type DeleteDetailBadRequest struct {
}

DeleteDetailBadRequest handles this case with default header values.

Invalid input

func NewDeleteDetailBadRequest

func NewDeleteDetailBadRequest() *DeleteDetailBadRequest

NewDeleteDetailBadRequest creates a DeleteDetailBadRequest with default headers values

func (*DeleteDetailBadRequest) Error

func (o *DeleteDetailBadRequest) Error() string

type DeleteDetailNotFound

type DeleteDetailNotFound struct {
}

DeleteDetailNotFound handles this case with default header values.

No items found

func NewDeleteDetailNotFound

func NewDeleteDetailNotFound() *DeleteDetailNotFound

NewDeleteDetailNotFound creates a DeleteDetailNotFound with default headers values

func (*DeleteDetailNotFound) Error

func (o *DeleteDetailNotFound) Error() string

type DeleteDetailOK

type DeleteDetailOK struct {
}

DeleteDetailOK handles this case with default header values.

Status Ok

func NewDeleteDetailOK

func NewDeleteDetailOK() *DeleteDetailOK

NewDeleteDetailOK creates a DeleteDetailOK with default headers values

func (*DeleteDetailOK) Error

func (o *DeleteDetailOK) Error() string

type DeleteDetailParams

type DeleteDetailParams struct {

	/*ID*/
	ID int64

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

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

func NewDeleteDetailParams

func NewDeleteDetailParams() *DeleteDetailParams

NewDeleteDetailParams creates a new DeleteDetailParams object with the default values initialized.

func NewDeleteDetailParamsWithContext

func NewDeleteDetailParamsWithContext(ctx context.Context) *DeleteDetailParams

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

func NewDeleteDetailParamsWithHTTPClient

func NewDeleteDetailParamsWithHTTPClient(client *http.Client) *DeleteDetailParams

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

func NewDeleteDetailParamsWithTimeout

func NewDeleteDetailParamsWithTimeout(timeout time.Duration) *DeleteDetailParams

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

func (*DeleteDetailParams) SetContext

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

SetContext adds the context to the delete detail params

func (*DeleteDetailParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the delete detail params

func (*DeleteDetailParams) SetID

func (o *DeleteDetailParams) SetID(id int64)

SetID adds the id to the delete detail params

func (*DeleteDetailParams) SetTimeout

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

SetTimeout adds the timeout to the delete detail params

func (*DeleteDetailParams) WithContext

WithContext adds the context to the delete detail params

func (*DeleteDetailParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the delete detail params

func (*DeleteDetailParams) WithID

WithID adds the id to the delete detail params

func (*DeleteDetailParams) WithTimeout

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

WithTimeout adds the timeout to the delete detail params

func (*DeleteDetailParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type DeleteDetailReader

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

DeleteDetailReader is a Reader for the DeleteDetail structure.

func (*DeleteDetailReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type DeleteDetailsNotFound

type DeleteDetailsNotFound struct {
}

DeleteDetailsNotFound handles this case with default header values.

No items found

func NewDeleteDetailsNotFound

func NewDeleteDetailsNotFound() *DeleteDetailsNotFound

NewDeleteDetailsNotFound creates a DeleteDetailsNotFound with default headers values

func (*DeleteDetailsNotFound) Error

func (o *DeleteDetailsNotFound) Error() string

type DeleteDetailsOK

type DeleteDetailsOK struct {
}

DeleteDetailsOK handles this case with default header values.

Status Ok

func NewDeleteDetailsOK

func NewDeleteDetailsOK() *DeleteDetailsOK

NewDeleteDetailsOK creates a DeleteDetailsOK with default headers values

func (*DeleteDetailsOK) Error

func (o *DeleteDetailsOK) Error() string

type DeleteDetailsParams

type DeleteDetailsParams struct {
	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

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

func NewDeleteDetailsParams

func NewDeleteDetailsParams() *DeleteDetailsParams

NewDeleteDetailsParams creates a new DeleteDetailsParams object with the default values initialized.

func NewDeleteDetailsParamsWithContext

func NewDeleteDetailsParamsWithContext(ctx context.Context) *DeleteDetailsParams

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

func NewDeleteDetailsParamsWithHTTPClient

func NewDeleteDetailsParamsWithHTTPClient(client *http.Client) *DeleteDetailsParams

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

func NewDeleteDetailsParamsWithTimeout

func NewDeleteDetailsParamsWithTimeout(timeout time.Duration) *DeleteDetailsParams

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

func (*DeleteDetailsParams) SetContext

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

SetContext adds the context to the delete details params

func (*DeleteDetailsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the delete details params

func (*DeleteDetailsParams) SetTimeout

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

SetTimeout adds the timeout to the delete details params

func (*DeleteDetailsParams) WithContext

WithContext adds the context to the delete details params

func (*DeleteDetailsParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the delete details params

func (*DeleteDetailsParams) WithTimeout

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

WithTimeout adds the timeout to the delete details params

func (*DeleteDetailsParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type DeleteDetailsReader

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

DeleteDetailsReader is a Reader for the DeleteDetails structure.

func (*DeleteDetailsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetDetailBadRequest

type GetDetailBadRequest struct {
}

GetDetailBadRequest handles this case with default header values.

Invalid input

func NewGetDetailBadRequest

func NewGetDetailBadRequest() *GetDetailBadRequest

NewGetDetailBadRequest creates a GetDetailBadRequest with default headers values

func (*GetDetailBadRequest) Error

func (o *GetDetailBadRequest) Error() string

type GetDetailNotFound

type GetDetailNotFound struct {
}

GetDetailNotFound handles this case with default header values.

No items found

func NewGetDetailNotFound

func NewGetDetailNotFound() *GetDetailNotFound

NewGetDetailNotFound creates a GetDetailNotFound with default headers values

func (*GetDetailNotFound) Error

func (o *GetDetailNotFound) Error() string

type GetDetailOK

type GetDetailOK struct {
	Payload *models.Detail
}

GetDetailOK handles this case with default header values.

Status Ok

func NewGetDetailOK

func NewGetDetailOK() *GetDetailOK

NewGetDetailOK creates a GetDetailOK with default headers values

func (*GetDetailOK) Error

func (o *GetDetailOK) Error() string

type GetDetailParams

type GetDetailParams struct {

	/*ID*/
	ID int64

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

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

func NewGetDetailParams

func NewGetDetailParams() *GetDetailParams

NewGetDetailParams creates a new GetDetailParams object with the default values initialized.

func NewGetDetailParamsWithContext

func NewGetDetailParamsWithContext(ctx context.Context) *GetDetailParams

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

func NewGetDetailParamsWithHTTPClient

func NewGetDetailParamsWithHTTPClient(client *http.Client) *GetDetailParams

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

func NewGetDetailParamsWithTimeout

func NewGetDetailParamsWithTimeout(timeout time.Duration) *GetDetailParams

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

func (*GetDetailParams) SetContext

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

SetContext adds the context to the get detail params

func (*GetDetailParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get detail params

func (*GetDetailParams) SetID

func (o *GetDetailParams) SetID(id int64)

SetID adds the id to the get detail params

func (*GetDetailParams) SetTimeout

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

SetTimeout adds the timeout to the get detail params

func (*GetDetailParams) WithContext

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

WithContext adds the context to the get detail params

func (*GetDetailParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get detail params

func (*GetDetailParams) WithID

func (o *GetDetailParams) WithID(id int64) *GetDetailParams

WithID adds the id to the get detail params

func (*GetDetailParams) WithTimeout

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

WithTimeout adds the timeout to the get detail params

func (*GetDetailParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type GetDetailReader

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

GetDetailReader is a Reader for the GetDetail structure.

func (*GetDetailReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetDetailsNotFound

type GetDetailsNotFound struct {
}

GetDetailsNotFound handles this case with default header values.

No items found

func NewGetDetailsNotFound

func NewGetDetailsNotFound() *GetDetailsNotFound

NewGetDetailsNotFound creates a GetDetailsNotFound with default headers values

func (*GetDetailsNotFound) Error

func (o *GetDetailsNotFound) Error() string

type GetDetailsOK

type GetDetailsOK struct {
	Payload models.Details
}

GetDetailsOK handles this case with default header values.

Status Ok

func NewGetDetailsOK

func NewGetDetailsOK() *GetDetailsOK

NewGetDetailsOK creates a GetDetailsOK with default headers values

func (*GetDetailsOK) Error

func (o *GetDetailsOK) Error() string

type GetDetailsParams

type GetDetailsParams struct {
	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

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

func NewGetDetailsParams

func NewGetDetailsParams() *GetDetailsParams

NewGetDetailsParams creates a new GetDetailsParams object with the default values initialized.

func NewGetDetailsParamsWithContext

func NewGetDetailsParamsWithContext(ctx context.Context) *GetDetailsParams

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

func NewGetDetailsParamsWithHTTPClient

func NewGetDetailsParamsWithHTTPClient(client *http.Client) *GetDetailsParams

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

func NewGetDetailsParamsWithTimeout

func NewGetDetailsParamsWithTimeout(timeout time.Duration) *GetDetailsParams

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

func (*GetDetailsParams) SetContext

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

SetContext adds the context to the get details params

func (*GetDetailsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get details params

func (*GetDetailsParams) SetTimeout

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

SetTimeout adds the timeout to the get details params

func (*GetDetailsParams) WithContext

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

WithContext adds the context to the get details params

func (*GetDetailsParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get details params

func (*GetDetailsParams) WithTimeout

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

WithTimeout adds the timeout to the get details params

func (*GetDetailsParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type GetDetailsReader

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

GetDetailsReader is a Reader for the GetDetails structure.

func (*GetDetailsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type UpdateDetailBadRequest

type UpdateDetailBadRequest struct {
}

UpdateDetailBadRequest handles this case with default header values.

Invalid input

func NewUpdateDetailBadRequest

func NewUpdateDetailBadRequest() *UpdateDetailBadRequest

NewUpdateDetailBadRequest creates a UpdateDetailBadRequest with default headers values

func (*UpdateDetailBadRequest) Error

func (o *UpdateDetailBadRequest) Error() string

type UpdateDetailCreated

type UpdateDetailCreated struct {
	Payload *models.Detail
}

UpdateDetailCreated handles this case with default header values.

Detail Updated

func NewUpdateDetailCreated

func NewUpdateDetailCreated() *UpdateDetailCreated

NewUpdateDetailCreated creates a UpdateDetailCreated with default headers values

func (*UpdateDetailCreated) Error

func (o *UpdateDetailCreated) Error() string

type UpdateDetailNotFound

type UpdateDetailNotFound struct {
}

UpdateDetailNotFound handles this case with default header values.

No items found

func NewUpdateDetailNotFound

func NewUpdateDetailNotFound() *UpdateDetailNotFound

NewUpdateDetailNotFound creates a UpdateDetailNotFound with default headers values

func (*UpdateDetailNotFound) Error

func (o *UpdateDetailNotFound) Error() string

type UpdateDetailParams

type UpdateDetailParams struct {

	/*Body
	  a detail that will be updated

	*/
	Body *models.Detail
	/*ID*/
	ID int64

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

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

func NewUpdateDetailParams

func NewUpdateDetailParams() *UpdateDetailParams

NewUpdateDetailParams creates a new UpdateDetailParams object with the default values initialized.

func NewUpdateDetailParamsWithContext

func NewUpdateDetailParamsWithContext(ctx context.Context) *UpdateDetailParams

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

func NewUpdateDetailParamsWithHTTPClient

func NewUpdateDetailParamsWithHTTPClient(client *http.Client) *UpdateDetailParams

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

func NewUpdateDetailParamsWithTimeout

func NewUpdateDetailParamsWithTimeout(timeout time.Duration) *UpdateDetailParams

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

func (*UpdateDetailParams) SetBody

func (o *UpdateDetailParams) SetBody(body *models.Detail)

SetBody adds the body to the update detail params

func (*UpdateDetailParams) SetContext

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

SetContext adds the context to the update detail params

func (*UpdateDetailParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the update detail params

func (*UpdateDetailParams) SetID

func (o *UpdateDetailParams) SetID(id int64)

SetID adds the id to the update detail params

func (*UpdateDetailParams) SetTimeout

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

SetTimeout adds the timeout to the update detail params

func (*UpdateDetailParams) WithBody

func (o *UpdateDetailParams) WithBody(body *models.Detail) *UpdateDetailParams

WithBody adds the body to the update detail params

func (*UpdateDetailParams) WithContext

WithContext adds the context to the update detail params

func (*UpdateDetailParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the update detail params

func (*UpdateDetailParams) WithID

WithID adds the id to the update detail params

func (*UpdateDetailParams) WithTimeout

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

WithTimeout adds the timeout to the update detail params

func (*UpdateDetailParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type UpdateDetailReader

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

UpdateDetailReader is a Reader for the UpdateDetail structure.

func (*UpdateDetailReader) ReadResponse

func (o *UpdateDetailReader) 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