filevantage

package
v0.3.1 Latest Latest
Warning

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

Go to latest
Published: Jun 22, 2023 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 filevantage API

func (*Client) GetChanges

func (a *Client) GetChanges(params *GetChangesParams, opts ...ClientOption) (*GetChangesOK, error)

GetChanges retrieves information on changes

Retrieve key attributes of Falcon FileVantage changes for the specified ids.

func (*Client) QueryChanges

func (a *Client) QueryChanges(params *QueryChangesParams, opts ...ClientOption) (*QueryChangesOK, error)

QueryChanges returns one or more change i ds

Returns a list of Falcon FileVantage change IDs filtered, sorted and limited by the query parameters provided

func (*Client) SetTransport

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

SetTransport changes the transport on the client

type ClientOption

type ClientOption func(*runtime.ClientOperation)

ClientOption is the option for Client methods

type ClientService

type ClientService interface {
	GetChanges(params *GetChangesParams, opts ...ClientOption) (*GetChangesOK, error)

	QueryChanges(params *QueryChangesParams, opts ...ClientOption) (*QueryChangesOK, 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 filevantage API client.

type GetChangesBadRequest

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

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

Bad Request

func NewGetChangesBadRequest

func NewGetChangesBadRequest() *GetChangesBadRequest

NewGetChangesBadRequest creates a GetChangesBadRequest with default headers values

func (*GetChangesBadRequest) Code added in v0.2.33

func (o *GetChangesBadRequest) Code() int

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

func (*GetChangesBadRequest) Error

func (o *GetChangesBadRequest) Error() string

func (*GetChangesBadRequest) GetPayload

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

func (*GetChangesBadRequest) IsClientError added in v0.2.27

func (o *GetChangesBadRequest) IsClientError() bool

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

func (*GetChangesBadRequest) IsCode added in v0.2.27

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

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

func (*GetChangesBadRequest) IsRedirect added in v0.2.27

func (o *GetChangesBadRequest) IsRedirect() bool

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

func (*GetChangesBadRequest) IsServerError added in v0.2.27

func (o *GetChangesBadRequest) IsServerError() bool

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

func (*GetChangesBadRequest) IsSuccess added in v0.2.27

func (o *GetChangesBadRequest) IsSuccess() bool

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

func (*GetChangesBadRequest) String added in v0.2.27

func (o *GetChangesBadRequest) String() string

type GetChangesDefault

type GetChangesDefault struct {
	Payload *models.ExternalGetChangesResponse
	// contains filtered or unexported fields
}

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

OK

func NewGetChangesDefault

func NewGetChangesDefault(code int) *GetChangesDefault

NewGetChangesDefault creates a GetChangesDefault with default headers values

func (*GetChangesDefault) Code

func (o *GetChangesDefault) Code() int

Code gets the status code for the get changes default response

func (*GetChangesDefault) Error

func (o *GetChangesDefault) Error() string

func (*GetChangesDefault) GetPayload

func (*GetChangesDefault) IsClientError added in v0.2.27

func (o *GetChangesDefault) IsClientError() bool

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

func (*GetChangesDefault) IsCode added in v0.2.27

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

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

func (*GetChangesDefault) IsRedirect added in v0.2.27

func (o *GetChangesDefault) IsRedirect() bool

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

func (*GetChangesDefault) IsServerError added in v0.2.27

func (o *GetChangesDefault) IsServerError() bool

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

func (*GetChangesDefault) IsSuccess added in v0.2.27

func (o *GetChangesDefault) IsSuccess() bool

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

func (*GetChangesDefault) String added in v0.2.27

func (o *GetChangesDefault) String() string

type GetChangesForbidden

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

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

Forbidden

func NewGetChangesForbidden

func NewGetChangesForbidden() *GetChangesForbidden

NewGetChangesForbidden creates a GetChangesForbidden with default headers values

func (*GetChangesForbidden) Code added in v0.2.33

func (o *GetChangesForbidden) Code() int

Code gets the status code for the get changes forbidden response

func (*GetChangesForbidden) Error

func (o *GetChangesForbidden) Error() string

func (*GetChangesForbidden) GetPayload

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

func (*GetChangesForbidden) IsClientError added in v0.2.27

func (o *GetChangesForbidden) IsClientError() bool

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

func (*GetChangesForbidden) IsCode added in v0.2.27

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

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

func (*GetChangesForbidden) IsRedirect added in v0.2.27

func (o *GetChangesForbidden) IsRedirect() bool

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

func (*GetChangesForbidden) IsServerError added in v0.2.27

func (o *GetChangesForbidden) IsServerError() bool

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

func (*GetChangesForbidden) IsSuccess added in v0.2.27

func (o *GetChangesForbidden) IsSuccess() bool

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

func (*GetChangesForbidden) String added in v0.2.27

func (o *GetChangesForbidden) String() string

type GetChangesInternalServerError

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

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

Internal Server Error

func NewGetChangesInternalServerError

func NewGetChangesInternalServerError() *GetChangesInternalServerError

NewGetChangesInternalServerError creates a GetChangesInternalServerError with default headers values

func (*GetChangesInternalServerError) Code added in v0.2.33

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

func (*GetChangesInternalServerError) Error

func (*GetChangesInternalServerError) GetPayload

func (*GetChangesInternalServerError) IsClientError added in v0.2.27

func (o *GetChangesInternalServerError) IsClientError() bool

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

func (*GetChangesInternalServerError) IsCode added in v0.2.27

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

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

func (*GetChangesInternalServerError) IsRedirect added in v0.2.27

func (o *GetChangesInternalServerError) IsRedirect() bool

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

func (*GetChangesInternalServerError) IsServerError added in v0.2.27

func (o *GetChangesInternalServerError) IsServerError() bool

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

func (*GetChangesInternalServerError) IsSuccess added in v0.2.27

func (o *GetChangesInternalServerError) IsSuccess() bool

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

func (*GetChangesInternalServerError) String added in v0.2.27

type GetChangesOK

type GetChangesOK 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.ExternalGetChangesResponse
}

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

OK

func NewGetChangesOK

func NewGetChangesOK() *GetChangesOK

NewGetChangesOK creates a GetChangesOK with default headers values

func (*GetChangesOK) Code added in v0.2.33

func (o *GetChangesOK) Code() int

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

func (*GetChangesOK) Error

func (o *GetChangesOK) Error() string

func (*GetChangesOK) GetPayload

func (*GetChangesOK) IsClientError added in v0.2.27

func (o *GetChangesOK) IsClientError() bool

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

func (*GetChangesOK) IsCode added in v0.2.27

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

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

func (*GetChangesOK) IsRedirect added in v0.2.27

func (o *GetChangesOK) IsRedirect() bool

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

func (*GetChangesOK) IsServerError added in v0.2.27

func (o *GetChangesOK) IsServerError() bool

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

func (*GetChangesOK) IsSuccess added in v0.2.27

func (o *GetChangesOK) IsSuccess() bool

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

func (*GetChangesOK) String added in v0.2.27

func (o *GetChangesOK) String() string

type GetChangesParams

type GetChangesParams struct {

	/* Ids.

	   Comma separated values of change ids
	*/
	Ids []string

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

GetChangesParams contains all the parameters to send to the API endpoint

for the get changes operation.

Typically these are written to a http.Request.

func NewGetChangesParams

func NewGetChangesParams() *GetChangesParams

NewGetChangesParams creates a new GetChangesParams 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 NewGetChangesParamsWithContext

func NewGetChangesParamsWithContext(ctx context.Context) *GetChangesParams

NewGetChangesParamsWithContext creates a new GetChangesParams object with the ability to set a context for a request.

func NewGetChangesParamsWithHTTPClient

func NewGetChangesParamsWithHTTPClient(client *http.Client) *GetChangesParams

NewGetChangesParamsWithHTTPClient creates a new GetChangesParams object with the ability to set a custom HTTPClient for a request.

func NewGetChangesParamsWithTimeout

func NewGetChangesParamsWithTimeout(timeout time.Duration) *GetChangesParams

NewGetChangesParamsWithTimeout creates a new GetChangesParams object with the ability to set a timeout on a request.

func (*GetChangesParams) SetContext

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

SetContext adds the context to the get changes params

func (*GetChangesParams) SetDefaults

func (o *GetChangesParams) SetDefaults()

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

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

func (*GetChangesParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get changes params

func (*GetChangesParams) SetIds

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

SetIds adds the ids to the get changes params

func (*GetChangesParams) SetTimeout

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

SetTimeout adds the timeout to the get changes params

func (*GetChangesParams) WithContext

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

WithContext adds the context to the get changes params

func (*GetChangesParams) WithDefaults

func (o *GetChangesParams) WithDefaults() *GetChangesParams

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

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

func (*GetChangesParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get changes params

func (*GetChangesParams) WithIds

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

WithIds adds the ids to the get changes params

func (*GetChangesParams) WithTimeout

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

WithTimeout adds the timeout to the get changes params

func (*GetChangesParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type GetChangesReader

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

GetChangesReader is a Reader for the GetChanges structure.

func (*GetChangesReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetChangesTooManyRequests

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

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

Too Many Requests

func NewGetChangesTooManyRequests

func NewGetChangesTooManyRequests() *GetChangesTooManyRequests

NewGetChangesTooManyRequests creates a GetChangesTooManyRequests with default headers values

func (*GetChangesTooManyRequests) Code added in v0.2.33

func (o *GetChangesTooManyRequests) Code() int

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

func (*GetChangesTooManyRequests) Error

func (o *GetChangesTooManyRequests) Error() string

func (*GetChangesTooManyRequests) GetPayload

func (*GetChangesTooManyRequests) IsClientError added in v0.2.27

func (o *GetChangesTooManyRequests) IsClientError() bool

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

func (*GetChangesTooManyRequests) IsCode added in v0.2.27

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

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

func (*GetChangesTooManyRequests) IsRedirect added in v0.2.27

func (o *GetChangesTooManyRequests) IsRedirect() bool

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

func (*GetChangesTooManyRequests) IsServerError added in v0.2.27

func (o *GetChangesTooManyRequests) IsServerError() bool

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

func (*GetChangesTooManyRequests) IsSuccess added in v0.2.27

func (o *GetChangesTooManyRequests) IsSuccess() bool

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

func (*GetChangesTooManyRequests) String added in v0.2.27

func (o *GetChangesTooManyRequests) String() string

type QueryChangesBadRequest

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

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

Bad Request

func NewQueryChangesBadRequest

func NewQueryChangesBadRequest() *QueryChangesBadRequest

NewQueryChangesBadRequest creates a QueryChangesBadRequest with default headers values

func (*QueryChangesBadRequest) Code added in v0.2.33

func (o *QueryChangesBadRequest) Code() int

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

func (*QueryChangesBadRequest) Error

func (o *QueryChangesBadRequest) Error() string

func (*QueryChangesBadRequest) GetPayload

func (*QueryChangesBadRequest) IsClientError added in v0.2.27

func (o *QueryChangesBadRequest) IsClientError() bool

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

func (*QueryChangesBadRequest) IsCode added in v0.2.27

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

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

func (*QueryChangesBadRequest) IsRedirect added in v0.2.27

func (o *QueryChangesBadRequest) IsRedirect() bool

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

func (*QueryChangesBadRequest) IsServerError added in v0.2.27

func (o *QueryChangesBadRequest) IsServerError() bool

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

func (*QueryChangesBadRequest) IsSuccess added in v0.2.27

func (o *QueryChangesBadRequest) IsSuccess() bool

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

func (*QueryChangesBadRequest) String added in v0.2.27

func (o *QueryChangesBadRequest) String() string

type QueryChangesDefault

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

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

OK

func NewQueryChangesDefault

func NewQueryChangesDefault(code int) *QueryChangesDefault

NewQueryChangesDefault creates a QueryChangesDefault with default headers values

func (*QueryChangesDefault) Code

func (o *QueryChangesDefault) Code() int

Code gets the status code for the query changes default response

func (*QueryChangesDefault) Error

func (o *QueryChangesDefault) Error() string

func (*QueryChangesDefault) GetPayload

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

func (*QueryChangesDefault) IsClientError added in v0.2.27

func (o *QueryChangesDefault) IsClientError() bool

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

func (*QueryChangesDefault) IsCode added in v0.2.27

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

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

func (*QueryChangesDefault) IsRedirect added in v0.2.27

func (o *QueryChangesDefault) IsRedirect() bool

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

func (*QueryChangesDefault) IsServerError added in v0.2.27

func (o *QueryChangesDefault) IsServerError() bool

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

func (*QueryChangesDefault) IsSuccess added in v0.2.27

func (o *QueryChangesDefault) IsSuccess() bool

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

func (*QueryChangesDefault) String added in v0.2.27

func (o *QueryChangesDefault) String() string

type QueryChangesForbidden

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

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

Forbidden

func NewQueryChangesForbidden

func NewQueryChangesForbidden() *QueryChangesForbidden

NewQueryChangesForbidden creates a QueryChangesForbidden with default headers values

func (*QueryChangesForbidden) Code added in v0.2.33

func (o *QueryChangesForbidden) Code() int

Code gets the status code for the query changes forbidden response

func (*QueryChangesForbidden) Error

func (o *QueryChangesForbidden) Error() string

func (*QueryChangesForbidden) GetPayload

func (*QueryChangesForbidden) IsClientError added in v0.2.27

func (o *QueryChangesForbidden) IsClientError() bool

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

func (*QueryChangesForbidden) IsCode added in v0.2.27

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

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

func (*QueryChangesForbidden) IsRedirect added in v0.2.27

func (o *QueryChangesForbidden) IsRedirect() bool

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

func (*QueryChangesForbidden) IsServerError added in v0.2.27

func (o *QueryChangesForbidden) IsServerError() bool

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

func (*QueryChangesForbidden) IsSuccess added in v0.2.27

func (o *QueryChangesForbidden) IsSuccess() bool

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

func (*QueryChangesForbidden) String added in v0.2.27

func (o *QueryChangesForbidden) String() string

type QueryChangesInternalServerError

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

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

Internal Server Error

func NewQueryChangesInternalServerError

func NewQueryChangesInternalServerError() *QueryChangesInternalServerError

NewQueryChangesInternalServerError creates a QueryChangesInternalServerError with default headers values

func (*QueryChangesInternalServerError) Code added in v0.2.33

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

func (*QueryChangesInternalServerError) Error

func (*QueryChangesInternalServerError) GetPayload

func (*QueryChangesInternalServerError) IsClientError added in v0.2.27

func (o *QueryChangesInternalServerError) IsClientError() bool

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

func (*QueryChangesInternalServerError) IsCode added in v0.2.27

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

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

func (*QueryChangesInternalServerError) IsRedirect added in v0.2.27

func (o *QueryChangesInternalServerError) IsRedirect() bool

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

func (*QueryChangesInternalServerError) IsServerError added in v0.2.27

func (o *QueryChangesInternalServerError) IsServerError() bool

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

func (*QueryChangesInternalServerError) IsSuccess added in v0.2.27

func (o *QueryChangesInternalServerError) IsSuccess() bool

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

func (*QueryChangesInternalServerError) String added in v0.2.27

type QueryChangesOK

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

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

OK

func NewQueryChangesOK

func NewQueryChangesOK() *QueryChangesOK

NewQueryChangesOK creates a QueryChangesOK with default headers values

func (*QueryChangesOK) Code added in v0.2.33

func (o *QueryChangesOK) Code() int

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

func (*QueryChangesOK) Error

func (o *QueryChangesOK) Error() string

func (*QueryChangesOK) GetPayload

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

func (*QueryChangesOK) IsClientError added in v0.2.27

func (o *QueryChangesOK) IsClientError() bool

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

func (*QueryChangesOK) IsCode added in v0.2.27

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

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

func (*QueryChangesOK) IsRedirect added in v0.2.27

func (o *QueryChangesOK) IsRedirect() bool

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

func (*QueryChangesOK) IsServerError added in v0.2.27

func (o *QueryChangesOK) IsServerError() bool

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

func (*QueryChangesOK) IsSuccess added in v0.2.27

func (o *QueryChangesOK) IsSuccess() bool

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

func (*QueryChangesOK) String added in v0.2.27

func (o *QueryChangesOK) String() string

type QueryChangesParams

type QueryChangesParams struct {

	/* Filter.

	     Filter changes using a query in Falcon Query Language (FQL).

	Common filter options include:

	 - `host.host_name`
	 - `action_timestamp`

	 The full list of allowed filter parameters can be reviewed in our API documentation.
	*/
	Filter *string

	/* Limit.

	   The maximum number of changes to return in the response (default: 100; max: 500). Use with the `offset` parameter to manage pagination of results
	*/
	Limit *int64

	/* Offset.

	   The first change index to return in the response. If not provided it will default to '0'. Use with the `limit` parameter to manage pagination of results.
	*/
	Offset *int64

	/* Sort.

	     Sort changes using options like:

	- `action_timestamp` (timestamp of the change occurrence)

	 Sort either `asc` (ascending) or `desc` (descending). For example: `action_timestamp|asc`.
	The full list of allowed sorting options can be reviewed in our API documentation.
	*/
	Sort *string

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

QueryChangesParams contains all the parameters to send to the API endpoint

for the query changes operation.

Typically these are written to a http.Request.

func NewQueryChangesParams

func NewQueryChangesParams() *QueryChangesParams

NewQueryChangesParams creates a new QueryChangesParams 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 NewQueryChangesParamsWithContext

func NewQueryChangesParamsWithContext(ctx context.Context) *QueryChangesParams

NewQueryChangesParamsWithContext creates a new QueryChangesParams object with the ability to set a context for a request.

func NewQueryChangesParamsWithHTTPClient

func NewQueryChangesParamsWithHTTPClient(client *http.Client) *QueryChangesParams

NewQueryChangesParamsWithHTTPClient creates a new QueryChangesParams object with the ability to set a custom HTTPClient for a request.

func NewQueryChangesParamsWithTimeout

func NewQueryChangesParamsWithTimeout(timeout time.Duration) *QueryChangesParams

NewQueryChangesParamsWithTimeout creates a new QueryChangesParams object with the ability to set a timeout on a request.

func (*QueryChangesParams) SetContext

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

SetContext adds the context to the query changes params

func (*QueryChangesParams) SetDefaults

func (o *QueryChangesParams) SetDefaults()

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

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

func (*QueryChangesParams) SetFilter

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

SetFilter adds the filter to the query changes params

func (*QueryChangesParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the query changes params

func (*QueryChangesParams) SetLimit

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

SetLimit adds the limit to the query changes params

func (*QueryChangesParams) SetOffset

func (o *QueryChangesParams) SetOffset(offset *int64)

SetOffset adds the offset to the query changes params

func (*QueryChangesParams) SetSort

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

SetSort adds the sort to the query changes params

func (*QueryChangesParams) SetTimeout

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

SetTimeout adds the timeout to the query changes params

func (*QueryChangesParams) WithContext

WithContext adds the context to the query changes params

func (*QueryChangesParams) WithDefaults

func (o *QueryChangesParams) WithDefaults() *QueryChangesParams

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

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

func (*QueryChangesParams) WithFilter

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

WithFilter adds the filter to the query changes params

func (*QueryChangesParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the query changes params

func (*QueryChangesParams) WithLimit

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

WithLimit adds the limit to the query changes params

func (*QueryChangesParams) WithOffset

func (o *QueryChangesParams) WithOffset(offset *int64) *QueryChangesParams

WithOffset adds the offset to the query changes params

func (*QueryChangesParams) WithSort

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

WithSort adds the sort to the query changes params

func (*QueryChangesParams) WithTimeout

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

WithTimeout adds the timeout to the query changes params

func (*QueryChangesParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type QueryChangesReader

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

QueryChangesReader is a Reader for the QueryChanges structure.

func (*QueryChangesReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type QueryChangesTooManyRequests

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

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

Too Many Requests

func NewQueryChangesTooManyRequests

func NewQueryChangesTooManyRequests() *QueryChangesTooManyRequests

NewQueryChangesTooManyRequests creates a QueryChangesTooManyRequests with default headers values

func (*QueryChangesTooManyRequests) Code added in v0.2.33

func (o *QueryChangesTooManyRequests) Code() int

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

func (*QueryChangesTooManyRequests) Error

func (*QueryChangesTooManyRequests) GetPayload

func (*QueryChangesTooManyRequests) IsClientError added in v0.2.27

func (o *QueryChangesTooManyRequests) IsClientError() bool

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

func (*QueryChangesTooManyRequests) IsCode added in v0.2.27

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

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

func (*QueryChangesTooManyRequests) IsRedirect added in v0.2.27

func (o *QueryChangesTooManyRequests) IsRedirect() bool

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

func (*QueryChangesTooManyRequests) IsServerError added in v0.2.27

func (o *QueryChangesTooManyRequests) IsServerError() bool

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

func (*QueryChangesTooManyRequests) IsSuccess added in v0.2.27

func (o *QueryChangesTooManyRequests) IsSuccess() bool

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

func (*QueryChangesTooManyRequests) String added in v0.2.27

func (o *QueryChangesTooManyRequests) String() string

Jump to

Keyboard shortcuts

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