scan_data_export

package
v0.210.0 Latest Latest
Warning

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

Go to latest
Published: Jan 25, 2024 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 API

type API interface {
	/*
	   DownloadScanData downloads the scan data export file

	   Download the scan data report. Default format is CSV*/
	DownloadScanData(ctx context.Context, params *DownloadScanDataParams, writer io.Writer) (*DownloadScanDataOK, error)
	/*
	   ExportScanData exports scan data for selected projects

	   Export scan data for selected projects*/
	ExportScanData(ctx context.Context, params *ExportScanDataParams) (*ExportScanDataOK, error)
	/*
	   GetScanDataExportExecution gets the specific scan data export execution

	   Get the scan data export execution specified by ID*/
	GetScanDataExportExecution(ctx context.Context, params *GetScanDataExportExecutionParams) (*GetScanDataExportExecutionOK, error)
	/*
	   GetScanDataExportExecutionList gets a list of specific scan data export execution jobs for a specified user

	   Get a list of specific scan data export execution jobs for a specified user*/
	GetScanDataExportExecutionList(ctx context.Context, params *GetScanDataExportExecutionListParams) (*GetScanDataExportExecutionListOK, error)
}

API is the interface of the scan data export client

type Client

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

Client for scan data export API

func New

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

New creates a new scan data export API client.

func (*Client) DownloadScanData

func (a *Client) DownloadScanData(ctx context.Context, params *DownloadScanDataParams, writer io.Writer) (*DownloadScanDataOK, error)

DownloadScanData downloads the scan data export file

Download the scan data report. Default format is CSV

func (*Client) ExportScanData

func (a *Client) ExportScanData(ctx context.Context, params *ExportScanDataParams) (*ExportScanDataOK, error)

ExportScanData exports scan data for selected projects

Export scan data for selected projects

func (*Client) GetScanDataExportExecution

func (a *Client) GetScanDataExportExecution(ctx context.Context, params *GetScanDataExportExecutionParams) (*GetScanDataExportExecutionOK, error)

GetScanDataExportExecution gets the specific scan data export execution

Get the scan data export execution specified by ID

func (*Client) GetScanDataExportExecutionList

func (a *Client) GetScanDataExportExecutionList(ctx context.Context, params *GetScanDataExportExecutionListParams) (*GetScanDataExportExecutionListOK, error)

GetScanDataExportExecutionList gets a list of specific scan data export execution jobs for a specified user

Get a list of specific scan data export execution jobs for a specified user

type DownloadScanDataForbidden

type DownloadScanDataForbidden struct {

	/* The ID of the corresponding request for the response
	 */
	XRequestID string

	Payload *models.Errors
}

DownloadScanDataForbidden describes a response with status code 403, with default header values.

Forbidden

func NewDownloadScanDataForbidden

func NewDownloadScanDataForbidden() *DownloadScanDataForbidden

NewDownloadScanDataForbidden creates a DownloadScanDataForbidden with default headers values

func (*DownloadScanDataForbidden) Error

func (o *DownloadScanDataForbidden) Error() string

func (*DownloadScanDataForbidden) GetPayload

func (o *DownloadScanDataForbidden) GetPayload() *models.Errors

func (*DownloadScanDataForbidden) IsClientError

func (o *DownloadScanDataForbidden) IsClientError() bool

IsClientError returns true when this download scan data forbidden response has a 4xx status code

func (*DownloadScanDataForbidden) IsCode

func (o *DownloadScanDataForbidden) IsCode(code int) bool

IsCode returns true when this download scan data forbidden response a status code equal to that given

func (*DownloadScanDataForbidden) IsRedirect

func (o *DownloadScanDataForbidden) IsRedirect() bool

IsRedirect returns true when this download scan data forbidden response has a 3xx status code

func (*DownloadScanDataForbidden) IsServerError

func (o *DownloadScanDataForbidden) IsServerError() bool

IsServerError returns true when this download scan data forbidden response has a 5xx status code

func (*DownloadScanDataForbidden) IsSuccess

func (o *DownloadScanDataForbidden) IsSuccess() bool

IsSuccess returns true when this download scan data forbidden response has a 2xx status code

func (*DownloadScanDataForbidden) String

func (o *DownloadScanDataForbidden) String() string

type DownloadScanDataInternalServerError

type DownloadScanDataInternalServerError struct {

	/* The ID of the corresponding request for the response
	 */
	XRequestID string

	Payload *models.Errors
}

DownloadScanDataInternalServerError describes a response with status code 500, with default header values.

Internal server error

func NewDownloadScanDataInternalServerError

func NewDownloadScanDataInternalServerError() *DownloadScanDataInternalServerError

NewDownloadScanDataInternalServerError creates a DownloadScanDataInternalServerError with default headers values

func (*DownloadScanDataInternalServerError) Error

func (*DownloadScanDataInternalServerError) GetPayload

func (*DownloadScanDataInternalServerError) IsClientError

func (o *DownloadScanDataInternalServerError) IsClientError() bool

IsClientError returns true when this download scan data internal server error response has a 4xx status code

func (*DownloadScanDataInternalServerError) IsCode

IsCode returns true when this download scan data internal server error response a status code equal to that given

func (*DownloadScanDataInternalServerError) IsRedirect

func (o *DownloadScanDataInternalServerError) IsRedirect() bool

IsRedirect returns true when this download scan data internal server error response has a 3xx status code

func (*DownloadScanDataInternalServerError) IsServerError

func (o *DownloadScanDataInternalServerError) IsServerError() bool

IsServerError returns true when this download scan data internal server error response has a 5xx status code

func (*DownloadScanDataInternalServerError) IsSuccess

IsSuccess returns true when this download scan data internal server error response has a 2xx status code

func (*DownloadScanDataInternalServerError) String

type DownloadScanDataNotFound

type DownloadScanDataNotFound struct {

	/* The ID of the corresponding request for the response
	 */
	XRequestID string

	Payload *models.Errors
}

DownloadScanDataNotFound describes a response with status code 404, with default header values.

Not found

func NewDownloadScanDataNotFound

func NewDownloadScanDataNotFound() *DownloadScanDataNotFound

NewDownloadScanDataNotFound creates a DownloadScanDataNotFound with default headers values

func (*DownloadScanDataNotFound) Error

func (o *DownloadScanDataNotFound) Error() string

func (*DownloadScanDataNotFound) GetPayload

func (o *DownloadScanDataNotFound) GetPayload() *models.Errors

func (*DownloadScanDataNotFound) IsClientError

func (o *DownloadScanDataNotFound) IsClientError() bool

IsClientError returns true when this download scan data not found response has a 4xx status code

func (*DownloadScanDataNotFound) IsCode

func (o *DownloadScanDataNotFound) IsCode(code int) bool

IsCode returns true when this download scan data not found response a status code equal to that given

func (*DownloadScanDataNotFound) IsRedirect

func (o *DownloadScanDataNotFound) IsRedirect() bool

IsRedirect returns true when this download scan data not found response has a 3xx status code

func (*DownloadScanDataNotFound) IsServerError

func (o *DownloadScanDataNotFound) IsServerError() bool

IsServerError returns true when this download scan data not found response has a 5xx status code

func (*DownloadScanDataNotFound) IsSuccess

func (o *DownloadScanDataNotFound) IsSuccess() bool

IsSuccess returns true when this download scan data not found response has a 2xx status code

func (*DownloadScanDataNotFound) String

func (o *DownloadScanDataNotFound) String() string

type DownloadScanDataOK

type DownloadScanDataOK struct {

	/* Value is a CSV formatted file; filename=export.csv
	 */
	ContentDisposition string

	Payload io.Writer
}

DownloadScanDataOK describes a response with status code 200, with default header values.

Data file containing the export data

func NewDownloadScanDataOK

func NewDownloadScanDataOK(writer io.Writer) *DownloadScanDataOK

NewDownloadScanDataOK creates a DownloadScanDataOK with default headers values

func (*DownloadScanDataOK) Error

func (o *DownloadScanDataOK) Error() string

func (*DownloadScanDataOK) GetPayload

func (o *DownloadScanDataOK) GetPayload() io.Writer

func (*DownloadScanDataOK) IsClientError

func (o *DownloadScanDataOK) IsClientError() bool

IsClientError returns true when this download scan data o k response has a 4xx status code

func (*DownloadScanDataOK) IsCode

func (o *DownloadScanDataOK) IsCode(code int) bool

IsCode returns true when this download scan data o k response a status code equal to that given

func (*DownloadScanDataOK) IsRedirect

func (o *DownloadScanDataOK) IsRedirect() bool

IsRedirect returns true when this download scan data o k response has a 3xx status code

func (*DownloadScanDataOK) IsServerError

func (o *DownloadScanDataOK) IsServerError() bool

IsServerError returns true when this download scan data o k response has a 5xx status code

func (*DownloadScanDataOK) IsSuccess

func (o *DownloadScanDataOK) IsSuccess() bool

IsSuccess returns true when this download scan data o k response has a 2xx status code

func (*DownloadScanDataOK) String

func (o *DownloadScanDataOK) String() string

type DownloadScanDataParams

type DownloadScanDataParams struct {

	/* XRequestID.

	   An unique ID for the request
	*/
	XRequestID *string

	/* ExecutionID.

	   Execution ID
	*/
	ExecutionID int64

	/* Format.

	   The format of the data to be exported. e.g. CSV or PDF
	*/
	Format *string

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

DownloadScanDataParams contains all the parameters to send to the API endpoint

for the download scan data operation.

Typically these are written to a http.Request.

func NewDownloadScanDataParams

func NewDownloadScanDataParams() *DownloadScanDataParams

NewDownloadScanDataParams creates a new DownloadScanDataParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewDownloadScanDataParamsWithContext

func NewDownloadScanDataParamsWithContext(ctx context.Context) *DownloadScanDataParams

NewDownloadScanDataParamsWithContext creates a new DownloadScanDataParams object with the ability to set a context for a request.

func NewDownloadScanDataParamsWithHTTPClient

func NewDownloadScanDataParamsWithHTTPClient(client *http.Client) *DownloadScanDataParams

NewDownloadScanDataParamsWithHTTPClient creates a new DownloadScanDataParams object with the ability to set a custom HTTPClient for a request.

func NewDownloadScanDataParamsWithTimeout

func NewDownloadScanDataParamsWithTimeout(timeout time.Duration) *DownloadScanDataParams

NewDownloadScanDataParamsWithTimeout creates a new DownloadScanDataParams object with the ability to set a timeout on a request.

func (*DownloadScanDataParams) SetContext

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

SetContext adds the context to the download scan data params

func (*DownloadScanDataParams) SetDefaults

func (o *DownloadScanDataParams) SetDefaults()

SetDefaults hydrates default values in the download scan data params (not the query body).

All values with no default are reset to their zero value.

func (*DownloadScanDataParams) SetExecutionID

func (o *DownloadScanDataParams) SetExecutionID(executionID int64)

SetExecutionID adds the executionId to the download scan data params

func (*DownloadScanDataParams) SetFormat

func (o *DownloadScanDataParams) SetFormat(format *string)

SetFormat adds the format to the download scan data params

func (*DownloadScanDataParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the download scan data params

func (*DownloadScanDataParams) SetTimeout

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

SetTimeout adds the timeout to the download scan data params

func (*DownloadScanDataParams) SetXRequestID

func (o *DownloadScanDataParams) SetXRequestID(xRequestID *string)

SetXRequestID adds the xRequestId to the download scan data params

func (*DownloadScanDataParams) WithContext

WithContext adds the context to the download scan data params

func (*DownloadScanDataParams) WithDefaults

WithDefaults hydrates default values in the download scan data params (not the query body).

All values with no default are reset to their zero value.

func (*DownloadScanDataParams) WithExecutionID

func (o *DownloadScanDataParams) WithExecutionID(executionID int64) *DownloadScanDataParams

WithExecutionID adds the executionID to the download scan data params

func (*DownloadScanDataParams) WithFormat

func (o *DownloadScanDataParams) WithFormat(format *string) *DownloadScanDataParams

WithFormat adds the format to the download scan data params

func (*DownloadScanDataParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the download scan data params

func (*DownloadScanDataParams) WithTimeout

WithTimeout adds the timeout to the download scan data params

func (*DownloadScanDataParams) WithXRequestID

func (o *DownloadScanDataParams) WithXRequestID(xRequestID *string) *DownloadScanDataParams

WithXRequestID adds the xRequestID to the download scan data params

func (*DownloadScanDataParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type DownloadScanDataReader

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

DownloadScanDataReader is a Reader for the DownloadScanData structure.

func (*DownloadScanDataReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type DownloadScanDataUnauthorized

type DownloadScanDataUnauthorized struct {

	/* The ID of the corresponding request for the response
	 */
	XRequestID string

	Payload *models.Errors
}

DownloadScanDataUnauthorized describes a response with status code 401, with default header values.

Unauthorized

func NewDownloadScanDataUnauthorized

func NewDownloadScanDataUnauthorized() *DownloadScanDataUnauthorized

NewDownloadScanDataUnauthorized creates a DownloadScanDataUnauthorized with default headers values

func (*DownloadScanDataUnauthorized) Error

func (*DownloadScanDataUnauthorized) GetPayload

func (o *DownloadScanDataUnauthorized) GetPayload() *models.Errors

func (*DownloadScanDataUnauthorized) IsClientError

func (o *DownloadScanDataUnauthorized) IsClientError() bool

IsClientError returns true when this download scan data unauthorized response has a 4xx status code

func (*DownloadScanDataUnauthorized) IsCode

func (o *DownloadScanDataUnauthorized) IsCode(code int) bool

IsCode returns true when this download scan data unauthorized response a status code equal to that given

func (*DownloadScanDataUnauthorized) IsRedirect

func (o *DownloadScanDataUnauthorized) IsRedirect() bool

IsRedirect returns true when this download scan data unauthorized response has a 3xx status code

func (*DownloadScanDataUnauthorized) IsServerError

func (o *DownloadScanDataUnauthorized) IsServerError() bool

IsServerError returns true when this download scan data unauthorized response has a 5xx status code

func (*DownloadScanDataUnauthorized) IsSuccess

func (o *DownloadScanDataUnauthorized) IsSuccess() bool

IsSuccess returns true when this download scan data unauthorized response has a 2xx status code

func (*DownloadScanDataUnauthorized) String

type ExportScanDataBadRequest

type ExportScanDataBadRequest struct {

	/* The ID of the corresponding request for the response
	 */
	XRequestID string

	Payload *models.Errors
}

ExportScanDataBadRequest describes a response with status code 400, with default header values.

Bad request

func NewExportScanDataBadRequest

func NewExportScanDataBadRequest() *ExportScanDataBadRequest

NewExportScanDataBadRequest creates a ExportScanDataBadRequest with default headers values

func (*ExportScanDataBadRequest) Error

func (o *ExportScanDataBadRequest) Error() string

func (*ExportScanDataBadRequest) GetPayload

func (o *ExportScanDataBadRequest) GetPayload() *models.Errors

func (*ExportScanDataBadRequest) IsClientError

func (o *ExportScanDataBadRequest) IsClientError() bool

IsClientError returns true when this export scan data bad request response has a 4xx status code

func (*ExportScanDataBadRequest) IsCode

func (o *ExportScanDataBadRequest) IsCode(code int) bool

IsCode returns true when this export scan data bad request response a status code equal to that given

func (*ExportScanDataBadRequest) IsRedirect

func (o *ExportScanDataBadRequest) IsRedirect() bool

IsRedirect returns true when this export scan data bad request response has a 3xx status code

func (*ExportScanDataBadRequest) IsServerError

func (o *ExportScanDataBadRequest) IsServerError() bool

IsServerError returns true when this export scan data bad request response has a 5xx status code

func (*ExportScanDataBadRequest) IsSuccess

func (o *ExportScanDataBadRequest) IsSuccess() bool

IsSuccess returns true when this export scan data bad request response has a 2xx status code

func (*ExportScanDataBadRequest) String

func (o *ExportScanDataBadRequest) String() string

type ExportScanDataConflict

type ExportScanDataConflict struct {

	/* The ID of the corresponding request for the response
	 */
	XRequestID string

	Payload *models.Errors
}

ExportScanDataConflict describes a response with status code 409, with default header values.

Conflict

func NewExportScanDataConflict

func NewExportScanDataConflict() *ExportScanDataConflict

NewExportScanDataConflict creates a ExportScanDataConflict with default headers values

func (*ExportScanDataConflict) Error

func (o *ExportScanDataConflict) Error() string

func (*ExportScanDataConflict) GetPayload

func (o *ExportScanDataConflict) GetPayload() *models.Errors

func (*ExportScanDataConflict) IsClientError

func (o *ExportScanDataConflict) IsClientError() bool

IsClientError returns true when this export scan data conflict response has a 4xx status code

func (*ExportScanDataConflict) IsCode

func (o *ExportScanDataConflict) IsCode(code int) bool

IsCode returns true when this export scan data conflict response a status code equal to that given

func (*ExportScanDataConflict) IsRedirect

func (o *ExportScanDataConflict) IsRedirect() bool

IsRedirect returns true when this export scan data conflict response has a 3xx status code

func (*ExportScanDataConflict) IsServerError

func (o *ExportScanDataConflict) IsServerError() bool

IsServerError returns true when this export scan data conflict response has a 5xx status code

func (*ExportScanDataConflict) IsSuccess

func (o *ExportScanDataConflict) IsSuccess() bool

IsSuccess returns true when this export scan data conflict response has a 2xx status code

func (*ExportScanDataConflict) String

func (o *ExportScanDataConflict) String() string

type ExportScanDataForbidden

type ExportScanDataForbidden struct {

	/* The ID of the corresponding request for the response
	 */
	XRequestID string

	Payload *models.Errors
}

ExportScanDataForbidden describes a response with status code 403, with default header values.

Forbidden

func NewExportScanDataForbidden

func NewExportScanDataForbidden() *ExportScanDataForbidden

NewExportScanDataForbidden creates a ExportScanDataForbidden with default headers values

func (*ExportScanDataForbidden) Error

func (o *ExportScanDataForbidden) Error() string

func (*ExportScanDataForbidden) GetPayload

func (o *ExportScanDataForbidden) GetPayload() *models.Errors

func (*ExportScanDataForbidden) IsClientError

func (o *ExportScanDataForbidden) IsClientError() bool

IsClientError returns true when this export scan data forbidden response has a 4xx status code

func (*ExportScanDataForbidden) IsCode

func (o *ExportScanDataForbidden) IsCode(code int) bool

IsCode returns true when this export scan data forbidden response a status code equal to that given

func (*ExportScanDataForbidden) IsRedirect

func (o *ExportScanDataForbidden) IsRedirect() bool

IsRedirect returns true when this export scan data forbidden response has a 3xx status code

func (*ExportScanDataForbidden) IsServerError

func (o *ExportScanDataForbidden) IsServerError() bool

IsServerError returns true when this export scan data forbidden response has a 5xx status code

func (*ExportScanDataForbidden) IsSuccess

func (o *ExportScanDataForbidden) IsSuccess() bool

IsSuccess returns true when this export scan data forbidden response has a 2xx status code

func (*ExportScanDataForbidden) String

func (o *ExportScanDataForbidden) String() string

type ExportScanDataInternalServerError

type ExportScanDataInternalServerError struct {

	/* The ID of the corresponding request for the response
	 */
	XRequestID string

	Payload *models.Errors
}

ExportScanDataInternalServerError describes a response with status code 500, with default header values.

Internal server error

func NewExportScanDataInternalServerError

func NewExportScanDataInternalServerError() *ExportScanDataInternalServerError

NewExportScanDataInternalServerError creates a ExportScanDataInternalServerError with default headers values

func (*ExportScanDataInternalServerError) Error

func (*ExportScanDataInternalServerError) GetPayload

func (*ExportScanDataInternalServerError) IsClientError

func (o *ExportScanDataInternalServerError) IsClientError() bool

IsClientError returns true when this export scan data internal server error response has a 4xx status code

func (*ExportScanDataInternalServerError) IsCode

func (o *ExportScanDataInternalServerError) IsCode(code int) bool

IsCode returns true when this export scan data internal server error response a status code equal to that given

func (*ExportScanDataInternalServerError) IsRedirect

func (o *ExportScanDataInternalServerError) IsRedirect() bool

IsRedirect returns true when this export scan data internal server error response has a 3xx status code

func (*ExportScanDataInternalServerError) IsServerError

func (o *ExportScanDataInternalServerError) IsServerError() bool

IsServerError returns true when this export scan data internal server error response has a 5xx status code

func (*ExportScanDataInternalServerError) IsSuccess

func (o *ExportScanDataInternalServerError) IsSuccess() bool

IsSuccess returns true when this export scan data internal server error response has a 2xx status code

func (*ExportScanDataInternalServerError) String

type ExportScanDataMethodNotAllowed

type ExportScanDataMethodNotAllowed struct {

	/* The ID of the corresponding request for the response
	 */
	XRequestID string

	Payload *models.Errors
}

ExportScanDataMethodNotAllowed describes a response with status code 405, with default header values.

Method not allowed

func NewExportScanDataMethodNotAllowed

func NewExportScanDataMethodNotAllowed() *ExportScanDataMethodNotAllowed

NewExportScanDataMethodNotAllowed creates a ExportScanDataMethodNotAllowed with default headers values

func (*ExportScanDataMethodNotAllowed) Error

func (*ExportScanDataMethodNotAllowed) GetPayload

func (o *ExportScanDataMethodNotAllowed) GetPayload() *models.Errors

func (*ExportScanDataMethodNotAllowed) IsClientError

func (o *ExportScanDataMethodNotAllowed) IsClientError() bool

IsClientError returns true when this export scan data method not allowed response has a 4xx status code

func (*ExportScanDataMethodNotAllowed) IsCode

func (o *ExportScanDataMethodNotAllowed) IsCode(code int) bool

IsCode returns true when this export scan data method not allowed response a status code equal to that given

func (*ExportScanDataMethodNotAllowed) IsRedirect

func (o *ExportScanDataMethodNotAllowed) IsRedirect() bool

IsRedirect returns true when this export scan data method not allowed response has a 3xx status code

func (*ExportScanDataMethodNotAllowed) IsServerError

func (o *ExportScanDataMethodNotAllowed) IsServerError() bool

IsServerError returns true when this export scan data method not allowed response has a 5xx status code

func (*ExportScanDataMethodNotAllowed) IsSuccess

func (o *ExportScanDataMethodNotAllowed) IsSuccess() bool

IsSuccess returns true when this export scan data method not allowed response has a 2xx status code

func (*ExportScanDataMethodNotAllowed) String

type ExportScanDataNotFound

type ExportScanDataNotFound struct {

	/* The ID of the corresponding request for the response
	 */
	XRequestID string

	Payload *models.Errors
}

ExportScanDataNotFound describes a response with status code 404, with default header values.

Not found

func NewExportScanDataNotFound

func NewExportScanDataNotFound() *ExportScanDataNotFound

NewExportScanDataNotFound creates a ExportScanDataNotFound with default headers values

func (*ExportScanDataNotFound) Error

func (o *ExportScanDataNotFound) Error() string

func (*ExportScanDataNotFound) GetPayload

func (o *ExportScanDataNotFound) GetPayload() *models.Errors

func (*ExportScanDataNotFound) IsClientError

func (o *ExportScanDataNotFound) IsClientError() bool

IsClientError returns true when this export scan data not found response has a 4xx status code

func (*ExportScanDataNotFound) IsCode

func (o *ExportScanDataNotFound) IsCode(code int) bool

IsCode returns true when this export scan data not found response a status code equal to that given

func (*ExportScanDataNotFound) IsRedirect

func (o *ExportScanDataNotFound) IsRedirect() bool

IsRedirect returns true when this export scan data not found response has a 3xx status code

func (*ExportScanDataNotFound) IsServerError

func (o *ExportScanDataNotFound) IsServerError() bool

IsServerError returns true when this export scan data not found response has a 5xx status code

func (*ExportScanDataNotFound) IsSuccess

func (o *ExportScanDataNotFound) IsSuccess() bool

IsSuccess returns true when this export scan data not found response has a 2xx status code

func (*ExportScanDataNotFound) String

func (o *ExportScanDataNotFound) String() string

type ExportScanDataOK

type ExportScanDataOK struct {
	Payload *models.ScanDataExportJob
}

ExportScanDataOK describes a response with status code 200, with default header values.

Success.

func NewExportScanDataOK

func NewExportScanDataOK() *ExportScanDataOK

NewExportScanDataOK creates a ExportScanDataOK with default headers values

func (*ExportScanDataOK) Error

func (o *ExportScanDataOK) Error() string

func (*ExportScanDataOK) GetPayload

func (o *ExportScanDataOK) GetPayload() *models.ScanDataExportJob

func (*ExportScanDataOK) IsClientError

func (o *ExportScanDataOK) IsClientError() bool

IsClientError returns true when this export scan data o k response has a 4xx status code

func (*ExportScanDataOK) IsCode

func (o *ExportScanDataOK) IsCode(code int) bool

IsCode returns true when this export scan data o k response a status code equal to that given

func (*ExportScanDataOK) IsRedirect

func (o *ExportScanDataOK) IsRedirect() bool

IsRedirect returns true when this export scan data o k response has a 3xx status code

func (*ExportScanDataOK) IsServerError

func (o *ExportScanDataOK) IsServerError() bool

IsServerError returns true when this export scan data o k response has a 5xx status code

func (*ExportScanDataOK) IsSuccess

func (o *ExportScanDataOK) IsSuccess() bool

IsSuccess returns true when this export scan data o k response has a 2xx status code

func (*ExportScanDataOK) String

func (o *ExportScanDataOK) String() string

type ExportScanDataParams

type ExportScanDataParams struct {

	/* XRequestID.

	   An unique ID for the request
	*/
	XRequestID *string

	/* XScanDataType.

	   The type of scan data to export
	*/
	XScanDataType string

	/* Criteria.

	   The criteria for the export
	*/
	Criteria *models.ScanDataExportRequest

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

ExportScanDataParams contains all the parameters to send to the API endpoint

for the export scan data operation.

Typically these are written to a http.Request.

func NewExportScanDataParams

func NewExportScanDataParams() *ExportScanDataParams

NewExportScanDataParams creates a new ExportScanDataParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewExportScanDataParamsWithContext

func NewExportScanDataParamsWithContext(ctx context.Context) *ExportScanDataParams

NewExportScanDataParamsWithContext creates a new ExportScanDataParams object with the ability to set a context for a request.

func NewExportScanDataParamsWithHTTPClient

func NewExportScanDataParamsWithHTTPClient(client *http.Client) *ExportScanDataParams

NewExportScanDataParamsWithHTTPClient creates a new ExportScanDataParams object with the ability to set a custom HTTPClient for a request.

func NewExportScanDataParamsWithTimeout

func NewExportScanDataParamsWithTimeout(timeout time.Duration) *ExportScanDataParams

NewExportScanDataParamsWithTimeout creates a new ExportScanDataParams object with the ability to set a timeout on a request.

func (*ExportScanDataParams) SetContext

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

SetContext adds the context to the export scan data params

func (*ExportScanDataParams) SetCriteria

func (o *ExportScanDataParams) SetCriteria(criteria *models.ScanDataExportRequest)

SetCriteria adds the criteria to the export scan data params

func (*ExportScanDataParams) SetDefaults

func (o *ExportScanDataParams) SetDefaults()

SetDefaults hydrates default values in the export scan data params (not the query body).

All values with no default are reset to their zero value.

func (*ExportScanDataParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the export scan data params

func (*ExportScanDataParams) SetTimeout

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

SetTimeout adds the timeout to the export scan data params

func (*ExportScanDataParams) SetXRequestID

func (o *ExportScanDataParams) SetXRequestID(xRequestID *string)

SetXRequestID adds the xRequestId to the export scan data params

func (*ExportScanDataParams) SetXScanDataType

func (o *ExportScanDataParams) SetXScanDataType(xScanDataType string)

SetXScanDataType adds the xScanDataType to the export scan data params

func (*ExportScanDataParams) WithContext

WithContext adds the context to the export scan data params

func (*ExportScanDataParams) WithCriteria

WithCriteria adds the criteria to the export scan data params

func (*ExportScanDataParams) WithDefaults

func (o *ExportScanDataParams) WithDefaults() *ExportScanDataParams

WithDefaults hydrates default values in the export scan data params (not the query body).

All values with no default are reset to their zero value.

func (*ExportScanDataParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the export scan data params

func (*ExportScanDataParams) WithTimeout

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

WithTimeout adds the timeout to the export scan data params

func (*ExportScanDataParams) WithXRequestID

func (o *ExportScanDataParams) WithXRequestID(xRequestID *string) *ExportScanDataParams

WithXRequestID adds the xRequestID to the export scan data params

func (*ExportScanDataParams) WithXScanDataType

func (o *ExportScanDataParams) WithXScanDataType(xScanDataType string) *ExportScanDataParams

WithXScanDataType adds the xScanDataType to the export scan data params

func (*ExportScanDataParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type ExportScanDataReader

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

ExportScanDataReader is a Reader for the ExportScanData structure.

func (*ExportScanDataReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ExportScanDataUnauthorized

type ExportScanDataUnauthorized struct {

	/* The ID of the corresponding request for the response
	 */
	XRequestID string

	Payload *models.Errors
}

ExportScanDataUnauthorized describes a response with status code 401, with default header values.

Unauthorized

func NewExportScanDataUnauthorized

func NewExportScanDataUnauthorized() *ExportScanDataUnauthorized

NewExportScanDataUnauthorized creates a ExportScanDataUnauthorized with default headers values

func (*ExportScanDataUnauthorized) Error

func (*ExportScanDataUnauthorized) GetPayload

func (o *ExportScanDataUnauthorized) GetPayload() *models.Errors

func (*ExportScanDataUnauthorized) IsClientError

func (o *ExportScanDataUnauthorized) IsClientError() bool

IsClientError returns true when this export scan data unauthorized response has a 4xx status code

func (*ExportScanDataUnauthorized) IsCode

func (o *ExportScanDataUnauthorized) IsCode(code int) bool

IsCode returns true when this export scan data unauthorized response a status code equal to that given

func (*ExportScanDataUnauthorized) IsRedirect

func (o *ExportScanDataUnauthorized) IsRedirect() bool

IsRedirect returns true when this export scan data unauthorized response has a 3xx status code

func (*ExportScanDataUnauthorized) IsServerError

func (o *ExportScanDataUnauthorized) IsServerError() bool

IsServerError returns true when this export scan data unauthorized response has a 5xx status code

func (*ExportScanDataUnauthorized) IsSuccess

func (o *ExportScanDataUnauthorized) IsSuccess() bool

IsSuccess returns true when this export scan data unauthorized response has a 2xx status code

func (*ExportScanDataUnauthorized) String

func (o *ExportScanDataUnauthorized) String() string

type GetScanDataExportExecutionForbidden

type GetScanDataExportExecutionForbidden struct {

	/* The ID of the corresponding request for the response
	 */
	XRequestID string

	Payload *models.Errors
}

GetScanDataExportExecutionForbidden describes a response with status code 403, with default header values.

Forbidden

func NewGetScanDataExportExecutionForbidden

func NewGetScanDataExportExecutionForbidden() *GetScanDataExportExecutionForbidden

NewGetScanDataExportExecutionForbidden creates a GetScanDataExportExecutionForbidden with default headers values

func (*GetScanDataExportExecutionForbidden) Error

func (*GetScanDataExportExecutionForbidden) GetPayload

func (*GetScanDataExportExecutionForbidden) IsClientError

func (o *GetScanDataExportExecutionForbidden) IsClientError() bool

IsClientError returns true when this get scan data export execution forbidden response has a 4xx status code

func (*GetScanDataExportExecutionForbidden) IsCode

IsCode returns true when this get scan data export execution forbidden response a status code equal to that given

func (*GetScanDataExportExecutionForbidden) IsRedirect

func (o *GetScanDataExportExecutionForbidden) IsRedirect() bool

IsRedirect returns true when this get scan data export execution forbidden response has a 3xx status code

func (*GetScanDataExportExecutionForbidden) IsServerError

func (o *GetScanDataExportExecutionForbidden) IsServerError() bool

IsServerError returns true when this get scan data export execution forbidden response has a 5xx status code

func (*GetScanDataExportExecutionForbidden) IsSuccess

IsSuccess returns true when this get scan data export execution forbidden response has a 2xx status code

func (*GetScanDataExportExecutionForbidden) String

type GetScanDataExportExecutionInternalServerError

type GetScanDataExportExecutionInternalServerError struct {

	/* The ID of the corresponding request for the response
	 */
	XRequestID string

	Payload *models.Errors
}

GetScanDataExportExecutionInternalServerError describes a response with status code 500, with default header values.

Internal server error

func NewGetScanDataExportExecutionInternalServerError

func NewGetScanDataExportExecutionInternalServerError() *GetScanDataExportExecutionInternalServerError

NewGetScanDataExportExecutionInternalServerError creates a GetScanDataExportExecutionInternalServerError with default headers values

func (*GetScanDataExportExecutionInternalServerError) Error

func (*GetScanDataExportExecutionInternalServerError) GetPayload

func (*GetScanDataExportExecutionInternalServerError) IsClientError

IsClientError returns true when this get scan data export execution internal server error response has a 4xx status code

func (*GetScanDataExportExecutionInternalServerError) IsCode

IsCode returns true when this get scan data export execution internal server error response a status code equal to that given

func (*GetScanDataExportExecutionInternalServerError) IsRedirect

IsRedirect returns true when this get scan data export execution internal server error response has a 3xx status code

func (*GetScanDataExportExecutionInternalServerError) IsServerError

IsServerError returns true when this get scan data export execution internal server error response has a 5xx status code

func (*GetScanDataExportExecutionInternalServerError) IsSuccess

IsSuccess returns true when this get scan data export execution internal server error response has a 2xx status code

func (*GetScanDataExportExecutionInternalServerError) String

type GetScanDataExportExecutionListForbidden

type GetScanDataExportExecutionListForbidden struct {

	/* The ID of the corresponding request for the response
	 */
	XRequestID string

	Payload *models.Errors
}

GetScanDataExportExecutionListForbidden describes a response with status code 403, with default header values.

Forbidden

func NewGetScanDataExportExecutionListForbidden

func NewGetScanDataExportExecutionListForbidden() *GetScanDataExportExecutionListForbidden

NewGetScanDataExportExecutionListForbidden creates a GetScanDataExportExecutionListForbidden with default headers values

func (*GetScanDataExportExecutionListForbidden) Error

func (*GetScanDataExportExecutionListForbidden) GetPayload

func (*GetScanDataExportExecutionListForbidden) IsClientError

func (o *GetScanDataExportExecutionListForbidden) IsClientError() bool

IsClientError returns true when this get scan data export execution list forbidden response has a 4xx status code

func (*GetScanDataExportExecutionListForbidden) IsCode

IsCode returns true when this get scan data export execution list forbidden response a status code equal to that given

func (*GetScanDataExportExecutionListForbidden) IsRedirect

IsRedirect returns true when this get scan data export execution list forbidden response has a 3xx status code

func (*GetScanDataExportExecutionListForbidden) IsServerError

func (o *GetScanDataExportExecutionListForbidden) IsServerError() bool

IsServerError returns true when this get scan data export execution list forbidden response has a 5xx status code

func (*GetScanDataExportExecutionListForbidden) IsSuccess

IsSuccess returns true when this get scan data export execution list forbidden response has a 2xx status code

func (*GetScanDataExportExecutionListForbidden) String

type GetScanDataExportExecutionListInternalServerError

type GetScanDataExportExecutionListInternalServerError struct {

	/* The ID of the corresponding request for the response
	 */
	XRequestID string

	Payload *models.Errors
}

GetScanDataExportExecutionListInternalServerError describes a response with status code 500, with default header values.

Internal server error

func NewGetScanDataExportExecutionListInternalServerError

func NewGetScanDataExportExecutionListInternalServerError() *GetScanDataExportExecutionListInternalServerError

NewGetScanDataExportExecutionListInternalServerError creates a GetScanDataExportExecutionListInternalServerError with default headers values

func (*GetScanDataExportExecutionListInternalServerError) Error

func (*GetScanDataExportExecutionListInternalServerError) GetPayload

func (*GetScanDataExportExecutionListInternalServerError) IsClientError

IsClientError returns true when this get scan data export execution list internal server error response has a 4xx status code

func (*GetScanDataExportExecutionListInternalServerError) IsCode

IsCode returns true when this get scan data export execution list internal server error response a status code equal to that given

func (*GetScanDataExportExecutionListInternalServerError) IsRedirect

IsRedirect returns true when this get scan data export execution list internal server error response has a 3xx status code

func (*GetScanDataExportExecutionListInternalServerError) IsServerError

IsServerError returns true when this get scan data export execution list internal server error response has a 5xx status code

func (*GetScanDataExportExecutionListInternalServerError) IsSuccess

IsSuccess returns true when this get scan data export execution list internal server error response has a 2xx status code

func (*GetScanDataExportExecutionListInternalServerError) String

type GetScanDataExportExecutionListNotFound

type GetScanDataExportExecutionListNotFound struct {

	/* The ID of the corresponding request for the response
	 */
	XRequestID string

	Payload *models.Errors
}

GetScanDataExportExecutionListNotFound describes a response with status code 404, with default header values.

Not found

func NewGetScanDataExportExecutionListNotFound

func NewGetScanDataExportExecutionListNotFound() *GetScanDataExportExecutionListNotFound

NewGetScanDataExportExecutionListNotFound creates a GetScanDataExportExecutionListNotFound with default headers values

func (*GetScanDataExportExecutionListNotFound) Error

func (*GetScanDataExportExecutionListNotFound) GetPayload

func (*GetScanDataExportExecutionListNotFound) IsClientError

func (o *GetScanDataExportExecutionListNotFound) IsClientError() bool

IsClientError returns true when this get scan data export execution list not found response has a 4xx status code

func (*GetScanDataExportExecutionListNotFound) IsCode

IsCode returns true when this get scan data export execution list not found response a status code equal to that given

func (*GetScanDataExportExecutionListNotFound) IsRedirect

IsRedirect returns true when this get scan data export execution list not found response has a 3xx status code

func (*GetScanDataExportExecutionListNotFound) IsServerError

func (o *GetScanDataExportExecutionListNotFound) IsServerError() bool

IsServerError returns true when this get scan data export execution list not found response has a 5xx status code

func (*GetScanDataExportExecutionListNotFound) IsSuccess

IsSuccess returns true when this get scan data export execution list not found response has a 2xx status code

func (*GetScanDataExportExecutionListNotFound) String

type GetScanDataExportExecutionListOK

type GetScanDataExportExecutionListOK struct {
	Payload *models.ScanDataExportExecutionList
}

GetScanDataExportExecutionListOK describes a response with status code 200, with default header values.

Success

func NewGetScanDataExportExecutionListOK

func NewGetScanDataExportExecutionListOK() *GetScanDataExportExecutionListOK

NewGetScanDataExportExecutionListOK creates a GetScanDataExportExecutionListOK with default headers values

func (*GetScanDataExportExecutionListOK) Error

func (*GetScanDataExportExecutionListOK) GetPayload

func (*GetScanDataExportExecutionListOK) IsClientError

func (o *GetScanDataExportExecutionListOK) IsClientError() bool

IsClientError returns true when this get scan data export execution list o k response has a 4xx status code

func (*GetScanDataExportExecutionListOK) IsCode

func (o *GetScanDataExportExecutionListOK) IsCode(code int) bool

IsCode returns true when this get scan data export execution list o k response a status code equal to that given

func (*GetScanDataExportExecutionListOK) IsRedirect

func (o *GetScanDataExportExecutionListOK) IsRedirect() bool

IsRedirect returns true when this get scan data export execution list o k response has a 3xx status code

func (*GetScanDataExportExecutionListOK) IsServerError

func (o *GetScanDataExportExecutionListOK) IsServerError() bool

IsServerError returns true when this get scan data export execution list o k response has a 5xx status code

func (*GetScanDataExportExecutionListOK) IsSuccess

func (o *GetScanDataExportExecutionListOK) IsSuccess() bool

IsSuccess returns true when this get scan data export execution list o k response has a 2xx status code

func (*GetScanDataExportExecutionListOK) String

type GetScanDataExportExecutionListParams

type GetScanDataExportExecutionListParams struct {

	/* XRequestID.

	   An unique ID for the request
	*/
	XRequestID *string

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

GetScanDataExportExecutionListParams contains all the parameters to send to the API endpoint

for the get scan data export execution list operation.

Typically these are written to a http.Request.

func NewGetScanDataExportExecutionListParams

func NewGetScanDataExportExecutionListParams() *GetScanDataExportExecutionListParams

NewGetScanDataExportExecutionListParams creates a new GetScanDataExportExecutionListParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewGetScanDataExportExecutionListParamsWithContext

func NewGetScanDataExportExecutionListParamsWithContext(ctx context.Context) *GetScanDataExportExecutionListParams

NewGetScanDataExportExecutionListParamsWithContext creates a new GetScanDataExportExecutionListParams object with the ability to set a context for a request.

func NewGetScanDataExportExecutionListParamsWithHTTPClient

func NewGetScanDataExportExecutionListParamsWithHTTPClient(client *http.Client) *GetScanDataExportExecutionListParams

NewGetScanDataExportExecutionListParamsWithHTTPClient creates a new GetScanDataExportExecutionListParams object with the ability to set a custom HTTPClient for a request.

func NewGetScanDataExportExecutionListParamsWithTimeout

func NewGetScanDataExportExecutionListParamsWithTimeout(timeout time.Duration) *GetScanDataExportExecutionListParams

NewGetScanDataExportExecutionListParamsWithTimeout creates a new GetScanDataExportExecutionListParams object with the ability to set a timeout on a request.

func (*GetScanDataExportExecutionListParams) SetContext

SetContext adds the context to the get scan data export execution list params

func (*GetScanDataExportExecutionListParams) SetDefaults

func (o *GetScanDataExportExecutionListParams) SetDefaults()

SetDefaults hydrates default values in the get scan data export execution list params (not the query body).

All values with no default are reset to their zero value.

func (*GetScanDataExportExecutionListParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get scan data export execution list params

func (*GetScanDataExportExecutionListParams) SetTimeout

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

SetTimeout adds the timeout to the get scan data export execution list params

func (*GetScanDataExportExecutionListParams) SetXRequestID

func (o *GetScanDataExportExecutionListParams) SetXRequestID(xRequestID *string)

SetXRequestID adds the xRequestId to the get scan data export execution list params

func (*GetScanDataExportExecutionListParams) WithContext

WithContext adds the context to the get scan data export execution list params

func (*GetScanDataExportExecutionListParams) WithDefaults

WithDefaults hydrates default values in the get scan data export execution list params (not the query body).

All values with no default are reset to their zero value.

func (*GetScanDataExportExecutionListParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get scan data export execution list params

func (*GetScanDataExportExecutionListParams) WithTimeout

WithTimeout adds the timeout to the get scan data export execution list params

func (*GetScanDataExportExecutionListParams) WithXRequestID

WithXRequestID adds the xRequestID to the get scan data export execution list params

func (*GetScanDataExportExecutionListParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetScanDataExportExecutionListReader

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

GetScanDataExportExecutionListReader is a Reader for the GetScanDataExportExecutionList structure.

func (*GetScanDataExportExecutionListReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetScanDataExportExecutionListUnauthorized

type GetScanDataExportExecutionListUnauthorized struct {

	/* The ID of the corresponding request for the response
	 */
	XRequestID string

	Payload *models.Errors
}

GetScanDataExportExecutionListUnauthorized describes a response with status code 401, with default header values.

Unauthorized

func NewGetScanDataExportExecutionListUnauthorized

func NewGetScanDataExportExecutionListUnauthorized() *GetScanDataExportExecutionListUnauthorized

NewGetScanDataExportExecutionListUnauthorized creates a GetScanDataExportExecutionListUnauthorized with default headers values

func (*GetScanDataExportExecutionListUnauthorized) Error

func (*GetScanDataExportExecutionListUnauthorized) GetPayload

func (*GetScanDataExportExecutionListUnauthorized) IsClientError

IsClientError returns true when this get scan data export execution list unauthorized response has a 4xx status code

func (*GetScanDataExportExecutionListUnauthorized) IsCode

IsCode returns true when this get scan data export execution list unauthorized response a status code equal to that given

func (*GetScanDataExportExecutionListUnauthorized) IsRedirect

IsRedirect returns true when this get scan data export execution list unauthorized response has a 3xx status code

func (*GetScanDataExportExecutionListUnauthorized) IsServerError

IsServerError returns true when this get scan data export execution list unauthorized response has a 5xx status code

func (*GetScanDataExportExecutionListUnauthorized) IsSuccess

IsSuccess returns true when this get scan data export execution list unauthorized response has a 2xx status code

func (*GetScanDataExportExecutionListUnauthorized) String

type GetScanDataExportExecutionNotFound

type GetScanDataExportExecutionNotFound struct {

	/* The ID of the corresponding request for the response
	 */
	XRequestID string

	Payload *models.Errors
}

GetScanDataExportExecutionNotFound describes a response with status code 404, with default header values.

Not found

func NewGetScanDataExportExecutionNotFound

func NewGetScanDataExportExecutionNotFound() *GetScanDataExportExecutionNotFound

NewGetScanDataExportExecutionNotFound creates a GetScanDataExportExecutionNotFound with default headers values

func (*GetScanDataExportExecutionNotFound) Error

func (*GetScanDataExportExecutionNotFound) GetPayload

func (*GetScanDataExportExecutionNotFound) IsClientError

func (o *GetScanDataExportExecutionNotFound) IsClientError() bool

IsClientError returns true when this get scan data export execution not found response has a 4xx status code

func (*GetScanDataExportExecutionNotFound) IsCode

IsCode returns true when this get scan data export execution not found response a status code equal to that given

func (*GetScanDataExportExecutionNotFound) IsRedirect

func (o *GetScanDataExportExecutionNotFound) IsRedirect() bool

IsRedirect returns true when this get scan data export execution not found response has a 3xx status code

func (*GetScanDataExportExecutionNotFound) IsServerError

func (o *GetScanDataExportExecutionNotFound) IsServerError() bool

IsServerError returns true when this get scan data export execution not found response has a 5xx status code

func (*GetScanDataExportExecutionNotFound) IsSuccess

IsSuccess returns true when this get scan data export execution not found response has a 2xx status code

func (*GetScanDataExportExecutionNotFound) String

type GetScanDataExportExecutionOK

type GetScanDataExportExecutionOK struct {
	Payload *models.ScanDataExportExecution
}

GetScanDataExportExecutionOK describes a response with status code 200, with default header values.

Success

func NewGetScanDataExportExecutionOK

func NewGetScanDataExportExecutionOK() *GetScanDataExportExecutionOK

NewGetScanDataExportExecutionOK creates a GetScanDataExportExecutionOK with default headers values

func (*GetScanDataExportExecutionOK) Error

func (*GetScanDataExportExecutionOK) GetPayload

func (*GetScanDataExportExecutionOK) IsClientError

func (o *GetScanDataExportExecutionOK) IsClientError() bool

IsClientError returns true when this get scan data export execution o k response has a 4xx status code

func (*GetScanDataExportExecutionOK) IsCode

func (o *GetScanDataExportExecutionOK) IsCode(code int) bool

IsCode returns true when this get scan data export execution o k response a status code equal to that given

func (*GetScanDataExportExecutionOK) IsRedirect

func (o *GetScanDataExportExecutionOK) IsRedirect() bool

IsRedirect returns true when this get scan data export execution o k response has a 3xx status code

func (*GetScanDataExportExecutionOK) IsServerError

func (o *GetScanDataExportExecutionOK) IsServerError() bool

IsServerError returns true when this get scan data export execution o k response has a 5xx status code

func (*GetScanDataExportExecutionOK) IsSuccess

func (o *GetScanDataExportExecutionOK) IsSuccess() bool

IsSuccess returns true when this get scan data export execution o k response has a 2xx status code

func (*GetScanDataExportExecutionOK) String

type GetScanDataExportExecutionParams

type GetScanDataExportExecutionParams struct {

	/* XRequestID.

	   An unique ID for the request
	*/
	XRequestID *string

	/* ExecutionID.

	   Execution ID
	*/
	ExecutionID int64

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

GetScanDataExportExecutionParams contains all the parameters to send to the API endpoint

for the get scan data export execution operation.

Typically these are written to a http.Request.

func NewGetScanDataExportExecutionParams

func NewGetScanDataExportExecutionParams() *GetScanDataExportExecutionParams

NewGetScanDataExportExecutionParams creates a new GetScanDataExportExecutionParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewGetScanDataExportExecutionParamsWithContext

func NewGetScanDataExportExecutionParamsWithContext(ctx context.Context) *GetScanDataExportExecutionParams

NewGetScanDataExportExecutionParamsWithContext creates a new GetScanDataExportExecutionParams object with the ability to set a context for a request.

func NewGetScanDataExportExecutionParamsWithHTTPClient

func NewGetScanDataExportExecutionParamsWithHTTPClient(client *http.Client) *GetScanDataExportExecutionParams

NewGetScanDataExportExecutionParamsWithHTTPClient creates a new GetScanDataExportExecutionParams object with the ability to set a custom HTTPClient for a request.

func NewGetScanDataExportExecutionParamsWithTimeout

func NewGetScanDataExportExecutionParamsWithTimeout(timeout time.Duration) *GetScanDataExportExecutionParams

NewGetScanDataExportExecutionParamsWithTimeout creates a new GetScanDataExportExecutionParams object with the ability to set a timeout on a request.

func (*GetScanDataExportExecutionParams) SetContext

SetContext adds the context to the get scan data export execution params

func (*GetScanDataExportExecutionParams) SetDefaults

func (o *GetScanDataExportExecutionParams) SetDefaults()

SetDefaults hydrates default values in the get scan data export execution params (not the query body).

All values with no default are reset to their zero value.

func (*GetScanDataExportExecutionParams) SetExecutionID

func (o *GetScanDataExportExecutionParams) SetExecutionID(executionID int64)

SetExecutionID adds the executionId to the get scan data export execution params

func (*GetScanDataExportExecutionParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get scan data export execution params

func (*GetScanDataExportExecutionParams) SetTimeout

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

SetTimeout adds the timeout to the get scan data export execution params

func (*GetScanDataExportExecutionParams) SetXRequestID

func (o *GetScanDataExportExecutionParams) SetXRequestID(xRequestID *string)

SetXRequestID adds the xRequestId to the get scan data export execution params

func (*GetScanDataExportExecutionParams) WithContext

WithContext adds the context to the get scan data export execution params

func (*GetScanDataExportExecutionParams) WithDefaults

WithDefaults hydrates default values in the get scan data export execution params (not the query body).

All values with no default are reset to their zero value.

func (*GetScanDataExportExecutionParams) WithExecutionID

WithExecutionID adds the executionID to the get scan data export execution params

func (*GetScanDataExportExecutionParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get scan data export execution params

func (*GetScanDataExportExecutionParams) WithTimeout

WithTimeout adds the timeout to the get scan data export execution params

func (*GetScanDataExportExecutionParams) WithXRequestID

WithXRequestID adds the xRequestID to the get scan data export execution params

func (*GetScanDataExportExecutionParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetScanDataExportExecutionReader

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

GetScanDataExportExecutionReader is a Reader for the GetScanDataExportExecution structure.

func (*GetScanDataExportExecutionReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetScanDataExportExecutionUnauthorized

type GetScanDataExportExecutionUnauthorized struct {

	/* The ID of the corresponding request for the response
	 */
	XRequestID string

	Payload *models.Errors
}

GetScanDataExportExecutionUnauthorized describes a response with status code 401, with default header values.

Unauthorized

func NewGetScanDataExportExecutionUnauthorized

func NewGetScanDataExportExecutionUnauthorized() *GetScanDataExportExecutionUnauthorized

NewGetScanDataExportExecutionUnauthorized creates a GetScanDataExportExecutionUnauthorized with default headers values

func (*GetScanDataExportExecutionUnauthorized) Error

func (*GetScanDataExportExecutionUnauthorized) GetPayload

func (*GetScanDataExportExecutionUnauthorized) IsClientError

func (o *GetScanDataExportExecutionUnauthorized) IsClientError() bool

IsClientError returns true when this get scan data export execution unauthorized response has a 4xx status code

func (*GetScanDataExportExecutionUnauthorized) IsCode

IsCode returns true when this get scan data export execution unauthorized response a status code equal to that given

func (*GetScanDataExportExecutionUnauthorized) IsRedirect

IsRedirect returns true when this get scan data export execution unauthorized response has a 3xx status code

func (*GetScanDataExportExecutionUnauthorized) IsServerError

func (o *GetScanDataExportExecutionUnauthorized) IsServerError() bool

IsServerError returns true when this get scan data export execution unauthorized response has a 5xx status code

func (*GetScanDataExportExecutionUnauthorized) IsSuccess

IsSuccess returns true when this get scan data export execution unauthorized response has a 2xx status code

func (*GetScanDataExportExecutionUnauthorized) String

Jump to

Keyboard shortcuts

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