scan_data_export

package
v5.6.0 Latest Latest
Warning

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

Go to latest
Published: Apr 23, 2024 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 scan data export API

func (*Client) DownloadScanData

func (a *Client) DownloadScanData(params *DownloadScanDataParams, authInfo runtime.ClientAuthInfoWriter, 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(params *ExportScanDataParams, authInfo runtime.ClientAuthInfoWriter) (*ExportScanDataOK, error)

ExportScanData exports scan data for selected projects

Export scan data for selected projects

func (*Client) GetScanDataExportExecution

func (a *Client) GetScanDataExportExecution(params *GetScanDataExportExecutionParams, authInfo runtime.ClientAuthInfoWriter) (*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(params *GetScanDataExportExecutionListParams, authInfo runtime.ClientAuthInfoWriter) (*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

func (*Client) SetTransport

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

SetTransport changes the transport on the client

type ClientService

type ClientService interface {
	DownloadScanData(params *DownloadScanDataParams, authInfo runtime.ClientAuthInfoWriter, writer io.Writer) (*DownloadScanDataOK, error)

	ExportScanData(params *ExportScanDataParams, authInfo runtime.ClientAuthInfoWriter) (*ExportScanDataOK, error)

	GetScanDataExportExecution(params *GetScanDataExportExecutionParams, authInfo runtime.ClientAuthInfoWriter) (*GetScanDataExportExecutionOK, error)

	GetScanDataExportExecutionList(params *GetScanDataExportExecutionListParams, authInfo runtime.ClientAuthInfoWriter) (*GetScanDataExportExecutionListOK, 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 scan data export API client.

type DownloadScanDataForbidden

type DownloadScanDataForbidden struct {
	/*The ID of the corresponding request for the response
	 */
	XRequestID string

	Payload *model.Errors
}

DownloadScanDataForbidden handles this case 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() *model.Errors

type DownloadScanDataInternalServerError

type DownloadScanDataInternalServerError struct {
	/*The ID of the corresponding request for the response
	 */
	XRequestID string

	Payload *model.Errors
}

DownloadScanDataInternalServerError handles this case 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

type DownloadScanDataNotFound

type DownloadScanDataNotFound struct {
	/*The ID of the corresponding request for the response
	 */
	XRequestID string

	Payload *model.Errors
}

DownloadScanDataNotFound handles this case 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() *model.Errors

type DownloadScanDataOK

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

	Payload io.Writer
}

DownloadScanDataOK handles this case 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

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 values initialized.

func NewDownloadScanDataParamsWithContext

func NewDownloadScanDataParamsWithContext(ctx context.Context) *DownloadScanDataParams

NewDownloadScanDataParamsWithContext creates a new DownloadScanDataParams object with the default values initialized, and 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 default values initialized, and 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 default values initialized, and 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) 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) 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 *model.Errors
}

DownloadScanDataUnauthorized handles this case 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() *model.Errors

type ExportScanDataBadRequest

type ExportScanDataBadRequest struct {
	/*The ID of the corresponding request for the response
	 */
	XRequestID string

	Payload *model.Errors
}

ExportScanDataBadRequest handles this case 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() *model.Errors

type ExportScanDataConflict

type ExportScanDataConflict struct {
	/*The ID of the corresponding request for the response
	 */
	XRequestID string

	Payload *model.Errors
}

ExportScanDataConflict handles this case 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() *model.Errors

type ExportScanDataForbidden

type ExportScanDataForbidden struct {
	/*The ID of the corresponding request for the response
	 */
	XRequestID string

	Payload *model.Errors
}

ExportScanDataForbidden handles this case 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() *model.Errors

type ExportScanDataInternalServerError

type ExportScanDataInternalServerError struct {
	/*The ID of the corresponding request for the response
	 */
	XRequestID string

	Payload *model.Errors
}

ExportScanDataInternalServerError handles this case 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

type ExportScanDataMethodNotAllowed

type ExportScanDataMethodNotAllowed struct {
	/*The ID of the corresponding request for the response
	 */
	XRequestID string

	Payload *model.Errors
}

ExportScanDataMethodNotAllowed handles this case 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() *model.Errors

type ExportScanDataNotFound

type ExportScanDataNotFound struct {
	/*The ID of the corresponding request for the response
	 */
	XRequestID string

	Payload *model.Errors
}

ExportScanDataNotFound handles this case 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() *model.Errors

type ExportScanDataOK

type ExportScanDataOK struct {
	Payload *model.ScanDataExportJob
}

ExportScanDataOK handles this case 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() *model.ScanDataExportJob

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 *model.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 values initialized.

func NewExportScanDataParamsWithContext

func NewExportScanDataParamsWithContext(ctx context.Context) *ExportScanDataParams

NewExportScanDataParamsWithContext creates a new ExportScanDataParams object with the default values initialized, and 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 default values initialized, and 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 default values initialized, and 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 *model.ScanDataExportRequest)

SetCriteria adds the criteria to the export scan data params

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) 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 *model.Errors
}

ExportScanDataUnauthorized handles this case 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() *model.Errors

type GetScanDataExportExecutionForbidden

type GetScanDataExportExecutionForbidden struct {
	/*The ID of the corresponding request for the response
	 */
	XRequestID string

	Payload *model.Errors
}

GetScanDataExportExecutionForbidden handles this case with default header values.

Forbidden

func NewGetScanDataExportExecutionForbidden

func NewGetScanDataExportExecutionForbidden() *GetScanDataExportExecutionForbidden

NewGetScanDataExportExecutionForbidden creates a GetScanDataExportExecutionForbidden with default headers values

func (*GetScanDataExportExecutionForbidden) Error

func (*GetScanDataExportExecutionForbidden) GetPayload

type GetScanDataExportExecutionInternalServerError

type GetScanDataExportExecutionInternalServerError struct {
	/*The ID of the corresponding request for the response
	 */
	XRequestID string

	Payload *model.Errors
}

GetScanDataExportExecutionInternalServerError handles this case 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

type GetScanDataExportExecutionListForbidden

type GetScanDataExportExecutionListForbidden struct {
	/*The ID of the corresponding request for the response
	 */
	XRequestID string

	Payload *model.Errors
}

GetScanDataExportExecutionListForbidden handles this case with default header values.

Forbidden

func NewGetScanDataExportExecutionListForbidden

func NewGetScanDataExportExecutionListForbidden() *GetScanDataExportExecutionListForbidden

NewGetScanDataExportExecutionListForbidden creates a GetScanDataExportExecutionListForbidden with default headers values

func (*GetScanDataExportExecutionListForbidden) Error

func (*GetScanDataExportExecutionListForbidden) GetPayload

type GetScanDataExportExecutionListInternalServerError

type GetScanDataExportExecutionListInternalServerError struct {
	/*The ID of the corresponding request for the response
	 */
	XRequestID string

	Payload *model.Errors
}

GetScanDataExportExecutionListInternalServerError handles this case 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

type GetScanDataExportExecutionListNotFound

type GetScanDataExportExecutionListNotFound struct {
	/*The ID of the corresponding request for the response
	 */
	XRequestID string

	Payload *model.Errors
}

GetScanDataExportExecutionListNotFound handles this case 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

type GetScanDataExportExecutionListOK

type GetScanDataExportExecutionListOK struct {
	Payload *model.ScanDataExportExecutionList
}

GetScanDataExportExecutionListOK handles this case with default header values.

Success

func NewGetScanDataExportExecutionListOK

func NewGetScanDataExportExecutionListOK() *GetScanDataExportExecutionListOK

NewGetScanDataExportExecutionListOK creates a GetScanDataExportExecutionListOK with default headers values

func (*GetScanDataExportExecutionListOK) Error

func (*GetScanDataExportExecutionListOK) GetPayload

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 values initialized.

func NewGetScanDataExportExecutionListParamsWithContext

func NewGetScanDataExportExecutionListParamsWithContext(ctx context.Context) *GetScanDataExportExecutionListParams

NewGetScanDataExportExecutionListParamsWithContext creates a new GetScanDataExportExecutionListParams object with the default values initialized, and 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 default values initialized, and 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 default values initialized, and 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) 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) 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 *model.Errors
}

GetScanDataExportExecutionListUnauthorized handles this case with default header values.

Unauthorized

func NewGetScanDataExportExecutionListUnauthorized

func NewGetScanDataExportExecutionListUnauthorized() *GetScanDataExportExecutionListUnauthorized

NewGetScanDataExportExecutionListUnauthorized creates a GetScanDataExportExecutionListUnauthorized with default headers values

func (*GetScanDataExportExecutionListUnauthorized) Error

func (*GetScanDataExportExecutionListUnauthorized) GetPayload

type GetScanDataExportExecutionNotFound

type GetScanDataExportExecutionNotFound struct {
	/*The ID of the corresponding request for the response
	 */
	XRequestID string

	Payload *model.Errors
}

GetScanDataExportExecutionNotFound handles this case 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

type GetScanDataExportExecutionOK

type GetScanDataExportExecutionOK struct {
	Payload *model.ScanDataExportExecution
}

GetScanDataExportExecutionOK handles this case with default header values.

Success

func NewGetScanDataExportExecutionOK

func NewGetScanDataExportExecutionOK() *GetScanDataExportExecutionOK

NewGetScanDataExportExecutionOK creates a GetScanDataExportExecutionOK with default headers values

func (*GetScanDataExportExecutionOK) Error

func (*GetScanDataExportExecutionOK) GetPayload

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 values initialized.

func NewGetScanDataExportExecutionParamsWithContext

func NewGetScanDataExportExecutionParamsWithContext(ctx context.Context) *GetScanDataExportExecutionParams

NewGetScanDataExportExecutionParamsWithContext creates a new GetScanDataExportExecutionParams object with the default values initialized, and 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 default values initialized, and 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 default values initialized, and 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) 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) 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 *model.Errors
}

GetScanDataExportExecutionUnauthorized handles this case with default header values.

Unauthorized

func NewGetScanDataExportExecutionUnauthorized

func NewGetScanDataExportExecutionUnauthorized() *GetScanDataExportExecutionUnauthorized

NewGetScanDataExportExecutionUnauthorized creates a GetScanDataExportExecutionUnauthorized with default headers values

func (*GetScanDataExportExecutionUnauthorized) Error

func (*GetScanDataExportExecutionUnauthorized) GetPayload

Jump to

Keyboard shortcuts

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