scans

package
v0.0.0-...-dc70d09 Latest Latest
Warning

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

Go to latest
Published: Aug 27, 2019 License: Apache-2.0 Imports: 10 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 scans API

func New

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

New creates a new scans API client.

func (*Client) GetScanUsingGET

func (a *Client) GetScanUsingGET(params *GetScanUsingGETParams, authInfo runtime.ClientAuthInfoWriter) (*GetScanUsingGETOK, error)

GetScanUsingGET gets scan

func (*Client) SetTransport

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

SetTransport changes the transport on the client

type GetScanUsingGETOK

type GetScanUsingGETOK struct {
	Payload *models.Scan
}

GetScanUsingGETOK handles this case with default header values.

OK

func NewGetScanUsingGETOK

func NewGetScanUsingGETOK() *GetScanUsingGETOK

NewGetScanUsingGETOK creates a GetScanUsingGETOK with default headers values

func (*GetScanUsingGETOK) Error

func (o *GetScanUsingGETOK) Error() string

type GetScanUsingGETParams

type GetScanUsingGETParams struct {

	/*ID
	  id

	*/
	ID strfmt.UUID

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

GetScanUsingGETParams contains all the parameters to send to the API endpoint for the get scan using g e t operation typically these are written to a http.Request

func NewGetScanUsingGETParams

func NewGetScanUsingGETParams() *GetScanUsingGETParams

NewGetScanUsingGETParams creates a new GetScanUsingGETParams object with the default values initialized.

func NewGetScanUsingGETParamsWithContext

func NewGetScanUsingGETParamsWithContext(ctx context.Context) *GetScanUsingGETParams

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

func NewGetScanUsingGETParamsWithHTTPClient

func NewGetScanUsingGETParamsWithHTTPClient(client *http.Client) *GetScanUsingGETParams

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

func NewGetScanUsingGETParamsWithTimeout

func NewGetScanUsingGETParamsWithTimeout(timeout time.Duration) *GetScanUsingGETParams

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

func (*GetScanUsingGETParams) SetContext

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

SetContext adds the context to the get scan using g e t params

func (*GetScanUsingGETParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get scan using g e t params

func (*GetScanUsingGETParams) SetID

func (o *GetScanUsingGETParams) SetID(id strfmt.UUID)

SetID adds the id to the get scan using g e t params

func (*GetScanUsingGETParams) SetTimeout

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

SetTimeout adds the timeout to the get scan using g e t params

func (*GetScanUsingGETParams) WithContext

WithContext adds the context to the get scan using g e t params

func (*GetScanUsingGETParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get scan using g e t params

func (*GetScanUsingGETParams) WithID

WithID adds the id to the get scan using g e t params

func (*GetScanUsingGETParams) WithTimeout

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

WithTimeout adds the timeout to the get scan using g e t params

func (*GetScanUsingGETParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type GetScanUsingGETReader

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

GetScanUsingGETReader is a Reader for the GetScanUsingGET structure.

func (*GetScanUsingGETReader) ReadResponse

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