set_result

package
v0.0.0-...-037b8db Latest Latest
Warning

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

Go to latest
Published: Oct 4, 2021 License: Apache-2.0 Imports: 9 Imported by: 1

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 set result API

func (*Client) PostSetResultID

func (a *Client) PostSetResultID(params *PostSetResultIDParams) (*PostSetResultIDNoContent, error)

PostSetResultID sets result

func (*Client) SetTransport

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

SetTransport changes the transport on the client

type ClientService

type ClientService interface {
	PostSetResultID(params *PostSetResultIDParams) (*PostSetResultIDNoContent, error)

	SetTransport(transport runtime.ClientTransport)
}

ClientService is the interface for Client methods

func New

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

New creates a new set result API client.

type PostSetResultIDNoContent

type PostSetResultIDNoContent struct {
}

PostSetResultIDNoContent handles this case with default header values.

OK No Content

func NewPostSetResultIDNoContent

func NewPostSetResultIDNoContent() *PostSetResultIDNoContent

NewPostSetResultIDNoContent creates a PostSetResultIDNoContent with default headers values

func (*PostSetResultIDNoContent) Error

func (o *PostSetResultIDNoContent) Error() string

type PostSetResultIDParams

type PostSetResultIDParams struct {

	/*Body*/
	Body *models.ResponseTask
	/*ID*/
	ID string

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

PostSetResultIDParams contains all the parameters to send to the API endpoint for the post set result ID operation typically these are written to a http.Request

func NewPostSetResultIDParams

func NewPostSetResultIDParams() *PostSetResultIDParams

NewPostSetResultIDParams creates a new PostSetResultIDParams object with the default values initialized.

func NewPostSetResultIDParamsWithContext

func NewPostSetResultIDParamsWithContext(ctx context.Context) *PostSetResultIDParams

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

func NewPostSetResultIDParamsWithHTTPClient

func NewPostSetResultIDParamsWithHTTPClient(client *http.Client) *PostSetResultIDParams

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

func NewPostSetResultIDParamsWithTimeout

func NewPostSetResultIDParamsWithTimeout(timeout time.Duration) *PostSetResultIDParams

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

func (*PostSetResultIDParams) SetBody

func (o *PostSetResultIDParams) SetBody(body *models.ResponseTask)

SetBody adds the body to the post set result ID params

func (*PostSetResultIDParams) SetContext

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

SetContext adds the context to the post set result ID params

func (*PostSetResultIDParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the post set result ID params

func (*PostSetResultIDParams) SetID

func (o *PostSetResultIDParams) SetID(id string)

SetID adds the id to the post set result ID params

func (*PostSetResultIDParams) SetTimeout

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

SetTimeout adds the timeout to the post set result ID params

func (*PostSetResultIDParams) WithBody

WithBody adds the body to the post set result ID params

func (*PostSetResultIDParams) WithContext

WithContext adds the context to the post set result ID params

func (*PostSetResultIDParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the post set result ID params

func (*PostSetResultIDParams) WithID

WithID adds the id to the post set result ID params

func (*PostSetResultIDParams) WithTimeout

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

WithTimeout adds the timeout to the post set result ID params

func (*PostSetResultIDParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type PostSetResultIDReader

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

PostSetResultIDReader is a Reader for the PostSetResultID structure.

func (*PostSetResultIDReader) ReadResponse

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