Documentation ¶
Index ¶
- type Client
- func (a *Client) DownloadScanData(params *DownloadScanDataParams, authInfo runtime.ClientAuthInfoWriter, ...) (*DownloadScanDataOK, error)
- func (a *Client) ExportScanData(params *ExportScanDataParams, authInfo runtime.ClientAuthInfoWriter) (*ExportScanDataOK, error)
- func (a *Client) GetScanDataExportExecution(params *GetScanDataExportExecutionParams, ...) (*GetScanDataExportExecutionOK, error)
- func (a *Client) GetScanDataExportExecutionList(params *GetScanDataExportExecutionListParams, ...) (*GetScanDataExportExecutionListOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientService
- type DownloadScanDataForbidden
- type DownloadScanDataInternalServerError
- type DownloadScanDataNotFound
- type DownloadScanDataOK
- type DownloadScanDataParams
- func NewDownloadScanDataParams() *DownloadScanDataParams
- func NewDownloadScanDataParamsWithContext(ctx context.Context) *DownloadScanDataParams
- func NewDownloadScanDataParamsWithHTTPClient(client *http.Client) *DownloadScanDataParams
- func NewDownloadScanDataParamsWithTimeout(timeout time.Duration) *DownloadScanDataParams
- func (o *DownloadScanDataParams) SetContext(ctx context.Context)
- func (o *DownloadScanDataParams) SetExecutionID(executionID int64)
- func (o *DownloadScanDataParams) SetFormat(format *string)
- func (o *DownloadScanDataParams) SetHTTPClient(client *http.Client)
- func (o *DownloadScanDataParams) SetTimeout(timeout time.Duration)
- func (o *DownloadScanDataParams) SetXRequestID(xRequestID *string)
- func (o *DownloadScanDataParams) WithContext(ctx context.Context) *DownloadScanDataParams
- func (o *DownloadScanDataParams) WithExecutionID(executionID int64) *DownloadScanDataParams
- func (o *DownloadScanDataParams) WithFormat(format *string) *DownloadScanDataParams
- func (o *DownloadScanDataParams) WithHTTPClient(client *http.Client) *DownloadScanDataParams
- func (o *DownloadScanDataParams) WithTimeout(timeout time.Duration) *DownloadScanDataParams
- func (o *DownloadScanDataParams) WithXRequestID(xRequestID *string) *DownloadScanDataParams
- func (o *DownloadScanDataParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DownloadScanDataReader
- type DownloadScanDataUnauthorized
- type ExportScanDataBadRequest
- type ExportScanDataConflict
- type ExportScanDataForbidden
- type ExportScanDataInternalServerError
- type ExportScanDataMethodNotAllowed
- type ExportScanDataNotFound
- type ExportScanDataOK
- type ExportScanDataParams
- func NewExportScanDataParams() *ExportScanDataParams
- func NewExportScanDataParamsWithContext(ctx context.Context) *ExportScanDataParams
- func NewExportScanDataParamsWithHTTPClient(client *http.Client) *ExportScanDataParams
- func NewExportScanDataParamsWithTimeout(timeout time.Duration) *ExportScanDataParams
- func (o *ExportScanDataParams) SetContext(ctx context.Context)
- func (o *ExportScanDataParams) SetCriteria(criteria *model.ScanDataExportRequest)
- func (o *ExportScanDataParams) SetHTTPClient(client *http.Client)
- func (o *ExportScanDataParams) SetTimeout(timeout time.Duration)
- func (o *ExportScanDataParams) SetXRequestID(xRequestID *string)
- func (o *ExportScanDataParams) SetXScanDataType(xScanDataType string)
- func (o *ExportScanDataParams) WithContext(ctx context.Context) *ExportScanDataParams
- func (o *ExportScanDataParams) WithCriteria(criteria *model.ScanDataExportRequest) *ExportScanDataParams
- func (o *ExportScanDataParams) WithHTTPClient(client *http.Client) *ExportScanDataParams
- func (o *ExportScanDataParams) WithTimeout(timeout time.Duration) *ExportScanDataParams
- func (o *ExportScanDataParams) WithXRequestID(xRequestID *string) *ExportScanDataParams
- func (o *ExportScanDataParams) WithXScanDataType(xScanDataType string) *ExportScanDataParams
- func (o *ExportScanDataParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ExportScanDataReader
- type ExportScanDataUnauthorized
- type GetScanDataExportExecutionForbidden
- type GetScanDataExportExecutionInternalServerError
- type GetScanDataExportExecutionListForbidden
- type GetScanDataExportExecutionListInternalServerError
- type GetScanDataExportExecutionListNotFound
- type GetScanDataExportExecutionListOK
- type GetScanDataExportExecutionListParams
- func NewGetScanDataExportExecutionListParams() *GetScanDataExportExecutionListParams
- func NewGetScanDataExportExecutionListParamsWithContext(ctx context.Context) *GetScanDataExportExecutionListParams
- func NewGetScanDataExportExecutionListParamsWithHTTPClient(client *http.Client) *GetScanDataExportExecutionListParams
- func NewGetScanDataExportExecutionListParamsWithTimeout(timeout time.Duration) *GetScanDataExportExecutionListParams
- func (o *GetScanDataExportExecutionListParams) SetContext(ctx context.Context)
- func (o *GetScanDataExportExecutionListParams) SetHTTPClient(client *http.Client)
- func (o *GetScanDataExportExecutionListParams) SetTimeout(timeout time.Duration)
- func (o *GetScanDataExportExecutionListParams) SetXRequestID(xRequestID *string)
- func (o *GetScanDataExportExecutionListParams) WithContext(ctx context.Context) *GetScanDataExportExecutionListParams
- func (o *GetScanDataExportExecutionListParams) WithHTTPClient(client *http.Client) *GetScanDataExportExecutionListParams
- func (o *GetScanDataExportExecutionListParams) WithTimeout(timeout time.Duration) *GetScanDataExportExecutionListParams
- func (o *GetScanDataExportExecutionListParams) WithXRequestID(xRequestID *string) *GetScanDataExportExecutionListParams
- func (o *GetScanDataExportExecutionListParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetScanDataExportExecutionListReader
- type GetScanDataExportExecutionListUnauthorized
- type GetScanDataExportExecutionNotFound
- type GetScanDataExportExecutionOK
- type GetScanDataExportExecutionParams
- func NewGetScanDataExportExecutionParams() *GetScanDataExportExecutionParams
- func NewGetScanDataExportExecutionParamsWithContext(ctx context.Context) *GetScanDataExportExecutionParams
- func NewGetScanDataExportExecutionParamsWithHTTPClient(client *http.Client) *GetScanDataExportExecutionParams
- func NewGetScanDataExportExecutionParamsWithTimeout(timeout time.Duration) *GetScanDataExportExecutionParams
- func (o *GetScanDataExportExecutionParams) SetContext(ctx context.Context)
- func (o *GetScanDataExportExecutionParams) SetExecutionID(executionID int64)
- func (o *GetScanDataExportExecutionParams) SetHTTPClient(client *http.Client)
- func (o *GetScanDataExportExecutionParams) SetTimeout(timeout time.Duration)
- func (o *GetScanDataExportExecutionParams) SetXRequestID(xRequestID *string)
- func (o *GetScanDataExportExecutionParams) WithContext(ctx context.Context) *GetScanDataExportExecutionParams
- func (o *GetScanDataExportExecutionParams) WithExecutionID(executionID int64) *GetScanDataExportExecutionParams
- func (o *GetScanDataExportExecutionParams) WithHTTPClient(client *http.Client) *GetScanDataExportExecutionParams
- func (o *GetScanDataExportExecutionParams) WithTimeout(timeout time.Duration) *GetScanDataExportExecutionParams
- func (o *GetScanDataExportExecutionParams) WithXRequestID(xRequestID *string) *GetScanDataExportExecutionParams
- func (o *GetScanDataExportExecutionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetScanDataExportExecutionReader
- type GetScanDataExportExecutionUnauthorized
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 (o *DownloadScanDataInternalServerError) Error() string
func (*DownloadScanDataInternalServerError) GetPayload ¶
func (o *DownloadScanDataInternalServerError) GetPayload() *model.Errors
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 ¶
func (o *DownloadScanDataParams) WithContext(ctx context.Context) *DownloadScanDataParams
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 ¶
func (o *DownloadScanDataParams) WithTimeout(timeout time.Duration) *DownloadScanDataParams
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 ¶
func (o *DownloadScanDataParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 { string }XRequestID
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 (o *DownloadScanDataUnauthorized) Error() string
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 (o *ExportScanDataInternalServerError) Error() string
func (*ExportScanDataInternalServerError) GetPayload ¶
func (o *ExportScanDataInternalServerError) GetPayload() *model.Errors
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 (o *ExportScanDataMethodNotAllowed) Error() string
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 ¶
func (o *ExportScanDataParams) WithContext(ctx context.Context) *ExportScanDataParams
WithContext adds the context to the export scan data params
func (*ExportScanDataParams) WithCriteria ¶
func (o *ExportScanDataParams) WithCriteria(criteria *model.ScanDataExportRequest) *ExportScanDataParams
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 { string }XRequestID
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 (o *ExportScanDataUnauthorized) Error() string
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 (o *GetScanDataExportExecutionForbidden) Error() string
func (*GetScanDataExportExecutionForbidden) GetPayload ¶
func (o *GetScanDataExportExecutionForbidden) GetPayload() *model.Errors
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 (o *GetScanDataExportExecutionInternalServerError) Error() string
func (*GetScanDataExportExecutionInternalServerError) GetPayload ¶
func (o *GetScanDataExportExecutionInternalServerError) GetPayload() *model.Errors
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 (o *GetScanDataExportExecutionListForbidden) Error() string
func (*GetScanDataExportExecutionListForbidden) GetPayload ¶
func (o *GetScanDataExportExecutionListForbidden) GetPayload() *model.Errors
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 (o *GetScanDataExportExecutionListInternalServerError) Error() string
func (*GetScanDataExportExecutionListInternalServerError) GetPayload ¶
func (o *GetScanDataExportExecutionListInternalServerError) GetPayload() *model.Errors
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 (o *GetScanDataExportExecutionListNotFound) Error() string
func (*GetScanDataExportExecutionListNotFound) GetPayload ¶
func (o *GetScanDataExportExecutionListNotFound) GetPayload() *model.Errors
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 (o *GetScanDataExportExecutionListOK) Error() string
func (*GetScanDataExportExecutionListOK) GetPayload ¶
func (o *GetScanDataExportExecutionListOK) GetPayload() *model.ScanDataExportExecutionList
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 ¶
func (o *GetScanDataExportExecutionListParams) SetContext(ctx context.Context)
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 ¶
func (o *GetScanDataExportExecutionListParams) WithContext(ctx context.Context) *GetScanDataExportExecutionListParams
WithContext adds the context to the get scan data export execution list params
func (*GetScanDataExportExecutionListParams) WithHTTPClient ¶
func (o *GetScanDataExportExecutionListParams) WithHTTPClient(client *http.Client) *GetScanDataExportExecutionListParams
WithHTTPClient adds the HTTPClient to the get scan data export execution list params
func (*GetScanDataExportExecutionListParams) WithTimeout ¶
func (o *GetScanDataExportExecutionListParams) WithTimeout(timeout time.Duration) *GetScanDataExportExecutionListParams
WithTimeout adds the timeout to the get scan data export execution list params
func (*GetScanDataExportExecutionListParams) WithXRequestID ¶
func (o *GetScanDataExportExecutionListParams) WithXRequestID(xRequestID *string) *GetScanDataExportExecutionListParams
WithXRequestID adds the xRequestID to the get scan data export execution list params
func (*GetScanDataExportExecutionListParams) WriteToRequest ¶
func (o *GetScanDataExportExecutionListParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 { string }XRequestID
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 (o *GetScanDataExportExecutionListUnauthorized) Error() string
func (*GetScanDataExportExecutionListUnauthorized) GetPayload ¶
func (o *GetScanDataExportExecutionListUnauthorized) GetPayload() *model.Errors
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 (o *GetScanDataExportExecutionNotFound) Error() string
func (*GetScanDataExportExecutionNotFound) GetPayload ¶
func (o *GetScanDataExportExecutionNotFound) GetPayload() *model.Errors
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 (o *GetScanDataExportExecutionOK) Error() string
func (*GetScanDataExportExecutionOK) GetPayload ¶
func (o *GetScanDataExportExecutionOK) GetPayload() *model.ScanDataExportExecution
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 ¶
func (o *GetScanDataExportExecutionParams) SetContext(ctx context.Context)
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 ¶
func (o *GetScanDataExportExecutionParams) WithContext(ctx context.Context) *GetScanDataExportExecutionParams
WithContext adds the context to the get scan data export execution params
func (*GetScanDataExportExecutionParams) WithExecutionID ¶
func (o *GetScanDataExportExecutionParams) WithExecutionID(executionID int64) *GetScanDataExportExecutionParams
WithExecutionID adds the executionID to the get scan data export execution params
func (*GetScanDataExportExecutionParams) WithHTTPClient ¶
func (o *GetScanDataExportExecutionParams) WithHTTPClient(client *http.Client) *GetScanDataExportExecutionParams
WithHTTPClient adds the HTTPClient to the get scan data export execution params
func (*GetScanDataExportExecutionParams) WithTimeout ¶
func (o *GetScanDataExportExecutionParams) WithTimeout(timeout time.Duration) *GetScanDataExportExecutionParams
WithTimeout adds the timeout to the get scan data export execution params
func (*GetScanDataExportExecutionParams) WithXRequestID ¶
func (o *GetScanDataExportExecutionParams) WithXRequestID(xRequestID *string) *GetScanDataExportExecutionParams
WithXRequestID adds the xRequestID to the get scan data export execution params
func (*GetScanDataExportExecutionParams) WriteToRequest ¶
func (o *GetScanDataExportExecutionParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 { string }XRequestID
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 (o *GetScanDataExportExecutionUnauthorized) Error() string
func (*GetScanDataExportExecutionUnauthorized) GetPayload ¶
func (o *GetScanDataExportExecutionUnauthorized) GetPayload() *model.Errors
Source Files ¶
- download_scan_data_parameters.go
- download_scan_data_responses.go
- export_scan_data_parameters.go
- export_scan_data_responses.go
- get_scan_data_export_execution_list_parameters.go
- get_scan_data_export_execution_list_responses.go
- get_scan_data_export_execution_parameters.go
- get_scan_data_export_execution_responses.go
- scan_data_export_client.go