Documentation ¶
Index ¶
- type API
- type Client
- func (a *Client) DownloadScanData(ctx context.Context, params *DownloadScanDataParams, writer io.Writer) (*DownloadScanDataOK, error)
- func (a *Client) ExportScanData(ctx context.Context, params *ExportScanDataParams) (*ExportScanDataOK, error)
- func (a *Client) GetScanDataExportExecution(ctx context.Context, params *GetScanDataExportExecutionParams) (*GetScanDataExportExecutionOK, error)
- func (a *Client) GetScanDataExportExecutionList(ctx context.Context, params *GetScanDataExportExecutionListParams) (*GetScanDataExportExecutionListOK, error)
- type DownloadScanDataForbidden
- func (o *DownloadScanDataForbidden) Error() string
- func (o *DownloadScanDataForbidden) GetPayload() *models.Errors
- func (o *DownloadScanDataForbidden) IsClientError() bool
- func (o *DownloadScanDataForbidden) IsCode(code int) bool
- func (o *DownloadScanDataForbidden) IsRedirect() bool
- func (o *DownloadScanDataForbidden) IsServerError() bool
- func (o *DownloadScanDataForbidden) IsSuccess() bool
- func (o *DownloadScanDataForbidden) String() string
- type DownloadScanDataInternalServerError
- func (o *DownloadScanDataInternalServerError) Error() string
- func (o *DownloadScanDataInternalServerError) GetPayload() *models.Errors
- func (o *DownloadScanDataInternalServerError) IsClientError() bool
- func (o *DownloadScanDataInternalServerError) IsCode(code int) bool
- func (o *DownloadScanDataInternalServerError) IsRedirect() bool
- func (o *DownloadScanDataInternalServerError) IsServerError() bool
- func (o *DownloadScanDataInternalServerError) IsSuccess() bool
- func (o *DownloadScanDataInternalServerError) String() string
- type DownloadScanDataNotFound
- func (o *DownloadScanDataNotFound) Error() string
- func (o *DownloadScanDataNotFound) GetPayload() *models.Errors
- func (o *DownloadScanDataNotFound) IsClientError() bool
- func (o *DownloadScanDataNotFound) IsCode(code int) bool
- func (o *DownloadScanDataNotFound) IsRedirect() bool
- func (o *DownloadScanDataNotFound) IsServerError() bool
- func (o *DownloadScanDataNotFound) IsSuccess() bool
- func (o *DownloadScanDataNotFound) String() string
- type DownloadScanDataOK
- func (o *DownloadScanDataOK) Error() string
- func (o *DownloadScanDataOK) GetPayload() io.Writer
- func (o *DownloadScanDataOK) IsClientError() bool
- func (o *DownloadScanDataOK) IsCode(code int) bool
- func (o *DownloadScanDataOK) IsRedirect() bool
- func (o *DownloadScanDataOK) IsServerError() bool
- func (o *DownloadScanDataOK) IsSuccess() bool
- func (o *DownloadScanDataOK) String() string
- 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) SetDefaults()
- 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) WithDefaults() *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
- func (o *DownloadScanDataUnauthorized) Error() string
- func (o *DownloadScanDataUnauthorized) GetPayload() *models.Errors
- func (o *DownloadScanDataUnauthorized) IsClientError() bool
- func (o *DownloadScanDataUnauthorized) IsCode(code int) bool
- func (o *DownloadScanDataUnauthorized) IsRedirect() bool
- func (o *DownloadScanDataUnauthorized) IsServerError() bool
- func (o *DownloadScanDataUnauthorized) IsSuccess() bool
- func (o *DownloadScanDataUnauthorized) String() string
- type ExportScanDataBadRequest
- func (o *ExportScanDataBadRequest) Error() string
- func (o *ExportScanDataBadRequest) GetPayload() *models.Errors
- func (o *ExportScanDataBadRequest) IsClientError() bool
- func (o *ExportScanDataBadRequest) IsCode(code int) bool
- func (o *ExportScanDataBadRequest) IsRedirect() bool
- func (o *ExportScanDataBadRequest) IsServerError() bool
- func (o *ExportScanDataBadRequest) IsSuccess() bool
- func (o *ExportScanDataBadRequest) String() string
- type ExportScanDataConflict
- func (o *ExportScanDataConflict) Error() string
- func (o *ExportScanDataConflict) GetPayload() *models.Errors
- func (o *ExportScanDataConflict) IsClientError() bool
- func (o *ExportScanDataConflict) IsCode(code int) bool
- func (o *ExportScanDataConflict) IsRedirect() bool
- func (o *ExportScanDataConflict) IsServerError() bool
- func (o *ExportScanDataConflict) IsSuccess() bool
- func (o *ExportScanDataConflict) String() string
- type ExportScanDataForbidden
- func (o *ExportScanDataForbidden) Error() string
- func (o *ExportScanDataForbidden) GetPayload() *models.Errors
- func (o *ExportScanDataForbidden) IsClientError() bool
- func (o *ExportScanDataForbidden) IsCode(code int) bool
- func (o *ExportScanDataForbidden) IsRedirect() bool
- func (o *ExportScanDataForbidden) IsServerError() bool
- func (o *ExportScanDataForbidden) IsSuccess() bool
- func (o *ExportScanDataForbidden) String() string
- type ExportScanDataInternalServerError
- func (o *ExportScanDataInternalServerError) Error() string
- func (o *ExportScanDataInternalServerError) GetPayload() *models.Errors
- func (o *ExportScanDataInternalServerError) IsClientError() bool
- func (o *ExportScanDataInternalServerError) IsCode(code int) bool
- func (o *ExportScanDataInternalServerError) IsRedirect() bool
- func (o *ExportScanDataInternalServerError) IsServerError() bool
- func (o *ExportScanDataInternalServerError) IsSuccess() bool
- func (o *ExportScanDataInternalServerError) String() string
- type ExportScanDataMethodNotAllowed
- func (o *ExportScanDataMethodNotAllowed) Error() string
- func (o *ExportScanDataMethodNotAllowed) GetPayload() *models.Errors
- func (o *ExportScanDataMethodNotAllowed) IsClientError() bool
- func (o *ExportScanDataMethodNotAllowed) IsCode(code int) bool
- func (o *ExportScanDataMethodNotAllowed) IsRedirect() bool
- func (o *ExportScanDataMethodNotAllowed) IsServerError() bool
- func (o *ExportScanDataMethodNotAllowed) IsSuccess() bool
- func (o *ExportScanDataMethodNotAllowed) String() string
- type ExportScanDataNotFound
- func (o *ExportScanDataNotFound) Error() string
- func (o *ExportScanDataNotFound) GetPayload() *models.Errors
- func (o *ExportScanDataNotFound) IsClientError() bool
- func (o *ExportScanDataNotFound) IsCode(code int) bool
- func (o *ExportScanDataNotFound) IsRedirect() bool
- func (o *ExportScanDataNotFound) IsServerError() bool
- func (o *ExportScanDataNotFound) IsSuccess() bool
- func (o *ExportScanDataNotFound) String() string
- type ExportScanDataOK
- func (o *ExportScanDataOK) Error() string
- func (o *ExportScanDataOK) GetPayload() *models.ScanDataExportJob
- func (o *ExportScanDataOK) IsClientError() bool
- func (o *ExportScanDataOK) IsCode(code int) bool
- func (o *ExportScanDataOK) IsRedirect() bool
- func (o *ExportScanDataOK) IsServerError() bool
- func (o *ExportScanDataOK) IsSuccess() bool
- func (o *ExportScanDataOK) String() string
- 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 *models.ScanDataExportRequest)
- func (o *ExportScanDataParams) SetDefaults()
- 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 *models.ScanDataExportRequest) *ExportScanDataParams
- func (o *ExportScanDataParams) WithDefaults() *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
- func (o *ExportScanDataUnauthorized) Error() string
- func (o *ExportScanDataUnauthorized) GetPayload() *models.Errors
- func (o *ExportScanDataUnauthorized) IsClientError() bool
- func (o *ExportScanDataUnauthorized) IsCode(code int) bool
- func (o *ExportScanDataUnauthorized) IsRedirect() bool
- func (o *ExportScanDataUnauthorized) IsServerError() bool
- func (o *ExportScanDataUnauthorized) IsSuccess() bool
- func (o *ExportScanDataUnauthorized) String() string
- type GetScanDataExportExecutionForbidden
- func (o *GetScanDataExportExecutionForbidden) Error() string
- func (o *GetScanDataExportExecutionForbidden) GetPayload() *models.Errors
- func (o *GetScanDataExportExecutionForbidden) IsClientError() bool
- func (o *GetScanDataExportExecutionForbidden) IsCode(code int) bool
- func (o *GetScanDataExportExecutionForbidden) IsRedirect() bool
- func (o *GetScanDataExportExecutionForbidden) IsServerError() bool
- func (o *GetScanDataExportExecutionForbidden) IsSuccess() bool
- func (o *GetScanDataExportExecutionForbidden) String() string
- type GetScanDataExportExecutionInternalServerError
- func (o *GetScanDataExportExecutionInternalServerError) Error() string
- func (o *GetScanDataExportExecutionInternalServerError) GetPayload() *models.Errors
- func (o *GetScanDataExportExecutionInternalServerError) IsClientError() bool
- func (o *GetScanDataExportExecutionInternalServerError) IsCode(code int) bool
- func (o *GetScanDataExportExecutionInternalServerError) IsRedirect() bool
- func (o *GetScanDataExportExecutionInternalServerError) IsServerError() bool
- func (o *GetScanDataExportExecutionInternalServerError) IsSuccess() bool
- func (o *GetScanDataExportExecutionInternalServerError) String() string
- type GetScanDataExportExecutionListForbidden
- func (o *GetScanDataExportExecutionListForbidden) Error() string
- func (o *GetScanDataExportExecutionListForbidden) GetPayload() *models.Errors
- func (o *GetScanDataExportExecutionListForbidden) IsClientError() bool
- func (o *GetScanDataExportExecutionListForbidden) IsCode(code int) bool
- func (o *GetScanDataExportExecutionListForbidden) IsRedirect() bool
- func (o *GetScanDataExportExecutionListForbidden) IsServerError() bool
- func (o *GetScanDataExportExecutionListForbidden) IsSuccess() bool
- func (o *GetScanDataExportExecutionListForbidden) String() string
- type GetScanDataExportExecutionListInternalServerError
- func (o *GetScanDataExportExecutionListInternalServerError) Error() string
- func (o *GetScanDataExportExecutionListInternalServerError) GetPayload() *models.Errors
- func (o *GetScanDataExportExecutionListInternalServerError) IsClientError() bool
- func (o *GetScanDataExportExecutionListInternalServerError) IsCode(code int) bool
- func (o *GetScanDataExportExecutionListInternalServerError) IsRedirect() bool
- func (o *GetScanDataExportExecutionListInternalServerError) IsServerError() bool
- func (o *GetScanDataExportExecutionListInternalServerError) IsSuccess() bool
- func (o *GetScanDataExportExecutionListInternalServerError) String() string
- type GetScanDataExportExecutionListNotFound
- func (o *GetScanDataExportExecutionListNotFound) Error() string
- func (o *GetScanDataExportExecutionListNotFound) GetPayload() *models.Errors
- func (o *GetScanDataExportExecutionListNotFound) IsClientError() bool
- func (o *GetScanDataExportExecutionListNotFound) IsCode(code int) bool
- func (o *GetScanDataExportExecutionListNotFound) IsRedirect() bool
- func (o *GetScanDataExportExecutionListNotFound) IsServerError() bool
- func (o *GetScanDataExportExecutionListNotFound) IsSuccess() bool
- func (o *GetScanDataExportExecutionListNotFound) String() string
- type GetScanDataExportExecutionListOK
- func (o *GetScanDataExportExecutionListOK) Error() string
- func (o *GetScanDataExportExecutionListOK) GetPayload() *models.ScanDataExportExecutionList
- func (o *GetScanDataExportExecutionListOK) IsClientError() bool
- func (o *GetScanDataExportExecutionListOK) IsCode(code int) bool
- func (o *GetScanDataExportExecutionListOK) IsRedirect() bool
- func (o *GetScanDataExportExecutionListOK) IsServerError() bool
- func (o *GetScanDataExportExecutionListOK) IsSuccess() bool
- func (o *GetScanDataExportExecutionListOK) String() string
- 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) SetDefaults()
- 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) WithDefaults() *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
- func (o *GetScanDataExportExecutionListUnauthorized) Error() string
- func (o *GetScanDataExportExecutionListUnauthorized) GetPayload() *models.Errors
- func (o *GetScanDataExportExecutionListUnauthorized) IsClientError() bool
- func (o *GetScanDataExportExecutionListUnauthorized) IsCode(code int) bool
- func (o *GetScanDataExportExecutionListUnauthorized) IsRedirect() bool
- func (o *GetScanDataExportExecutionListUnauthorized) IsServerError() bool
- func (o *GetScanDataExportExecutionListUnauthorized) IsSuccess() bool
- func (o *GetScanDataExportExecutionListUnauthorized) String() string
- type GetScanDataExportExecutionNotFound
- func (o *GetScanDataExportExecutionNotFound) Error() string
- func (o *GetScanDataExportExecutionNotFound) GetPayload() *models.Errors
- func (o *GetScanDataExportExecutionNotFound) IsClientError() bool
- func (o *GetScanDataExportExecutionNotFound) IsCode(code int) bool
- func (o *GetScanDataExportExecutionNotFound) IsRedirect() bool
- func (o *GetScanDataExportExecutionNotFound) IsServerError() bool
- func (o *GetScanDataExportExecutionNotFound) IsSuccess() bool
- func (o *GetScanDataExportExecutionNotFound) String() string
- type GetScanDataExportExecutionOK
- func (o *GetScanDataExportExecutionOK) Error() string
- func (o *GetScanDataExportExecutionOK) GetPayload() *models.ScanDataExportExecution
- func (o *GetScanDataExportExecutionOK) IsClientError() bool
- func (o *GetScanDataExportExecutionOK) IsCode(code int) bool
- func (o *GetScanDataExportExecutionOK) IsRedirect() bool
- func (o *GetScanDataExportExecutionOK) IsServerError() bool
- func (o *GetScanDataExportExecutionOK) IsSuccess() bool
- func (o *GetScanDataExportExecutionOK) String() string
- 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) SetDefaults()
- 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) WithDefaults() *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
- func (o *GetScanDataExportExecutionUnauthorized) Error() string
- func (o *GetScanDataExportExecutionUnauthorized) GetPayload() *models.Errors
- func (o *GetScanDataExportExecutionUnauthorized) IsClientError() bool
- func (o *GetScanDataExportExecutionUnauthorized) IsCode(code int) bool
- func (o *GetScanDataExportExecutionUnauthorized) IsRedirect() bool
- func (o *GetScanDataExportExecutionUnauthorized) IsServerError() bool
- func (o *GetScanDataExportExecutionUnauthorized) IsSuccess() bool
- func (o *GetScanDataExportExecutionUnauthorized) String() string
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 (o *DownloadScanDataInternalServerError) Error() string
func (*DownloadScanDataInternalServerError) GetPayload ¶
func (o *DownloadScanDataInternalServerError) GetPayload() *models.Errors
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 ¶
func (o *DownloadScanDataInternalServerError) IsCode(code int) bool
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 ¶
func (o *DownloadScanDataInternalServerError) IsSuccess() bool
IsSuccess returns true when this download scan data internal server error response has a 2xx status code
func (*DownloadScanDataInternalServerError) String ¶
func (o *DownloadScanDataInternalServerError) String() 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 ¶
func (o *DownloadScanDataParams) WithContext(ctx context.Context) *DownloadScanDataParams
WithContext adds the context to the download scan data params
func (*DownloadScanDataParams) WithDefaults ¶
func (o *DownloadScanDataParams) WithDefaults() *DownloadScanDataParams
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 ¶
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 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 (o *DownloadScanDataUnauthorized) Error() string
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 ¶
func (o *DownloadScanDataUnauthorized) String() 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 (o *ExportScanDataInternalServerError) Error() string
func (*ExportScanDataInternalServerError) GetPayload ¶
func (o *ExportScanDataInternalServerError) GetPayload() *models.Errors
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 ¶
func (o *ExportScanDataInternalServerError) String() 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 (o *ExportScanDataMethodNotAllowed) Error() string
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 ¶
func (o *ExportScanDataMethodNotAllowed) String() 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 ¶
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 *models.ScanDataExportRequest) *ExportScanDataParams
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 { string }XRequestID
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 (o *ExportScanDataUnauthorized) Error() string
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 (o *GetScanDataExportExecutionForbidden) Error() string
func (*GetScanDataExportExecutionForbidden) GetPayload ¶
func (o *GetScanDataExportExecutionForbidden) GetPayload() *models.Errors
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 ¶
func (o *GetScanDataExportExecutionForbidden) IsCode(code int) bool
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 ¶
func (o *GetScanDataExportExecutionForbidden) IsSuccess() bool
IsSuccess returns true when this get scan data export execution forbidden response has a 2xx status code
func (*GetScanDataExportExecutionForbidden) String ¶
func (o *GetScanDataExportExecutionForbidden) String() 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 (o *GetScanDataExportExecutionInternalServerError) Error() string
func (*GetScanDataExportExecutionInternalServerError) GetPayload ¶
func (o *GetScanDataExportExecutionInternalServerError) GetPayload() *models.Errors
func (*GetScanDataExportExecutionInternalServerError) IsClientError ¶
func (o *GetScanDataExportExecutionInternalServerError) IsClientError() bool
IsClientError returns true when this get scan data export execution internal server error response has a 4xx status code
func (*GetScanDataExportExecutionInternalServerError) IsCode ¶
func (o *GetScanDataExportExecutionInternalServerError) IsCode(code int) bool
IsCode returns true when this get scan data export execution internal server error response a status code equal to that given
func (*GetScanDataExportExecutionInternalServerError) IsRedirect ¶
func (o *GetScanDataExportExecutionInternalServerError) IsRedirect() bool
IsRedirect returns true when this get scan data export execution internal server error response has a 3xx status code
func (*GetScanDataExportExecutionInternalServerError) IsServerError ¶
func (o *GetScanDataExportExecutionInternalServerError) IsServerError() bool
IsServerError returns true when this get scan data export execution internal server error response has a 5xx status code
func (*GetScanDataExportExecutionInternalServerError) IsSuccess ¶
func (o *GetScanDataExportExecutionInternalServerError) IsSuccess() bool
IsSuccess returns true when this get scan data export execution internal server error response has a 2xx status code
func (*GetScanDataExportExecutionInternalServerError) String ¶
func (o *GetScanDataExportExecutionInternalServerError) String() 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 (o *GetScanDataExportExecutionListForbidden) Error() string
func (*GetScanDataExportExecutionListForbidden) GetPayload ¶
func (o *GetScanDataExportExecutionListForbidden) GetPayload() *models.Errors
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 ¶
func (o *GetScanDataExportExecutionListForbidden) IsCode(code int) bool
IsCode returns true when this get scan data export execution list forbidden response a status code equal to that given
func (*GetScanDataExportExecutionListForbidden) IsRedirect ¶
func (o *GetScanDataExportExecutionListForbidden) IsRedirect() bool
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 ¶
func (o *GetScanDataExportExecutionListForbidden) IsSuccess() bool
IsSuccess returns true when this get scan data export execution list forbidden response has a 2xx status code
func (*GetScanDataExportExecutionListForbidden) String ¶
func (o *GetScanDataExportExecutionListForbidden) String() 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 (o *GetScanDataExportExecutionListInternalServerError) Error() string
func (*GetScanDataExportExecutionListInternalServerError) GetPayload ¶
func (o *GetScanDataExportExecutionListInternalServerError) GetPayload() *models.Errors
func (*GetScanDataExportExecutionListInternalServerError) IsClientError ¶
func (o *GetScanDataExportExecutionListInternalServerError) IsClientError() bool
IsClientError returns true when this get scan data export execution list internal server error response has a 4xx status code
func (*GetScanDataExportExecutionListInternalServerError) IsCode ¶
func (o *GetScanDataExportExecutionListInternalServerError) IsCode(code int) bool
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 ¶
func (o *GetScanDataExportExecutionListInternalServerError) IsRedirect() bool
IsRedirect returns true when this get scan data export execution list internal server error response has a 3xx status code
func (*GetScanDataExportExecutionListInternalServerError) IsServerError ¶
func (o *GetScanDataExportExecutionListInternalServerError) IsServerError() bool
IsServerError returns true when this get scan data export execution list internal server error response has a 5xx status code
func (*GetScanDataExportExecutionListInternalServerError) IsSuccess ¶
func (o *GetScanDataExportExecutionListInternalServerError) IsSuccess() bool
IsSuccess returns true when this get scan data export execution list internal server error response has a 2xx status code
func (*GetScanDataExportExecutionListInternalServerError) String ¶
func (o *GetScanDataExportExecutionListInternalServerError) String() 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 (o *GetScanDataExportExecutionListNotFound) Error() string
func (*GetScanDataExportExecutionListNotFound) GetPayload ¶
func (o *GetScanDataExportExecutionListNotFound) GetPayload() *models.Errors
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 ¶
func (o *GetScanDataExportExecutionListNotFound) IsCode(code int) bool
IsCode returns true when this get scan data export execution list not found response a status code equal to that given
func (*GetScanDataExportExecutionListNotFound) IsRedirect ¶
func (o *GetScanDataExportExecutionListNotFound) IsRedirect() bool
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 ¶
func (o *GetScanDataExportExecutionListNotFound) IsSuccess() bool
IsSuccess returns true when this get scan data export execution list not found response has a 2xx status code
func (*GetScanDataExportExecutionListNotFound) String ¶
func (o *GetScanDataExportExecutionListNotFound) String() 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 (o *GetScanDataExportExecutionListOK) Error() string
func (*GetScanDataExportExecutionListOK) GetPayload ¶
func (o *GetScanDataExportExecutionListOK) GetPayload() *models.ScanDataExportExecutionList
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 ¶
func (o *GetScanDataExportExecutionListOK) String() 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 ¶
func (o *GetScanDataExportExecutionListParams) SetContext(ctx context.Context)
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 ¶
func (o *GetScanDataExportExecutionListParams) WithContext(ctx context.Context) *GetScanDataExportExecutionListParams
WithContext adds the context to the get scan data export execution list params
func (*GetScanDataExportExecutionListParams) WithDefaults ¶
func (o *GetScanDataExportExecutionListParams) WithDefaults() *GetScanDataExportExecutionListParams
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 ¶
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 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 (o *GetScanDataExportExecutionListUnauthorized) Error() string
func (*GetScanDataExportExecutionListUnauthorized) GetPayload ¶
func (o *GetScanDataExportExecutionListUnauthorized) GetPayload() *models.Errors
func (*GetScanDataExportExecutionListUnauthorized) IsClientError ¶
func (o *GetScanDataExportExecutionListUnauthorized) IsClientError() bool
IsClientError returns true when this get scan data export execution list unauthorized response has a 4xx status code
func (*GetScanDataExportExecutionListUnauthorized) IsCode ¶
func (o *GetScanDataExportExecutionListUnauthorized) IsCode(code int) bool
IsCode returns true when this get scan data export execution list unauthorized response a status code equal to that given
func (*GetScanDataExportExecutionListUnauthorized) IsRedirect ¶
func (o *GetScanDataExportExecutionListUnauthorized) IsRedirect() bool
IsRedirect returns true when this get scan data export execution list unauthorized response has a 3xx status code
func (*GetScanDataExportExecutionListUnauthorized) IsServerError ¶
func (o *GetScanDataExportExecutionListUnauthorized) IsServerError() bool
IsServerError returns true when this get scan data export execution list unauthorized response has a 5xx status code
func (*GetScanDataExportExecutionListUnauthorized) IsSuccess ¶
func (o *GetScanDataExportExecutionListUnauthorized) IsSuccess() bool
IsSuccess returns true when this get scan data export execution list unauthorized response has a 2xx status code
func (*GetScanDataExportExecutionListUnauthorized) String ¶
func (o *GetScanDataExportExecutionListUnauthorized) String() 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 (o *GetScanDataExportExecutionNotFound) Error() string
func (*GetScanDataExportExecutionNotFound) GetPayload ¶
func (o *GetScanDataExportExecutionNotFound) GetPayload() *models.Errors
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 ¶
func (o *GetScanDataExportExecutionNotFound) IsCode(code int) bool
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 ¶
func (o *GetScanDataExportExecutionNotFound) IsSuccess() bool
IsSuccess returns true when this get scan data export execution not found response has a 2xx status code
func (*GetScanDataExportExecutionNotFound) String ¶
func (o *GetScanDataExportExecutionNotFound) String() 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 (o *GetScanDataExportExecutionOK) Error() string
func (*GetScanDataExportExecutionOK) GetPayload ¶
func (o *GetScanDataExportExecutionOK) GetPayload() *models.ScanDataExportExecution
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 ¶
func (o *GetScanDataExportExecutionOK) String() 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 ¶
func (o *GetScanDataExportExecutionParams) SetContext(ctx context.Context)
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 ¶
func (o *GetScanDataExportExecutionParams) WithContext(ctx context.Context) *GetScanDataExportExecutionParams
WithContext adds the context to the get scan data export execution params
func (*GetScanDataExportExecutionParams) WithDefaults ¶
func (o *GetScanDataExportExecutionParams) WithDefaults() *GetScanDataExportExecutionParams
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 ¶
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 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 (o *GetScanDataExportExecutionUnauthorized) Error() string
func (*GetScanDataExportExecutionUnauthorized) GetPayload ¶
func (o *GetScanDataExportExecutionUnauthorized) GetPayload() *models.Errors
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 ¶
func (o *GetScanDataExportExecutionUnauthorized) IsCode(code int) bool
IsCode returns true when this get scan data export execution unauthorized response a status code equal to that given
func (*GetScanDataExportExecutionUnauthorized) IsRedirect ¶
func (o *GetScanDataExportExecutionUnauthorized) IsRedirect() bool
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 ¶
func (o *GetScanDataExportExecutionUnauthorized) IsSuccess() bool
IsSuccess returns true when this get scan data export execution unauthorized response has a 2xx status code
func (*GetScanDataExportExecutionUnauthorized) String ¶
func (o *GetScanDataExportExecutionUnauthorized) String() string
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