sample_uploads

package
v0.2.30 Latest Latest
Warning

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

Go to latest
Published: Nov 10, 2022 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

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

Client for sample uploads API

func (*Client) DeleteSampleV3

func (a *Client) DeleteSampleV3(params *DeleteSampleV3Params, opts ...ClientOption) (*DeleteSampleV3OK, error)

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

func (*Client) GetSampleV3

func (a *Client) GetSampleV3(params *GetSampleV3Params, opts ...ClientOption) (*GetSampleV3OK, error)

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

func (*Client) SetTransport

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

SetTransport changes the transport on the client

func (*Client) UploadSampleV3

func (a *Client) UploadSampleV3(params *UploadSampleV3Params, opts ...ClientOption) (*UploadSampleV3OK, error)

UploadSampleV3 uploads a file for further cloud analysis after uploading call the specific analysis API endpoint

type ClientOption

type ClientOption func(*runtime.ClientOperation)

ClientOption is the option for Client methods

type ClientService

type ClientService interface {
	DeleteSampleV3(params *DeleteSampleV3Params, opts ...ClientOption) (*DeleteSampleV3OK, error)

	GetSampleV3(params *GetSampleV3Params, opts ...ClientOption) (*GetSampleV3OK, error)

	UploadSampleV3(params *UploadSampleV3Params, opts ...ClientOption) (*UploadSampleV3OK, 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 sample uploads API client.

type DeleteSampleV3BadRequest

type DeleteSampleV3BadRequest 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
}

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

Bad Request

func NewDeleteSampleV3BadRequest

func NewDeleteSampleV3BadRequest() *DeleteSampleV3BadRequest

NewDeleteSampleV3BadRequest creates a DeleteSampleV3BadRequest with default headers values

func (*DeleteSampleV3BadRequest) Error

func (o *DeleteSampleV3BadRequest) Error() string

func (*DeleteSampleV3BadRequest) GetPayload

func (*DeleteSampleV3BadRequest) IsClientError added in v0.2.27

func (o *DeleteSampleV3BadRequest) IsClientError() bool

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

func (*DeleteSampleV3BadRequest) IsCode added in v0.2.27

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

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

func (*DeleteSampleV3BadRequest) IsRedirect added in v0.2.27

func (o *DeleteSampleV3BadRequest) IsRedirect() bool

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

func (*DeleteSampleV3BadRequest) IsServerError added in v0.2.27

func (o *DeleteSampleV3BadRequest) IsServerError() bool

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

func (*DeleteSampleV3BadRequest) IsSuccess added in v0.2.27

func (o *DeleteSampleV3BadRequest) IsSuccess() bool

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

func (*DeleteSampleV3BadRequest) String added in v0.2.27

func (o *DeleteSampleV3BadRequest) String() string

type DeleteSampleV3Default

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

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

OK

func NewDeleteSampleV3Default

func NewDeleteSampleV3Default(code int) *DeleteSampleV3Default

NewDeleteSampleV3Default creates a DeleteSampleV3Default with default headers values

func (*DeleteSampleV3Default) Code

func (o *DeleteSampleV3Default) Code() int

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

func (*DeleteSampleV3Default) Error

func (o *DeleteSampleV3Default) Error() string

func (*DeleteSampleV3Default) GetPayload

func (*DeleteSampleV3Default) IsClientError added in v0.2.27

func (o *DeleteSampleV3Default) IsClientError() bool

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

func (*DeleteSampleV3Default) IsCode added in v0.2.27

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

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

func (*DeleteSampleV3Default) IsRedirect added in v0.2.27

func (o *DeleteSampleV3Default) IsRedirect() bool

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

func (*DeleteSampleV3Default) IsServerError added in v0.2.27

func (o *DeleteSampleV3Default) IsServerError() bool

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

func (*DeleteSampleV3Default) IsSuccess added in v0.2.27

func (o *DeleteSampleV3Default) IsSuccess() bool

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

func (*DeleteSampleV3Default) String added in v0.2.27

func (o *DeleteSampleV3Default) String() string

type DeleteSampleV3Forbidden

type DeleteSampleV3Forbidden 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
}

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

Forbidden

func NewDeleteSampleV3Forbidden

func NewDeleteSampleV3Forbidden() *DeleteSampleV3Forbidden

NewDeleteSampleV3Forbidden creates a DeleteSampleV3Forbidden with default headers values

func (*DeleteSampleV3Forbidden) Error

func (o *DeleteSampleV3Forbidden) Error() string

func (*DeleteSampleV3Forbidden) GetPayload

func (*DeleteSampleV3Forbidden) IsClientError added in v0.2.27

func (o *DeleteSampleV3Forbidden) IsClientError() bool

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

func (*DeleteSampleV3Forbidden) IsCode added in v0.2.27

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

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

func (*DeleteSampleV3Forbidden) IsRedirect added in v0.2.27

func (o *DeleteSampleV3Forbidden) IsRedirect() bool

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

func (*DeleteSampleV3Forbidden) IsServerError added in v0.2.27

func (o *DeleteSampleV3Forbidden) IsServerError() bool

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

func (*DeleteSampleV3Forbidden) IsSuccess added in v0.2.27

func (o *DeleteSampleV3Forbidden) IsSuccess() bool

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

func (*DeleteSampleV3Forbidden) String added in v0.2.27

func (o *DeleteSampleV3Forbidden) String() string

type DeleteSampleV3InternalServerError

type DeleteSampleV3InternalServerError 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
}

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

Internal Server Error

func NewDeleteSampleV3InternalServerError

func NewDeleteSampleV3InternalServerError() *DeleteSampleV3InternalServerError

NewDeleteSampleV3InternalServerError creates a DeleteSampleV3InternalServerError with default headers values

func (*DeleteSampleV3InternalServerError) Error

func (*DeleteSampleV3InternalServerError) GetPayload

func (*DeleteSampleV3InternalServerError) IsClientError added in v0.2.27

func (o *DeleteSampleV3InternalServerError) IsClientError() bool

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

func (*DeleteSampleV3InternalServerError) IsCode added in v0.2.27

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

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

func (*DeleteSampleV3InternalServerError) IsRedirect added in v0.2.27

func (o *DeleteSampleV3InternalServerError) IsRedirect() bool

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

func (*DeleteSampleV3InternalServerError) IsServerError added in v0.2.27

func (o *DeleteSampleV3InternalServerError) IsServerError() bool

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

func (*DeleteSampleV3InternalServerError) IsSuccess added in v0.2.27

func (o *DeleteSampleV3InternalServerError) IsSuccess() bool

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

func (*DeleteSampleV3InternalServerError) String added in v0.2.27

type DeleteSampleV3NotFound

type DeleteSampleV3NotFound 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
}

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

Not Found

func NewDeleteSampleV3NotFound

func NewDeleteSampleV3NotFound() *DeleteSampleV3NotFound

NewDeleteSampleV3NotFound creates a DeleteSampleV3NotFound with default headers values

func (*DeleteSampleV3NotFound) Error

func (o *DeleteSampleV3NotFound) Error() string

func (*DeleteSampleV3NotFound) GetPayload

func (*DeleteSampleV3NotFound) IsClientError added in v0.2.27

func (o *DeleteSampleV3NotFound) IsClientError() bool

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

func (*DeleteSampleV3NotFound) IsCode added in v0.2.27

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

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

func (*DeleteSampleV3NotFound) IsRedirect added in v0.2.27

func (o *DeleteSampleV3NotFound) IsRedirect() bool

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

func (*DeleteSampleV3NotFound) IsServerError added in v0.2.27

func (o *DeleteSampleV3NotFound) IsServerError() bool

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

func (*DeleteSampleV3NotFound) IsSuccess added in v0.2.27

func (o *DeleteSampleV3NotFound) IsSuccess() bool

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

func (*DeleteSampleV3NotFound) String added in v0.2.27

func (o *DeleteSampleV3NotFound) String() string

type DeleteSampleV3OK

type DeleteSampleV3OK 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
}

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

OK

func NewDeleteSampleV3OK

func NewDeleteSampleV3OK() *DeleteSampleV3OK

NewDeleteSampleV3OK creates a DeleteSampleV3OK with default headers values

func (*DeleteSampleV3OK) Error

func (o *DeleteSampleV3OK) Error() string

func (*DeleteSampleV3OK) GetPayload

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

func (*DeleteSampleV3OK) IsClientError added in v0.2.27

func (o *DeleteSampleV3OK) IsClientError() bool

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

func (*DeleteSampleV3OK) IsCode added in v0.2.27

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

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

func (*DeleteSampleV3OK) IsRedirect added in v0.2.27

func (o *DeleteSampleV3OK) IsRedirect() bool

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

func (*DeleteSampleV3OK) IsServerError added in v0.2.27

func (o *DeleteSampleV3OK) IsServerError() bool

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

func (*DeleteSampleV3OK) IsSuccess added in v0.2.27

func (o *DeleteSampleV3OK) IsSuccess() bool

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

func (*DeleteSampleV3OK) String added in v0.2.27

func (o *DeleteSampleV3OK) String() string

type DeleteSampleV3Params

type DeleteSampleV3Params struct {

	/* Ids.

	   The file SHA256.
	*/
	Ids string

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

DeleteSampleV3Params contains all the parameters to send to the API endpoint

for the delete sample v3 operation.

Typically these are written to a http.Request.

func NewDeleteSampleV3Params

func NewDeleteSampleV3Params() *DeleteSampleV3Params

NewDeleteSampleV3Params creates a new DeleteSampleV3Params 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 NewDeleteSampleV3ParamsWithContext

func NewDeleteSampleV3ParamsWithContext(ctx context.Context) *DeleteSampleV3Params

NewDeleteSampleV3ParamsWithContext creates a new DeleteSampleV3Params object with the ability to set a context for a request.

func NewDeleteSampleV3ParamsWithHTTPClient

func NewDeleteSampleV3ParamsWithHTTPClient(client *http.Client) *DeleteSampleV3Params

NewDeleteSampleV3ParamsWithHTTPClient creates a new DeleteSampleV3Params object with the ability to set a custom HTTPClient for a request.

func NewDeleteSampleV3ParamsWithTimeout

func NewDeleteSampleV3ParamsWithTimeout(timeout time.Duration) *DeleteSampleV3Params

NewDeleteSampleV3ParamsWithTimeout creates a new DeleteSampleV3Params object with the ability to set a timeout on a request.

func (*DeleteSampleV3Params) SetContext

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

SetContext adds the context to the delete sample v3 params

func (*DeleteSampleV3Params) SetDefaults

func (o *DeleteSampleV3Params) SetDefaults()

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

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

func (*DeleteSampleV3Params) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the delete sample v3 params

func (*DeleteSampleV3Params) SetIds

func (o *DeleteSampleV3Params) SetIds(ids string)

SetIds adds the ids to the delete sample v3 params

func (*DeleteSampleV3Params) SetTimeout

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

SetTimeout adds the timeout to the delete sample v3 params

func (*DeleteSampleV3Params) WithContext

WithContext adds the context to the delete sample v3 params

func (*DeleteSampleV3Params) WithDefaults

func (o *DeleteSampleV3Params) WithDefaults() *DeleteSampleV3Params

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

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

func (*DeleteSampleV3Params) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the delete sample v3 params

func (*DeleteSampleV3Params) WithIds

WithIds adds the ids to the delete sample v3 params

func (*DeleteSampleV3Params) WithTimeout

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

WithTimeout adds the timeout to the delete sample v3 params

func (*DeleteSampleV3Params) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type DeleteSampleV3Reader

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

DeleteSampleV3Reader is a Reader for the DeleteSampleV3 structure.

func (*DeleteSampleV3Reader) ReadResponse

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

ReadResponse reads a server response into the received o.

type DeleteSampleV3TooManyRequests

type DeleteSampleV3TooManyRequests 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
}

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

Too Many Requests

func NewDeleteSampleV3TooManyRequests

func NewDeleteSampleV3TooManyRequests() *DeleteSampleV3TooManyRequests

NewDeleteSampleV3TooManyRequests creates a DeleteSampleV3TooManyRequests with default headers values

func (*DeleteSampleV3TooManyRequests) Error

func (*DeleteSampleV3TooManyRequests) GetPayload

func (*DeleteSampleV3TooManyRequests) IsClientError added in v0.2.27

func (o *DeleteSampleV3TooManyRequests) IsClientError() bool

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

func (*DeleteSampleV3TooManyRequests) IsCode added in v0.2.27

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

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

func (*DeleteSampleV3TooManyRequests) IsRedirect added in v0.2.27

func (o *DeleteSampleV3TooManyRequests) IsRedirect() bool

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

func (*DeleteSampleV3TooManyRequests) IsServerError added in v0.2.27

func (o *DeleteSampleV3TooManyRequests) IsServerError() bool

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

func (*DeleteSampleV3TooManyRequests) IsSuccess added in v0.2.27

func (o *DeleteSampleV3TooManyRequests) IsSuccess() bool

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

func (*DeleteSampleV3TooManyRequests) String added in v0.2.27

type GetSampleV3BadRequest

type GetSampleV3BadRequest 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
}

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

Bad Request

func NewGetSampleV3BadRequest

func NewGetSampleV3BadRequest() *GetSampleV3BadRequest

NewGetSampleV3BadRequest creates a GetSampleV3BadRequest with default headers values

func (*GetSampleV3BadRequest) Error

func (o *GetSampleV3BadRequest) Error() string

func (*GetSampleV3BadRequest) GetPayload

func (*GetSampleV3BadRequest) IsClientError added in v0.2.27

func (o *GetSampleV3BadRequest) IsClientError() bool

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

func (*GetSampleV3BadRequest) IsCode added in v0.2.27

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

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

func (*GetSampleV3BadRequest) IsRedirect added in v0.2.27

func (o *GetSampleV3BadRequest) IsRedirect() bool

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

func (*GetSampleV3BadRequest) IsServerError added in v0.2.27

func (o *GetSampleV3BadRequest) IsServerError() bool

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

func (*GetSampleV3BadRequest) IsSuccess added in v0.2.27

func (o *GetSampleV3BadRequest) IsSuccess() bool

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

func (*GetSampleV3BadRequest) String added in v0.2.27

func (o *GetSampleV3BadRequest) String() string

type GetSampleV3Default

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

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

OK

func NewGetSampleV3Default

func NewGetSampleV3Default(code int) *GetSampleV3Default

NewGetSampleV3Default creates a GetSampleV3Default with default headers values

func (*GetSampleV3Default) Code

func (o *GetSampleV3Default) Code() int

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

func (*GetSampleV3Default) Error

func (o *GetSampleV3Default) Error() string

func (*GetSampleV3Default) GetPayload

func (o *GetSampleV3Default) GetPayload() string

func (*GetSampleV3Default) IsClientError added in v0.2.27

func (o *GetSampleV3Default) IsClientError() bool

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

func (*GetSampleV3Default) IsCode added in v0.2.27

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

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

func (*GetSampleV3Default) IsRedirect added in v0.2.27

func (o *GetSampleV3Default) IsRedirect() bool

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

func (*GetSampleV3Default) IsServerError added in v0.2.27

func (o *GetSampleV3Default) IsServerError() bool

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

func (*GetSampleV3Default) IsSuccess added in v0.2.27

func (o *GetSampleV3Default) IsSuccess() bool

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

func (*GetSampleV3Default) String added in v0.2.27

func (o *GetSampleV3Default) String() string

type GetSampleV3Forbidden

type GetSampleV3Forbidden 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
}

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

Forbidden

func NewGetSampleV3Forbidden

func NewGetSampleV3Forbidden() *GetSampleV3Forbidden

NewGetSampleV3Forbidden creates a GetSampleV3Forbidden with default headers values

func (*GetSampleV3Forbidden) Error

func (o *GetSampleV3Forbidden) Error() string

func (*GetSampleV3Forbidden) GetPayload

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

func (*GetSampleV3Forbidden) IsClientError added in v0.2.27

func (o *GetSampleV3Forbidden) IsClientError() bool

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

func (*GetSampleV3Forbidden) IsCode added in v0.2.27

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

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

func (*GetSampleV3Forbidden) IsRedirect added in v0.2.27

func (o *GetSampleV3Forbidden) IsRedirect() bool

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

func (*GetSampleV3Forbidden) IsServerError added in v0.2.27

func (o *GetSampleV3Forbidden) IsServerError() bool

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

func (*GetSampleV3Forbidden) IsSuccess added in v0.2.27

func (o *GetSampleV3Forbidden) IsSuccess() bool

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

func (*GetSampleV3Forbidden) String added in v0.2.27

func (o *GetSampleV3Forbidden) String() string

type GetSampleV3InternalServerError

type GetSampleV3InternalServerError 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
}

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

Internal Server Error

func NewGetSampleV3InternalServerError

func NewGetSampleV3InternalServerError() *GetSampleV3InternalServerError

NewGetSampleV3InternalServerError creates a GetSampleV3InternalServerError with default headers values

func (*GetSampleV3InternalServerError) Error

func (*GetSampleV3InternalServerError) GetPayload

func (*GetSampleV3InternalServerError) IsClientError added in v0.2.27

func (o *GetSampleV3InternalServerError) IsClientError() bool

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

func (*GetSampleV3InternalServerError) IsCode added in v0.2.27

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

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

func (*GetSampleV3InternalServerError) IsRedirect added in v0.2.27

func (o *GetSampleV3InternalServerError) IsRedirect() bool

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

func (*GetSampleV3InternalServerError) IsServerError added in v0.2.27

func (o *GetSampleV3InternalServerError) IsServerError() bool

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

func (*GetSampleV3InternalServerError) IsSuccess added in v0.2.27

func (o *GetSampleV3InternalServerError) IsSuccess() bool

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

func (*GetSampleV3InternalServerError) String added in v0.2.27

type GetSampleV3NotFound

type GetSampleV3NotFound 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
}

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

Not Found

func NewGetSampleV3NotFound

func NewGetSampleV3NotFound() *GetSampleV3NotFound

NewGetSampleV3NotFound creates a GetSampleV3NotFound with default headers values

func (*GetSampleV3NotFound) Error

func (o *GetSampleV3NotFound) Error() string

func (*GetSampleV3NotFound) GetPayload

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

func (*GetSampleV3NotFound) IsClientError added in v0.2.27

func (o *GetSampleV3NotFound) IsClientError() bool

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

func (*GetSampleV3NotFound) IsCode added in v0.2.27

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

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

func (*GetSampleV3NotFound) IsRedirect added in v0.2.27

func (o *GetSampleV3NotFound) IsRedirect() bool

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

func (*GetSampleV3NotFound) IsServerError added in v0.2.27

func (o *GetSampleV3NotFound) IsServerError() bool

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

func (*GetSampleV3NotFound) IsSuccess added in v0.2.27

func (o *GetSampleV3NotFound) IsSuccess() bool

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

func (*GetSampleV3NotFound) String added in v0.2.27

func (o *GetSampleV3NotFound) String() string

type GetSampleV3OK

type GetSampleV3OK 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
}

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

OK

func NewGetSampleV3OK

func NewGetSampleV3OK() *GetSampleV3OK

NewGetSampleV3OK creates a GetSampleV3OK with default headers values

func (*GetSampleV3OK) Error

func (o *GetSampleV3OK) Error() string

func (*GetSampleV3OK) GetPayload

func (o *GetSampleV3OK) GetPayload() string

func (*GetSampleV3OK) IsClientError added in v0.2.27

func (o *GetSampleV3OK) IsClientError() bool

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

func (*GetSampleV3OK) IsCode added in v0.2.27

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

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

func (*GetSampleV3OK) IsRedirect added in v0.2.27

func (o *GetSampleV3OK) IsRedirect() bool

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

func (*GetSampleV3OK) IsServerError added in v0.2.27

func (o *GetSampleV3OK) IsServerError() bool

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

func (*GetSampleV3OK) IsSuccess added in v0.2.27

func (o *GetSampleV3OK) IsSuccess() bool

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

func (*GetSampleV3OK) String added in v0.2.27

func (o *GetSampleV3OK) String() string

type GetSampleV3Params

type GetSampleV3Params 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
}

GetSampleV3Params contains all the parameters to send to the API endpoint

for the get sample v3 operation.

Typically these are written to a http.Request.

func NewGetSampleV3Params

func NewGetSampleV3Params() *GetSampleV3Params

NewGetSampleV3Params creates a new GetSampleV3Params 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 NewGetSampleV3ParamsWithContext

func NewGetSampleV3ParamsWithContext(ctx context.Context) *GetSampleV3Params

NewGetSampleV3ParamsWithContext creates a new GetSampleV3Params object with the ability to set a context for a request.

func NewGetSampleV3ParamsWithHTTPClient

func NewGetSampleV3ParamsWithHTTPClient(client *http.Client) *GetSampleV3Params

NewGetSampleV3ParamsWithHTTPClient creates a new GetSampleV3Params object with the ability to set a custom HTTPClient for a request.

func NewGetSampleV3ParamsWithTimeout

func NewGetSampleV3ParamsWithTimeout(timeout time.Duration) *GetSampleV3Params

NewGetSampleV3ParamsWithTimeout creates a new GetSampleV3Params object with the ability to set a timeout on a request.

func (*GetSampleV3Params) SetContext

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

SetContext adds the context to the get sample v3 params

func (*GetSampleV3Params) SetDefaults

func (o *GetSampleV3Params) SetDefaults()

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

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

func (*GetSampleV3Params) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get sample v3 params

func (*GetSampleV3Params) SetIds

func (o *GetSampleV3Params) SetIds(ids string)

SetIds adds the ids to the get sample v3 params

func (*GetSampleV3Params) SetPasswordProtected

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

SetPasswordProtected adds the passwordProtected to the get sample v3 params

func (*GetSampleV3Params) SetTimeout

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

SetTimeout adds the timeout to the get sample v3 params

func (*GetSampleV3Params) WithContext

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

WithContext adds the context to the get sample v3 params

func (*GetSampleV3Params) WithDefaults

func (o *GetSampleV3Params) WithDefaults() *GetSampleV3Params

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

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

func (*GetSampleV3Params) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get sample v3 params

func (*GetSampleV3Params) WithIds

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

WithIds adds the ids to the get sample v3 params

func (*GetSampleV3Params) WithPasswordProtected

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

WithPasswordProtected adds the passwordProtected to the get sample v3 params

func (*GetSampleV3Params) WithTimeout

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

WithTimeout adds the timeout to the get sample v3 params

func (*GetSampleV3Params) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type GetSampleV3Reader

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

GetSampleV3Reader is a Reader for the GetSampleV3 structure.

func (*GetSampleV3Reader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetSampleV3TooManyRequests

type GetSampleV3TooManyRequests 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
}

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

Too Many Requests

func NewGetSampleV3TooManyRequests

func NewGetSampleV3TooManyRequests() *GetSampleV3TooManyRequests

NewGetSampleV3TooManyRequests creates a GetSampleV3TooManyRequests with default headers values

func (*GetSampleV3TooManyRequests) Error

func (*GetSampleV3TooManyRequests) GetPayload

func (*GetSampleV3TooManyRequests) IsClientError added in v0.2.27

func (o *GetSampleV3TooManyRequests) IsClientError() bool

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

func (*GetSampleV3TooManyRequests) IsCode added in v0.2.27

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

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

func (*GetSampleV3TooManyRequests) IsRedirect added in v0.2.27

func (o *GetSampleV3TooManyRequests) IsRedirect() bool

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

func (*GetSampleV3TooManyRequests) IsServerError added in v0.2.27

func (o *GetSampleV3TooManyRequests) IsServerError() bool

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

func (*GetSampleV3TooManyRequests) IsSuccess added in v0.2.27

func (o *GetSampleV3TooManyRequests) IsSuccess() bool

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

func (*GetSampleV3TooManyRequests) String added in v0.2.27

func (o *GetSampleV3TooManyRequests) String() string

type UploadSampleV3BadRequest

type UploadSampleV3BadRequest 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
}

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

Bad Request

func NewUploadSampleV3BadRequest

func NewUploadSampleV3BadRequest() *UploadSampleV3BadRequest

NewUploadSampleV3BadRequest creates a UploadSampleV3BadRequest with default headers values

func (*UploadSampleV3BadRequest) Error

func (o *UploadSampleV3BadRequest) Error() string

func (*UploadSampleV3BadRequest) GetPayload

func (*UploadSampleV3BadRequest) IsClientError added in v0.2.27

func (o *UploadSampleV3BadRequest) IsClientError() bool

IsClientError returns true when this upload sample v3 bad request response has a 4xx status code

func (*UploadSampleV3BadRequest) IsCode added in v0.2.27

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

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

func (*UploadSampleV3BadRequest) IsRedirect added in v0.2.27

func (o *UploadSampleV3BadRequest) IsRedirect() bool

IsRedirect returns true when this upload sample v3 bad request response has a 3xx status code

func (*UploadSampleV3BadRequest) IsServerError added in v0.2.27

func (o *UploadSampleV3BadRequest) IsServerError() bool

IsServerError returns true when this upload sample v3 bad request response has a 5xx status code

func (*UploadSampleV3BadRequest) IsSuccess added in v0.2.27

func (o *UploadSampleV3BadRequest) IsSuccess() bool

IsSuccess returns true when this upload sample v3 bad request response has a 2xx status code

func (*UploadSampleV3BadRequest) String added in v0.2.27

func (o *UploadSampleV3BadRequest) String() string

type UploadSampleV3Default

type UploadSampleV3Default struct {
	Payload *models.ClientSampleMetadataResponseV2
	// contains filtered or unexported fields
}

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

OK

func NewUploadSampleV3Default

func NewUploadSampleV3Default(code int) *UploadSampleV3Default

NewUploadSampleV3Default creates a UploadSampleV3Default with default headers values

func (*UploadSampleV3Default) Code

func (o *UploadSampleV3Default) Code() int

Code gets the status code for the upload sample v3 default response

func (*UploadSampleV3Default) Error

func (o *UploadSampleV3Default) Error() string

func (*UploadSampleV3Default) GetPayload

func (*UploadSampleV3Default) IsClientError added in v0.2.27

func (o *UploadSampleV3Default) IsClientError() bool

IsClientError returns true when this upload sample v3 default response has a 4xx status code

func (*UploadSampleV3Default) IsCode added in v0.2.27

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

IsCode returns true when this upload sample v3 default response a status code equal to that given

func (*UploadSampleV3Default) IsRedirect added in v0.2.27

func (o *UploadSampleV3Default) IsRedirect() bool

IsRedirect returns true when this upload sample v3 default response has a 3xx status code

func (*UploadSampleV3Default) IsServerError added in v0.2.27

func (o *UploadSampleV3Default) IsServerError() bool

IsServerError returns true when this upload sample v3 default response has a 5xx status code

func (*UploadSampleV3Default) IsSuccess added in v0.2.27

func (o *UploadSampleV3Default) IsSuccess() bool

IsSuccess returns true when this upload sample v3 default response has a 2xx status code

func (*UploadSampleV3Default) String added in v0.2.27

func (o *UploadSampleV3Default) String() string

type UploadSampleV3Forbidden

type UploadSampleV3Forbidden 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
}

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

Forbidden

func NewUploadSampleV3Forbidden

func NewUploadSampleV3Forbidden() *UploadSampleV3Forbidden

NewUploadSampleV3Forbidden creates a UploadSampleV3Forbidden with default headers values

func (*UploadSampleV3Forbidden) Error

func (o *UploadSampleV3Forbidden) Error() string

func (*UploadSampleV3Forbidden) GetPayload

func (*UploadSampleV3Forbidden) IsClientError added in v0.2.27

func (o *UploadSampleV3Forbidden) IsClientError() bool

IsClientError returns true when this upload sample v3 forbidden response has a 4xx status code

func (*UploadSampleV3Forbidden) IsCode added in v0.2.27

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

IsCode returns true when this upload sample v3 forbidden response a status code equal to that given

func (*UploadSampleV3Forbidden) IsRedirect added in v0.2.27

func (o *UploadSampleV3Forbidden) IsRedirect() bool

IsRedirect returns true when this upload sample v3 forbidden response has a 3xx status code

func (*UploadSampleV3Forbidden) IsServerError added in v0.2.27

func (o *UploadSampleV3Forbidden) IsServerError() bool

IsServerError returns true when this upload sample v3 forbidden response has a 5xx status code

func (*UploadSampleV3Forbidden) IsSuccess added in v0.2.27

func (o *UploadSampleV3Forbidden) IsSuccess() bool

IsSuccess returns true when this upload sample v3 forbidden response has a 2xx status code

func (*UploadSampleV3Forbidden) String added in v0.2.27

func (o *UploadSampleV3Forbidden) String() string

type UploadSampleV3InternalServerError

type UploadSampleV3InternalServerError 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
}

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

Internal Server Error

func NewUploadSampleV3InternalServerError

func NewUploadSampleV3InternalServerError() *UploadSampleV3InternalServerError

NewUploadSampleV3InternalServerError creates a UploadSampleV3InternalServerError with default headers values

func (*UploadSampleV3InternalServerError) Error

func (*UploadSampleV3InternalServerError) GetPayload

func (*UploadSampleV3InternalServerError) IsClientError added in v0.2.27

func (o *UploadSampleV3InternalServerError) IsClientError() bool

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

func (*UploadSampleV3InternalServerError) IsCode added in v0.2.27

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

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

func (*UploadSampleV3InternalServerError) IsRedirect added in v0.2.27

func (o *UploadSampleV3InternalServerError) IsRedirect() bool

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

func (*UploadSampleV3InternalServerError) IsServerError added in v0.2.27

func (o *UploadSampleV3InternalServerError) IsServerError() bool

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

func (*UploadSampleV3InternalServerError) IsSuccess added in v0.2.27

func (o *UploadSampleV3InternalServerError) IsSuccess() bool

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

func (*UploadSampleV3InternalServerError) String added in v0.2.27

type UploadSampleV3OK

type UploadSampleV3OK 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
}

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

OK

func NewUploadSampleV3OK

func NewUploadSampleV3OK() *UploadSampleV3OK

NewUploadSampleV3OK creates a UploadSampleV3OK with default headers values

func (*UploadSampleV3OK) Error

func (o *UploadSampleV3OK) Error() string

func (*UploadSampleV3OK) GetPayload

func (*UploadSampleV3OK) IsClientError added in v0.2.27

func (o *UploadSampleV3OK) IsClientError() bool

IsClientError returns true when this upload sample v3 o k response has a 4xx status code

func (*UploadSampleV3OK) IsCode added in v0.2.27

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

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

func (*UploadSampleV3OK) IsRedirect added in v0.2.27

func (o *UploadSampleV3OK) IsRedirect() bool

IsRedirect returns true when this upload sample v3 o k response has a 3xx status code

func (*UploadSampleV3OK) IsServerError added in v0.2.27

func (o *UploadSampleV3OK) IsServerError() bool

IsServerError returns true when this upload sample v3 o k response has a 5xx status code

func (*UploadSampleV3OK) IsSuccess added in v0.2.27

func (o *UploadSampleV3OK) IsSuccess() bool

IsSuccess returns true when this upload sample v3 o k response has a 2xx status code

func (*UploadSampleV3OK) String added in v0.2.27

func (o *UploadSampleV3OK) String() string

type UploadSampleV3Params

type UploadSampleV3Params 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
}

UploadSampleV3Params contains all the parameters to send to the API endpoint

for the upload sample v3 operation.

Typically these are written to a http.Request.

func NewUploadSampleV3Params

func NewUploadSampleV3Params() *UploadSampleV3Params

NewUploadSampleV3Params creates a new UploadSampleV3Params 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 NewUploadSampleV3ParamsWithContext

func NewUploadSampleV3ParamsWithContext(ctx context.Context) *UploadSampleV3Params

NewUploadSampleV3ParamsWithContext creates a new UploadSampleV3Params object with the ability to set a context for a request.

func NewUploadSampleV3ParamsWithHTTPClient

func NewUploadSampleV3ParamsWithHTTPClient(client *http.Client) *UploadSampleV3Params

NewUploadSampleV3ParamsWithHTTPClient creates a new UploadSampleV3Params object with the ability to set a custom HTTPClient for a request.

func NewUploadSampleV3ParamsWithTimeout

func NewUploadSampleV3ParamsWithTimeout(timeout time.Duration) *UploadSampleV3Params

NewUploadSampleV3ParamsWithTimeout creates a new UploadSampleV3Params object with the ability to set a timeout on a request.

func (*UploadSampleV3Params) SetComment

func (o *UploadSampleV3Params) SetComment(comment *string)

SetComment adds the comment to the upload sample v3 params

func (*UploadSampleV3Params) SetContext

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

SetContext adds the context to the upload sample v3 params

func (*UploadSampleV3Params) SetDefaults

func (o *UploadSampleV3Params) SetDefaults()

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

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

func (*UploadSampleV3Params) SetFileName

func (o *UploadSampleV3Params) SetFileName(fileName string)

SetFileName adds the fileName to the upload sample v3 params

func (*UploadSampleV3Params) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the upload sample v3 params

func (*UploadSampleV3Params) SetIsConfidential

func (o *UploadSampleV3Params) SetIsConfidential(isConfidential *bool)

SetIsConfidential adds the isConfidential to the upload sample v3 params

func (*UploadSampleV3Params) SetSample added in v0.2.6

func (o *UploadSampleV3Params) SetSample(sample runtime.NamedReadCloser)

SetSample adds the sample to the upload sample v3 params

func (*UploadSampleV3Params) SetTimeout

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

SetTimeout adds the timeout to the upload sample v3 params

func (*UploadSampleV3Params) WithComment

func (o *UploadSampleV3Params) WithComment(comment *string) *UploadSampleV3Params

WithComment adds the comment to the upload sample v3 params

func (*UploadSampleV3Params) WithContext

WithContext adds the context to the upload sample v3 params

func (*UploadSampleV3Params) WithDefaults

func (o *UploadSampleV3Params) WithDefaults() *UploadSampleV3Params

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

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

func (*UploadSampleV3Params) WithFileName

func (o *UploadSampleV3Params) WithFileName(fileName string) *UploadSampleV3Params

WithFileName adds the fileName to the upload sample v3 params

func (*UploadSampleV3Params) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the upload sample v3 params

func (*UploadSampleV3Params) WithIsConfidential

func (o *UploadSampleV3Params) WithIsConfidential(isConfidential *bool) *UploadSampleV3Params

WithIsConfidential adds the isConfidential to the upload sample v3 params

func (*UploadSampleV3Params) WithSample added in v0.2.6

WithSample adds the sample to the upload sample v3 params

func (*UploadSampleV3Params) WithTimeout

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

WithTimeout adds the timeout to the upload sample v3 params

func (*UploadSampleV3Params) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type UploadSampleV3Reader

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

UploadSampleV3Reader is a Reader for the UploadSampleV3 structure.

func (*UploadSampleV3Reader) ReadResponse

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

ReadResponse reads a server response into the received o.

type UploadSampleV3TooManyRequests

type UploadSampleV3TooManyRequests 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
}

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

Too Many Requests

func NewUploadSampleV3TooManyRequests

func NewUploadSampleV3TooManyRequests() *UploadSampleV3TooManyRequests

NewUploadSampleV3TooManyRequests creates a UploadSampleV3TooManyRequests with default headers values

func (*UploadSampleV3TooManyRequests) Error

func (*UploadSampleV3TooManyRequests) GetPayload

func (*UploadSampleV3TooManyRequests) IsClientError added in v0.2.27

func (o *UploadSampleV3TooManyRequests) IsClientError() bool

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

func (*UploadSampleV3TooManyRequests) IsCode added in v0.2.27

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

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

func (*UploadSampleV3TooManyRequests) IsRedirect added in v0.2.27

func (o *UploadSampleV3TooManyRequests) IsRedirect() bool

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

func (*UploadSampleV3TooManyRequests) IsServerError added in v0.2.27

func (o *UploadSampleV3TooManyRequests) IsServerError() bool

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

func (*UploadSampleV3TooManyRequests) IsSuccess added in v0.2.27

func (o *UploadSampleV3TooManyRequests) IsSuccess() bool

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

func (*UploadSampleV3TooManyRequests) String added in v0.2.27

Jump to

Keyboard shortcuts

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