falconx_sandbox

package
v0.2.35 Latest Latest
Warning

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

Go to latest
Published: May 3, 2023 License: MIT Imports: 11 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

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

Client for falconx sandbox API

func (*Client) DeleteReport

func (a *Client) DeleteReport(params *DeleteReportParams, opts ...ClientOption) (*DeleteReportAccepted, error)

DeleteReport deletes report based on the report ID operation can be checked for success by polling for the report ID on the report summaries endpoint

func (*Client) DeleteSampleV2

func (a *Client) DeleteSampleV2(params *DeleteSampleV2Params, opts ...ClientOption) (*DeleteSampleV2OK, error)

DeleteSampleV2 removes a sample including file meta and submissions from the collection

func (*Client) GetArtifacts

func (a *Client) GetArtifacts(params *GetArtifactsParams, opts ...ClientOption) error

GetArtifacts downloads i o c packs p c a p files memory dumps and other analysis artifacts

func (*Client) GetReports

func (a *Client) GetReports(params *GetReportsParams, opts ...ClientOption) (*GetReportsOK, error)

GetReports gets a full sandbox report

func (*Client) GetSampleV2

func (a *Client) GetSampleV2(params *GetSampleV2Params, opts ...ClientOption) (*GetSampleV2OK, error)

GetSampleV2 retrieves the file associated with the given ID s h a256

func (*Client) GetSubmissions

func (a *Client) GetSubmissions(params *GetSubmissionsParams, opts ...ClientOption) (*GetSubmissionsOK, error)

GetSubmissions checks the status of a sandbox analysis time required for analysis varies but is usually less than 15 minutes

func (*Client) GetSummaryReports

func (a *Client) GetSummaryReports(params *GetSummaryReportsParams, opts ...ClientOption) (*GetSummaryReportsOK, error)

GetSummaryReports gets a short summary version of a sandbox report

func (*Client) QueryReports

func (a *Client) QueryReports(params *QueryReportsParams, opts ...ClientOption) (*QueryReportsOK, error)

QueryReports finds sandbox reports by providing an f q l filter and paging details returns a set of report i ds that match your criteria

func (*Client) QuerySampleV1

func (a *Client) QuerySampleV1(params *QuerySampleV1Params, opts ...ClientOption) (*QuerySampleV1OK, error)

QuerySampleV1 retrieves a list with sha256 of samples that exist and customer has rights to access them maximum number of accepted items is 200

func (*Client) QuerySubmissions

func (a *Client) QuerySubmissions(params *QuerySubmissionsParams, opts ...ClientOption) (*QuerySubmissionsOK, error)

QuerySubmissions finds submission i ds for uploaded files by providing an f q l filter and paging details returns a set of submission i ds that match your criteria

func (*Client) SetTransport

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

SetTransport changes the transport on the client

func (*Client) Submit

func (a *Client) Submit(params *SubmitParams, opts ...ClientOption) (*SubmitOK, error)

Submit submits an uploaded file or a URL for sandbox analysis time required for analysis varies but is usually less than 15 minutes

func (*Client) UploadSampleV2

func (a *Client) UploadSampleV2(params *UploadSampleV2Params, opts ...ClientOption) (*UploadSampleV2OK, error)

UploadSampleV2 uploads a file for sandbox analysis after uploading use falconx entities submissions v1 to start analyzing the file

type ClientOption

type ClientOption func(*runtime.ClientOperation)

ClientOption is the option for Client methods

type ClientService

type ClientService interface {
	DeleteReport(params *DeleteReportParams, opts ...ClientOption) (*DeleteReportAccepted, error)

	DeleteSampleV2(params *DeleteSampleV2Params, opts ...ClientOption) (*DeleteSampleV2OK, error)

	GetArtifacts(params *GetArtifactsParams, opts ...ClientOption) error

	GetReports(params *GetReportsParams, opts ...ClientOption) (*GetReportsOK, error)

	GetSampleV2(params *GetSampleV2Params, opts ...ClientOption) (*GetSampleV2OK, error)

	GetSubmissions(params *GetSubmissionsParams, opts ...ClientOption) (*GetSubmissionsOK, error)

	GetSummaryReports(params *GetSummaryReportsParams, opts ...ClientOption) (*GetSummaryReportsOK, error)

	QueryReports(params *QueryReportsParams, opts ...ClientOption) (*QueryReportsOK, error)

	QuerySampleV1(params *QuerySampleV1Params, opts ...ClientOption) (*QuerySampleV1OK, error)

	QuerySubmissions(params *QuerySubmissionsParams, opts ...ClientOption) (*QuerySubmissionsOK, error)

	Submit(params *SubmitParams, opts ...ClientOption) (*SubmitOK, error)

	UploadSampleV2(params *UploadSampleV2Params, opts ...ClientOption) (*UploadSampleV2OK, 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 falconx sandbox API client.

type DeleteReportAccepted

type DeleteReportAccepted struct {

	/* Request limit per minute.
	 */
	XRateLimitLimit int64

	/* The number of requests remaining for the sliding one minute window.
	 */
	XRateLimitRemaining int64

	Payload *models.FalconxQueryResponse
}

DeleteReportAccepted describes a response with status code 202, with default header values.

Accepted

func NewDeleteReportAccepted

func NewDeleteReportAccepted() *DeleteReportAccepted

NewDeleteReportAccepted creates a DeleteReportAccepted with default headers values

func (*DeleteReportAccepted) Code added in v0.2.33

func (o *DeleteReportAccepted) Code() int

Code gets the status code for the delete report accepted response

func (*DeleteReportAccepted) Error

func (o *DeleteReportAccepted) Error() string

func (*DeleteReportAccepted) GetPayload

func (*DeleteReportAccepted) IsClientError added in v0.2.27

func (o *DeleteReportAccepted) IsClientError() bool

IsClientError returns true when this delete report accepted response has a 4xx status code

func (*DeleteReportAccepted) IsCode added in v0.2.27

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

IsCode returns true when this delete report accepted response a status code equal to that given

func (*DeleteReportAccepted) IsRedirect added in v0.2.27

func (o *DeleteReportAccepted) IsRedirect() bool

IsRedirect returns true when this delete report accepted response has a 3xx status code

func (*DeleteReportAccepted) IsServerError added in v0.2.27

func (o *DeleteReportAccepted) IsServerError() bool

IsServerError returns true when this delete report accepted response has a 5xx status code

func (*DeleteReportAccepted) IsSuccess added in v0.2.27

func (o *DeleteReportAccepted) IsSuccess() bool

IsSuccess returns true when this delete report accepted response has a 2xx status code

func (*DeleteReportAccepted) String added in v0.2.27

func (o *DeleteReportAccepted) String() string

type DeleteReportBadRequest

type DeleteReportBadRequest struct {

	/* Request limit per minute.
	 */
	XRateLimitLimit int64

	/* The number of requests remaining for the sliding one minute window.
	 */
	XRateLimitRemaining int64

	Payload *models.FalconxErrorsOnly
}

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

Bad Request

func NewDeleteReportBadRequest

func NewDeleteReportBadRequest() *DeleteReportBadRequest

NewDeleteReportBadRequest creates a DeleteReportBadRequest with default headers values

func (*DeleteReportBadRequest) Code added in v0.2.33

func (o *DeleteReportBadRequest) Code() int

Code gets the status code for the delete report bad request response

func (*DeleteReportBadRequest) Error

func (o *DeleteReportBadRequest) Error() string

func (*DeleteReportBadRequest) GetPayload

func (*DeleteReportBadRequest) IsClientError added in v0.2.27

func (o *DeleteReportBadRequest) IsClientError() bool

IsClientError returns true when this delete report bad request response has a 4xx status code

func (*DeleteReportBadRequest) IsCode added in v0.2.27

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

IsCode returns true when this delete report bad request response a status code equal to that given

func (*DeleteReportBadRequest) IsRedirect added in v0.2.27

func (o *DeleteReportBadRequest) IsRedirect() bool

IsRedirect returns true when this delete report bad request response has a 3xx status code

func (*DeleteReportBadRequest) IsServerError added in v0.2.27

func (o *DeleteReportBadRequest) IsServerError() bool

IsServerError returns true when this delete report bad request response has a 5xx status code

func (*DeleteReportBadRequest) IsSuccess added in v0.2.27

func (o *DeleteReportBadRequest) IsSuccess() bool

IsSuccess returns true when this delete report bad request response has a 2xx status code

func (*DeleteReportBadRequest) String added in v0.2.27

func (o *DeleteReportBadRequest) String() string

type DeleteReportForbidden

type DeleteReportForbidden struct {

	/* Request limit per minute.
	 */
	XRateLimitLimit int64

	/* The number of requests remaining for the sliding one minute window.
	 */
	XRateLimitRemaining int64

	Payload *models.FalconxErrorsOnly
}

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

Forbidden

func NewDeleteReportForbidden

func NewDeleteReportForbidden() *DeleteReportForbidden

NewDeleteReportForbidden creates a DeleteReportForbidden with default headers values

func (*DeleteReportForbidden) Code added in v0.2.33

func (o *DeleteReportForbidden) Code() int

Code gets the status code for the delete report forbidden response

func (*DeleteReportForbidden) Error

func (o *DeleteReportForbidden) Error() string

func (*DeleteReportForbidden) GetPayload

func (*DeleteReportForbidden) IsClientError added in v0.2.27

func (o *DeleteReportForbidden) IsClientError() bool

IsClientError returns true when this delete report forbidden response has a 4xx status code

func (*DeleteReportForbidden) IsCode added in v0.2.27

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

IsCode returns true when this delete report forbidden response a status code equal to that given

func (*DeleteReportForbidden) IsRedirect added in v0.2.27

func (o *DeleteReportForbidden) IsRedirect() bool

IsRedirect returns true when this delete report forbidden response has a 3xx status code

func (*DeleteReportForbidden) IsServerError added in v0.2.27

func (o *DeleteReportForbidden) IsServerError() bool

IsServerError returns true when this delete report forbidden response has a 5xx status code

func (*DeleteReportForbidden) IsSuccess added in v0.2.27

func (o *DeleteReportForbidden) IsSuccess() bool

IsSuccess returns true when this delete report forbidden response has a 2xx status code

func (*DeleteReportForbidden) String added in v0.2.27

func (o *DeleteReportForbidden) String() string

type DeleteReportInternalServerError

type DeleteReportInternalServerError struct {

	/* Request limit per minute.
	 */
	XRateLimitLimit int64

	/* The number of requests remaining for the sliding one minute window.
	 */
	XRateLimitRemaining int64

	Payload *models.FalconxErrorsOnly
}

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

Internal Server Error

func NewDeleteReportInternalServerError

func NewDeleteReportInternalServerError() *DeleteReportInternalServerError

NewDeleteReportInternalServerError creates a DeleteReportInternalServerError with default headers values

func (*DeleteReportInternalServerError) Code added in v0.2.33

Code gets the status code for the delete report internal server error response

func (*DeleteReportInternalServerError) Error

func (*DeleteReportInternalServerError) GetPayload

func (*DeleteReportInternalServerError) IsClientError added in v0.2.27

func (o *DeleteReportInternalServerError) IsClientError() bool

IsClientError returns true when this delete report internal server error response has a 4xx status code

func (*DeleteReportInternalServerError) IsCode added in v0.2.27

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

IsCode returns true when this delete report internal server error response a status code equal to that given

func (*DeleteReportInternalServerError) IsRedirect added in v0.2.27

func (o *DeleteReportInternalServerError) IsRedirect() bool

IsRedirect returns true when this delete report internal server error response has a 3xx status code

func (*DeleteReportInternalServerError) IsServerError added in v0.2.27

func (o *DeleteReportInternalServerError) IsServerError() bool

IsServerError returns true when this delete report internal server error response has a 5xx status code

func (*DeleteReportInternalServerError) IsSuccess added in v0.2.27

func (o *DeleteReportInternalServerError) IsSuccess() bool

IsSuccess returns true when this delete report internal server error response has a 2xx status code

func (*DeleteReportInternalServerError) String added in v0.2.27

type DeleteReportNotFound

type DeleteReportNotFound struct {

	/* Request limit per minute.
	 */
	XRateLimitLimit int64

	/* The number of requests remaining for the sliding one minute window.
	 */
	XRateLimitRemaining int64

	Payload *models.FalconxErrorsOnly
}

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

Not Found

func NewDeleteReportNotFound

func NewDeleteReportNotFound() *DeleteReportNotFound

NewDeleteReportNotFound creates a DeleteReportNotFound with default headers values

func (*DeleteReportNotFound) Code added in v0.2.33

func (o *DeleteReportNotFound) Code() int

Code gets the status code for the delete report not found response

func (*DeleteReportNotFound) Error

func (o *DeleteReportNotFound) Error() string

func (*DeleteReportNotFound) GetPayload

func (*DeleteReportNotFound) IsClientError added in v0.2.27

func (o *DeleteReportNotFound) IsClientError() bool

IsClientError returns true when this delete report not found response has a 4xx status code

func (*DeleteReportNotFound) IsCode added in v0.2.27

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

IsCode returns true when this delete report not found response a status code equal to that given

func (*DeleteReportNotFound) IsRedirect added in v0.2.27

func (o *DeleteReportNotFound) IsRedirect() bool

IsRedirect returns true when this delete report not found response has a 3xx status code

func (*DeleteReportNotFound) IsServerError added in v0.2.27

func (o *DeleteReportNotFound) IsServerError() bool

IsServerError returns true when this delete report not found response has a 5xx status code

func (*DeleteReportNotFound) IsSuccess added in v0.2.27

func (o *DeleteReportNotFound) IsSuccess() bool

IsSuccess returns true when this delete report not found response has a 2xx status code

func (*DeleteReportNotFound) String added in v0.2.27

func (o *DeleteReportNotFound) String() string

type DeleteReportParams

type DeleteReportParams struct {

	/* Ids.

	   ID of a report.
	*/
	Ids string

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

DeleteReportParams contains all the parameters to send to the API endpoint

for the delete report operation.

Typically these are written to a http.Request.

func NewDeleteReportParams

func NewDeleteReportParams() *DeleteReportParams

NewDeleteReportParams creates a new DeleteReportParams 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 NewDeleteReportParamsWithContext

func NewDeleteReportParamsWithContext(ctx context.Context) *DeleteReportParams

NewDeleteReportParamsWithContext creates a new DeleteReportParams object with the ability to set a context for a request.

func NewDeleteReportParamsWithHTTPClient

func NewDeleteReportParamsWithHTTPClient(client *http.Client) *DeleteReportParams

NewDeleteReportParamsWithHTTPClient creates a new DeleteReportParams object with the ability to set a custom HTTPClient for a request.

func NewDeleteReportParamsWithTimeout

func NewDeleteReportParamsWithTimeout(timeout time.Duration) *DeleteReportParams

NewDeleteReportParamsWithTimeout creates a new DeleteReportParams object with the ability to set a timeout on a request.

func (*DeleteReportParams) SetContext

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

SetContext adds the context to the delete report params

func (*DeleteReportParams) SetDefaults

func (o *DeleteReportParams) SetDefaults()

SetDefaults hydrates default values in the delete report params (not the query body).

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

func (*DeleteReportParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the delete report params

func (*DeleteReportParams) SetIds

func (o *DeleteReportParams) SetIds(ids string)

SetIds adds the ids to the delete report params

func (*DeleteReportParams) SetTimeout

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

SetTimeout adds the timeout to the delete report params

func (*DeleteReportParams) WithContext

WithContext adds the context to the delete report params

func (*DeleteReportParams) WithDefaults

func (o *DeleteReportParams) WithDefaults() *DeleteReportParams

WithDefaults hydrates default values in the delete report params (not the query body).

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

func (*DeleteReportParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the delete report params

func (*DeleteReportParams) WithIds

func (o *DeleteReportParams) WithIds(ids string) *DeleteReportParams

WithIds adds the ids to the delete report params

func (*DeleteReportParams) WithTimeout

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

WithTimeout adds the timeout to the delete report params

func (*DeleteReportParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type DeleteReportReader

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

DeleteReportReader is a Reader for the DeleteReport structure.

func (*DeleteReportReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type DeleteReportTooManyRequests

type DeleteReportTooManyRequests struct {

	/* Request limit per minute.
	 */
	XRateLimitLimit int64

	/* The number of requests remaining for the sliding one minute window.
	 */
	XRateLimitRemaining int64

	/* Too many requests, retry after this time (as milliseconds since epoch)
	 */
	XRateLimitRetryAfter int64

	Payload *models.MsaReplyMetaOnly
}

DeleteReportTooManyRequests describes a response with status code 429, with default header values.

Too Many Requests

func NewDeleteReportTooManyRequests

func NewDeleteReportTooManyRequests() *DeleteReportTooManyRequests

NewDeleteReportTooManyRequests creates a DeleteReportTooManyRequests with default headers values

func (*DeleteReportTooManyRequests) Code added in v0.2.33

func (o *DeleteReportTooManyRequests) Code() int

Code gets the status code for the delete report too many requests response

func (*DeleteReportTooManyRequests) Error

func (*DeleteReportTooManyRequests) GetPayload

func (*DeleteReportTooManyRequests) IsClientError added in v0.2.27

func (o *DeleteReportTooManyRequests) IsClientError() bool

IsClientError returns true when this delete report too many requests response has a 4xx status code

func (*DeleteReportTooManyRequests) IsCode added in v0.2.27

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

IsCode returns true when this delete report too many requests response a status code equal to that given

func (*DeleteReportTooManyRequests) IsRedirect added in v0.2.27

func (o *DeleteReportTooManyRequests) IsRedirect() bool

IsRedirect returns true when this delete report too many requests response has a 3xx status code

func (*DeleteReportTooManyRequests) IsServerError added in v0.2.27

func (o *DeleteReportTooManyRequests) IsServerError() bool

IsServerError returns true when this delete report too many requests response has a 5xx status code

func (*DeleteReportTooManyRequests) IsSuccess added in v0.2.27

func (o *DeleteReportTooManyRequests) IsSuccess() bool

IsSuccess returns true when this delete report too many requests response has a 2xx status code

func (*DeleteReportTooManyRequests) String added in v0.2.27

func (o *DeleteReportTooManyRequests) String() string

type DeleteSampleV2BadRequest

type DeleteSampleV2BadRequest struct {

	/* Trace-ID: submit to support if resolving an issue
	 */
	XCSTRACEID string

	/* Request limit per minute.
	 */
	XRateLimitLimit int64

	/* The number of requests remaining for the sliding one minute window.
	 */
	XRateLimitRemaining int64

	Payload *models.MsaQueryResponse
}

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

Bad Request

func NewDeleteSampleV2BadRequest

func NewDeleteSampleV2BadRequest() *DeleteSampleV2BadRequest

NewDeleteSampleV2BadRequest creates a DeleteSampleV2BadRequest with default headers values

func (*DeleteSampleV2BadRequest) Code added in v0.2.33

func (o *DeleteSampleV2BadRequest) Code() int

Code gets the status code for the delete sample v2 bad request response

func (*DeleteSampleV2BadRequest) Error

func (o *DeleteSampleV2BadRequest) Error() string

func (*DeleteSampleV2BadRequest) GetPayload

func (*DeleteSampleV2BadRequest) IsClientError added in v0.2.27

func (o *DeleteSampleV2BadRequest) IsClientError() bool

IsClientError returns true when this delete sample v2 bad request response has a 4xx status code

func (*DeleteSampleV2BadRequest) IsCode added in v0.2.27

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

IsCode returns true when this delete sample v2 bad request response a status code equal to that given

func (*DeleteSampleV2BadRequest) IsRedirect added in v0.2.27

func (o *DeleteSampleV2BadRequest) IsRedirect() bool

IsRedirect returns true when this delete sample v2 bad request response has a 3xx status code

func (*DeleteSampleV2BadRequest) IsServerError added in v0.2.27

func (o *DeleteSampleV2BadRequest) IsServerError() bool

IsServerError returns true when this delete sample v2 bad request response has a 5xx status code

func (*DeleteSampleV2BadRequest) IsSuccess added in v0.2.27

func (o *DeleteSampleV2BadRequest) IsSuccess() bool

IsSuccess returns true when this delete sample v2 bad request response has a 2xx status code

func (*DeleteSampleV2BadRequest) String added in v0.2.27

func (o *DeleteSampleV2BadRequest) String() string

type DeleteSampleV2Default

type DeleteSampleV2Default struct {
	Payload *models.MsaQueryResponse
	// contains filtered or unexported fields
}

DeleteSampleV2Default describes a response with status code -1, with default header values.

OK

func NewDeleteSampleV2Default

func NewDeleteSampleV2Default(code int) *DeleteSampleV2Default

NewDeleteSampleV2Default creates a DeleteSampleV2Default with default headers values

func (*DeleteSampleV2Default) Code

func (o *DeleteSampleV2Default) Code() int

Code gets the status code for the delete sample v2 default response

func (*DeleteSampleV2Default) Error

func (o *DeleteSampleV2Default) Error() string

func (*DeleteSampleV2Default) GetPayload

func (*DeleteSampleV2Default) IsClientError added in v0.2.27

func (o *DeleteSampleV2Default) IsClientError() bool

IsClientError returns true when this delete sample v2 default response has a 4xx status code

func (*DeleteSampleV2Default) IsCode added in v0.2.27

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

IsCode returns true when this delete sample v2 default response a status code equal to that given

func (*DeleteSampleV2Default) IsRedirect added in v0.2.27

func (o *DeleteSampleV2Default) IsRedirect() bool

IsRedirect returns true when this delete sample v2 default response has a 3xx status code

func (*DeleteSampleV2Default) IsServerError added in v0.2.27

func (o *DeleteSampleV2Default) IsServerError() bool

IsServerError returns true when this delete sample v2 default response has a 5xx status code

func (*DeleteSampleV2Default) IsSuccess added in v0.2.27

func (o *DeleteSampleV2Default) IsSuccess() bool

IsSuccess returns true when this delete sample v2 default response has a 2xx status code

func (*DeleteSampleV2Default) String added in v0.2.27

func (o *DeleteSampleV2Default) String() string

type DeleteSampleV2Forbidden

type DeleteSampleV2Forbidden struct {

	/* Trace-ID: submit to support if resolving an issue
	 */
	XCSTRACEID string

	/* Request limit per minute.
	 */
	XRateLimitLimit int64

	/* The number of requests remaining for the sliding one minute window.
	 */
	XRateLimitRemaining int64

	Payload *models.MsaQueryResponse
}

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

Forbidden

func NewDeleteSampleV2Forbidden

func NewDeleteSampleV2Forbidden() *DeleteSampleV2Forbidden

NewDeleteSampleV2Forbidden creates a DeleteSampleV2Forbidden with default headers values

func (*DeleteSampleV2Forbidden) Code added in v0.2.33

func (o *DeleteSampleV2Forbidden) Code() int

Code gets the status code for the delete sample v2 forbidden response

func (*DeleteSampleV2Forbidden) Error

func (o *DeleteSampleV2Forbidden) Error() string

func (*DeleteSampleV2Forbidden) GetPayload

func (*DeleteSampleV2Forbidden) IsClientError added in v0.2.27

func (o *DeleteSampleV2Forbidden) IsClientError() bool

IsClientError returns true when this delete sample v2 forbidden response has a 4xx status code

func (*DeleteSampleV2Forbidden) IsCode added in v0.2.27

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

IsCode returns true when this delete sample v2 forbidden response a status code equal to that given

func (*DeleteSampleV2Forbidden) IsRedirect added in v0.2.27

func (o *DeleteSampleV2Forbidden) IsRedirect() bool

IsRedirect returns true when this delete sample v2 forbidden response has a 3xx status code

func (*DeleteSampleV2Forbidden) IsServerError added in v0.2.27

func (o *DeleteSampleV2Forbidden) IsServerError() bool

IsServerError returns true when this delete sample v2 forbidden response has a 5xx status code

func (*DeleteSampleV2Forbidden) IsSuccess added in v0.2.27

func (o *DeleteSampleV2Forbidden) IsSuccess() bool

IsSuccess returns true when this delete sample v2 forbidden response has a 2xx status code

func (*DeleteSampleV2Forbidden) String added in v0.2.27

func (o *DeleteSampleV2Forbidden) String() string

type DeleteSampleV2InternalServerError

type DeleteSampleV2InternalServerError struct {

	/* Trace-ID: submit to support if resolving an issue
	 */
	XCSTRACEID string

	/* Request limit per minute.
	 */
	XRateLimitLimit int64

	/* The number of requests remaining for the sliding one minute window.
	 */
	XRateLimitRemaining int64

	Payload *models.MsaQueryResponse
}

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

Internal Server Error

func NewDeleteSampleV2InternalServerError

func NewDeleteSampleV2InternalServerError() *DeleteSampleV2InternalServerError

NewDeleteSampleV2InternalServerError creates a DeleteSampleV2InternalServerError with default headers values

func (*DeleteSampleV2InternalServerError) Code added in v0.2.33

Code gets the status code for the delete sample v2 internal server error response

func (*DeleteSampleV2InternalServerError) Error

func (*DeleteSampleV2InternalServerError) GetPayload

func (*DeleteSampleV2InternalServerError) IsClientError added in v0.2.27

func (o *DeleteSampleV2InternalServerError) IsClientError() bool

IsClientError returns true when this delete sample v2 internal server error response has a 4xx status code

func (*DeleteSampleV2InternalServerError) IsCode added in v0.2.27

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

IsCode returns true when this delete sample v2 internal server error response a status code equal to that given

func (*DeleteSampleV2InternalServerError) IsRedirect added in v0.2.27

func (o *DeleteSampleV2InternalServerError) IsRedirect() bool

IsRedirect returns true when this delete sample v2 internal server error response has a 3xx status code

func (*DeleteSampleV2InternalServerError) IsServerError added in v0.2.27

func (o *DeleteSampleV2InternalServerError) IsServerError() bool

IsServerError returns true when this delete sample v2 internal server error response has a 5xx status code

func (*DeleteSampleV2InternalServerError) IsSuccess added in v0.2.27

func (o *DeleteSampleV2InternalServerError) IsSuccess() bool

IsSuccess returns true when this delete sample v2 internal server error response has a 2xx status code

func (*DeleteSampleV2InternalServerError) String added in v0.2.27

type DeleteSampleV2NotFound

type DeleteSampleV2NotFound struct {

	/* Trace-ID: submit to support if resolving an issue
	 */
	XCSTRACEID string

	/* Request limit per minute.
	 */
	XRateLimitLimit int64

	/* The number of requests remaining for the sliding one minute window.
	 */
	XRateLimitRemaining int64

	Payload *models.MsaQueryResponse
}

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

Not Found

func NewDeleteSampleV2NotFound

func NewDeleteSampleV2NotFound() *DeleteSampleV2NotFound

NewDeleteSampleV2NotFound creates a DeleteSampleV2NotFound with default headers values

func (*DeleteSampleV2NotFound) Code added in v0.2.33

func (o *DeleteSampleV2NotFound) Code() int

Code gets the status code for the delete sample v2 not found response

func (*DeleteSampleV2NotFound) Error

func (o *DeleteSampleV2NotFound) Error() string

func (*DeleteSampleV2NotFound) GetPayload

func (*DeleteSampleV2NotFound) IsClientError added in v0.2.27

func (o *DeleteSampleV2NotFound) IsClientError() bool

IsClientError returns true when this delete sample v2 not found response has a 4xx status code

func (*DeleteSampleV2NotFound) IsCode added in v0.2.27

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

IsCode returns true when this delete sample v2 not found response a status code equal to that given

func (*DeleteSampleV2NotFound) IsRedirect added in v0.2.27

func (o *DeleteSampleV2NotFound) IsRedirect() bool

IsRedirect returns true when this delete sample v2 not found response has a 3xx status code

func (*DeleteSampleV2NotFound) IsServerError added in v0.2.27

func (o *DeleteSampleV2NotFound) IsServerError() bool

IsServerError returns true when this delete sample v2 not found response has a 5xx status code

func (*DeleteSampleV2NotFound) IsSuccess added in v0.2.27

func (o *DeleteSampleV2NotFound) IsSuccess() bool

IsSuccess returns true when this delete sample v2 not found response has a 2xx status code

func (*DeleteSampleV2NotFound) String added in v0.2.27

func (o *DeleteSampleV2NotFound) String() string

type DeleteSampleV2OK

type DeleteSampleV2OK struct {

	/* Trace-ID: submit to support if resolving an issue
	 */
	XCSTRACEID string

	/* Request limit per minute.
	 */
	XRateLimitLimit int64

	/* The number of requests remaining for the sliding one minute window.
	 */
	XRateLimitRemaining int64

	Payload *models.MsaQueryResponse
}

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

OK

func NewDeleteSampleV2OK

func NewDeleteSampleV2OK() *DeleteSampleV2OK

NewDeleteSampleV2OK creates a DeleteSampleV2OK with default headers values

func (*DeleteSampleV2OK) Code added in v0.2.33

func (o *DeleteSampleV2OK) Code() int

Code gets the status code for the delete sample v2 o k response

func (*DeleteSampleV2OK) Error

func (o *DeleteSampleV2OK) Error() string

func (*DeleteSampleV2OK) GetPayload

func (o *DeleteSampleV2OK) GetPayload() *models.MsaQueryResponse

func (*DeleteSampleV2OK) IsClientError added in v0.2.27

func (o *DeleteSampleV2OK) IsClientError() bool

IsClientError returns true when this delete sample v2 o k response has a 4xx status code

func (*DeleteSampleV2OK) IsCode added in v0.2.27

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

IsCode returns true when this delete sample v2 o k response a status code equal to that given

func (*DeleteSampleV2OK) IsRedirect added in v0.2.27

func (o *DeleteSampleV2OK) IsRedirect() bool

IsRedirect returns true when this delete sample v2 o k response has a 3xx status code

func (*DeleteSampleV2OK) IsServerError added in v0.2.27

func (o *DeleteSampleV2OK) IsServerError() bool

IsServerError returns true when this delete sample v2 o k response has a 5xx status code

func (*DeleteSampleV2OK) IsSuccess added in v0.2.27

func (o *DeleteSampleV2OK) IsSuccess() bool

IsSuccess returns true when this delete sample v2 o k response has a 2xx status code

func (*DeleteSampleV2OK) String added in v0.2.27

func (o *DeleteSampleV2OK) String() string

type DeleteSampleV2Params

type DeleteSampleV2Params struct {

	/* Ids.

	   The file SHA256.
	*/
	Ids string

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

DeleteSampleV2Params contains all the parameters to send to the API endpoint

for the delete sample v2 operation.

Typically these are written to a http.Request.

func NewDeleteSampleV2Params

func NewDeleteSampleV2Params() *DeleteSampleV2Params

NewDeleteSampleV2Params creates a new DeleteSampleV2Params 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 NewDeleteSampleV2ParamsWithContext

func NewDeleteSampleV2ParamsWithContext(ctx context.Context) *DeleteSampleV2Params

NewDeleteSampleV2ParamsWithContext creates a new DeleteSampleV2Params object with the ability to set a context for a request.

func NewDeleteSampleV2ParamsWithHTTPClient

func NewDeleteSampleV2ParamsWithHTTPClient(client *http.Client) *DeleteSampleV2Params

NewDeleteSampleV2ParamsWithHTTPClient creates a new DeleteSampleV2Params object with the ability to set a custom HTTPClient for a request.

func NewDeleteSampleV2ParamsWithTimeout

func NewDeleteSampleV2ParamsWithTimeout(timeout time.Duration) *DeleteSampleV2Params

NewDeleteSampleV2ParamsWithTimeout creates a new DeleteSampleV2Params object with the ability to set a timeout on a request.

func (*DeleteSampleV2Params) SetContext

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

SetContext adds the context to the delete sample v2 params

func (*DeleteSampleV2Params) SetDefaults

func (o *DeleteSampleV2Params) SetDefaults()

SetDefaults hydrates default values in the delete sample v2 params (not the query body).

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

func (*DeleteSampleV2Params) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the delete sample v2 params

func (*DeleteSampleV2Params) SetIds

func (o *DeleteSampleV2Params) SetIds(ids string)

SetIds adds the ids to the delete sample v2 params

func (*DeleteSampleV2Params) SetTimeout

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

SetTimeout adds the timeout to the delete sample v2 params

func (*DeleteSampleV2Params) WithContext

WithContext adds the context to the delete sample v2 params

func (*DeleteSampleV2Params) WithDefaults

func (o *DeleteSampleV2Params) WithDefaults() *DeleteSampleV2Params

WithDefaults hydrates default values in the delete sample v2 params (not the query body).

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

func (*DeleteSampleV2Params) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the delete sample v2 params

func (*DeleteSampleV2Params) WithIds

WithIds adds the ids to the delete sample v2 params

func (*DeleteSampleV2Params) WithTimeout

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

WithTimeout adds the timeout to the delete sample v2 params

func (*DeleteSampleV2Params) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type DeleteSampleV2Reader

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

DeleteSampleV2Reader is a Reader for the DeleteSampleV2 structure.

func (*DeleteSampleV2Reader) ReadResponse

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

ReadResponse reads a server response into the received o.

type DeleteSampleV2TooManyRequests

type DeleteSampleV2TooManyRequests struct {

	/* Trace-ID: submit to support if resolving an issue
	 */
	XCSTRACEID string

	/* Request limit per minute.
	 */
	XRateLimitLimit int64

	/* The number of requests remaining for the sliding one minute window.
	 */
	XRateLimitRemaining int64

	/* Too many requests, retry after this time (as milliseconds since epoch)
	 */
	XRateLimitRetryAfter int64

	Payload *models.MsaReplyMetaOnly
}

DeleteSampleV2TooManyRequests describes a response with status code 429, with default header values.

Too Many Requests

func NewDeleteSampleV2TooManyRequests

func NewDeleteSampleV2TooManyRequests() *DeleteSampleV2TooManyRequests

NewDeleteSampleV2TooManyRequests creates a DeleteSampleV2TooManyRequests with default headers values

func (*DeleteSampleV2TooManyRequests) Code added in v0.2.33

Code gets the status code for the delete sample v2 too many requests response

func (*DeleteSampleV2TooManyRequests) Error

func (*DeleteSampleV2TooManyRequests) GetPayload

func (*DeleteSampleV2TooManyRequests) IsClientError added in v0.2.27

func (o *DeleteSampleV2TooManyRequests) IsClientError() bool

IsClientError returns true when this delete sample v2 too many requests response has a 4xx status code

func (*DeleteSampleV2TooManyRequests) IsCode added in v0.2.27

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

IsCode returns true when this delete sample v2 too many requests response a status code equal to that given

func (*DeleteSampleV2TooManyRequests) IsRedirect added in v0.2.27

func (o *DeleteSampleV2TooManyRequests) IsRedirect() bool

IsRedirect returns true when this delete sample v2 too many requests response has a 3xx status code

func (*DeleteSampleV2TooManyRequests) IsServerError added in v0.2.27

func (o *DeleteSampleV2TooManyRequests) IsServerError() bool

IsServerError returns true when this delete sample v2 too many requests response has a 5xx status code

func (*DeleteSampleV2TooManyRequests) IsSuccess added in v0.2.27

func (o *DeleteSampleV2TooManyRequests) IsSuccess() bool

IsSuccess returns true when this delete sample v2 too many requests response has a 2xx status code

func (*DeleteSampleV2TooManyRequests) String added in v0.2.27

type GetArtifactsBadRequest

type GetArtifactsBadRequest struct {

	/* Trace-ID: submit to support if resolving an issue
	 */
	XCSTRACEID string

	/* Request limit per minute.
	 */
	XRateLimitLimit int64

	/* The number of requests remaining for the sliding one minute window.
	 */
	XRateLimitRemaining int64

	Payload *models.MsaReplyMetaOnly
}

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

Bad Request

func NewGetArtifactsBadRequest

func NewGetArtifactsBadRequest() *GetArtifactsBadRequest

NewGetArtifactsBadRequest creates a GetArtifactsBadRequest with default headers values

func (*GetArtifactsBadRequest) Code added in v0.2.33

func (o *GetArtifactsBadRequest) Code() int

Code gets the status code for the get artifacts bad request response

func (*GetArtifactsBadRequest) Error

func (o *GetArtifactsBadRequest) Error() string

func (*GetArtifactsBadRequest) GetPayload

func (*GetArtifactsBadRequest) IsClientError added in v0.2.27

func (o *GetArtifactsBadRequest) IsClientError() bool

IsClientError returns true when this get artifacts bad request response has a 4xx status code

func (*GetArtifactsBadRequest) IsCode added in v0.2.27

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

IsCode returns true when this get artifacts bad request response a status code equal to that given

func (*GetArtifactsBadRequest) IsRedirect added in v0.2.27

func (o *GetArtifactsBadRequest) IsRedirect() bool

IsRedirect returns true when this get artifacts bad request response has a 3xx status code

func (*GetArtifactsBadRequest) IsServerError added in v0.2.27

func (o *GetArtifactsBadRequest) IsServerError() bool

IsServerError returns true when this get artifacts bad request response has a 5xx status code

func (*GetArtifactsBadRequest) IsSuccess added in v0.2.27

func (o *GetArtifactsBadRequest) IsSuccess() bool

IsSuccess returns true when this get artifacts bad request response has a 2xx status code

func (*GetArtifactsBadRequest) String added in v0.2.27

func (o *GetArtifactsBadRequest) String() string

type GetArtifactsForbidden

type GetArtifactsForbidden struct {

	/* Trace-ID: submit to support if resolving an issue
	 */
	XCSTRACEID string

	/* Request limit per minute.
	 */
	XRateLimitLimit int64

	/* The number of requests remaining for the sliding one minute window.
	 */
	XRateLimitRemaining int64

	Payload *models.MsaReplyMetaOnly
}

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

Forbidden

func NewGetArtifactsForbidden

func NewGetArtifactsForbidden() *GetArtifactsForbidden

NewGetArtifactsForbidden creates a GetArtifactsForbidden with default headers values

func (*GetArtifactsForbidden) Code added in v0.2.33

func (o *GetArtifactsForbidden) Code() int

Code gets the status code for the get artifacts forbidden response

func (*GetArtifactsForbidden) Error

func (o *GetArtifactsForbidden) Error() string

func (*GetArtifactsForbidden) GetPayload

func (*GetArtifactsForbidden) IsClientError added in v0.2.27

func (o *GetArtifactsForbidden) IsClientError() bool

IsClientError returns true when this get artifacts forbidden response has a 4xx status code

func (*GetArtifactsForbidden) IsCode added in v0.2.27

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

IsCode returns true when this get artifacts forbidden response a status code equal to that given

func (*GetArtifactsForbidden) IsRedirect added in v0.2.27

func (o *GetArtifactsForbidden) IsRedirect() bool

IsRedirect returns true when this get artifacts forbidden response has a 3xx status code

func (*GetArtifactsForbidden) IsServerError added in v0.2.27

func (o *GetArtifactsForbidden) IsServerError() bool

IsServerError returns true when this get artifacts forbidden response has a 5xx status code

func (*GetArtifactsForbidden) IsSuccess added in v0.2.27

func (o *GetArtifactsForbidden) IsSuccess() bool

IsSuccess returns true when this get artifacts forbidden response has a 2xx status code

func (*GetArtifactsForbidden) String added in v0.2.27

func (o *GetArtifactsForbidden) String() string

type GetArtifactsInternalServerError

type GetArtifactsInternalServerError struct {

	/* Trace-ID: submit to support if resolving an issue
	 */
	XCSTRACEID string

	/* Request limit per minute.
	 */
	XRateLimitLimit int64

	/* The number of requests remaining for the sliding one minute window.
	 */
	XRateLimitRemaining int64

	Payload *models.MsaReplyMetaOnly
}

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

Internal Server Error

func NewGetArtifactsInternalServerError

func NewGetArtifactsInternalServerError() *GetArtifactsInternalServerError

NewGetArtifactsInternalServerError creates a GetArtifactsInternalServerError with default headers values

func (*GetArtifactsInternalServerError) Code added in v0.2.33

Code gets the status code for the get artifacts internal server error response

func (*GetArtifactsInternalServerError) Error

func (*GetArtifactsInternalServerError) GetPayload

func (*GetArtifactsInternalServerError) IsClientError added in v0.2.27

func (o *GetArtifactsInternalServerError) IsClientError() bool

IsClientError returns true when this get artifacts internal server error response has a 4xx status code

func (*GetArtifactsInternalServerError) IsCode added in v0.2.27

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

IsCode returns true when this get artifacts internal server error response a status code equal to that given

func (*GetArtifactsInternalServerError) IsRedirect added in v0.2.27

func (o *GetArtifactsInternalServerError) IsRedirect() bool

IsRedirect returns true when this get artifacts internal server error response has a 3xx status code

func (*GetArtifactsInternalServerError) IsServerError added in v0.2.27

func (o *GetArtifactsInternalServerError) IsServerError() bool

IsServerError returns true when this get artifacts internal server error response has a 5xx status code

func (*GetArtifactsInternalServerError) IsSuccess added in v0.2.27

func (o *GetArtifactsInternalServerError) IsSuccess() bool

IsSuccess returns true when this get artifacts internal server error response has a 2xx status code

func (*GetArtifactsInternalServerError) String added in v0.2.27

type GetArtifactsNotFound

type GetArtifactsNotFound struct {

	/* Trace-ID: submit to support if resolving an issue
	 */
	XCSTRACEID string

	/* Request limit per minute.
	 */
	XRateLimitLimit int64

	/* The number of requests remaining for the sliding one minute window.
	 */
	XRateLimitRemaining int64

	Payload *models.MsaReplyMetaOnly
}

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

Not Found

func NewGetArtifactsNotFound

func NewGetArtifactsNotFound() *GetArtifactsNotFound

NewGetArtifactsNotFound creates a GetArtifactsNotFound with default headers values

func (*GetArtifactsNotFound) Code added in v0.2.33

func (o *GetArtifactsNotFound) Code() int

Code gets the status code for the get artifacts not found response

func (*GetArtifactsNotFound) Error

func (o *GetArtifactsNotFound) Error() string

func (*GetArtifactsNotFound) GetPayload

func (o *GetArtifactsNotFound) GetPayload() *models.MsaReplyMetaOnly

func (*GetArtifactsNotFound) IsClientError added in v0.2.27

func (o *GetArtifactsNotFound) IsClientError() bool

IsClientError returns true when this get artifacts not found response has a 4xx status code

func (*GetArtifactsNotFound) IsCode added in v0.2.27

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

IsCode returns true when this get artifacts not found response a status code equal to that given

func (*GetArtifactsNotFound) IsRedirect added in v0.2.27

func (o *GetArtifactsNotFound) IsRedirect() bool

IsRedirect returns true when this get artifacts not found response has a 3xx status code

func (*GetArtifactsNotFound) IsServerError added in v0.2.27

func (o *GetArtifactsNotFound) IsServerError() bool

IsServerError returns true when this get artifacts not found response has a 5xx status code

func (*GetArtifactsNotFound) IsSuccess added in v0.2.27

func (o *GetArtifactsNotFound) IsSuccess() bool

IsSuccess returns true when this get artifacts not found response has a 2xx status code

func (*GetArtifactsNotFound) String added in v0.2.27

func (o *GetArtifactsNotFound) String() string

type GetArtifactsParams

type GetArtifactsParams struct {

	/* AcceptEncoding.

	   Format used to compress your downloaded file. Currently, you must provide the value `gzip`, the only valid format.
	*/
	AcceptEncoding *string

	/* ID.

	   ID of an artifact, such as an IOC pack, PCAP file, memory dump, or actor image. Find an artifact ID in a report or summary.
	*/
	ID string

	/* Name.

	   The name given to your downloaded file.
	*/
	Name *string

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

GetArtifactsParams contains all the parameters to send to the API endpoint

for the get artifacts operation.

Typically these are written to a http.Request.

func NewGetArtifactsParams

func NewGetArtifactsParams() *GetArtifactsParams

NewGetArtifactsParams creates a new GetArtifactsParams 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 NewGetArtifactsParamsWithContext

func NewGetArtifactsParamsWithContext(ctx context.Context) *GetArtifactsParams

NewGetArtifactsParamsWithContext creates a new GetArtifactsParams object with the ability to set a context for a request.

func NewGetArtifactsParamsWithHTTPClient

func NewGetArtifactsParamsWithHTTPClient(client *http.Client) *GetArtifactsParams

NewGetArtifactsParamsWithHTTPClient creates a new GetArtifactsParams object with the ability to set a custom HTTPClient for a request.

func NewGetArtifactsParamsWithTimeout

func NewGetArtifactsParamsWithTimeout(timeout time.Duration) *GetArtifactsParams

NewGetArtifactsParamsWithTimeout creates a new GetArtifactsParams object with the ability to set a timeout on a request.

func (*GetArtifactsParams) SetAcceptEncoding

func (o *GetArtifactsParams) SetAcceptEncoding(acceptEncoding *string)

SetAcceptEncoding adds the acceptEncoding to the get artifacts params

func (*GetArtifactsParams) SetContext

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

SetContext adds the context to the get artifacts params

func (*GetArtifactsParams) SetDefaults

func (o *GetArtifactsParams) SetDefaults()

SetDefaults hydrates default values in the get artifacts params (not the query body).

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

func (*GetArtifactsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get artifacts params

func (*GetArtifactsParams) SetID

func (o *GetArtifactsParams) SetID(id string)

SetID adds the id to the get artifacts params

func (*GetArtifactsParams) SetName

func (o *GetArtifactsParams) SetName(name *string)

SetName adds the name to the get artifacts params

func (*GetArtifactsParams) SetTimeout

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

SetTimeout adds the timeout to the get artifacts params

func (*GetArtifactsParams) WithAcceptEncoding

func (o *GetArtifactsParams) WithAcceptEncoding(acceptEncoding *string) *GetArtifactsParams

WithAcceptEncoding adds the acceptEncoding to the get artifacts params

func (*GetArtifactsParams) WithContext

WithContext adds the context to the get artifacts params

func (*GetArtifactsParams) WithDefaults

func (o *GetArtifactsParams) WithDefaults() *GetArtifactsParams

WithDefaults hydrates default values in the get artifacts params (not the query body).

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

func (*GetArtifactsParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get artifacts params

func (*GetArtifactsParams) WithID

WithID adds the id to the get artifacts params

func (*GetArtifactsParams) WithName

func (o *GetArtifactsParams) WithName(name *string) *GetArtifactsParams

WithName adds the name to the get artifacts params

func (*GetArtifactsParams) WithTimeout

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

WithTimeout adds the timeout to the get artifacts params

func (*GetArtifactsParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type GetArtifactsReader

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

GetArtifactsReader is a Reader for the GetArtifacts structure.

func (*GetArtifactsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetArtifactsTooManyRequests

type GetArtifactsTooManyRequests struct {

	/* Trace-ID: submit to support if resolving an issue
	 */
	XCSTRACEID string

	/* Request limit per minute.
	 */
	XRateLimitLimit int64

	/* The number of requests remaining for the sliding one minute window.
	 */
	XRateLimitRemaining int64

	/* Too many requests, retry after this time (as milliseconds since epoch)
	 */
	XRateLimitRetryAfter int64

	Payload *models.MsaReplyMetaOnly
}

GetArtifactsTooManyRequests describes a response with status code 429, with default header values.

Too Many Requests

func NewGetArtifactsTooManyRequests

func NewGetArtifactsTooManyRequests() *GetArtifactsTooManyRequests

NewGetArtifactsTooManyRequests creates a GetArtifactsTooManyRequests with default headers values

func (*GetArtifactsTooManyRequests) Code added in v0.2.33

func (o *GetArtifactsTooManyRequests) Code() int

Code gets the status code for the get artifacts too many requests response

func (*GetArtifactsTooManyRequests) Error

func (*GetArtifactsTooManyRequests) GetPayload

func (*GetArtifactsTooManyRequests) IsClientError added in v0.2.27

func (o *GetArtifactsTooManyRequests) IsClientError() bool

IsClientError returns true when this get artifacts too many requests response has a 4xx status code

func (*GetArtifactsTooManyRequests) IsCode added in v0.2.27

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

IsCode returns true when this get artifacts too many requests response a status code equal to that given

func (*GetArtifactsTooManyRequests) IsRedirect added in v0.2.27

func (o *GetArtifactsTooManyRequests) IsRedirect() bool

IsRedirect returns true when this get artifacts too many requests response has a 3xx status code

func (*GetArtifactsTooManyRequests) IsServerError added in v0.2.27

func (o *GetArtifactsTooManyRequests) IsServerError() bool

IsServerError returns true when this get artifacts too many requests response has a 5xx status code

func (*GetArtifactsTooManyRequests) IsSuccess added in v0.2.27

func (o *GetArtifactsTooManyRequests) IsSuccess() bool

IsSuccess returns true when this get artifacts too many requests response has a 2xx status code

func (*GetArtifactsTooManyRequests) String added in v0.2.27

func (o *GetArtifactsTooManyRequests) String() string

type GetReportsBadRequest

type GetReportsBadRequest struct {

	/* Request limit per minute.
	 */
	XRateLimitLimit int64

	/* The number of requests remaining for the sliding one minute window.
	 */
	XRateLimitRemaining int64

	Payload *models.FalconxReportV1Response
}

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

Bad Request

func NewGetReportsBadRequest

func NewGetReportsBadRequest() *GetReportsBadRequest

NewGetReportsBadRequest creates a GetReportsBadRequest with default headers values

func (*GetReportsBadRequest) Code added in v0.2.33

func (o *GetReportsBadRequest) Code() int

Code gets the status code for the get reports bad request response

func (*GetReportsBadRequest) Error

func (o *GetReportsBadRequest) Error() string

func (*GetReportsBadRequest) GetPayload

func (*GetReportsBadRequest) IsClientError added in v0.2.27

func (o *GetReportsBadRequest) IsClientError() bool

IsClientError returns true when this get reports bad request response has a 4xx status code

func (*GetReportsBadRequest) IsCode added in v0.2.27

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

IsCode returns true when this get reports bad request response a status code equal to that given

func (*GetReportsBadRequest) IsRedirect added in v0.2.27

func (o *GetReportsBadRequest) IsRedirect() bool

IsRedirect returns true when this get reports bad request response has a 3xx status code

func (*GetReportsBadRequest) IsServerError added in v0.2.27

func (o *GetReportsBadRequest) IsServerError() bool

IsServerError returns true when this get reports bad request response has a 5xx status code

func (*GetReportsBadRequest) IsSuccess added in v0.2.27

func (o *GetReportsBadRequest) IsSuccess() bool

IsSuccess returns true when this get reports bad request response has a 2xx status code

func (*GetReportsBadRequest) String added in v0.2.27

func (o *GetReportsBadRequest) String() string

type GetReportsDefault

type GetReportsDefault struct {
	Payload *models.FalconxReportV1Response
	// contains filtered or unexported fields
}

GetReportsDefault describes a response with status code -1, with default header values.

OK

func NewGetReportsDefault

func NewGetReportsDefault(code int) *GetReportsDefault

NewGetReportsDefault creates a GetReportsDefault with default headers values

func (*GetReportsDefault) Code

func (o *GetReportsDefault) Code() int

Code gets the status code for the get reports default response

func (*GetReportsDefault) Error

func (o *GetReportsDefault) Error() string

func (*GetReportsDefault) GetPayload

func (*GetReportsDefault) IsClientError added in v0.2.27

func (o *GetReportsDefault) IsClientError() bool

IsClientError returns true when this get reports default response has a 4xx status code

func (*GetReportsDefault) IsCode added in v0.2.27

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

IsCode returns true when this get reports default response a status code equal to that given

func (*GetReportsDefault) IsRedirect added in v0.2.27

func (o *GetReportsDefault) IsRedirect() bool

IsRedirect returns true when this get reports default response has a 3xx status code

func (*GetReportsDefault) IsServerError added in v0.2.27

func (o *GetReportsDefault) IsServerError() bool

IsServerError returns true when this get reports default response has a 5xx status code

func (*GetReportsDefault) IsSuccess added in v0.2.27

func (o *GetReportsDefault) IsSuccess() bool

IsSuccess returns true when this get reports default response has a 2xx status code

func (*GetReportsDefault) String added in v0.2.27

func (o *GetReportsDefault) String() string

type GetReportsForbidden

type GetReportsForbidden struct {

	/* Request limit per minute.
	 */
	XRateLimitLimit int64

	/* The number of requests remaining for the sliding one minute window.
	 */
	XRateLimitRemaining int64

	Payload *models.MsaReplyMetaOnly
}

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

Forbidden

func NewGetReportsForbidden

func NewGetReportsForbidden() *GetReportsForbidden

NewGetReportsForbidden creates a GetReportsForbidden with default headers values

func (*GetReportsForbidden) Code added in v0.2.33

func (o *GetReportsForbidden) Code() int

Code gets the status code for the get reports forbidden response

func (*GetReportsForbidden) Error

func (o *GetReportsForbidden) Error() string

func (*GetReportsForbidden) GetPayload

func (o *GetReportsForbidden) GetPayload() *models.MsaReplyMetaOnly

func (*GetReportsForbidden) IsClientError added in v0.2.27

func (o *GetReportsForbidden) IsClientError() bool

IsClientError returns true when this get reports forbidden response has a 4xx status code

func (*GetReportsForbidden) IsCode added in v0.2.27

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

IsCode returns true when this get reports forbidden response a status code equal to that given

func (*GetReportsForbidden) IsRedirect added in v0.2.27

func (o *GetReportsForbidden) IsRedirect() bool

IsRedirect returns true when this get reports forbidden response has a 3xx status code

func (*GetReportsForbidden) IsServerError added in v0.2.27

func (o *GetReportsForbidden) IsServerError() bool

IsServerError returns true when this get reports forbidden response has a 5xx status code

func (*GetReportsForbidden) IsSuccess added in v0.2.27

func (o *GetReportsForbidden) IsSuccess() bool

IsSuccess returns true when this get reports forbidden response has a 2xx status code

func (*GetReportsForbidden) String added in v0.2.27

func (o *GetReportsForbidden) String() string

type GetReportsInternalServerError

type GetReportsInternalServerError struct {

	/* Request limit per minute.
	 */
	XRateLimitLimit int64

	/* The number of requests remaining for the sliding one minute window.
	 */
	XRateLimitRemaining int64

	Payload *models.FalconxReportV1Response
}

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

Internal Server Error

func NewGetReportsInternalServerError

func NewGetReportsInternalServerError() *GetReportsInternalServerError

NewGetReportsInternalServerError creates a GetReportsInternalServerError with default headers values

func (*GetReportsInternalServerError) Code added in v0.2.33

Code gets the status code for the get reports internal server error response

func (*GetReportsInternalServerError) Error

func (*GetReportsInternalServerError) GetPayload

func (*GetReportsInternalServerError) IsClientError added in v0.2.27

func (o *GetReportsInternalServerError) IsClientError() bool

IsClientError returns true when this get reports internal server error response has a 4xx status code

func (*GetReportsInternalServerError) IsCode added in v0.2.27

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

IsCode returns true when this get reports internal server error response a status code equal to that given

func (*GetReportsInternalServerError) IsRedirect added in v0.2.27

func (o *GetReportsInternalServerError) IsRedirect() bool

IsRedirect returns true when this get reports internal server error response has a 3xx status code

func (*GetReportsInternalServerError) IsServerError added in v0.2.27

func (o *GetReportsInternalServerError) IsServerError() bool

IsServerError returns true when this get reports internal server error response has a 5xx status code

func (*GetReportsInternalServerError) IsSuccess added in v0.2.27

func (o *GetReportsInternalServerError) IsSuccess() bool

IsSuccess returns true when this get reports internal server error response has a 2xx status code

func (*GetReportsInternalServerError) String added in v0.2.27

type GetReportsOK

type GetReportsOK struct {

	/* Request limit per minute.
	 */
	XRateLimitLimit int64

	/* The number of requests remaining for the sliding one minute window.
	 */
	XRateLimitRemaining int64

	Payload *models.FalconxReportV1Response
}

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

OK

func NewGetReportsOK

func NewGetReportsOK() *GetReportsOK

NewGetReportsOK creates a GetReportsOK with default headers values

func (*GetReportsOK) Code added in v0.2.33

func (o *GetReportsOK) Code() int

Code gets the status code for the get reports o k response

func (*GetReportsOK) Error

func (o *GetReportsOK) Error() string

func (*GetReportsOK) GetPayload

func (o *GetReportsOK) GetPayload() *models.FalconxReportV1Response

func (*GetReportsOK) IsClientError added in v0.2.27

func (o *GetReportsOK) IsClientError() bool

IsClientError returns true when this get reports o k response has a 4xx status code

func (*GetReportsOK) IsCode added in v0.2.27

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

IsCode returns true when this get reports o k response a status code equal to that given

func (*GetReportsOK) IsRedirect added in v0.2.27

func (o *GetReportsOK) IsRedirect() bool

IsRedirect returns true when this get reports o k response has a 3xx status code

func (*GetReportsOK) IsServerError added in v0.2.27

func (o *GetReportsOK) IsServerError() bool

IsServerError returns true when this get reports o k response has a 5xx status code

func (*GetReportsOK) IsSuccess added in v0.2.27

func (o *GetReportsOK) IsSuccess() bool

IsSuccess returns true when this get reports o k response has a 2xx status code

func (*GetReportsOK) String added in v0.2.27

func (o *GetReportsOK) String() string

type GetReportsParams

type GetReportsParams struct {

	/* Ids.

	   ID of a report. Find a report ID from the response when submitting a malware sample or search with `/falconx/queries/reports/v1`.
	*/
	Ids []string

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

GetReportsParams contains all the parameters to send to the API endpoint

for the get reports operation.

Typically these are written to a http.Request.

func NewGetReportsParams

func NewGetReportsParams() *GetReportsParams

NewGetReportsParams creates a new GetReportsParams 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 NewGetReportsParamsWithContext

func NewGetReportsParamsWithContext(ctx context.Context) *GetReportsParams

NewGetReportsParamsWithContext creates a new GetReportsParams object with the ability to set a context for a request.

func NewGetReportsParamsWithHTTPClient

func NewGetReportsParamsWithHTTPClient(client *http.Client) *GetReportsParams

NewGetReportsParamsWithHTTPClient creates a new GetReportsParams object with the ability to set a custom HTTPClient for a request.

func NewGetReportsParamsWithTimeout

func NewGetReportsParamsWithTimeout(timeout time.Duration) *GetReportsParams

NewGetReportsParamsWithTimeout creates a new GetReportsParams object with the ability to set a timeout on a request.

func (*GetReportsParams) SetContext

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

SetContext adds the context to the get reports params

func (*GetReportsParams) SetDefaults

func (o *GetReportsParams) SetDefaults()

SetDefaults hydrates default values in the get reports params (not the query body).

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

func (*GetReportsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get reports params

func (*GetReportsParams) SetIds

func (o *GetReportsParams) SetIds(ids []string)

SetIds adds the ids to the get reports params

func (*GetReportsParams) SetTimeout

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

SetTimeout adds the timeout to the get reports params

func (*GetReportsParams) WithContext

func (o *GetReportsParams) WithContext(ctx context.Context) *GetReportsParams

WithContext adds the context to the get reports params

func (*GetReportsParams) WithDefaults

func (o *GetReportsParams) WithDefaults() *GetReportsParams

WithDefaults hydrates default values in the get reports params (not the query body).

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

func (*GetReportsParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get reports params

func (*GetReportsParams) WithIds

func (o *GetReportsParams) WithIds(ids []string) *GetReportsParams

WithIds adds the ids to the get reports params

func (*GetReportsParams) WithTimeout

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

WithTimeout adds the timeout to the get reports params

func (*GetReportsParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type GetReportsReader

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

GetReportsReader is a Reader for the GetReports structure.

func (*GetReportsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetReportsTooManyRequests

type GetReportsTooManyRequests struct {

	/* Request limit per minute.
	 */
	XRateLimitLimit int64

	/* The number of requests remaining for the sliding one minute window.
	 */
	XRateLimitRemaining int64

	/* Too many requests, retry after this time (as milliseconds since epoch)
	 */
	XRateLimitRetryAfter int64

	Payload *models.MsaReplyMetaOnly
}

GetReportsTooManyRequests describes a response with status code 429, with default header values.

Too Many Requests

func NewGetReportsTooManyRequests

func NewGetReportsTooManyRequests() *GetReportsTooManyRequests

NewGetReportsTooManyRequests creates a GetReportsTooManyRequests with default headers values

func (*GetReportsTooManyRequests) Code added in v0.2.33

func (o *GetReportsTooManyRequests) Code() int

Code gets the status code for the get reports too many requests response

func (*GetReportsTooManyRequests) Error

func (o *GetReportsTooManyRequests) Error() string

func (*GetReportsTooManyRequests) GetPayload

func (*GetReportsTooManyRequests) IsClientError added in v0.2.27

func (o *GetReportsTooManyRequests) IsClientError() bool

IsClientError returns true when this get reports too many requests response has a 4xx status code

func (*GetReportsTooManyRequests) IsCode added in v0.2.27

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

IsCode returns true when this get reports too many requests response a status code equal to that given

func (*GetReportsTooManyRequests) IsRedirect added in v0.2.27

func (o *GetReportsTooManyRequests) IsRedirect() bool

IsRedirect returns true when this get reports too many requests response has a 3xx status code

func (*GetReportsTooManyRequests) IsServerError added in v0.2.27

func (o *GetReportsTooManyRequests) IsServerError() bool

IsServerError returns true when this get reports too many requests response has a 5xx status code

func (*GetReportsTooManyRequests) IsSuccess added in v0.2.27

func (o *GetReportsTooManyRequests) IsSuccess() bool

IsSuccess returns true when this get reports too many requests response has a 2xx status code

func (*GetReportsTooManyRequests) String added in v0.2.27

func (o *GetReportsTooManyRequests) String() string

type GetSampleV2BadRequest

type GetSampleV2BadRequest struct {

	/* Trace-ID: submit to support if resolving an issue
	 */
	XCSTRACEID string

	/* Request limit per minute.
	 */
	XRateLimitLimit int64

	/* The number of requests remaining for the sliding one minute window.
	 */
	XRateLimitRemaining int64

	Payload *models.MsaReplyMetaOnly
}

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

Bad Request

func NewGetSampleV2BadRequest

func NewGetSampleV2BadRequest() *GetSampleV2BadRequest

NewGetSampleV2BadRequest creates a GetSampleV2BadRequest with default headers values

func (*GetSampleV2BadRequest) Code added in v0.2.33

func (o *GetSampleV2BadRequest) Code() int

Code gets the status code for the get sample v2 bad request response

func (*GetSampleV2BadRequest) Error

func (o *GetSampleV2BadRequest) Error() string

func (*GetSampleV2BadRequest) GetPayload

func (*GetSampleV2BadRequest) IsClientError added in v0.2.27

func (o *GetSampleV2BadRequest) IsClientError() bool

IsClientError returns true when this get sample v2 bad request response has a 4xx status code

func (*GetSampleV2BadRequest) IsCode added in v0.2.27

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

IsCode returns true when this get sample v2 bad request response a status code equal to that given

func (*GetSampleV2BadRequest) IsRedirect added in v0.2.27

func (o *GetSampleV2BadRequest) IsRedirect() bool

IsRedirect returns true when this get sample v2 bad request response has a 3xx status code

func (*GetSampleV2BadRequest) IsServerError added in v0.2.27

func (o *GetSampleV2BadRequest) IsServerError() bool

IsServerError returns true when this get sample v2 bad request response has a 5xx status code

func (*GetSampleV2BadRequest) IsSuccess added in v0.2.27

func (o *GetSampleV2BadRequest) IsSuccess() bool

IsSuccess returns true when this get sample v2 bad request response has a 2xx status code

func (*GetSampleV2BadRequest) String added in v0.2.27

func (o *GetSampleV2BadRequest) String() string

type GetSampleV2Default

type GetSampleV2Default struct {
	Payload string
	// contains filtered or unexported fields
}

GetSampleV2Default describes a response with status code -1, with default header values.

OK

func NewGetSampleV2Default

func NewGetSampleV2Default(code int) *GetSampleV2Default

NewGetSampleV2Default creates a GetSampleV2Default with default headers values

func (*GetSampleV2Default) Code

func (o *GetSampleV2Default) Code() int

Code gets the status code for the get sample v2 default response

func (*GetSampleV2Default) Error

func (o *GetSampleV2Default) Error() string

func (*GetSampleV2Default) GetPayload

func (o *GetSampleV2Default) GetPayload() string

func (*GetSampleV2Default) IsClientError added in v0.2.27

func (o *GetSampleV2Default) IsClientError() bool

IsClientError returns true when this get sample v2 default response has a 4xx status code

func (*GetSampleV2Default) IsCode added in v0.2.27

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

IsCode returns true when this get sample v2 default response a status code equal to that given

func (*GetSampleV2Default) IsRedirect added in v0.2.27

func (o *GetSampleV2Default) IsRedirect() bool

IsRedirect returns true when this get sample v2 default response has a 3xx status code

func (*GetSampleV2Default) IsServerError added in v0.2.27

func (o *GetSampleV2Default) IsServerError() bool

IsServerError returns true when this get sample v2 default response has a 5xx status code

func (*GetSampleV2Default) IsSuccess added in v0.2.27

func (o *GetSampleV2Default) IsSuccess() bool

IsSuccess returns true when this get sample v2 default response has a 2xx status code

func (*GetSampleV2Default) String added in v0.2.27

func (o *GetSampleV2Default) String() string

type GetSampleV2Forbidden

type GetSampleV2Forbidden struct {

	/* Trace-ID: submit to support if resolving an issue
	 */
	XCSTRACEID string

	/* Request limit per minute.
	 */
	XRateLimitLimit int64

	/* The number of requests remaining for the sliding one minute window.
	 */
	XRateLimitRemaining int64

	Payload *models.MsaReplyMetaOnly
}

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

Forbidden

func NewGetSampleV2Forbidden

func NewGetSampleV2Forbidden() *GetSampleV2Forbidden

NewGetSampleV2Forbidden creates a GetSampleV2Forbidden with default headers values

func (*GetSampleV2Forbidden) Code added in v0.2.33

func (o *GetSampleV2Forbidden) Code() int

Code gets the status code for the get sample v2 forbidden response

func (*GetSampleV2Forbidden) Error

func (o *GetSampleV2Forbidden) Error() string

func (*GetSampleV2Forbidden) GetPayload

func (o *GetSampleV2Forbidden) GetPayload() *models.MsaReplyMetaOnly

func (*GetSampleV2Forbidden) IsClientError added in v0.2.27

func (o *GetSampleV2Forbidden) IsClientError() bool

IsClientError returns true when this get sample v2 forbidden response has a 4xx status code

func (*GetSampleV2Forbidden) IsCode added in v0.2.27

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

IsCode returns true when this get sample v2 forbidden response a status code equal to that given

func (*GetSampleV2Forbidden) IsRedirect added in v0.2.27

func (o *GetSampleV2Forbidden) IsRedirect() bool

IsRedirect returns true when this get sample v2 forbidden response has a 3xx status code

func (*GetSampleV2Forbidden) IsServerError added in v0.2.27

func (o *GetSampleV2Forbidden) IsServerError() bool

IsServerError returns true when this get sample v2 forbidden response has a 5xx status code

func (*GetSampleV2Forbidden) IsSuccess added in v0.2.27

func (o *GetSampleV2Forbidden) IsSuccess() bool

IsSuccess returns true when this get sample v2 forbidden response has a 2xx status code

func (*GetSampleV2Forbidden) String added in v0.2.27

func (o *GetSampleV2Forbidden) String() string

type GetSampleV2InternalServerError

type GetSampleV2InternalServerError struct {

	/* Trace-ID: submit to support if resolving an issue
	 */
	XCSTRACEID string

	/* Request limit per minute.
	 */
	XRateLimitLimit int64

	/* The number of requests remaining for the sliding one minute window.
	 */
	XRateLimitRemaining int64

	Payload *models.MsaReplyMetaOnly
}

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

Internal Server Error

func NewGetSampleV2InternalServerError

func NewGetSampleV2InternalServerError() *GetSampleV2InternalServerError

NewGetSampleV2InternalServerError creates a GetSampleV2InternalServerError with default headers values

func (*GetSampleV2InternalServerError) Code added in v0.2.33

Code gets the status code for the get sample v2 internal server error response

func (*GetSampleV2InternalServerError) Error

func (*GetSampleV2InternalServerError) GetPayload

func (*GetSampleV2InternalServerError) IsClientError added in v0.2.27

func (o *GetSampleV2InternalServerError) IsClientError() bool

IsClientError returns true when this get sample v2 internal server error response has a 4xx status code

func (*GetSampleV2InternalServerError) IsCode added in v0.2.27

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

IsCode returns true when this get sample v2 internal server error response a status code equal to that given

func (*GetSampleV2InternalServerError) IsRedirect added in v0.2.27

func (o *GetSampleV2InternalServerError) IsRedirect() bool

IsRedirect returns true when this get sample v2 internal server error response has a 3xx status code

func (*GetSampleV2InternalServerError) IsServerError added in v0.2.27

func (o *GetSampleV2InternalServerError) IsServerError() bool

IsServerError returns true when this get sample v2 internal server error response has a 5xx status code

func (*GetSampleV2InternalServerError) IsSuccess added in v0.2.27

func (o *GetSampleV2InternalServerError) IsSuccess() bool

IsSuccess returns true when this get sample v2 internal server error response has a 2xx status code

func (*GetSampleV2InternalServerError) String added in v0.2.27

type GetSampleV2NotFound

type GetSampleV2NotFound struct {

	/* Trace-ID: submit to support if resolving an issue
	 */
	XCSTRACEID string

	/* Request limit per minute.
	 */
	XRateLimitLimit int64

	/* The number of requests remaining for the sliding one minute window.
	 */
	XRateLimitRemaining int64

	Payload *models.MsaReplyMetaOnly
}

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

Not Found

func NewGetSampleV2NotFound

func NewGetSampleV2NotFound() *GetSampleV2NotFound

NewGetSampleV2NotFound creates a GetSampleV2NotFound with default headers values

func (*GetSampleV2NotFound) Code added in v0.2.33

func (o *GetSampleV2NotFound) Code() int

Code gets the status code for the get sample v2 not found response

func (*GetSampleV2NotFound) Error

func (o *GetSampleV2NotFound) Error() string

func (*GetSampleV2NotFound) GetPayload

func (o *GetSampleV2NotFound) GetPayload() *models.MsaReplyMetaOnly

func (*GetSampleV2NotFound) IsClientError added in v0.2.27

func (o *GetSampleV2NotFound) IsClientError() bool

IsClientError returns true when this get sample v2 not found response has a 4xx status code

func (*GetSampleV2NotFound) IsCode added in v0.2.27

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

IsCode returns true when this get sample v2 not found response a status code equal to that given

func (*GetSampleV2NotFound) IsRedirect added in v0.2.27

func (o *GetSampleV2NotFound) IsRedirect() bool

IsRedirect returns true when this get sample v2 not found response has a 3xx status code

func (*GetSampleV2NotFound) IsServerError added in v0.2.27

func (o *GetSampleV2NotFound) IsServerError() bool

IsServerError returns true when this get sample v2 not found response has a 5xx status code

func (*GetSampleV2NotFound) IsSuccess added in v0.2.27

func (o *GetSampleV2NotFound) IsSuccess() bool

IsSuccess returns true when this get sample v2 not found response has a 2xx status code

func (*GetSampleV2NotFound) String added in v0.2.27

func (o *GetSampleV2NotFound) String() string

type GetSampleV2OK

type GetSampleV2OK struct {

	/* Trace-ID: submit to support if resolving an issue
	 */
	XCSTRACEID string

	/* Request limit per minute.
	 */
	XRateLimitLimit int64

	/* The number of requests remaining for the sliding one minute window.
	 */
	XRateLimitRemaining int64

	Payload string
}

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

OK

func NewGetSampleV2OK

func NewGetSampleV2OK() *GetSampleV2OK

NewGetSampleV2OK creates a GetSampleV2OK with default headers values

func (*GetSampleV2OK) Code added in v0.2.33

func (o *GetSampleV2OK) Code() int

Code gets the status code for the get sample v2 o k response

func (*GetSampleV2OK) Error

func (o *GetSampleV2OK) Error() string

func (*GetSampleV2OK) GetPayload

func (o *GetSampleV2OK) GetPayload() string

func (*GetSampleV2OK) IsClientError added in v0.2.27

func (o *GetSampleV2OK) IsClientError() bool

IsClientError returns true when this get sample v2 o k response has a 4xx status code

func (*GetSampleV2OK) IsCode added in v0.2.27

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

IsCode returns true when this get sample v2 o k response a status code equal to that given

func (*GetSampleV2OK) IsRedirect added in v0.2.27

func (o *GetSampleV2OK) IsRedirect() bool

IsRedirect returns true when this get sample v2 o k response has a 3xx status code

func (*GetSampleV2OK) IsServerError added in v0.2.27

func (o *GetSampleV2OK) IsServerError() bool

IsServerError returns true when this get sample v2 o k response has a 5xx status code

func (*GetSampleV2OK) IsSuccess added in v0.2.27

func (o *GetSampleV2OK) IsSuccess() bool

IsSuccess returns true when this get sample v2 o k response has a 2xx status code

func (*GetSampleV2OK) String added in v0.2.27

func (o *GetSampleV2OK) String() string

type GetSampleV2Params

type GetSampleV2Params struct {

	/* Ids.

	   The file SHA256.
	*/
	Ids string

	/* PasswordProtected.

	   Flag whether the sample should be zipped and password protected with pass='infected'
	*/
	PasswordProtected *bool

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

GetSampleV2Params contains all the parameters to send to the API endpoint

for the get sample v2 operation.

Typically these are written to a http.Request.

func NewGetSampleV2Params

func NewGetSampleV2Params() *GetSampleV2Params

NewGetSampleV2Params creates a new GetSampleV2Params 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 NewGetSampleV2ParamsWithContext

func NewGetSampleV2ParamsWithContext(ctx context.Context) *GetSampleV2Params

NewGetSampleV2ParamsWithContext creates a new GetSampleV2Params object with the ability to set a context for a request.

func NewGetSampleV2ParamsWithHTTPClient

func NewGetSampleV2ParamsWithHTTPClient(client *http.Client) *GetSampleV2Params

NewGetSampleV2ParamsWithHTTPClient creates a new GetSampleV2Params object with the ability to set a custom HTTPClient for a request.

func NewGetSampleV2ParamsWithTimeout

func NewGetSampleV2ParamsWithTimeout(timeout time.Duration) *GetSampleV2Params

NewGetSampleV2ParamsWithTimeout creates a new GetSampleV2Params object with the ability to set a timeout on a request.

func (*GetSampleV2Params) SetContext

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

SetContext adds the context to the get sample v2 params

func (*GetSampleV2Params) SetDefaults

func (o *GetSampleV2Params) SetDefaults()

SetDefaults hydrates default values in the get sample v2 params (not the query body).

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

func (*GetSampleV2Params) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get sample v2 params

func (*GetSampleV2Params) SetIds

func (o *GetSampleV2Params) SetIds(ids string)

SetIds adds the ids to the get sample v2 params

func (*GetSampleV2Params) SetPasswordProtected

func (o *GetSampleV2Params) SetPasswordProtected(passwordProtected *bool)

SetPasswordProtected adds the passwordProtected to the get sample v2 params

func (*GetSampleV2Params) SetTimeout

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

SetTimeout adds the timeout to the get sample v2 params

func (*GetSampleV2Params) WithContext

func (o *GetSampleV2Params) WithContext(ctx context.Context) *GetSampleV2Params

WithContext adds the context to the get sample v2 params

func (*GetSampleV2Params) WithDefaults

func (o *GetSampleV2Params) WithDefaults() *GetSampleV2Params

WithDefaults hydrates default values in the get sample v2 params (not the query body).

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

func (*GetSampleV2Params) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get sample v2 params

func (*GetSampleV2Params) WithIds

func (o *GetSampleV2Params) WithIds(ids string) *GetSampleV2Params

WithIds adds the ids to the get sample v2 params

func (*GetSampleV2Params) WithPasswordProtected

func (o *GetSampleV2Params) WithPasswordProtected(passwordProtected *bool) *GetSampleV2Params

WithPasswordProtected adds the passwordProtected to the get sample v2 params

func (*GetSampleV2Params) WithTimeout

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

WithTimeout adds the timeout to the get sample v2 params

func (*GetSampleV2Params) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type GetSampleV2Reader

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

GetSampleV2Reader is a Reader for the GetSampleV2 structure.

func (*GetSampleV2Reader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetSampleV2TooManyRequests

type GetSampleV2TooManyRequests struct {

	/* Trace-ID: submit to support if resolving an issue
	 */
	XCSTRACEID string

	/* Request limit per minute.
	 */
	XRateLimitLimit int64

	/* The number of requests remaining for the sliding one minute window.
	 */
	XRateLimitRemaining int64

	/* Too many requests, retry after this time (as milliseconds since epoch)
	 */
	XRateLimitRetryAfter int64

	Payload *models.MsaReplyMetaOnly
}

GetSampleV2TooManyRequests describes a response with status code 429, with default header values.

Too Many Requests

func NewGetSampleV2TooManyRequests

func NewGetSampleV2TooManyRequests() *GetSampleV2TooManyRequests

NewGetSampleV2TooManyRequests creates a GetSampleV2TooManyRequests with default headers values

func (*GetSampleV2TooManyRequests) Code added in v0.2.33

func (o *GetSampleV2TooManyRequests) Code() int

Code gets the status code for the get sample v2 too many requests response

func (*GetSampleV2TooManyRequests) Error

func (*GetSampleV2TooManyRequests) GetPayload

func (*GetSampleV2TooManyRequests) IsClientError added in v0.2.27

func (o *GetSampleV2TooManyRequests) IsClientError() bool

IsClientError returns true when this get sample v2 too many requests response has a 4xx status code

func (*GetSampleV2TooManyRequests) IsCode added in v0.2.27

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

IsCode returns true when this get sample v2 too many requests response a status code equal to that given

func (*GetSampleV2TooManyRequests) IsRedirect added in v0.2.27

func (o *GetSampleV2TooManyRequests) IsRedirect() bool

IsRedirect returns true when this get sample v2 too many requests response has a 3xx status code

func (*GetSampleV2TooManyRequests) IsServerError added in v0.2.27

func (o *GetSampleV2TooManyRequests) IsServerError() bool

IsServerError returns true when this get sample v2 too many requests response has a 5xx status code

func (*GetSampleV2TooManyRequests) IsSuccess added in v0.2.27

func (o *GetSampleV2TooManyRequests) IsSuccess() bool

IsSuccess returns true when this get sample v2 too many requests response has a 2xx status code

func (*GetSampleV2TooManyRequests) String added in v0.2.27

func (o *GetSampleV2TooManyRequests) String() string

type GetSubmissionsBadRequest

type GetSubmissionsBadRequest struct {

	/* Request limit per minute.
	 */
	XRateLimitLimit int64

	/* The number of requests remaining for the sliding one minute window.
	 */
	XRateLimitRemaining int64

	Payload *models.FalconxSubmissionV1Response
}

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

Bad Request

func NewGetSubmissionsBadRequest

func NewGetSubmissionsBadRequest() *GetSubmissionsBadRequest

NewGetSubmissionsBadRequest creates a GetSubmissionsBadRequest with default headers values

func (*GetSubmissionsBadRequest) Code added in v0.2.33

func (o *GetSubmissionsBadRequest) Code() int

Code gets the status code for the get submissions bad request response

func (*GetSubmissionsBadRequest) Error

func (o *GetSubmissionsBadRequest) Error() string

func (*GetSubmissionsBadRequest) GetPayload

func (*GetSubmissionsBadRequest) IsClientError added in v0.2.27

func (o *GetSubmissionsBadRequest) IsClientError() bool

IsClientError returns true when this get submissions bad request response has a 4xx status code

func (*GetSubmissionsBadRequest) IsCode added in v0.2.27

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

IsCode returns true when this get submissions bad request response a status code equal to that given

func (*GetSubmissionsBadRequest) IsRedirect added in v0.2.27

func (o *GetSubmissionsBadRequest) IsRedirect() bool

IsRedirect returns true when this get submissions bad request response has a 3xx status code

func (*GetSubmissionsBadRequest) IsServerError added in v0.2.27

func (o *GetSubmissionsBadRequest) IsServerError() bool

IsServerError returns true when this get submissions bad request response has a 5xx status code

func (*GetSubmissionsBadRequest) IsSuccess added in v0.2.27

func (o *GetSubmissionsBadRequest) IsSuccess() bool

IsSuccess returns true when this get submissions bad request response has a 2xx status code

func (*GetSubmissionsBadRequest) String added in v0.2.27

func (o *GetSubmissionsBadRequest) String() string

type GetSubmissionsDefault

type GetSubmissionsDefault struct {
	Payload *models.FalconxSubmissionV1Response
	// contains filtered or unexported fields
}

GetSubmissionsDefault describes a response with status code -1, with default header values.

OK

func NewGetSubmissionsDefault

func NewGetSubmissionsDefault(code int) *GetSubmissionsDefault

NewGetSubmissionsDefault creates a GetSubmissionsDefault with default headers values

func (*GetSubmissionsDefault) Code

func (o *GetSubmissionsDefault) Code() int

Code gets the status code for the get submissions default response

func (*GetSubmissionsDefault) Error

func (o *GetSubmissionsDefault) Error() string

func (*GetSubmissionsDefault) GetPayload

func (*GetSubmissionsDefault) IsClientError added in v0.2.27

func (o *GetSubmissionsDefault) IsClientError() bool

IsClientError returns true when this get submissions default response has a 4xx status code

func (*GetSubmissionsDefault) IsCode added in v0.2.27

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

IsCode returns true when this get submissions default response a status code equal to that given

func (*GetSubmissionsDefault) IsRedirect added in v0.2.27

func (o *GetSubmissionsDefault) IsRedirect() bool

IsRedirect returns true when this get submissions default response has a 3xx status code

func (*GetSubmissionsDefault) IsServerError added in v0.2.27

func (o *GetSubmissionsDefault) IsServerError() bool

IsServerError returns true when this get submissions default response has a 5xx status code

func (*GetSubmissionsDefault) IsSuccess added in v0.2.27

func (o *GetSubmissionsDefault) IsSuccess() bool

IsSuccess returns true when this get submissions default response has a 2xx status code

func (*GetSubmissionsDefault) String added in v0.2.27

func (o *GetSubmissionsDefault) String() string

type GetSubmissionsForbidden

type GetSubmissionsForbidden struct {

	/* Request limit per minute.
	 */
	XRateLimitLimit int64

	/* The number of requests remaining for the sliding one minute window.
	 */
	XRateLimitRemaining int64

	Payload *models.MsaReplyMetaOnly
}

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

Forbidden

func NewGetSubmissionsForbidden

func NewGetSubmissionsForbidden() *GetSubmissionsForbidden

NewGetSubmissionsForbidden creates a GetSubmissionsForbidden with default headers values

func (*GetSubmissionsForbidden) Code added in v0.2.33

func (o *GetSubmissionsForbidden) Code() int

Code gets the status code for the get submissions forbidden response

func (*GetSubmissionsForbidden) Error

func (o *GetSubmissionsForbidden) Error() string

func (*GetSubmissionsForbidden) GetPayload

func (*GetSubmissionsForbidden) IsClientError added in v0.2.27

func (o *GetSubmissionsForbidden) IsClientError() bool

IsClientError returns true when this get submissions forbidden response has a 4xx status code

func (*GetSubmissionsForbidden) IsCode added in v0.2.27

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

IsCode returns true when this get submissions forbidden response a status code equal to that given

func (*GetSubmissionsForbidden) IsRedirect added in v0.2.27

func (o *GetSubmissionsForbidden) IsRedirect() bool

IsRedirect returns true when this get submissions forbidden response has a 3xx status code

func (*GetSubmissionsForbidden) IsServerError added in v0.2.27

func (o *GetSubmissionsForbidden) IsServerError() bool

IsServerError returns true when this get submissions forbidden response has a 5xx status code

func (*GetSubmissionsForbidden) IsSuccess added in v0.2.27

func (o *GetSubmissionsForbidden) IsSuccess() bool

IsSuccess returns true when this get submissions forbidden response has a 2xx status code

func (*GetSubmissionsForbidden) String added in v0.2.27

func (o *GetSubmissionsForbidden) String() string

type GetSubmissionsInternalServerError

type GetSubmissionsInternalServerError struct {

	/* Request limit per minute.
	 */
	XRateLimitLimit int64

	/* The number of requests remaining for the sliding one minute window.
	 */
	XRateLimitRemaining int64

	Payload *models.FalconxSubmissionV1Response
}

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

Internal Server Error

func NewGetSubmissionsInternalServerError

func NewGetSubmissionsInternalServerError() *GetSubmissionsInternalServerError

NewGetSubmissionsInternalServerError creates a GetSubmissionsInternalServerError with default headers values

func (*GetSubmissionsInternalServerError) Code added in v0.2.33

Code gets the status code for the get submissions internal server error response

func (*GetSubmissionsInternalServerError) Error

func (*GetSubmissionsInternalServerError) GetPayload

func (*GetSubmissionsInternalServerError) IsClientError added in v0.2.27

func (o *GetSubmissionsInternalServerError) IsClientError() bool

IsClientError returns true when this get submissions internal server error response has a 4xx status code

func (*GetSubmissionsInternalServerError) IsCode added in v0.2.27

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

IsCode returns true when this get submissions internal server error response a status code equal to that given

func (*GetSubmissionsInternalServerError) IsRedirect added in v0.2.27

func (o *GetSubmissionsInternalServerError) IsRedirect() bool

IsRedirect returns true when this get submissions internal server error response has a 3xx status code

func (*GetSubmissionsInternalServerError) IsServerError added in v0.2.27

func (o *GetSubmissionsInternalServerError) IsServerError() bool

IsServerError returns true when this get submissions internal server error response has a 5xx status code

func (*GetSubmissionsInternalServerError) IsSuccess added in v0.2.27

func (o *GetSubmissionsInternalServerError) IsSuccess() bool

IsSuccess returns true when this get submissions internal server error response has a 2xx status code

func (*GetSubmissionsInternalServerError) String added in v0.2.27

type GetSubmissionsOK

type GetSubmissionsOK struct {

	/* Request limit per minute.
	 */
	XRateLimitLimit int64

	/* The number of requests remaining for the sliding one minute window.
	 */
	XRateLimitRemaining int64

	Payload *models.FalconxSubmissionV1Response
}

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

OK

func NewGetSubmissionsOK

func NewGetSubmissionsOK() *GetSubmissionsOK

NewGetSubmissionsOK creates a GetSubmissionsOK with default headers values

func (*GetSubmissionsOK) Code added in v0.2.33

func (o *GetSubmissionsOK) Code() int

Code gets the status code for the get submissions o k response

func (*GetSubmissionsOK) Error

func (o *GetSubmissionsOK) Error() string

func (*GetSubmissionsOK) GetPayload

func (*GetSubmissionsOK) IsClientError added in v0.2.27

func (o *GetSubmissionsOK) IsClientError() bool

IsClientError returns true when this get submissions o k response has a 4xx status code

func (*GetSubmissionsOK) IsCode added in v0.2.27

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

IsCode returns true when this get submissions o k response a status code equal to that given

func (*GetSubmissionsOK) IsRedirect added in v0.2.27

func (o *GetSubmissionsOK) IsRedirect() bool

IsRedirect returns true when this get submissions o k response has a 3xx status code

func (*GetSubmissionsOK) IsServerError added in v0.2.27

func (o *GetSubmissionsOK) IsServerError() bool

IsServerError returns true when this get submissions o k response has a 5xx status code

func (*GetSubmissionsOK) IsSuccess added in v0.2.27

func (o *GetSubmissionsOK) IsSuccess() bool

IsSuccess returns true when this get submissions o k response has a 2xx status code

func (*GetSubmissionsOK) String added in v0.2.27

func (o *GetSubmissionsOK) String() string

type GetSubmissionsParams

type GetSubmissionsParams struct {

	/* Ids.

	   ID of a submitted malware sample. Find a submission ID from the response when submitting a malware sample or search with `/falconx/queries/submissions/v1`.
	*/
	Ids []string

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

GetSubmissionsParams contains all the parameters to send to the API endpoint

for the get submissions operation.

Typically these are written to a http.Request.

func NewGetSubmissionsParams

func NewGetSubmissionsParams() *GetSubmissionsParams

NewGetSubmissionsParams creates a new GetSubmissionsParams 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 NewGetSubmissionsParamsWithContext

func NewGetSubmissionsParamsWithContext(ctx context.Context) *GetSubmissionsParams

NewGetSubmissionsParamsWithContext creates a new GetSubmissionsParams object with the ability to set a context for a request.

func NewGetSubmissionsParamsWithHTTPClient

func NewGetSubmissionsParamsWithHTTPClient(client *http.Client) *GetSubmissionsParams

NewGetSubmissionsParamsWithHTTPClient creates a new GetSubmissionsParams object with the ability to set a custom HTTPClient for a request.

func NewGetSubmissionsParamsWithTimeout

func NewGetSubmissionsParamsWithTimeout(timeout time.Duration) *GetSubmissionsParams

NewGetSubmissionsParamsWithTimeout creates a new GetSubmissionsParams object with the ability to set a timeout on a request.

func (*GetSubmissionsParams) SetContext

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

SetContext adds the context to the get submissions params

func (*GetSubmissionsParams) SetDefaults

func (o *GetSubmissionsParams) SetDefaults()

SetDefaults hydrates default values in the get submissions params (not the query body).

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

func (*GetSubmissionsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get submissions params

func (*GetSubmissionsParams) SetIds

func (o *GetSubmissionsParams) SetIds(ids []string)

SetIds adds the ids to the get submissions params

func (*GetSubmissionsParams) SetTimeout

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

SetTimeout adds the timeout to the get submissions params

func (*GetSubmissionsParams) WithContext

WithContext adds the context to the get submissions params

func (*GetSubmissionsParams) WithDefaults

func (o *GetSubmissionsParams) WithDefaults() *GetSubmissionsParams

WithDefaults hydrates default values in the get submissions params (not the query body).

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

func (*GetSubmissionsParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get submissions params

func (*GetSubmissionsParams) WithIds

WithIds adds the ids to the get submissions params

func (*GetSubmissionsParams) WithTimeout

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

WithTimeout adds the timeout to the get submissions params

func (*GetSubmissionsParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type GetSubmissionsReader

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

GetSubmissionsReader is a Reader for the GetSubmissions structure.

func (*GetSubmissionsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetSubmissionsTooManyRequests

type GetSubmissionsTooManyRequests struct {

	/* Request limit per minute.
	 */
	XRateLimitLimit int64

	/* The number of requests remaining for the sliding one minute window.
	 */
	XRateLimitRemaining int64

	/* Too many requests, retry after this time (as milliseconds since epoch)
	 */
	XRateLimitRetryAfter int64

	Payload *models.MsaReplyMetaOnly
}

GetSubmissionsTooManyRequests describes a response with status code 429, with default header values.

Too Many Requests

func NewGetSubmissionsTooManyRequests

func NewGetSubmissionsTooManyRequests() *GetSubmissionsTooManyRequests

NewGetSubmissionsTooManyRequests creates a GetSubmissionsTooManyRequests with default headers values

func (*GetSubmissionsTooManyRequests) Code added in v0.2.33

Code gets the status code for the get submissions too many requests response

func (*GetSubmissionsTooManyRequests) Error

func (*GetSubmissionsTooManyRequests) GetPayload

func (*GetSubmissionsTooManyRequests) IsClientError added in v0.2.27

func (o *GetSubmissionsTooManyRequests) IsClientError() bool

IsClientError returns true when this get submissions too many requests response has a 4xx status code

func (*GetSubmissionsTooManyRequests) IsCode added in v0.2.27

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

IsCode returns true when this get submissions too many requests response a status code equal to that given

func (*GetSubmissionsTooManyRequests) IsRedirect added in v0.2.27

func (o *GetSubmissionsTooManyRequests) IsRedirect() bool

IsRedirect returns true when this get submissions too many requests response has a 3xx status code

func (*GetSubmissionsTooManyRequests) IsServerError added in v0.2.27

func (o *GetSubmissionsTooManyRequests) IsServerError() bool

IsServerError returns true when this get submissions too many requests response has a 5xx status code

func (*GetSubmissionsTooManyRequests) IsSuccess added in v0.2.27

func (o *GetSubmissionsTooManyRequests) IsSuccess() bool

IsSuccess returns true when this get submissions too many requests response has a 2xx status code

func (*GetSubmissionsTooManyRequests) String added in v0.2.27

type GetSummaryReportsBadRequest

type GetSummaryReportsBadRequest struct {

	/* Request limit per minute.
	 */
	XRateLimitLimit int64

	/* The number of requests remaining for the sliding one minute window.
	 */
	XRateLimitRemaining int64

	Payload *models.FalconxSummaryReportV1Response
}

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

Bad Request

func NewGetSummaryReportsBadRequest

func NewGetSummaryReportsBadRequest() *GetSummaryReportsBadRequest

NewGetSummaryReportsBadRequest creates a GetSummaryReportsBadRequest with default headers values

func (*GetSummaryReportsBadRequest) Code added in v0.2.33

func (o *GetSummaryReportsBadRequest) Code() int

Code gets the status code for the get summary reports bad request response

func (*GetSummaryReportsBadRequest) Error

func (*GetSummaryReportsBadRequest) GetPayload

func (*GetSummaryReportsBadRequest) IsClientError added in v0.2.27

func (o *GetSummaryReportsBadRequest) IsClientError() bool

IsClientError returns true when this get summary reports bad request response has a 4xx status code

func (*GetSummaryReportsBadRequest) IsCode added in v0.2.27

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

IsCode returns true when this get summary reports bad request response a status code equal to that given

func (*GetSummaryReportsBadRequest) IsRedirect added in v0.2.27

func (o *GetSummaryReportsBadRequest) IsRedirect() bool

IsRedirect returns true when this get summary reports bad request response has a 3xx status code

func (*GetSummaryReportsBadRequest) IsServerError added in v0.2.27

func (o *GetSummaryReportsBadRequest) IsServerError() bool

IsServerError returns true when this get summary reports bad request response has a 5xx status code

func (*GetSummaryReportsBadRequest) IsSuccess added in v0.2.27

func (o *GetSummaryReportsBadRequest) IsSuccess() bool

IsSuccess returns true when this get summary reports bad request response has a 2xx status code

func (*GetSummaryReportsBadRequest) String added in v0.2.27

func (o *GetSummaryReportsBadRequest) String() string

type GetSummaryReportsDefault

type GetSummaryReportsDefault struct {
	Payload *models.FalconxSummaryReportV1Response
	// contains filtered or unexported fields
}

GetSummaryReportsDefault describes a response with status code -1, with default header values.

OK

func NewGetSummaryReportsDefault

func NewGetSummaryReportsDefault(code int) *GetSummaryReportsDefault

NewGetSummaryReportsDefault creates a GetSummaryReportsDefault with default headers values

func (*GetSummaryReportsDefault) Code

func (o *GetSummaryReportsDefault) Code() int

Code gets the status code for the get summary reports default response

func (*GetSummaryReportsDefault) Error

func (o *GetSummaryReportsDefault) Error() string

func (*GetSummaryReportsDefault) GetPayload

func (*GetSummaryReportsDefault) IsClientError added in v0.2.27

func (o *GetSummaryReportsDefault) IsClientError() bool

IsClientError returns true when this get summary reports default response has a 4xx status code

func (*GetSummaryReportsDefault) IsCode added in v0.2.27

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

IsCode returns true when this get summary reports default response a status code equal to that given

func (*GetSummaryReportsDefault) IsRedirect added in v0.2.27

func (o *GetSummaryReportsDefault) IsRedirect() bool

IsRedirect returns true when this get summary reports default response has a 3xx status code

func (*GetSummaryReportsDefault) IsServerError added in v0.2.27

func (o *GetSummaryReportsDefault) IsServerError() bool

IsServerError returns true when this get summary reports default response has a 5xx status code

func (*GetSummaryReportsDefault) IsSuccess added in v0.2.27

func (o *GetSummaryReportsDefault) IsSuccess() bool

IsSuccess returns true when this get summary reports default response has a 2xx status code

func (*GetSummaryReportsDefault) String added in v0.2.27

func (o *GetSummaryReportsDefault) String() string

type GetSummaryReportsForbidden

type GetSummaryReportsForbidden struct {

	/* Request limit per minute.
	 */
	XRateLimitLimit int64

	/* The number of requests remaining for the sliding one minute window.
	 */
	XRateLimitRemaining int64

	Payload *models.MsaReplyMetaOnly
}

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

Forbidden

func NewGetSummaryReportsForbidden

func NewGetSummaryReportsForbidden() *GetSummaryReportsForbidden

NewGetSummaryReportsForbidden creates a GetSummaryReportsForbidden with default headers values

func (*GetSummaryReportsForbidden) Code added in v0.2.33

func (o *GetSummaryReportsForbidden) Code() int

Code gets the status code for the get summary reports forbidden response

func (*GetSummaryReportsForbidden) Error

func (*GetSummaryReportsForbidden) GetPayload

func (*GetSummaryReportsForbidden) IsClientError added in v0.2.27

func (o *GetSummaryReportsForbidden) IsClientError() bool

IsClientError returns true when this get summary reports forbidden response has a 4xx status code

func (*GetSummaryReportsForbidden) IsCode added in v0.2.27

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

IsCode returns true when this get summary reports forbidden response a status code equal to that given

func (*GetSummaryReportsForbidden) IsRedirect added in v0.2.27

func (o *GetSummaryReportsForbidden) IsRedirect() bool

IsRedirect returns true when this get summary reports forbidden response has a 3xx status code

func (*GetSummaryReportsForbidden) IsServerError added in v0.2.27

func (o *GetSummaryReportsForbidden) IsServerError() bool

IsServerError returns true when this get summary reports forbidden response has a 5xx status code

func (*GetSummaryReportsForbidden) IsSuccess added in v0.2.27

func (o *GetSummaryReportsForbidden) IsSuccess() bool

IsSuccess returns true when this get summary reports forbidden response has a 2xx status code

func (*GetSummaryReportsForbidden) String added in v0.2.27

func (o *GetSummaryReportsForbidden) String() string

type GetSummaryReportsInternalServerError

type GetSummaryReportsInternalServerError struct {

	/* Request limit per minute.
	 */
	XRateLimitLimit int64

	/* The number of requests remaining for the sliding one minute window.
	 */
	XRateLimitRemaining int64

	Payload *models.FalconxSummaryReportV1Response
}

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

Internal Server Error

func NewGetSummaryReportsInternalServerError

func NewGetSummaryReportsInternalServerError() *GetSummaryReportsInternalServerError

NewGetSummaryReportsInternalServerError creates a GetSummaryReportsInternalServerError with default headers values

func (*GetSummaryReportsInternalServerError) Code added in v0.2.33

Code gets the status code for the get summary reports internal server error response

func (*GetSummaryReportsInternalServerError) Error

func (*GetSummaryReportsInternalServerError) GetPayload

func (*GetSummaryReportsInternalServerError) IsClientError added in v0.2.27

func (o *GetSummaryReportsInternalServerError) IsClientError() bool

IsClientError returns true when this get summary reports internal server error response has a 4xx status code

func (*GetSummaryReportsInternalServerError) IsCode added in v0.2.27

IsCode returns true when this get summary reports internal server error response a status code equal to that given

func (*GetSummaryReportsInternalServerError) IsRedirect added in v0.2.27

IsRedirect returns true when this get summary reports internal server error response has a 3xx status code

func (*GetSummaryReportsInternalServerError) IsServerError added in v0.2.27

func (o *GetSummaryReportsInternalServerError) IsServerError() bool

IsServerError returns true when this get summary reports internal server error response has a 5xx status code

func (*GetSummaryReportsInternalServerError) IsSuccess added in v0.2.27

IsSuccess returns true when this get summary reports internal server error response has a 2xx status code

func (*GetSummaryReportsInternalServerError) String added in v0.2.27

type GetSummaryReportsOK

type GetSummaryReportsOK struct {

	/* Request limit per minute.
	 */
	XRateLimitLimit int64

	/* The number of requests remaining for the sliding one minute window.
	 */
	XRateLimitRemaining int64

	Payload *models.FalconxSummaryReportV1Response
}

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

OK

func NewGetSummaryReportsOK

func NewGetSummaryReportsOK() *GetSummaryReportsOK

NewGetSummaryReportsOK creates a GetSummaryReportsOK with default headers values

func (*GetSummaryReportsOK) Code added in v0.2.33

func (o *GetSummaryReportsOK) Code() int

Code gets the status code for the get summary reports o k response

func (*GetSummaryReportsOK) Error

func (o *GetSummaryReportsOK) Error() string

func (*GetSummaryReportsOK) GetPayload

func (*GetSummaryReportsOK) IsClientError added in v0.2.27

func (o *GetSummaryReportsOK) IsClientError() bool

IsClientError returns true when this get summary reports o k response has a 4xx status code

func (*GetSummaryReportsOK) IsCode added in v0.2.27

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

IsCode returns true when this get summary reports o k response a status code equal to that given

func (*GetSummaryReportsOK) IsRedirect added in v0.2.27

func (o *GetSummaryReportsOK) IsRedirect() bool

IsRedirect returns true when this get summary reports o k response has a 3xx status code

func (*GetSummaryReportsOK) IsServerError added in v0.2.27

func (o *GetSummaryReportsOK) IsServerError() bool

IsServerError returns true when this get summary reports o k response has a 5xx status code

func (*GetSummaryReportsOK) IsSuccess added in v0.2.27

func (o *GetSummaryReportsOK) IsSuccess() bool

IsSuccess returns true when this get summary reports o k response has a 2xx status code

func (*GetSummaryReportsOK) String added in v0.2.27

func (o *GetSummaryReportsOK) String() string

type GetSummaryReportsParams

type GetSummaryReportsParams struct {

	/* Ids.

	   ID of a summary. Find a summary ID from the response when submitting a malware sample or search with `/falconx/queries/reports/v1`.
	*/
	Ids []string

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

GetSummaryReportsParams contains all the parameters to send to the API endpoint

for the get summary reports operation.

Typically these are written to a http.Request.

func NewGetSummaryReportsParams

func NewGetSummaryReportsParams() *GetSummaryReportsParams

NewGetSummaryReportsParams creates a new GetSummaryReportsParams 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 NewGetSummaryReportsParamsWithContext

func NewGetSummaryReportsParamsWithContext(ctx context.Context) *GetSummaryReportsParams

NewGetSummaryReportsParamsWithContext creates a new GetSummaryReportsParams object with the ability to set a context for a request.

func NewGetSummaryReportsParamsWithHTTPClient

func NewGetSummaryReportsParamsWithHTTPClient(client *http.Client) *GetSummaryReportsParams

NewGetSummaryReportsParamsWithHTTPClient creates a new GetSummaryReportsParams object with the ability to set a custom HTTPClient for a request.

func NewGetSummaryReportsParamsWithTimeout

func NewGetSummaryReportsParamsWithTimeout(timeout time.Duration) *GetSummaryReportsParams

NewGetSummaryReportsParamsWithTimeout creates a new GetSummaryReportsParams object with the ability to set a timeout on a request.

func (*GetSummaryReportsParams) SetContext

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

SetContext adds the context to the get summary reports params

func (*GetSummaryReportsParams) SetDefaults

func (o *GetSummaryReportsParams) SetDefaults()

SetDefaults hydrates default values in the get summary reports params (not the query body).

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

func (*GetSummaryReportsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get summary reports params

func (*GetSummaryReportsParams) SetIds

func (o *GetSummaryReportsParams) SetIds(ids []string)

SetIds adds the ids to the get summary reports params

func (*GetSummaryReportsParams) SetTimeout

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

SetTimeout adds the timeout to the get summary reports params

func (*GetSummaryReportsParams) WithContext

WithContext adds the context to the get summary reports params

func (*GetSummaryReportsParams) WithDefaults

WithDefaults hydrates default values in the get summary reports params (not the query body).

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

func (*GetSummaryReportsParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get summary reports params

func (*GetSummaryReportsParams) WithIds

WithIds adds the ids to the get summary reports params

func (*GetSummaryReportsParams) WithTimeout

WithTimeout adds the timeout to the get summary reports params

func (*GetSummaryReportsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetSummaryReportsReader

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

GetSummaryReportsReader is a Reader for the GetSummaryReports structure.

func (*GetSummaryReportsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetSummaryReportsTooManyRequests

type GetSummaryReportsTooManyRequests struct {

	/* Request limit per minute.
	 */
	XRateLimitLimit int64

	/* The number of requests remaining for the sliding one minute window.
	 */
	XRateLimitRemaining int64

	/* Too many requests, retry after this time (as milliseconds since epoch)
	 */
	XRateLimitRetryAfter int64

	Payload *models.MsaReplyMetaOnly
}

GetSummaryReportsTooManyRequests describes a response with status code 429, with default header values.

Too Many Requests

func NewGetSummaryReportsTooManyRequests

func NewGetSummaryReportsTooManyRequests() *GetSummaryReportsTooManyRequests

NewGetSummaryReportsTooManyRequests creates a GetSummaryReportsTooManyRequests with default headers values

func (*GetSummaryReportsTooManyRequests) Code added in v0.2.33

Code gets the status code for the get summary reports too many requests response

func (*GetSummaryReportsTooManyRequests) Error

func (*GetSummaryReportsTooManyRequests) GetPayload

func (*GetSummaryReportsTooManyRequests) IsClientError added in v0.2.27

func (o *GetSummaryReportsTooManyRequests) IsClientError() bool

IsClientError returns true when this get summary reports too many requests response has a 4xx status code

func (*GetSummaryReportsTooManyRequests) IsCode added in v0.2.27

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

IsCode returns true when this get summary reports too many requests response a status code equal to that given

func (*GetSummaryReportsTooManyRequests) IsRedirect added in v0.2.27

func (o *GetSummaryReportsTooManyRequests) IsRedirect() bool

IsRedirect returns true when this get summary reports too many requests response has a 3xx status code

func (*GetSummaryReportsTooManyRequests) IsServerError added in v0.2.27

func (o *GetSummaryReportsTooManyRequests) IsServerError() bool

IsServerError returns true when this get summary reports too many requests response has a 5xx status code

func (*GetSummaryReportsTooManyRequests) IsSuccess added in v0.2.27

func (o *GetSummaryReportsTooManyRequests) IsSuccess() bool

IsSuccess returns true when this get summary reports too many requests response has a 2xx status code

func (*GetSummaryReportsTooManyRequests) String added in v0.2.27

type QueryReportsBadRequest

type QueryReportsBadRequest struct {

	/* Request limit per minute.
	 */
	XRateLimitLimit int64

	/* The number of requests remaining for the sliding one minute window.
	 */
	XRateLimitRemaining int64

	Payload *models.MsaQueryResponse
}

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

Bad Request

func NewQueryReportsBadRequest

func NewQueryReportsBadRequest() *QueryReportsBadRequest

NewQueryReportsBadRequest creates a QueryReportsBadRequest with default headers values

func (*QueryReportsBadRequest) Code added in v0.2.33

func (o *QueryReportsBadRequest) Code() int

Code gets the status code for the query reports bad request response

func (*QueryReportsBadRequest) Error

func (o *QueryReportsBadRequest) Error() string

func (*QueryReportsBadRequest) GetPayload

func (*QueryReportsBadRequest) IsClientError added in v0.2.27

func (o *QueryReportsBadRequest) IsClientError() bool

IsClientError returns true when this query reports bad request response has a 4xx status code

func (*QueryReportsBadRequest) IsCode added in v0.2.27

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

IsCode returns true when this query reports bad request response a status code equal to that given

func (*QueryReportsBadRequest) IsRedirect added in v0.2.27

func (o *QueryReportsBadRequest) IsRedirect() bool

IsRedirect returns true when this query reports bad request response has a 3xx status code

func (*QueryReportsBadRequest) IsServerError added in v0.2.27

func (o *QueryReportsBadRequest) IsServerError() bool

IsServerError returns true when this query reports bad request response has a 5xx status code

func (*QueryReportsBadRequest) IsSuccess added in v0.2.27

func (o *QueryReportsBadRequest) IsSuccess() bool

IsSuccess returns true when this query reports bad request response has a 2xx status code

func (*QueryReportsBadRequest) String added in v0.2.27

func (o *QueryReportsBadRequest) String() string

type QueryReportsDefault

type QueryReportsDefault struct {
	Payload *models.MsaQueryResponse
	// contains filtered or unexported fields
}

QueryReportsDefault describes a response with status code -1, with default header values.

OK

func NewQueryReportsDefault

func NewQueryReportsDefault(code int) *QueryReportsDefault

NewQueryReportsDefault creates a QueryReportsDefault with default headers values

func (*QueryReportsDefault) Code

func (o *QueryReportsDefault) Code() int

Code gets the status code for the query reports default response

func (*QueryReportsDefault) Error

func (o *QueryReportsDefault) Error() string

func (*QueryReportsDefault) GetPayload

func (o *QueryReportsDefault) GetPayload() *models.MsaQueryResponse

func (*QueryReportsDefault) IsClientError added in v0.2.27

func (o *QueryReportsDefault) IsClientError() bool

IsClientError returns true when this query reports default response has a 4xx status code

func (*QueryReportsDefault) IsCode added in v0.2.27

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

IsCode returns true when this query reports default response a status code equal to that given

func (*QueryReportsDefault) IsRedirect added in v0.2.27

func (o *QueryReportsDefault) IsRedirect() bool

IsRedirect returns true when this query reports default response has a 3xx status code

func (*QueryReportsDefault) IsServerError added in v0.2.27

func (o *QueryReportsDefault) IsServerError() bool

IsServerError returns true when this query reports default response has a 5xx status code

func (*QueryReportsDefault) IsSuccess added in v0.2.27

func (o *QueryReportsDefault) IsSuccess() bool

IsSuccess returns true when this query reports default response has a 2xx status code

func (*QueryReportsDefault) String added in v0.2.27

func (o *QueryReportsDefault) String() string

type QueryReportsForbidden

type QueryReportsForbidden struct {

	/* Request limit per minute.
	 */
	XRateLimitLimit int64

	/* The number of requests remaining for the sliding one minute window.
	 */
	XRateLimitRemaining int64

	Payload *models.MsaReplyMetaOnly
}

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

Forbidden

func NewQueryReportsForbidden

func NewQueryReportsForbidden() *QueryReportsForbidden

NewQueryReportsForbidden creates a QueryReportsForbidden with default headers values

func (*QueryReportsForbidden) Code added in v0.2.33

func (o *QueryReportsForbidden) Code() int

Code gets the status code for the query reports forbidden response

func (*QueryReportsForbidden) Error

func (o *QueryReportsForbidden) Error() string

func (*QueryReportsForbidden) GetPayload

func (*QueryReportsForbidden) IsClientError added in v0.2.27

func (o *QueryReportsForbidden) IsClientError() bool

IsClientError returns true when this query reports forbidden response has a 4xx status code

func (*QueryReportsForbidden) IsCode added in v0.2.27

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

IsCode returns true when this query reports forbidden response a status code equal to that given

func (*QueryReportsForbidden) IsRedirect added in v0.2.27

func (o *QueryReportsForbidden) IsRedirect() bool

IsRedirect returns true when this query reports forbidden response has a 3xx status code

func (*QueryReportsForbidden) IsServerError added in v0.2.27

func (o *QueryReportsForbidden) IsServerError() bool

IsServerError returns true when this query reports forbidden response has a 5xx status code

func (*QueryReportsForbidden) IsSuccess added in v0.2.27

func (o *QueryReportsForbidden) IsSuccess() bool

IsSuccess returns true when this query reports forbidden response has a 2xx status code

func (*QueryReportsForbidden) String added in v0.2.27

func (o *QueryReportsForbidden) String() string

type QueryReportsInternalServerError

type QueryReportsInternalServerError struct {

	/* Request limit per minute.
	 */
	XRateLimitLimit int64

	/* The number of requests remaining for the sliding one minute window.
	 */
	XRateLimitRemaining int64

	Payload *models.MsaQueryResponse
}

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

Internal Server Error

func NewQueryReportsInternalServerError

func NewQueryReportsInternalServerError() *QueryReportsInternalServerError

NewQueryReportsInternalServerError creates a QueryReportsInternalServerError with default headers values

func (*QueryReportsInternalServerError) Code added in v0.2.33

Code gets the status code for the query reports internal server error response

func (*QueryReportsInternalServerError) Error

func (*QueryReportsInternalServerError) GetPayload

func (*QueryReportsInternalServerError) IsClientError added in v0.2.27

func (o *QueryReportsInternalServerError) IsClientError() bool

IsClientError returns true when this query reports internal server error response has a 4xx status code

func (*QueryReportsInternalServerError) IsCode added in v0.2.27

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

IsCode returns true when this query reports internal server error response a status code equal to that given

func (*QueryReportsInternalServerError) IsRedirect added in v0.2.27

func (o *QueryReportsInternalServerError) IsRedirect() bool

IsRedirect returns true when this query reports internal server error response has a 3xx status code

func (*QueryReportsInternalServerError) IsServerError added in v0.2.27

func (o *QueryReportsInternalServerError) IsServerError() bool

IsServerError returns true when this query reports internal server error response has a 5xx status code

func (*QueryReportsInternalServerError) IsSuccess added in v0.2.27

func (o *QueryReportsInternalServerError) IsSuccess() bool

IsSuccess returns true when this query reports internal server error response has a 2xx status code

func (*QueryReportsInternalServerError) String added in v0.2.27

type QueryReportsOK

type QueryReportsOK struct {

	/* Request limit per minute.
	 */
	XRateLimitLimit int64

	/* The number of requests remaining for the sliding one minute window.
	 */
	XRateLimitRemaining int64

	Payload *models.MsaQueryResponse
}

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

OK

func NewQueryReportsOK

func NewQueryReportsOK() *QueryReportsOK

NewQueryReportsOK creates a QueryReportsOK with default headers values

func (*QueryReportsOK) Code added in v0.2.33

func (o *QueryReportsOK) Code() int

Code gets the status code for the query reports o k response

func (*QueryReportsOK) Error

func (o *QueryReportsOK) Error() string

func (*QueryReportsOK) GetPayload

func (o *QueryReportsOK) GetPayload() *models.MsaQueryResponse

func (*QueryReportsOK) IsClientError added in v0.2.27

func (o *QueryReportsOK) IsClientError() bool

IsClientError returns true when this query reports o k response has a 4xx status code

func (*QueryReportsOK) IsCode added in v0.2.27

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

IsCode returns true when this query reports o k response a status code equal to that given

func (*QueryReportsOK) IsRedirect added in v0.2.27

func (o *QueryReportsOK) IsRedirect() bool

IsRedirect returns true when this query reports o k response has a 3xx status code

func (*QueryReportsOK) IsServerError added in v0.2.27

func (o *QueryReportsOK) IsServerError() bool

IsServerError returns true when this query reports o k response has a 5xx status code

func (*QueryReportsOK) IsSuccess added in v0.2.27

func (o *QueryReportsOK) IsSuccess() bool

IsSuccess returns true when this query reports o k response has a 2xx status code

func (*QueryReportsOK) String added in v0.2.27

func (o *QueryReportsOK) String() string

type QueryReportsParams

type QueryReportsParams struct {

	/* Filter.

	   Optional filter and sort criteria in the form of an FQL query. For more information about FQL queries, see [our FQL documentation in Falcon](https://falcon.crowdstrike.com/support/documentation/45/falcon-query-language-feature-guide).
	*/
	Filter *string

	/* Limit.

	   Maximum number of report IDs to return. Max: 5000.
	*/
	Limit *int64

	/* Offset.

	   The offset to start retrieving reports from.
	*/
	Offset *string

	/* Sort.

	   Sort order: `asc` or `desc`.
	*/
	Sort *string

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

QueryReportsParams contains all the parameters to send to the API endpoint

for the query reports operation.

Typically these are written to a http.Request.

func NewQueryReportsParams

func NewQueryReportsParams() *QueryReportsParams

NewQueryReportsParams creates a new QueryReportsParams 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 NewQueryReportsParamsWithContext

func NewQueryReportsParamsWithContext(ctx context.Context) *QueryReportsParams

NewQueryReportsParamsWithContext creates a new QueryReportsParams object with the ability to set a context for a request.

func NewQueryReportsParamsWithHTTPClient

func NewQueryReportsParamsWithHTTPClient(client *http.Client) *QueryReportsParams

NewQueryReportsParamsWithHTTPClient creates a new QueryReportsParams object with the ability to set a custom HTTPClient for a request.

func NewQueryReportsParamsWithTimeout

func NewQueryReportsParamsWithTimeout(timeout time.Duration) *QueryReportsParams

NewQueryReportsParamsWithTimeout creates a new QueryReportsParams object with the ability to set a timeout on a request.

func (*QueryReportsParams) SetContext

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

SetContext adds the context to the query reports params

func (*QueryReportsParams) SetDefaults

func (o *QueryReportsParams) SetDefaults()

SetDefaults hydrates default values in the query reports params (not the query body).

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

func (*QueryReportsParams) SetFilter

func (o *QueryReportsParams) SetFilter(filter *string)

SetFilter adds the filter to the query reports params

func (*QueryReportsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the query reports params

func (*QueryReportsParams) SetLimit

func (o *QueryReportsParams) SetLimit(limit *int64)

SetLimit adds the limit to the query reports params

func (*QueryReportsParams) SetOffset

func (o *QueryReportsParams) SetOffset(offset *string)

SetOffset adds the offset to the query reports params

func (*QueryReportsParams) SetSort

func (o *QueryReportsParams) SetSort(sort *string)

SetSort adds the sort to the query reports params

func (*QueryReportsParams) SetTimeout

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

SetTimeout adds the timeout to the query reports params

func (*QueryReportsParams) WithContext

WithContext adds the context to the query reports params

func (*QueryReportsParams) WithDefaults

func (o *QueryReportsParams) WithDefaults() *QueryReportsParams

WithDefaults hydrates default values in the query reports params (not the query body).

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

func (*QueryReportsParams) WithFilter

func (o *QueryReportsParams) WithFilter(filter *string) *QueryReportsParams

WithFilter adds the filter to the query reports params

func (*QueryReportsParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the query reports params

func (*QueryReportsParams) WithLimit

func (o *QueryReportsParams) WithLimit(limit *int64) *QueryReportsParams

WithLimit adds the limit to the query reports params

func (*QueryReportsParams) WithOffset

func (o *QueryReportsParams) WithOffset(offset *string) *QueryReportsParams

WithOffset adds the offset to the query reports params

func (*QueryReportsParams) WithSort

func (o *QueryReportsParams) WithSort(sort *string) *QueryReportsParams

WithSort adds the sort to the query reports params

func (*QueryReportsParams) WithTimeout

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

WithTimeout adds the timeout to the query reports params

func (*QueryReportsParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type QueryReportsReader

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

QueryReportsReader is a Reader for the QueryReports structure.

func (*QueryReportsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type QueryReportsTooManyRequests

type QueryReportsTooManyRequests struct {

	/* Request limit per minute.
	 */
	XRateLimitLimit int64

	/* The number of requests remaining for the sliding one minute window.
	 */
	XRateLimitRemaining int64

	/* Too many requests, retry after this time (as milliseconds since epoch)
	 */
	XRateLimitRetryAfter int64

	Payload *models.MsaReplyMetaOnly
}

QueryReportsTooManyRequests describes a response with status code 429, with default header values.

Too Many Requests

func NewQueryReportsTooManyRequests

func NewQueryReportsTooManyRequests() *QueryReportsTooManyRequests

NewQueryReportsTooManyRequests creates a QueryReportsTooManyRequests with default headers values

func (*QueryReportsTooManyRequests) Code added in v0.2.33

func (o *QueryReportsTooManyRequests) Code() int

Code gets the status code for the query reports too many requests response

func (*QueryReportsTooManyRequests) Error

func (*QueryReportsTooManyRequests) GetPayload

func (*QueryReportsTooManyRequests) IsClientError added in v0.2.27

func (o *QueryReportsTooManyRequests) IsClientError() bool

IsClientError returns true when this query reports too many requests response has a 4xx status code

func (*QueryReportsTooManyRequests) IsCode added in v0.2.27

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

IsCode returns true when this query reports too many requests response a status code equal to that given

func (*QueryReportsTooManyRequests) IsRedirect added in v0.2.27

func (o *QueryReportsTooManyRequests) IsRedirect() bool

IsRedirect returns true when this query reports too many requests response has a 3xx status code

func (*QueryReportsTooManyRequests) IsServerError added in v0.2.27

func (o *QueryReportsTooManyRequests) IsServerError() bool

IsServerError returns true when this query reports too many requests response has a 5xx status code

func (*QueryReportsTooManyRequests) IsSuccess added in v0.2.27

func (o *QueryReportsTooManyRequests) IsSuccess() bool

IsSuccess returns true when this query reports too many requests response has a 2xx status code

func (*QueryReportsTooManyRequests) String added in v0.2.27

func (o *QueryReportsTooManyRequests) String() string

type QuerySampleV1BadRequest

type QuerySampleV1BadRequest struct {

	/* Trace-ID: submit to support if resolving an issue
	 */
	XCSTRACEID string

	/* Request limit per minute.
	 */
	XRateLimitLimit int64

	/* The number of requests remaining for the sliding one minute window.
	 */
	XRateLimitRemaining int64

	Payload *models.MsaQueryResponse
}

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

Bad Request

func NewQuerySampleV1BadRequest

func NewQuerySampleV1BadRequest() *QuerySampleV1BadRequest

NewQuerySampleV1BadRequest creates a QuerySampleV1BadRequest with default headers values

func (*QuerySampleV1BadRequest) Code added in v0.2.33

func (o *QuerySampleV1BadRequest) Code() int

Code gets the status code for the query sample v1 bad request response

func (*QuerySampleV1BadRequest) Error

func (o *QuerySampleV1BadRequest) Error() string

func (*QuerySampleV1BadRequest) GetPayload

func (*QuerySampleV1BadRequest) IsClientError added in v0.2.27

func (o *QuerySampleV1BadRequest) IsClientError() bool

IsClientError returns true when this query sample v1 bad request response has a 4xx status code

func (*QuerySampleV1BadRequest) IsCode added in v0.2.27

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

IsCode returns true when this query sample v1 bad request response a status code equal to that given

func (*QuerySampleV1BadRequest) IsRedirect added in v0.2.27

func (o *QuerySampleV1BadRequest) IsRedirect() bool

IsRedirect returns true when this query sample v1 bad request response has a 3xx status code

func (*QuerySampleV1BadRequest) IsServerError added in v0.2.27

func (o *QuerySampleV1BadRequest) IsServerError() bool

IsServerError returns true when this query sample v1 bad request response has a 5xx status code

func (*QuerySampleV1BadRequest) IsSuccess added in v0.2.27

func (o *QuerySampleV1BadRequest) IsSuccess() bool

IsSuccess returns true when this query sample v1 bad request response has a 2xx status code

func (*QuerySampleV1BadRequest) String added in v0.2.27

func (o *QuerySampleV1BadRequest) String() string

type QuerySampleV1Default

type QuerySampleV1Default struct {
	Payload *models.MsaQueryResponse
	// contains filtered or unexported fields
}

QuerySampleV1Default describes a response with status code -1, with default header values.

OK

func NewQuerySampleV1Default

func NewQuerySampleV1Default(code int) *QuerySampleV1Default

NewQuerySampleV1Default creates a QuerySampleV1Default with default headers values

func (*QuerySampleV1Default) Code

func (o *QuerySampleV1Default) Code() int

Code gets the status code for the query sample v1 default response

func (*QuerySampleV1Default) Error

func (o *QuerySampleV1Default) Error() string

func (*QuerySampleV1Default) GetPayload

func (o *QuerySampleV1Default) GetPayload() *models.MsaQueryResponse

func (*QuerySampleV1Default) IsClientError added in v0.2.27

func (o *QuerySampleV1Default) IsClientError() bool

IsClientError returns true when this query sample v1 default response has a 4xx status code

func (*QuerySampleV1Default) IsCode added in v0.2.27

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

IsCode returns true when this query sample v1 default response a status code equal to that given

func (*QuerySampleV1Default) IsRedirect added in v0.2.27

func (o *QuerySampleV1Default) IsRedirect() bool

IsRedirect returns true when this query sample v1 default response has a 3xx status code

func (*QuerySampleV1Default) IsServerError added in v0.2.27

func (o *QuerySampleV1Default) IsServerError() bool

IsServerError returns true when this query sample v1 default response has a 5xx status code

func (*QuerySampleV1Default) IsSuccess added in v0.2.27

func (o *QuerySampleV1Default) IsSuccess() bool

IsSuccess returns true when this query sample v1 default response has a 2xx status code

func (*QuerySampleV1Default) String added in v0.2.27

func (o *QuerySampleV1Default) String() string

type QuerySampleV1Forbidden

type QuerySampleV1Forbidden struct {

	/* Trace-ID: submit to support if resolving an issue
	 */
	XCSTRACEID string

	/* Request limit per minute.
	 */
	XRateLimitLimit int64

	/* The number of requests remaining for the sliding one minute window.
	 */
	XRateLimitRemaining int64

	Payload *models.MsaQueryResponse
}

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

Forbidden

func NewQuerySampleV1Forbidden

func NewQuerySampleV1Forbidden() *QuerySampleV1Forbidden

NewQuerySampleV1Forbidden creates a QuerySampleV1Forbidden with default headers values

func (*QuerySampleV1Forbidden) Code added in v0.2.33

func (o *QuerySampleV1Forbidden) Code() int

Code gets the status code for the query sample v1 forbidden response

func (*QuerySampleV1Forbidden) Error

func (o *QuerySampleV1Forbidden) Error() string

func (*QuerySampleV1Forbidden) GetPayload

func (*QuerySampleV1Forbidden) IsClientError added in v0.2.27

func (o *QuerySampleV1Forbidden) IsClientError() bool

IsClientError returns true when this query sample v1 forbidden response has a 4xx status code

func (*QuerySampleV1Forbidden) IsCode added in v0.2.27

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

IsCode returns true when this query sample v1 forbidden response a status code equal to that given

func (*QuerySampleV1Forbidden) IsRedirect added in v0.2.27

func (o *QuerySampleV1Forbidden) IsRedirect() bool

IsRedirect returns true when this query sample v1 forbidden response has a 3xx status code

func (*QuerySampleV1Forbidden) IsServerError added in v0.2.27

func (o *QuerySampleV1Forbidden) IsServerError() bool

IsServerError returns true when this query sample v1 forbidden response has a 5xx status code

func (*QuerySampleV1Forbidden) IsSuccess added in v0.2.27

func (o *QuerySampleV1Forbidden) IsSuccess() bool

IsSuccess returns true when this query sample v1 forbidden response has a 2xx status code

func (*QuerySampleV1Forbidden) String added in v0.2.27

func (o *QuerySampleV1Forbidden) String() string

type QuerySampleV1InternalServerError

type QuerySampleV1InternalServerError struct {

	/* Trace-ID: submit to support if resolving an issue
	 */
	XCSTRACEID string

	/* Request limit per minute.
	 */
	XRateLimitLimit int64

	/* The number of requests remaining for the sliding one minute window.
	 */
	XRateLimitRemaining int64

	Payload *models.MsaQueryResponse
}

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

Internal Server Error

func NewQuerySampleV1InternalServerError

func NewQuerySampleV1InternalServerError() *QuerySampleV1InternalServerError

NewQuerySampleV1InternalServerError creates a QuerySampleV1InternalServerError with default headers values

func (*QuerySampleV1InternalServerError) Code added in v0.2.33

Code gets the status code for the query sample v1 internal server error response

func (*QuerySampleV1InternalServerError) Error

func (*QuerySampleV1InternalServerError) GetPayload

func (*QuerySampleV1InternalServerError) IsClientError added in v0.2.27

func (o *QuerySampleV1InternalServerError) IsClientError() bool

IsClientError returns true when this query sample v1 internal server error response has a 4xx status code

func (*QuerySampleV1InternalServerError) IsCode added in v0.2.27

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

IsCode returns true when this query sample v1 internal server error response a status code equal to that given

func (*QuerySampleV1InternalServerError) IsRedirect added in v0.2.27

func (o *QuerySampleV1InternalServerError) IsRedirect() bool

IsRedirect returns true when this query sample v1 internal server error response has a 3xx status code

func (*QuerySampleV1InternalServerError) IsServerError added in v0.2.27

func (o *QuerySampleV1InternalServerError) IsServerError() bool

IsServerError returns true when this query sample v1 internal server error response has a 5xx status code

func (*QuerySampleV1InternalServerError) IsSuccess added in v0.2.27

func (o *QuerySampleV1InternalServerError) IsSuccess() bool

IsSuccess returns true when this query sample v1 internal server error response has a 2xx status code

func (*QuerySampleV1InternalServerError) String added in v0.2.27

type QuerySampleV1OK

type QuerySampleV1OK struct {

	/* Trace-ID: submit to support if resolving an issue
	 */
	XCSTRACEID string

	/* Request limit per minute.
	 */
	XRateLimitLimit int64

	/* The number of requests remaining for the sliding one minute window.
	 */
	XRateLimitRemaining int64

	Payload *models.MsaQueryResponse
}

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

OK

func NewQuerySampleV1OK

func NewQuerySampleV1OK() *QuerySampleV1OK

NewQuerySampleV1OK creates a QuerySampleV1OK with default headers values

func (*QuerySampleV1OK) Code added in v0.2.33

func (o *QuerySampleV1OK) Code() int

Code gets the status code for the query sample v1 o k response

func (*QuerySampleV1OK) Error

func (o *QuerySampleV1OK) Error() string

func (*QuerySampleV1OK) GetPayload

func (o *QuerySampleV1OK) GetPayload() *models.MsaQueryResponse

func (*QuerySampleV1OK) IsClientError added in v0.2.27

func (o *QuerySampleV1OK) IsClientError() bool

IsClientError returns true when this query sample v1 o k response has a 4xx status code

func (*QuerySampleV1OK) IsCode added in v0.2.27

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

IsCode returns true when this query sample v1 o k response a status code equal to that given

func (*QuerySampleV1OK) IsRedirect added in v0.2.27

func (o *QuerySampleV1OK) IsRedirect() bool

IsRedirect returns true when this query sample v1 o k response has a 3xx status code

func (*QuerySampleV1OK) IsServerError added in v0.2.27

func (o *QuerySampleV1OK) IsServerError() bool

IsServerError returns true when this query sample v1 o k response has a 5xx status code

func (*QuerySampleV1OK) IsSuccess added in v0.2.27

func (o *QuerySampleV1OK) IsSuccess() bool

IsSuccess returns true when this query sample v1 o k response has a 2xx status code

func (*QuerySampleV1OK) String added in v0.2.27

func (o *QuerySampleV1OK) String() string

type QuerySampleV1Params

type QuerySampleV1Params struct {

	/* Body.

	   Pass a list of sha256s to check if the exist. It will be returned the list of existing hashes.
	*/
	Body *models.ClientQuerySamplesRequest

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

QuerySampleV1Params contains all the parameters to send to the API endpoint

for the query sample v1 operation.

Typically these are written to a http.Request.

func NewQuerySampleV1Params

func NewQuerySampleV1Params() *QuerySampleV1Params

NewQuerySampleV1Params creates a new QuerySampleV1Params 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 NewQuerySampleV1ParamsWithContext

func NewQuerySampleV1ParamsWithContext(ctx context.Context) *QuerySampleV1Params

NewQuerySampleV1ParamsWithContext creates a new QuerySampleV1Params object with the ability to set a context for a request.

func NewQuerySampleV1ParamsWithHTTPClient

func NewQuerySampleV1ParamsWithHTTPClient(client *http.Client) *QuerySampleV1Params

NewQuerySampleV1ParamsWithHTTPClient creates a new QuerySampleV1Params object with the ability to set a custom HTTPClient for a request.

func NewQuerySampleV1ParamsWithTimeout

func NewQuerySampleV1ParamsWithTimeout(timeout time.Duration) *QuerySampleV1Params

NewQuerySampleV1ParamsWithTimeout creates a new QuerySampleV1Params object with the ability to set a timeout on a request.

func (*QuerySampleV1Params) SetBody

SetBody adds the body to the query sample v1 params

func (*QuerySampleV1Params) SetContext

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

SetContext adds the context to the query sample v1 params

func (*QuerySampleV1Params) SetDefaults

func (o *QuerySampleV1Params) SetDefaults()

SetDefaults hydrates default values in the query sample v1 params (not the query body).

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

func (*QuerySampleV1Params) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the query sample v1 params

func (*QuerySampleV1Params) SetTimeout

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

SetTimeout adds the timeout to the query sample v1 params

func (*QuerySampleV1Params) WithBody

WithBody adds the body to the query sample v1 params

func (*QuerySampleV1Params) WithContext

WithContext adds the context to the query sample v1 params

func (*QuerySampleV1Params) WithDefaults

func (o *QuerySampleV1Params) WithDefaults() *QuerySampleV1Params

WithDefaults hydrates default values in the query sample v1 params (not the query body).

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

func (*QuerySampleV1Params) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the query sample v1 params

func (*QuerySampleV1Params) WithTimeout

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

WithTimeout adds the timeout to the query sample v1 params

func (*QuerySampleV1Params) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type QuerySampleV1Reader

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

QuerySampleV1Reader is a Reader for the QuerySampleV1 structure.

func (*QuerySampleV1Reader) ReadResponse

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

ReadResponse reads a server response into the received o.

type QuerySampleV1TooManyRequests

type QuerySampleV1TooManyRequests struct {

	/* Trace-ID: submit to support if resolving an issue
	 */
	XCSTRACEID string

	/* Request limit per minute.
	 */
	XRateLimitLimit int64

	/* The number of requests remaining for the sliding one minute window.
	 */
	XRateLimitRemaining int64

	/* Too many requests, retry after this time (as milliseconds since epoch)
	 */
	XRateLimitRetryAfter int64

	Payload *models.MsaReplyMetaOnly
}

QuerySampleV1TooManyRequests describes a response with status code 429, with default header values.

Too Many Requests

func NewQuerySampleV1TooManyRequests

func NewQuerySampleV1TooManyRequests() *QuerySampleV1TooManyRequests

NewQuerySampleV1TooManyRequests creates a QuerySampleV1TooManyRequests with default headers values

func (*QuerySampleV1TooManyRequests) Code added in v0.2.33

Code gets the status code for the query sample v1 too many requests response

func (*QuerySampleV1TooManyRequests) Error

func (*QuerySampleV1TooManyRequests) GetPayload

func (*QuerySampleV1TooManyRequests) IsClientError added in v0.2.27

func (o *QuerySampleV1TooManyRequests) IsClientError() bool

IsClientError returns true when this query sample v1 too many requests response has a 4xx status code

func (*QuerySampleV1TooManyRequests) IsCode added in v0.2.27

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

IsCode returns true when this query sample v1 too many requests response a status code equal to that given

func (*QuerySampleV1TooManyRequests) IsRedirect added in v0.2.27

func (o *QuerySampleV1TooManyRequests) IsRedirect() bool

IsRedirect returns true when this query sample v1 too many requests response has a 3xx status code

func (*QuerySampleV1TooManyRequests) IsServerError added in v0.2.27

func (o *QuerySampleV1TooManyRequests) IsServerError() bool

IsServerError returns true when this query sample v1 too many requests response has a 5xx status code

func (*QuerySampleV1TooManyRequests) IsSuccess added in v0.2.27

func (o *QuerySampleV1TooManyRequests) IsSuccess() bool

IsSuccess returns true when this query sample v1 too many requests response has a 2xx status code

func (*QuerySampleV1TooManyRequests) String added in v0.2.27

type QuerySubmissionsBadRequest

type QuerySubmissionsBadRequest struct {

	/* Request limit per minute.
	 */
	XRateLimitLimit int64

	/* The number of requests remaining for the sliding one minute window.
	 */
	XRateLimitRemaining int64

	Payload *models.MsaQueryResponse
}

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

Bad Request

func NewQuerySubmissionsBadRequest

func NewQuerySubmissionsBadRequest() *QuerySubmissionsBadRequest

NewQuerySubmissionsBadRequest creates a QuerySubmissionsBadRequest with default headers values

func (*QuerySubmissionsBadRequest) Code added in v0.2.33

func (o *QuerySubmissionsBadRequest) Code() int

Code gets the status code for the query submissions bad request response

func (*QuerySubmissionsBadRequest) Error

func (*QuerySubmissionsBadRequest) GetPayload

func (*QuerySubmissionsBadRequest) IsClientError added in v0.2.27

func (o *QuerySubmissionsBadRequest) IsClientError() bool

IsClientError returns true when this query submissions bad request response has a 4xx status code

func (*QuerySubmissionsBadRequest) IsCode added in v0.2.27

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

IsCode returns true when this query submissions bad request response a status code equal to that given

func (*QuerySubmissionsBadRequest) IsRedirect added in v0.2.27

func (o *QuerySubmissionsBadRequest) IsRedirect() bool

IsRedirect returns true when this query submissions bad request response has a 3xx status code

func (*QuerySubmissionsBadRequest) IsServerError added in v0.2.27

func (o *QuerySubmissionsBadRequest) IsServerError() bool

IsServerError returns true when this query submissions bad request response has a 5xx status code

func (*QuerySubmissionsBadRequest) IsSuccess added in v0.2.27

func (o *QuerySubmissionsBadRequest) IsSuccess() bool

IsSuccess returns true when this query submissions bad request response has a 2xx status code

func (*QuerySubmissionsBadRequest) String added in v0.2.27

func (o *QuerySubmissionsBadRequest) String() string

type QuerySubmissionsDefault

type QuerySubmissionsDefault struct {
	Payload *models.MsaQueryResponse
	// contains filtered or unexported fields
}

QuerySubmissionsDefault describes a response with status code -1, with default header values.

OK

func NewQuerySubmissionsDefault

func NewQuerySubmissionsDefault(code int) *QuerySubmissionsDefault

NewQuerySubmissionsDefault creates a QuerySubmissionsDefault with default headers values

func (*QuerySubmissionsDefault) Code

func (o *QuerySubmissionsDefault) Code() int

Code gets the status code for the query submissions default response

func (*QuerySubmissionsDefault) Error

func (o *QuerySubmissionsDefault) Error() string

func (*QuerySubmissionsDefault) GetPayload

func (*QuerySubmissionsDefault) IsClientError added in v0.2.27

func (o *QuerySubmissionsDefault) IsClientError() bool

IsClientError returns true when this query submissions default response has a 4xx status code

func (*QuerySubmissionsDefault) IsCode added in v0.2.27

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

IsCode returns true when this query submissions default response a status code equal to that given

func (*QuerySubmissionsDefault) IsRedirect added in v0.2.27

func (o *QuerySubmissionsDefault) IsRedirect() bool

IsRedirect returns true when this query submissions default response has a 3xx status code

func (*QuerySubmissionsDefault) IsServerError added in v0.2.27

func (o *QuerySubmissionsDefault) IsServerError() bool

IsServerError returns true when this query submissions default response has a 5xx status code

func (*QuerySubmissionsDefault) IsSuccess added in v0.2.27

func (o *QuerySubmissionsDefault) IsSuccess() bool

IsSuccess returns true when this query submissions default response has a 2xx status code

func (*QuerySubmissionsDefault) String added in v0.2.27

func (o *QuerySubmissionsDefault) String() string

type QuerySubmissionsForbidden

type QuerySubmissionsForbidden struct {

	/* Request limit per minute.
	 */
	XRateLimitLimit int64

	/* The number of requests remaining for the sliding one minute window.
	 */
	XRateLimitRemaining int64

	Payload *models.MsaReplyMetaOnly
}

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

Forbidden

func NewQuerySubmissionsForbidden

func NewQuerySubmissionsForbidden() *QuerySubmissionsForbidden

NewQuerySubmissionsForbidden creates a QuerySubmissionsForbidden with default headers values

func (*QuerySubmissionsForbidden) Code added in v0.2.33

func (o *QuerySubmissionsForbidden) Code() int

Code gets the status code for the query submissions forbidden response

func (*QuerySubmissionsForbidden) Error

func (o *QuerySubmissionsForbidden) Error() string

func (*QuerySubmissionsForbidden) GetPayload

func (*QuerySubmissionsForbidden) IsClientError added in v0.2.27

func (o *QuerySubmissionsForbidden) IsClientError() bool

IsClientError returns true when this query submissions forbidden response has a 4xx status code

func (*QuerySubmissionsForbidden) IsCode added in v0.2.27

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

IsCode returns true when this query submissions forbidden response a status code equal to that given

func (*QuerySubmissionsForbidden) IsRedirect added in v0.2.27

func (o *QuerySubmissionsForbidden) IsRedirect() bool

IsRedirect returns true when this query submissions forbidden response has a 3xx status code

func (*QuerySubmissionsForbidden) IsServerError added in v0.2.27

func (o *QuerySubmissionsForbidden) IsServerError() bool

IsServerError returns true when this query submissions forbidden response has a 5xx status code

func (*QuerySubmissionsForbidden) IsSuccess added in v0.2.27

func (o *QuerySubmissionsForbidden) IsSuccess() bool

IsSuccess returns true when this query submissions forbidden response has a 2xx status code

func (*QuerySubmissionsForbidden) String added in v0.2.27

func (o *QuerySubmissionsForbidden) String() string

type QuerySubmissionsInternalServerError

type QuerySubmissionsInternalServerError struct {

	/* Request limit per minute.
	 */
	XRateLimitLimit int64

	/* The number of requests remaining for the sliding one minute window.
	 */
	XRateLimitRemaining int64

	Payload *models.MsaQueryResponse
}

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

Internal Server Error

func NewQuerySubmissionsInternalServerError

func NewQuerySubmissionsInternalServerError() *QuerySubmissionsInternalServerError

NewQuerySubmissionsInternalServerError creates a QuerySubmissionsInternalServerError with default headers values

func (*QuerySubmissionsInternalServerError) Code added in v0.2.33

Code gets the status code for the query submissions internal server error response

func (*QuerySubmissionsInternalServerError) Error

func (*QuerySubmissionsInternalServerError) GetPayload

func (*QuerySubmissionsInternalServerError) IsClientError added in v0.2.27

func (o *QuerySubmissionsInternalServerError) IsClientError() bool

IsClientError returns true when this query submissions internal server error response has a 4xx status code

func (*QuerySubmissionsInternalServerError) IsCode added in v0.2.27

IsCode returns true when this query submissions internal server error response a status code equal to that given

func (*QuerySubmissionsInternalServerError) IsRedirect added in v0.2.27

func (o *QuerySubmissionsInternalServerError) IsRedirect() bool

IsRedirect returns true when this query submissions internal server error response has a 3xx status code

func (*QuerySubmissionsInternalServerError) IsServerError added in v0.2.27

func (o *QuerySubmissionsInternalServerError) IsServerError() bool

IsServerError returns true when this query submissions internal server error response has a 5xx status code

func (*QuerySubmissionsInternalServerError) IsSuccess added in v0.2.27

IsSuccess returns true when this query submissions internal server error response has a 2xx status code

func (*QuerySubmissionsInternalServerError) String added in v0.2.27

type QuerySubmissionsOK

type QuerySubmissionsOK struct {

	/* Request limit per minute.
	 */
	XRateLimitLimit int64

	/* The number of requests remaining for the sliding one minute window.
	 */
	XRateLimitRemaining int64

	Payload *models.MsaQueryResponse
}

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

OK

func NewQuerySubmissionsOK

func NewQuerySubmissionsOK() *QuerySubmissionsOK

NewQuerySubmissionsOK creates a QuerySubmissionsOK with default headers values

func (*QuerySubmissionsOK) Code added in v0.2.33

func (o *QuerySubmissionsOK) Code() int

Code gets the status code for the query submissions o k response

func (*QuerySubmissionsOK) Error

func (o *QuerySubmissionsOK) Error() string

func (*QuerySubmissionsOK) GetPayload

func (o *QuerySubmissionsOK) GetPayload() *models.MsaQueryResponse

func (*QuerySubmissionsOK) IsClientError added in v0.2.27

func (o *QuerySubmissionsOK) IsClientError() bool

IsClientError returns true when this query submissions o k response has a 4xx status code

func (*QuerySubmissionsOK) IsCode added in v0.2.27

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

IsCode returns true when this query submissions o k response a status code equal to that given

func (*QuerySubmissionsOK) IsRedirect added in v0.2.27

func (o *QuerySubmissionsOK) IsRedirect() bool

IsRedirect returns true when this query submissions o k response has a 3xx status code

func (*QuerySubmissionsOK) IsServerError added in v0.2.27

func (o *QuerySubmissionsOK) IsServerError() bool

IsServerError returns true when this query submissions o k response has a 5xx status code

func (*QuerySubmissionsOK) IsSuccess added in v0.2.27

func (o *QuerySubmissionsOK) IsSuccess() bool

IsSuccess returns true when this query submissions o k response has a 2xx status code

func (*QuerySubmissionsOK) String added in v0.2.27

func (o *QuerySubmissionsOK) String() string

type QuerySubmissionsParams

type QuerySubmissionsParams struct {

	/* Filter.

	   Optional filter and sort criteria in the form of an FQL query. For more information about FQL queries, see [our FQL documentation in Falcon](https://falcon.crowdstrike.com/support/documentation/45/falcon-query-language-feature-guide).
	*/
	Filter *string

	/* Limit.

	   Maximum number of submission IDs to return. Max: 5000.
	*/
	Limit *int64

	/* Offset.

	   The offset to start retrieving submissions from.
	*/
	Offset *string

	/* Sort.

	   Sort order: `asc` or `desc`.
	*/
	Sort *string

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

QuerySubmissionsParams contains all the parameters to send to the API endpoint

for the query submissions operation.

Typically these are written to a http.Request.

func NewQuerySubmissionsParams

func NewQuerySubmissionsParams() *QuerySubmissionsParams

NewQuerySubmissionsParams creates a new QuerySubmissionsParams 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 NewQuerySubmissionsParamsWithContext

func NewQuerySubmissionsParamsWithContext(ctx context.Context) *QuerySubmissionsParams

NewQuerySubmissionsParamsWithContext creates a new QuerySubmissionsParams object with the ability to set a context for a request.

func NewQuerySubmissionsParamsWithHTTPClient

func NewQuerySubmissionsParamsWithHTTPClient(client *http.Client) *QuerySubmissionsParams

NewQuerySubmissionsParamsWithHTTPClient creates a new QuerySubmissionsParams object with the ability to set a custom HTTPClient for a request.

func NewQuerySubmissionsParamsWithTimeout

func NewQuerySubmissionsParamsWithTimeout(timeout time.Duration) *QuerySubmissionsParams

NewQuerySubmissionsParamsWithTimeout creates a new QuerySubmissionsParams object with the ability to set a timeout on a request.

func (*QuerySubmissionsParams) SetContext

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

SetContext adds the context to the query submissions params

func (*QuerySubmissionsParams) SetDefaults

func (o *QuerySubmissionsParams) SetDefaults()

SetDefaults hydrates default values in the query submissions params (not the query body).

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

func (*QuerySubmissionsParams) SetFilter

func (o *QuerySubmissionsParams) SetFilter(filter *string)

SetFilter adds the filter to the query submissions params

func (*QuerySubmissionsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the query submissions params

func (*QuerySubmissionsParams) SetLimit

func (o *QuerySubmissionsParams) SetLimit(limit *int64)

SetLimit adds the limit to the query submissions params

func (*QuerySubmissionsParams) SetOffset

func (o *QuerySubmissionsParams) SetOffset(offset *string)

SetOffset adds the offset to the query submissions params

func (*QuerySubmissionsParams) SetSort

func (o *QuerySubmissionsParams) SetSort(sort *string)

SetSort adds the sort to the query submissions params

func (*QuerySubmissionsParams) SetTimeout

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

SetTimeout adds the timeout to the query submissions params

func (*QuerySubmissionsParams) WithContext

WithContext adds the context to the query submissions params

func (*QuerySubmissionsParams) WithDefaults

WithDefaults hydrates default values in the query submissions params (not the query body).

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

func (*QuerySubmissionsParams) WithFilter

func (o *QuerySubmissionsParams) WithFilter(filter *string) *QuerySubmissionsParams

WithFilter adds the filter to the query submissions params

func (*QuerySubmissionsParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the query submissions params

func (*QuerySubmissionsParams) WithLimit

func (o *QuerySubmissionsParams) WithLimit(limit *int64) *QuerySubmissionsParams

WithLimit adds the limit to the query submissions params

func (*QuerySubmissionsParams) WithOffset

func (o *QuerySubmissionsParams) WithOffset(offset *string) *QuerySubmissionsParams

WithOffset adds the offset to the query submissions params

func (*QuerySubmissionsParams) WithSort

WithSort adds the sort to the query submissions params

func (*QuerySubmissionsParams) WithTimeout

WithTimeout adds the timeout to the query submissions params

func (*QuerySubmissionsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type QuerySubmissionsReader

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

QuerySubmissionsReader is a Reader for the QuerySubmissions structure.

func (*QuerySubmissionsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type QuerySubmissionsTooManyRequests

type QuerySubmissionsTooManyRequests struct {

	/* Request limit per minute.
	 */
	XRateLimitLimit int64

	/* The number of requests remaining for the sliding one minute window.
	 */
	XRateLimitRemaining int64

	/* Too many requests, retry after this time (as milliseconds since epoch)
	 */
	XRateLimitRetryAfter int64

	Payload *models.MsaReplyMetaOnly
}

QuerySubmissionsTooManyRequests describes a response with status code 429, with default header values.

Too Many Requests

func NewQuerySubmissionsTooManyRequests

func NewQuerySubmissionsTooManyRequests() *QuerySubmissionsTooManyRequests

NewQuerySubmissionsTooManyRequests creates a QuerySubmissionsTooManyRequests with default headers values

func (*QuerySubmissionsTooManyRequests) Code added in v0.2.33

Code gets the status code for the query submissions too many requests response

func (*QuerySubmissionsTooManyRequests) Error

func (*QuerySubmissionsTooManyRequests) GetPayload

func (*QuerySubmissionsTooManyRequests) IsClientError added in v0.2.27

func (o *QuerySubmissionsTooManyRequests) IsClientError() bool

IsClientError returns true when this query submissions too many requests response has a 4xx status code

func (*QuerySubmissionsTooManyRequests) IsCode added in v0.2.27

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

IsCode returns true when this query submissions too many requests response a status code equal to that given

func (*QuerySubmissionsTooManyRequests) IsRedirect added in v0.2.27

func (o *QuerySubmissionsTooManyRequests) IsRedirect() bool

IsRedirect returns true when this query submissions too many requests response has a 3xx status code

func (*QuerySubmissionsTooManyRequests) IsServerError added in v0.2.27

func (o *QuerySubmissionsTooManyRequests) IsServerError() bool

IsServerError returns true when this query submissions too many requests response has a 5xx status code

func (*QuerySubmissionsTooManyRequests) IsSuccess added in v0.2.27

func (o *QuerySubmissionsTooManyRequests) IsSuccess() bool

IsSuccess returns true when this query submissions too many requests response has a 2xx status code

func (*QuerySubmissionsTooManyRequests) String added in v0.2.27

type SubmitBadRequest

type SubmitBadRequest struct {

	/* Trace-ID: submit to support if resolving an issue
	 */
	XCSTRACEID string

	/* Request limit per minute.
	 */
	XRateLimitLimit int64

	/* The number of requests remaining for the sliding one minute window.
	 */
	XRateLimitRemaining int64

	Payload *models.FalconxSubmissionV1Response
}

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

Bad Request

func NewSubmitBadRequest

func NewSubmitBadRequest() *SubmitBadRequest

NewSubmitBadRequest creates a SubmitBadRequest with default headers values

func (*SubmitBadRequest) Code added in v0.2.33

func (o *SubmitBadRequest) Code() int

Code gets the status code for the submit bad request response

func (*SubmitBadRequest) Error

func (o *SubmitBadRequest) Error() string

func (*SubmitBadRequest) GetPayload

func (*SubmitBadRequest) IsClientError added in v0.2.27

func (o *SubmitBadRequest) IsClientError() bool

IsClientError returns true when this submit bad request response has a 4xx status code

func (*SubmitBadRequest) IsCode added in v0.2.27

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

IsCode returns true when this submit bad request response a status code equal to that given

func (*SubmitBadRequest) IsRedirect added in v0.2.27

func (o *SubmitBadRequest) IsRedirect() bool

IsRedirect returns true when this submit bad request response has a 3xx status code

func (*SubmitBadRequest) IsServerError added in v0.2.27

func (o *SubmitBadRequest) IsServerError() bool

IsServerError returns true when this submit bad request response has a 5xx status code

func (*SubmitBadRequest) IsSuccess added in v0.2.27

func (o *SubmitBadRequest) IsSuccess() bool

IsSuccess returns true when this submit bad request response has a 2xx status code

func (*SubmitBadRequest) String added in v0.2.27

func (o *SubmitBadRequest) String() string

type SubmitDefault

type SubmitDefault struct {
	Payload *models.FalconxSubmissionV1Response
	// contains filtered or unexported fields
}

SubmitDefault describes a response with status code -1, with default header values.

OK

func NewSubmitDefault

func NewSubmitDefault(code int) *SubmitDefault

NewSubmitDefault creates a SubmitDefault with default headers values

func (*SubmitDefault) Code

func (o *SubmitDefault) Code() int

Code gets the status code for the submit default response

func (*SubmitDefault) Error

func (o *SubmitDefault) Error() string

func (*SubmitDefault) GetPayload

func (*SubmitDefault) IsClientError added in v0.2.27

func (o *SubmitDefault) IsClientError() bool

IsClientError returns true when this submit default response has a 4xx status code

func (*SubmitDefault) IsCode added in v0.2.27

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

IsCode returns true when this submit default response a status code equal to that given

func (*SubmitDefault) IsRedirect added in v0.2.27

func (o *SubmitDefault) IsRedirect() bool

IsRedirect returns true when this submit default response has a 3xx status code

func (*SubmitDefault) IsServerError added in v0.2.27

func (o *SubmitDefault) IsServerError() bool

IsServerError returns true when this submit default response has a 5xx status code

func (*SubmitDefault) IsSuccess added in v0.2.27

func (o *SubmitDefault) IsSuccess() bool

IsSuccess returns true when this submit default response has a 2xx status code

func (*SubmitDefault) String added in v0.2.27

func (o *SubmitDefault) String() string

type SubmitForbidden

type SubmitForbidden struct {

	/* Trace-ID: submit to support if resolving an issue
	 */
	XCSTRACEID string

	/* Request limit per minute.
	 */
	XRateLimitLimit int64

	/* The number of requests remaining for the sliding one minute window.
	 */
	XRateLimitRemaining int64

	Payload *models.MsaReplyMetaOnly
}

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

Forbidden

func NewSubmitForbidden

func NewSubmitForbidden() *SubmitForbidden

NewSubmitForbidden creates a SubmitForbidden with default headers values

func (*SubmitForbidden) Code added in v0.2.33

func (o *SubmitForbidden) Code() int

Code gets the status code for the submit forbidden response

func (*SubmitForbidden) Error

func (o *SubmitForbidden) Error() string

func (*SubmitForbidden) GetPayload

func (o *SubmitForbidden) GetPayload() *models.MsaReplyMetaOnly

func (*SubmitForbidden) IsClientError added in v0.2.27

func (o *SubmitForbidden) IsClientError() bool

IsClientError returns true when this submit forbidden response has a 4xx status code

func (*SubmitForbidden) IsCode added in v0.2.27

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

IsCode returns true when this submit forbidden response a status code equal to that given

func (*SubmitForbidden) IsRedirect added in v0.2.27

func (o *SubmitForbidden) IsRedirect() bool

IsRedirect returns true when this submit forbidden response has a 3xx status code

func (*SubmitForbidden) IsServerError added in v0.2.27

func (o *SubmitForbidden) IsServerError() bool

IsServerError returns true when this submit forbidden response has a 5xx status code

func (*SubmitForbidden) IsSuccess added in v0.2.27

func (o *SubmitForbidden) IsSuccess() bool

IsSuccess returns true when this submit forbidden response has a 2xx status code

func (*SubmitForbidden) String added in v0.2.27

func (o *SubmitForbidden) String() string

type SubmitInternalServerError

type SubmitInternalServerError struct {

	/* Trace-ID: submit to support if resolving an issue
	 */
	XCSTRACEID string

	/* Request limit per minute.
	 */
	XRateLimitLimit int64

	/* The number of requests remaining for the sliding one minute window.
	 */
	XRateLimitRemaining int64

	Payload *models.FalconxSubmissionV1Response
}

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

Internal Server Error

func NewSubmitInternalServerError

func NewSubmitInternalServerError() *SubmitInternalServerError

NewSubmitInternalServerError creates a SubmitInternalServerError with default headers values

func (*SubmitInternalServerError) Code added in v0.2.33

func (o *SubmitInternalServerError) Code() int

Code gets the status code for the submit internal server error response

func (*SubmitInternalServerError) Error

func (o *SubmitInternalServerError) Error() string

func (*SubmitInternalServerError) GetPayload

func (*SubmitInternalServerError) IsClientError added in v0.2.27

func (o *SubmitInternalServerError) IsClientError() bool

IsClientError returns true when this submit internal server error response has a 4xx status code

func (*SubmitInternalServerError) IsCode added in v0.2.27

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

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

func (*SubmitInternalServerError) IsRedirect added in v0.2.27

func (o *SubmitInternalServerError) IsRedirect() bool

IsRedirect returns true when this submit internal server error response has a 3xx status code

func (*SubmitInternalServerError) IsServerError added in v0.2.27

func (o *SubmitInternalServerError) IsServerError() bool

IsServerError returns true when this submit internal server error response has a 5xx status code

func (*SubmitInternalServerError) IsSuccess added in v0.2.27

func (o *SubmitInternalServerError) IsSuccess() bool

IsSuccess returns true when this submit internal server error response has a 2xx status code

func (*SubmitInternalServerError) String added in v0.2.27

func (o *SubmitInternalServerError) String() string

type SubmitOK

type SubmitOK struct {

	/* Trace-ID: submit to support if resolving an issue
	 */
	XCSTRACEID string

	/* Request limit per minute.
	 */
	XRateLimitLimit int64

	/* The number of requests remaining for the sliding one minute window.
	 */
	XRateLimitRemaining int64

	Payload *models.FalconxSubmissionV1Response
}

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

OK

func NewSubmitOK

func NewSubmitOK() *SubmitOK

NewSubmitOK creates a SubmitOK with default headers values

func (*SubmitOK) Code added in v0.2.33

func (o *SubmitOK) Code() int

Code gets the status code for the submit o k response

func (*SubmitOK) Error

func (o *SubmitOK) Error() string

func (*SubmitOK) GetPayload

func (o *SubmitOK) GetPayload() *models.FalconxSubmissionV1Response

func (*SubmitOK) IsClientError added in v0.2.27

func (o *SubmitOK) IsClientError() bool

IsClientError returns true when this submit o k response has a 4xx status code

func (*SubmitOK) IsCode added in v0.2.27

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

IsCode returns true when this submit o k response a status code equal to that given

func (*SubmitOK) IsRedirect added in v0.2.27

func (o *SubmitOK) IsRedirect() bool

IsRedirect returns true when this submit o k response has a 3xx status code

func (*SubmitOK) IsServerError added in v0.2.27

func (o *SubmitOK) IsServerError() bool

IsServerError returns true when this submit o k response has a 5xx status code

func (*SubmitOK) IsSuccess added in v0.2.27

func (o *SubmitOK) IsSuccess() bool

IsSuccess returns true when this submit o k response has a 2xx status code

func (*SubmitOK) String added in v0.2.27

func (o *SubmitOK) String() string

type SubmitParams

type SubmitParams struct {

	/* Body.

	     Submit either a URL or a sample SHA256 for sandbox analysis. The sample file must have been previously uploaded through `/samples/entities/samples/v2`. You must specify a JSON object that includes the `falconx.SubmissionParametersV1` key/value pairs shown below.

	**`environment_id`**: Specifies the sandbox environment used for analysis. Values:

	- `300`: Linux Ubuntu 16.04, 64-bit
	- `200`: Android (static analysis)
	- `160`: Windows 10, 64-bit
	- `110`: Windows 7, 64-bit
	- `100`: Windows 7, 32-bit

	**`sha256`** ID of the sample, which is a SHA256 hash value. Find a sample ID from the response when uploading a malware sample or search with `/falconx/queries/submissions/v1`.The `url` parameter must be unset if `sha256` is used.

	**`url`** A web page or file URL. It can be HTTP(S) or FTP. The `sha256` parameter must be unset if `url` is used.

	**`action_script`** (optional): Runtime script for sandbox analysis. Values:

	- `default`
	- `default_maxantievasion`
	- `default_randomfiles`
	- `default_randomtheme`
	- `default_openie`

	**`command_line`** (optional): Command line script passed to the submitted file at runtime. Max length: 2048 characters

	**`document_password`** (optional): Auto-filled for Adobe or Office files that prompt for a password. Max length: 32 characters

	**`enable_tor`** (optional): Deprecated, please use `network_settings` instead. If `true`, sandbox analysis routes network traffic via TOR. Default: `false`.

	**`network_settings`** (optional): Specifies the sandbox network_settings used for analysis. Values:

	- `default`: Fully operating network
	- `tor`: Route network traffic via TOR
	- `simulated`: Simulate network traffic
	- `offline`: No network traffic

	**`submit_name`** (optional): Name of the malware sample that's used for file type detection and analysis

	**`system_date`** (optional): Set a custom date in the format `yyyy-MM-dd` for the sandbox environment

	**`system_time`** (optional): Set a custom time in the format `HH:mm` for the sandbox environment.
	*/
	Body *models.FalconxSubmissionParametersV1

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

SubmitParams contains all the parameters to send to the API endpoint

for the submit operation.

Typically these are written to a http.Request.

func NewSubmitParams

func NewSubmitParams() *SubmitParams

NewSubmitParams creates a new SubmitParams 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 NewSubmitParamsWithContext

func NewSubmitParamsWithContext(ctx context.Context) *SubmitParams

NewSubmitParamsWithContext creates a new SubmitParams object with the ability to set a context for a request.

func NewSubmitParamsWithHTTPClient

func NewSubmitParamsWithHTTPClient(client *http.Client) *SubmitParams

NewSubmitParamsWithHTTPClient creates a new SubmitParams object with the ability to set a custom HTTPClient for a request.

func NewSubmitParamsWithTimeout

func NewSubmitParamsWithTimeout(timeout time.Duration) *SubmitParams

NewSubmitParamsWithTimeout creates a new SubmitParams object with the ability to set a timeout on a request.

func (*SubmitParams) SetBody

SetBody adds the body to the submit params

func (*SubmitParams) SetContext

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

SetContext adds the context to the submit params

func (*SubmitParams) SetDefaults

func (o *SubmitParams) SetDefaults()

SetDefaults hydrates default values in the submit params (not the query body).

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

func (*SubmitParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the submit params

func (*SubmitParams) SetTimeout

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

SetTimeout adds the timeout to the submit params

func (*SubmitParams) WithBody

WithBody adds the body to the submit params

func (*SubmitParams) WithContext

func (o *SubmitParams) WithContext(ctx context.Context) *SubmitParams

WithContext adds the context to the submit params

func (*SubmitParams) WithDefaults

func (o *SubmitParams) WithDefaults() *SubmitParams

WithDefaults hydrates default values in the submit params (not the query body).

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

func (*SubmitParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the submit params

func (*SubmitParams) WithTimeout

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

WithTimeout adds the timeout to the submit params

func (*SubmitParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type SubmitReader

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

SubmitReader is a Reader for the Submit structure.

func (*SubmitReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type SubmitTooManyRequests

type SubmitTooManyRequests struct {

	/* Trace-ID: submit to support if resolving an issue
	 */
	XCSTRACEID string

	/* Request limit per minute.
	 */
	XRateLimitLimit int64

	/* The number of requests remaining for the sliding one minute window.
	 */
	XRateLimitRemaining int64

	/* Too many requests, retry after this time (as milliseconds since epoch)
	 */
	XRateLimitRetryAfter int64

	Payload *models.FalconxSubmissionV1Response
}

SubmitTooManyRequests describes a response with status code 429, with default header values.

Too Many Requests

func NewSubmitTooManyRequests

func NewSubmitTooManyRequests() *SubmitTooManyRequests

NewSubmitTooManyRequests creates a SubmitTooManyRequests with default headers values

func (*SubmitTooManyRequests) Code added in v0.2.33

func (o *SubmitTooManyRequests) Code() int

Code gets the status code for the submit too many requests response

func (*SubmitTooManyRequests) Error

func (o *SubmitTooManyRequests) Error() string

func (*SubmitTooManyRequests) GetPayload

func (*SubmitTooManyRequests) IsClientError added in v0.2.27

func (o *SubmitTooManyRequests) IsClientError() bool

IsClientError returns true when this submit too many requests response has a 4xx status code

func (*SubmitTooManyRequests) IsCode added in v0.2.27

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

IsCode returns true when this submit too many requests response a status code equal to that given

func (*SubmitTooManyRequests) IsRedirect added in v0.2.27

func (o *SubmitTooManyRequests) IsRedirect() bool

IsRedirect returns true when this submit too many requests response has a 3xx status code

func (*SubmitTooManyRequests) IsServerError added in v0.2.27

func (o *SubmitTooManyRequests) IsServerError() bool

IsServerError returns true when this submit too many requests response has a 5xx status code

func (*SubmitTooManyRequests) IsSuccess added in v0.2.27

func (o *SubmitTooManyRequests) IsSuccess() bool

IsSuccess returns true when this submit too many requests response has a 2xx status code

func (*SubmitTooManyRequests) String added in v0.2.27

func (o *SubmitTooManyRequests) String() string

type UploadSampleV2BadRequest

type UploadSampleV2BadRequest struct {

	/* Trace-ID: submit to support if resolving an issue
	 */
	XCSTRACEID string

	/* Request limit per minute.
	 */
	XRateLimitLimit int64

	/* The number of requests remaining for the sliding one minute window.
	 */
	XRateLimitRemaining int64

	Payload *models.ClientSampleMetadataResponseV2
}

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

Bad Request

func NewUploadSampleV2BadRequest

func NewUploadSampleV2BadRequest() *UploadSampleV2BadRequest

NewUploadSampleV2BadRequest creates a UploadSampleV2BadRequest with default headers values

func (*UploadSampleV2BadRequest) Code added in v0.2.33

func (o *UploadSampleV2BadRequest) Code() int

Code gets the status code for the upload sample v2 bad request response

func (*UploadSampleV2BadRequest) Error

func (o *UploadSampleV2BadRequest) Error() string

func (*UploadSampleV2BadRequest) GetPayload

func (*UploadSampleV2BadRequest) IsClientError added in v0.2.27

func (o *UploadSampleV2BadRequest) IsClientError() bool

IsClientError returns true when this upload sample v2 bad request response has a 4xx status code

func (*UploadSampleV2BadRequest) IsCode added in v0.2.27

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

IsCode returns true when this upload sample v2 bad request response a status code equal to that given

func (*UploadSampleV2BadRequest) IsRedirect added in v0.2.27

func (o *UploadSampleV2BadRequest) IsRedirect() bool

IsRedirect returns true when this upload sample v2 bad request response has a 3xx status code

func (*UploadSampleV2BadRequest) IsServerError added in v0.2.27

func (o *UploadSampleV2BadRequest) IsServerError() bool

IsServerError returns true when this upload sample v2 bad request response has a 5xx status code

func (*UploadSampleV2BadRequest) IsSuccess added in v0.2.27

func (o *UploadSampleV2BadRequest) IsSuccess() bool

IsSuccess returns true when this upload sample v2 bad request response has a 2xx status code

func (*UploadSampleV2BadRequest) String added in v0.2.27

func (o *UploadSampleV2BadRequest) String() string

type UploadSampleV2Default

type UploadSampleV2Default struct {
	Payload *models.ClientSampleMetadataResponseV2
	// contains filtered or unexported fields
}

UploadSampleV2Default describes a response with status code -1, with default header values.

OK

func NewUploadSampleV2Default

func NewUploadSampleV2Default(code int) *UploadSampleV2Default

NewUploadSampleV2Default creates a UploadSampleV2Default with default headers values

func (*UploadSampleV2Default) Code

func (o *UploadSampleV2Default) Code() int

Code gets the status code for the upload sample v2 default response

func (*UploadSampleV2Default) Error

func (o *UploadSampleV2Default) Error() string

func (*UploadSampleV2Default) GetPayload

func (*UploadSampleV2Default) IsClientError added in v0.2.27

func (o *UploadSampleV2Default) IsClientError() bool

IsClientError returns true when this upload sample v2 default response has a 4xx status code

func (*UploadSampleV2Default) IsCode added in v0.2.27

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

IsCode returns true when this upload sample v2 default response a status code equal to that given

func (*UploadSampleV2Default) IsRedirect added in v0.2.27

func (o *UploadSampleV2Default) IsRedirect() bool

IsRedirect returns true when this upload sample v2 default response has a 3xx status code

func (*UploadSampleV2Default) IsServerError added in v0.2.27

func (o *UploadSampleV2Default) IsServerError() bool

IsServerError returns true when this upload sample v2 default response has a 5xx status code

func (*UploadSampleV2Default) IsSuccess added in v0.2.27

func (o *UploadSampleV2Default) IsSuccess() bool

IsSuccess returns true when this upload sample v2 default response has a 2xx status code

func (*UploadSampleV2Default) String added in v0.2.27

func (o *UploadSampleV2Default) String() string

type UploadSampleV2Forbidden

type UploadSampleV2Forbidden struct {

	/* Trace-ID: submit to support if resolving an issue
	 */
	XCSTRACEID string

	/* Request limit per minute.
	 */
	XRateLimitLimit int64

	/* The number of requests remaining for the sliding one minute window.
	 */
	XRateLimitRemaining int64

	Payload *models.MsaReplyMetaOnly
}

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

Forbidden

func NewUploadSampleV2Forbidden

func NewUploadSampleV2Forbidden() *UploadSampleV2Forbidden

NewUploadSampleV2Forbidden creates a UploadSampleV2Forbidden with default headers values

func (*UploadSampleV2Forbidden) Code added in v0.2.33

func (o *UploadSampleV2Forbidden) Code() int

Code gets the status code for the upload sample v2 forbidden response

func (*UploadSampleV2Forbidden) Error

func (o *UploadSampleV2Forbidden) Error() string

func (*UploadSampleV2Forbidden) GetPayload

func (*UploadSampleV2Forbidden) IsClientError added in v0.2.27

func (o *UploadSampleV2Forbidden) IsClientError() bool

IsClientError returns true when this upload sample v2 forbidden response has a 4xx status code

func (*UploadSampleV2Forbidden) IsCode added in v0.2.27

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

IsCode returns true when this upload sample v2 forbidden response a status code equal to that given

func (*UploadSampleV2Forbidden) IsRedirect added in v0.2.27

func (o *UploadSampleV2Forbidden) IsRedirect() bool

IsRedirect returns true when this upload sample v2 forbidden response has a 3xx status code

func (*UploadSampleV2Forbidden) IsServerError added in v0.2.27

func (o *UploadSampleV2Forbidden) IsServerError() bool

IsServerError returns true when this upload sample v2 forbidden response has a 5xx status code

func (*UploadSampleV2Forbidden) IsSuccess added in v0.2.27

func (o *UploadSampleV2Forbidden) IsSuccess() bool

IsSuccess returns true when this upload sample v2 forbidden response has a 2xx status code

func (*UploadSampleV2Forbidden) String added in v0.2.27

func (o *UploadSampleV2Forbidden) String() string

type UploadSampleV2InternalServerError

type UploadSampleV2InternalServerError struct {

	/* Trace-ID: submit to support if resolving an issue
	 */
	XCSTRACEID string

	/* Request limit per minute.
	 */
	XRateLimitLimit int64

	/* The number of requests remaining for the sliding one minute window.
	 */
	XRateLimitRemaining int64

	Payload *models.ClientSampleMetadataResponseV2
}

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

Internal Server Error

func NewUploadSampleV2InternalServerError

func NewUploadSampleV2InternalServerError() *UploadSampleV2InternalServerError

NewUploadSampleV2InternalServerError creates a UploadSampleV2InternalServerError with default headers values

func (*UploadSampleV2InternalServerError) Code added in v0.2.33

Code gets the status code for the upload sample v2 internal server error response

func (*UploadSampleV2InternalServerError) Error

func (*UploadSampleV2InternalServerError) GetPayload

func (*UploadSampleV2InternalServerError) IsClientError added in v0.2.27

func (o *UploadSampleV2InternalServerError) IsClientError() bool

IsClientError returns true when this upload sample v2 internal server error response has a 4xx status code

func (*UploadSampleV2InternalServerError) IsCode added in v0.2.27

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

IsCode returns true when this upload sample v2 internal server error response a status code equal to that given

func (*UploadSampleV2InternalServerError) IsRedirect added in v0.2.27

func (o *UploadSampleV2InternalServerError) IsRedirect() bool

IsRedirect returns true when this upload sample v2 internal server error response has a 3xx status code

func (*UploadSampleV2InternalServerError) IsServerError added in v0.2.27

func (o *UploadSampleV2InternalServerError) IsServerError() bool

IsServerError returns true when this upload sample v2 internal server error response has a 5xx status code

func (*UploadSampleV2InternalServerError) IsSuccess added in v0.2.27

func (o *UploadSampleV2InternalServerError) IsSuccess() bool

IsSuccess returns true when this upload sample v2 internal server error response has a 2xx status code

func (*UploadSampleV2InternalServerError) String added in v0.2.27

type UploadSampleV2OK

type UploadSampleV2OK struct {

	/* Trace-ID: submit to support if resolving an issue
	 */
	XCSTRACEID string

	/* Request limit per minute.
	 */
	XRateLimitLimit int64

	/* The number of requests remaining for the sliding one minute window.
	 */
	XRateLimitRemaining int64

	Payload *models.ClientSampleMetadataResponseV2
}

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

OK

func NewUploadSampleV2OK

func NewUploadSampleV2OK() *UploadSampleV2OK

NewUploadSampleV2OK creates a UploadSampleV2OK with default headers values

func (*UploadSampleV2OK) Code added in v0.2.33

func (o *UploadSampleV2OK) Code() int

Code gets the status code for the upload sample v2 o k response

func (*UploadSampleV2OK) Error

func (o *UploadSampleV2OK) Error() string

func (*UploadSampleV2OK) GetPayload

func (*UploadSampleV2OK) IsClientError added in v0.2.27

func (o *UploadSampleV2OK) IsClientError() bool

IsClientError returns true when this upload sample v2 o k response has a 4xx status code

func (*UploadSampleV2OK) IsCode added in v0.2.27

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

IsCode returns true when this upload sample v2 o k response a status code equal to that given

func (*UploadSampleV2OK) IsRedirect added in v0.2.27

func (o *UploadSampleV2OK) IsRedirect() bool

IsRedirect returns true when this upload sample v2 o k response has a 3xx status code

func (*UploadSampleV2OK) IsServerError added in v0.2.27

func (o *UploadSampleV2OK) IsServerError() bool

IsServerError returns true when this upload sample v2 o k response has a 5xx status code

func (*UploadSampleV2OK) IsSuccess added in v0.2.27

func (o *UploadSampleV2OK) IsSuccess() bool

IsSuccess returns true when this upload sample v2 o k response has a 2xx status code

func (*UploadSampleV2OK) String added in v0.2.27

func (o *UploadSampleV2OK) String() string

type UploadSampleV2Params

type UploadSampleV2Params struct {

	/* Comment.

	   A descriptive comment to identify the file for other users.
	*/
	Comment *string

	/* FileName.

	   Name of the file.
	*/
	FileName string

	/* IsConfidential.

	     Defines visibility of this file in Falcon MalQuery, either via the API or the Falcon console.

	- `true`: File is only shown to users within your customer account
	- `false`: File can be seen by other CrowdStrike customers

	Default: `true`.

	     Default: true
	*/
	IsConfidential *bool

	/* Sample.

	     Content of the uploaded sample in binary format. For example, use `--data-binary @$FILE_PATH` when using cURL. Max file size: 256 MB.

	Accepted file formats:

	- Portable executables: `.exe`, `.scr`, `.pif`, `.dll`, `.com`, `.cpl`, etc.
	- Office documents: `.doc`, `.docx`, `.ppt`, `.pps`, `.pptx`, `.ppsx`, `.xls`, `.xlsx`, `.rtf`, `.pub`
	- PDF
	- APK
	- Executable JAR
	- Windows script component: `.sct`
	- Windows shortcut: `.lnk`
	- Windows help: `.chm`
	- HTML application: `.hta`
	- Windows script file: `.wsf`
	- Javascript: `.js`
	- Visual Basic: `.vbs`,  `.vbe`
	- Shockwave Flash: `.swf`
	- Perl: `.pl`
	- Powershell: `.ps1`, `.psd1`, `.psm1`
	- Scalable vector graphics: `.svg`
	- Python: `.py`
	- Linux ELF executables
	- Email files: MIME RFC 822 `.eml`, Outlook `.msg`.
	*/
	Sample runtime.NamedReadCloser

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

UploadSampleV2Params contains all the parameters to send to the API endpoint

for the upload sample v2 operation.

Typically these are written to a http.Request.

func NewUploadSampleV2Params

func NewUploadSampleV2Params() *UploadSampleV2Params

NewUploadSampleV2Params creates a new UploadSampleV2Params 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 NewUploadSampleV2ParamsWithContext

func NewUploadSampleV2ParamsWithContext(ctx context.Context) *UploadSampleV2Params

NewUploadSampleV2ParamsWithContext creates a new UploadSampleV2Params object with the ability to set a context for a request.

func NewUploadSampleV2ParamsWithHTTPClient

func NewUploadSampleV2ParamsWithHTTPClient(client *http.Client) *UploadSampleV2Params

NewUploadSampleV2ParamsWithHTTPClient creates a new UploadSampleV2Params object with the ability to set a custom HTTPClient for a request.

func NewUploadSampleV2ParamsWithTimeout

func NewUploadSampleV2ParamsWithTimeout(timeout time.Duration) *UploadSampleV2Params

NewUploadSampleV2ParamsWithTimeout creates a new UploadSampleV2Params object with the ability to set a timeout on a request.

func (*UploadSampleV2Params) SetComment

func (o *UploadSampleV2Params) SetComment(comment *string)

SetComment adds the comment to the upload sample v2 params

func (*UploadSampleV2Params) SetContext

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

SetContext adds the context to the upload sample v2 params

func (*UploadSampleV2Params) SetDefaults

func (o *UploadSampleV2Params) SetDefaults()

SetDefaults hydrates default values in the upload sample v2 params (not the query body).

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

func (*UploadSampleV2Params) SetFileName

func (o *UploadSampleV2Params) SetFileName(fileName string)

SetFileName adds the fileName to the upload sample v2 params

func (*UploadSampleV2Params) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the upload sample v2 params

func (*UploadSampleV2Params) SetIsConfidential

func (o *UploadSampleV2Params) SetIsConfidential(isConfidential *bool)

SetIsConfidential adds the isConfidential to the upload sample v2 params

func (*UploadSampleV2Params) SetSample added in v0.2.6

func (o *UploadSampleV2Params) SetSample(sample runtime.NamedReadCloser)

SetSample adds the sample to the upload sample v2 params

func (*UploadSampleV2Params) SetTimeout

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

SetTimeout adds the timeout to the upload sample v2 params

func (*UploadSampleV2Params) WithComment

func (o *UploadSampleV2Params) WithComment(comment *string) *UploadSampleV2Params

WithComment adds the comment to the upload sample v2 params

func (*UploadSampleV2Params) WithContext

WithContext adds the context to the upload sample v2 params

func (*UploadSampleV2Params) WithDefaults

func (o *UploadSampleV2Params) WithDefaults() *UploadSampleV2Params

WithDefaults hydrates default values in the upload sample v2 params (not the query body).

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

func (*UploadSampleV2Params) WithFileName

func (o *UploadSampleV2Params) WithFileName(fileName string) *UploadSampleV2Params

WithFileName adds the fileName to the upload sample v2 params

func (*UploadSampleV2Params) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the upload sample v2 params

func (*UploadSampleV2Params) WithIsConfidential

func (o *UploadSampleV2Params) WithIsConfidential(isConfidential *bool) *UploadSampleV2Params

WithIsConfidential adds the isConfidential to the upload sample v2 params

func (*UploadSampleV2Params) WithSample added in v0.2.6

WithSample adds the sample to the upload sample v2 params

func (*UploadSampleV2Params) WithTimeout

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

WithTimeout adds the timeout to the upload sample v2 params

func (*UploadSampleV2Params) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type UploadSampleV2Reader

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

UploadSampleV2Reader is a Reader for the UploadSampleV2 structure.

func (*UploadSampleV2Reader) ReadResponse

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

ReadResponse reads a server response into the received o.

type UploadSampleV2TooManyRequests

type UploadSampleV2TooManyRequests struct {

	/* Trace-ID: submit to support if resolving an issue
	 */
	XCSTRACEID string

	/* Request limit per minute.
	 */
	XRateLimitLimit int64

	/* The number of requests remaining for the sliding one minute window.
	 */
	XRateLimitRemaining int64

	/* Too many requests, retry after this time (as milliseconds since epoch)
	 */
	XRateLimitRetryAfter int64

	Payload *models.MsaReplyMetaOnly
}

UploadSampleV2TooManyRequests describes a response with status code 429, with default header values.

Too Many Requests

func NewUploadSampleV2TooManyRequests

func NewUploadSampleV2TooManyRequests() *UploadSampleV2TooManyRequests

NewUploadSampleV2TooManyRequests creates a UploadSampleV2TooManyRequests with default headers values

func (*UploadSampleV2TooManyRequests) Code added in v0.2.33

Code gets the status code for the upload sample v2 too many requests response

func (*UploadSampleV2TooManyRequests) Error

func (*UploadSampleV2TooManyRequests) GetPayload

func (*UploadSampleV2TooManyRequests) IsClientError added in v0.2.27

func (o *UploadSampleV2TooManyRequests) IsClientError() bool

IsClientError returns true when this upload sample v2 too many requests response has a 4xx status code

func (*UploadSampleV2TooManyRequests) IsCode added in v0.2.27

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

IsCode returns true when this upload sample v2 too many requests response a status code equal to that given

func (*UploadSampleV2TooManyRequests) IsRedirect added in v0.2.27

func (o *UploadSampleV2TooManyRequests) IsRedirect() bool

IsRedirect returns true when this upload sample v2 too many requests response has a 3xx status code

func (*UploadSampleV2TooManyRequests) IsServerError added in v0.2.27

func (o *UploadSampleV2TooManyRequests) IsServerError() bool

IsServerError returns true when this upload sample v2 too many requests response has a 5xx status code

func (*UploadSampleV2TooManyRequests) IsSuccess added in v0.2.27

func (o *UploadSampleV2TooManyRequests) IsSuccess() bool

IsSuccess returns true when this upload sample v2 too many requests response has a 2xx status code

func (*UploadSampleV2TooManyRequests) String added in v0.2.27

Jump to

Keyboard shortcuts

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