tailored_intelligence

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Jun 1, 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 tailored intelligence API

func (*Client) GetEventsBody

func (a *Client) GetEventsBody(params *GetEventsBodyParams, opts ...ClientOption) (*GetEventsBodyOK, error)

GetEventsBody gets event body for the provided event ID

func (*Client) GetEventsEntities

func (a *Client) GetEventsEntities(params *GetEventsEntitiesParams, opts ...ClientOption) (*GetEventsEntitiesOK, error)

GetEventsEntities gets events entities for specified ids

func (*Client) GetRulesEntities

func (a *Client) GetRulesEntities(params *GetRulesEntitiesParams, opts ...ClientOption) (*GetRulesEntitiesOK, error)

GetRulesEntities gets rules entities for specified ids

func (*Client) QueryEvents

func (a *Client) QueryEvents(params *QueryEventsParams, opts ...ClientOption) (*QueryEventsOK, error)

QueryEvents gets events ids that match the provided filter criteria

func (*Client) QueryRules

func (a *Client) QueryRules(params *QueryRulesParams, opts ...ClientOption) (*QueryRulesOK, error)

QueryRules gets rules ids that match the provided filter criteria

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 {
	GetEventsBody(params *GetEventsBodyParams, opts ...ClientOption) (*GetEventsBodyOK, error)

	GetEventsEntities(params *GetEventsEntitiesParams, opts ...ClientOption) (*GetEventsEntitiesOK, error)

	GetRulesEntities(params *GetRulesEntitiesParams, opts ...ClientOption) (*GetRulesEntitiesOK, error)

	QueryEvents(params *QueryEventsParams, opts ...ClientOption) (*QueryEventsOK, error)

	QueryRules(params *QueryRulesParams, opts ...ClientOption) (*QueryRulesOK, 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 tailored intelligence API client.

type GetEventsBodyBadRequest

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

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

Bad Request

func NewGetEventsBodyBadRequest

func NewGetEventsBodyBadRequest() *GetEventsBodyBadRequest

NewGetEventsBodyBadRequest creates a GetEventsBodyBadRequest with default headers values

func (*GetEventsBodyBadRequest) Code added in v0.2.33

func (o *GetEventsBodyBadRequest) Code() int

Code gets the status code for the get events body bad request response

func (*GetEventsBodyBadRequest) Error

func (o *GetEventsBodyBadRequest) Error() string

func (*GetEventsBodyBadRequest) GetPayload

func (o *GetEventsBodyBadRequest) GetPayload() string

func (*GetEventsBodyBadRequest) IsClientError

func (o *GetEventsBodyBadRequest) IsClientError() bool

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

func (*GetEventsBodyBadRequest) IsCode

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

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

func (*GetEventsBodyBadRequest) IsRedirect

func (o *GetEventsBodyBadRequest) IsRedirect() bool

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

func (*GetEventsBodyBadRequest) IsServerError

func (o *GetEventsBodyBadRequest) IsServerError() bool

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

func (*GetEventsBodyBadRequest) IsSuccess

func (o *GetEventsBodyBadRequest) IsSuccess() bool

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

func (*GetEventsBodyBadRequest) String

func (o *GetEventsBodyBadRequest) String() string

type GetEventsBodyDefault

type GetEventsBodyDefault struct {
	Payload []int64
	// contains filtered or unexported fields
}

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

OK

func NewGetEventsBodyDefault

func NewGetEventsBodyDefault(code int) *GetEventsBodyDefault

NewGetEventsBodyDefault creates a GetEventsBodyDefault with default headers values

func (*GetEventsBodyDefault) Code

func (o *GetEventsBodyDefault) Code() int

Code gets the status code for the get events body default response

func (*GetEventsBodyDefault) Error

func (o *GetEventsBodyDefault) Error() string

func (*GetEventsBodyDefault) GetPayload

func (o *GetEventsBodyDefault) GetPayload() []int64

func (*GetEventsBodyDefault) IsClientError

func (o *GetEventsBodyDefault) IsClientError() bool

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

func (*GetEventsBodyDefault) IsCode

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

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

func (*GetEventsBodyDefault) IsRedirect

func (o *GetEventsBodyDefault) IsRedirect() bool

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

func (*GetEventsBodyDefault) IsServerError

func (o *GetEventsBodyDefault) IsServerError() bool

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

func (*GetEventsBodyDefault) IsSuccess

func (o *GetEventsBodyDefault) IsSuccess() bool

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

func (*GetEventsBodyDefault) String

func (o *GetEventsBodyDefault) String() string

type GetEventsBodyForbidden

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

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

Forbidden

func NewGetEventsBodyForbidden

func NewGetEventsBodyForbidden() *GetEventsBodyForbidden

NewGetEventsBodyForbidden creates a GetEventsBodyForbidden with default headers values

func (*GetEventsBodyForbidden) Code added in v0.2.33

func (o *GetEventsBodyForbidden) Code() int

Code gets the status code for the get events body forbidden response

func (*GetEventsBodyForbidden) Error

func (o *GetEventsBodyForbidden) Error() string

func (*GetEventsBodyForbidden) IsClientError

func (o *GetEventsBodyForbidden) IsClientError() bool

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

func (*GetEventsBodyForbidden) IsCode

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

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

func (*GetEventsBodyForbidden) IsRedirect

func (o *GetEventsBodyForbidden) IsRedirect() bool

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

func (*GetEventsBodyForbidden) IsServerError

func (o *GetEventsBodyForbidden) IsServerError() bool

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

func (*GetEventsBodyForbidden) IsSuccess

func (o *GetEventsBodyForbidden) IsSuccess() bool

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

func (*GetEventsBodyForbidden) String

func (o *GetEventsBodyForbidden) String() string

type GetEventsBodyInternalServerError

type GetEventsBodyInternalServerError 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 []int64
}

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

Internal Server Error

func NewGetEventsBodyInternalServerError

func NewGetEventsBodyInternalServerError() *GetEventsBodyInternalServerError

NewGetEventsBodyInternalServerError creates a GetEventsBodyInternalServerError with default headers values

func (*GetEventsBodyInternalServerError) Code added in v0.2.33

Code gets the status code for the get events body internal server error response

func (*GetEventsBodyInternalServerError) Error

func (*GetEventsBodyInternalServerError) GetPayload

func (o *GetEventsBodyInternalServerError) GetPayload() []int64

func (*GetEventsBodyInternalServerError) IsClientError

func (o *GetEventsBodyInternalServerError) IsClientError() bool

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

func (*GetEventsBodyInternalServerError) IsCode

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

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

func (*GetEventsBodyInternalServerError) IsRedirect

func (o *GetEventsBodyInternalServerError) IsRedirect() bool

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

func (*GetEventsBodyInternalServerError) IsServerError

func (o *GetEventsBodyInternalServerError) IsServerError() bool

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

func (*GetEventsBodyInternalServerError) IsSuccess

func (o *GetEventsBodyInternalServerError) IsSuccess() bool

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

func (*GetEventsBodyInternalServerError) String

type GetEventsBodyOK

type GetEventsBodyOK 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 []int64
}

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

OK

func NewGetEventsBodyOK

func NewGetEventsBodyOK() *GetEventsBodyOK

NewGetEventsBodyOK creates a GetEventsBodyOK with default headers values

func (*GetEventsBodyOK) Code added in v0.2.33

func (o *GetEventsBodyOK) Code() int

Code gets the status code for the get events body o k response

func (*GetEventsBodyOK) Error

func (o *GetEventsBodyOK) Error() string

func (*GetEventsBodyOK) GetPayload

func (o *GetEventsBodyOK) GetPayload() []int64

func (*GetEventsBodyOK) IsClientError

func (o *GetEventsBodyOK) IsClientError() bool

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

func (*GetEventsBodyOK) IsCode

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

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

func (*GetEventsBodyOK) IsRedirect

func (o *GetEventsBodyOK) IsRedirect() bool

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

func (*GetEventsBodyOK) IsServerError

func (o *GetEventsBodyOK) IsServerError() bool

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

func (*GetEventsBodyOK) IsSuccess

func (o *GetEventsBodyOK) IsSuccess() bool

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

func (*GetEventsBodyOK) String

func (o *GetEventsBodyOK) String() string

type GetEventsBodyParams

type GetEventsBodyParams struct {

	/* ID.

	   Return the event body for event id.
	*/
	ID string

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

GetEventsBodyParams contains all the parameters to send to the API endpoint

for the get events body operation.

Typically these are written to a http.Request.

func NewGetEventsBodyParams

func NewGetEventsBodyParams() *GetEventsBodyParams

NewGetEventsBodyParams creates a new GetEventsBodyParams 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 NewGetEventsBodyParamsWithContext

func NewGetEventsBodyParamsWithContext(ctx context.Context) *GetEventsBodyParams

NewGetEventsBodyParamsWithContext creates a new GetEventsBodyParams object with the ability to set a context for a request.

func NewGetEventsBodyParamsWithHTTPClient

func NewGetEventsBodyParamsWithHTTPClient(client *http.Client) *GetEventsBodyParams

NewGetEventsBodyParamsWithHTTPClient creates a new GetEventsBodyParams object with the ability to set a custom HTTPClient for a request.

func NewGetEventsBodyParamsWithTimeout

func NewGetEventsBodyParamsWithTimeout(timeout time.Duration) *GetEventsBodyParams

NewGetEventsBodyParamsWithTimeout creates a new GetEventsBodyParams object with the ability to set a timeout on a request.

func (*GetEventsBodyParams) SetContext

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

SetContext adds the context to the get events body params

func (*GetEventsBodyParams) SetDefaults

func (o *GetEventsBodyParams) SetDefaults()

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

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

func (*GetEventsBodyParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get events body params

func (*GetEventsBodyParams) SetID

func (o *GetEventsBodyParams) SetID(id string)

SetID adds the id to the get events body params

func (*GetEventsBodyParams) SetTimeout

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

SetTimeout adds the timeout to the get events body params

func (*GetEventsBodyParams) WithContext

WithContext adds the context to the get events body params

func (*GetEventsBodyParams) WithDefaults

func (o *GetEventsBodyParams) WithDefaults() *GetEventsBodyParams

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

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

func (*GetEventsBodyParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get events body params

func (*GetEventsBodyParams) WithID

WithID adds the id to the get events body params

func (*GetEventsBodyParams) WithTimeout

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

WithTimeout adds the timeout to the get events body params

func (*GetEventsBodyParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type GetEventsBodyReader

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

GetEventsBodyReader is a Reader for the GetEventsBody structure.

func (*GetEventsBodyReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetEventsBodyTooManyRequests

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

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

Too Many Requests

func NewGetEventsBodyTooManyRequests

func NewGetEventsBodyTooManyRequests() *GetEventsBodyTooManyRequests

NewGetEventsBodyTooManyRequests creates a GetEventsBodyTooManyRequests with default headers values

func (*GetEventsBodyTooManyRequests) Code added in v0.2.33

Code gets the status code for the get events body too many requests response

func (*GetEventsBodyTooManyRequests) Error

func (*GetEventsBodyTooManyRequests) GetPayload

func (*GetEventsBodyTooManyRequests) IsClientError

func (o *GetEventsBodyTooManyRequests) IsClientError() bool

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

func (*GetEventsBodyTooManyRequests) IsCode

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

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

func (*GetEventsBodyTooManyRequests) IsRedirect

func (o *GetEventsBodyTooManyRequests) IsRedirect() bool

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

func (*GetEventsBodyTooManyRequests) IsServerError

func (o *GetEventsBodyTooManyRequests) IsServerError() bool

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

func (*GetEventsBodyTooManyRequests) IsSuccess

func (o *GetEventsBodyTooManyRequests) IsSuccess() bool

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

func (*GetEventsBodyTooManyRequests) String

type GetEventsEntitiesBadRequest

type GetEventsEntitiesBadRequest 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.DomainEventEntitiesResponse
}

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

Bad Request

func NewGetEventsEntitiesBadRequest

func NewGetEventsEntitiesBadRequest() *GetEventsEntitiesBadRequest

NewGetEventsEntitiesBadRequest creates a GetEventsEntitiesBadRequest with default headers values

func (*GetEventsEntitiesBadRequest) Code added in v0.2.33

func (o *GetEventsEntitiesBadRequest) Code() int

Code gets the status code for the get events entities bad request response

func (*GetEventsEntitiesBadRequest) Error

func (*GetEventsEntitiesBadRequest) GetPayload

func (*GetEventsEntitiesBadRequest) IsClientError

func (o *GetEventsEntitiesBadRequest) IsClientError() bool

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

func (*GetEventsEntitiesBadRequest) IsCode

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

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

func (*GetEventsEntitiesBadRequest) IsRedirect

func (o *GetEventsEntitiesBadRequest) IsRedirect() bool

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

func (*GetEventsEntitiesBadRequest) IsServerError

func (o *GetEventsEntitiesBadRequest) IsServerError() bool

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

func (*GetEventsEntitiesBadRequest) IsSuccess

func (o *GetEventsEntitiesBadRequest) IsSuccess() bool

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

func (*GetEventsEntitiesBadRequest) String

func (o *GetEventsEntitiesBadRequest) String() string

type GetEventsEntitiesDefault

type GetEventsEntitiesDefault struct {
	Payload *models.DomainEventEntitiesResponse
	// contains filtered or unexported fields
}

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

OK

func NewGetEventsEntitiesDefault

func NewGetEventsEntitiesDefault(code int) *GetEventsEntitiesDefault

NewGetEventsEntitiesDefault creates a GetEventsEntitiesDefault with default headers values

func (*GetEventsEntitiesDefault) Code

func (o *GetEventsEntitiesDefault) Code() int

Code gets the status code for the get events entities default response

func (*GetEventsEntitiesDefault) Error

func (o *GetEventsEntitiesDefault) Error() string

func (*GetEventsEntitiesDefault) GetPayload

func (*GetEventsEntitiesDefault) IsClientError

func (o *GetEventsEntitiesDefault) IsClientError() bool

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

func (*GetEventsEntitiesDefault) IsCode

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

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

func (*GetEventsEntitiesDefault) IsRedirect

func (o *GetEventsEntitiesDefault) IsRedirect() bool

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

func (*GetEventsEntitiesDefault) IsServerError

func (o *GetEventsEntitiesDefault) IsServerError() bool

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

func (*GetEventsEntitiesDefault) IsSuccess

func (o *GetEventsEntitiesDefault) IsSuccess() bool

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

func (*GetEventsEntitiesDefault) String

func (o *GetEventsEntitiesDefault) String() string

type GetEventsEntitiesForbidden

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

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

Forbidden

func NewGetEventsEntitiesForbidden

func NewGetEventsEntitiesForbidden() *GetEventsEntitiesForbidden

NewGetEventsEntitiesForbidden creates a GetEventsEntitiesForbidden with default headers values

func (*GetEventsEntitiesForbidden) Code added in v0.2.33

func (o *GetEventsEntitiesForbidden) Code() int

Code gets the status code for the get events entities forbidden response

func (*GetEventsEntitiesForbidden) Error

func (*GetEventsEntitiesForbidden) IsClientError

func (o *GetEventsEntitiesForbidden) IsClientError() bool

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

func (*GetEventsEntitiesForbidden) IsCode

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

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

func (*GetEventsEntitiesForbidden) IsRedirect

func (o *GetEventsEntitiesForbidden) IsRedirect() bool

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

func (*GetEventsEntitiesForbidden) IsServerError

func (o *GetEventsEntitiesForbidden) IsServerError() bool

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

func (*GetEventsEntitiesForbidden) IsSuccess

func (o *GetEventsEntitiesForbidden) IsSuccess() bool

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

func (*GetEventsEntitiesForbidden) String

func (o *GetEventsEntitiesForbidden) String() string

type GetEventsEntitiesInternalServerError

type GetEventsEntitiesInternalServerError 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.DomainEventEntitiesResponse
}

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

Internal Server Error

func NewGetEventsEntitiesInternalServerError

func NewGetEventsEntitiesInternalServerError() *GetEventsEntitiesInternalServerError

NewGetEventsEntitiesInternalServerError creates a GetEventsEntitiesInternalServerError with default headers values

func (*GetEventsEntitiesInternalServerError) Code added in v0.2.33

Code gets the status code for the get events entities internal server error response

func (*GetEventsEntitiesInternalServerError) Error

func (*GetEventsEntitiesInternalServerError) GetPayload

func (*GetEventsEntitiesInternalServerError) IsClientError

func (o *GetEventsEntitiesInternalServerError) IsClientError() bool

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

func (*GetEventsEntitiesInternalServerError) IsCode

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

func (*GetEventsEntitiesInternalServerError) IsRedirect

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

func (*GetEventsEntitiesInternalServerError) IsServerError

func (o *GetEventsEntitiesInternalServerError) IsServerError() bool

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

func (*GetEventsEntitiesInternalServerError) IsSuccess

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

func (*GetEventsEntitiesInternalServerError) String

type GetEventsEntitiesOK

type GetEventsEntitiesOK 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.DomainEventEntitiesResponse
}

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

OK

func NewGetEventsEntitiesOK

func NewGetEventsEntitiesOK() *GetEventsEntitiesOK

NewGetEventsEntitiesOK creates a GetEventsEntitiesOK with default headers values

func (*GetEventsEntitiesOK) Code added in v0.2.33

func (o *GetEventsEntitiesOK) Code() int

Code gets the status code for the get events entities o k response

func (*GetEventsEntitiesOK) Error

func (o *GetEventsEntitiesOK) Error() string

func (*GetEventsEntitiesOK) GetPayload

func (*GetEventsEntitiesOK) IsClientError

func (o *GetEventsEntitiesOK) IsClientError() bool

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

func (*GetEventsEntitiesOK) IsCode

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

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

func (*GetEventsEntitiesOK) IsRedirect

func (o *GetEventsEntitiesOK) IsRedirect() bool

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

func (*GetEventsEntitiesOK) IsServerError

func (o *GetEventsEntitiesOK) IsServerError() bool

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

func (*GetEventsEntitiesOK) IsSuccess

func (o *GetEventsEntitiesOK) IsSuccess() bool

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

func (*GetEventsEntitiesOK) String

func (o *GetEventsEntitiesOK) String() string

type GetEventsEntitiesParams

type GetEventsEntitiesParams struct {

	// Body.
	Body *models.MsaIdsRequest

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

GetEventsEntitiesParams contains all the parameters to send to the API endpoint

for the get events entities operation.

Typically these are written to a http.Request.

func NewGetEventsEntitiesParams

func NewGetEventsEntitiesParams() *GetEventsEntitiesParams

NewGetEventsEntitiesParams creates a new GetEventsEntitiesParams 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 NewGetEventsEntitiesParamsWithContext

func NewGetEventsEntitiesParamsWithContext(ctx context.Context) *GetEventsEntitiesParams

NewGetEventsEntitiesParamsWithContext creates a new GetEventsEntitiesParams object with the ability to set a context for a request.

func NewGetEventsEntitiesParamsWithHTTPClient

func NewGetEventsEntitiesParamsWithHTTPClient(client *http.Client) *GetEventsEntitiesParams

NewGetEventsEntitiesParamsWithHTTPClient creates a new GetEventsEntitiesParams object with the ability to set a custom HTTPClient for a request.

func NewGetEventsEntitiesParamsWithTimeout

func NewGetEventsEntitiesParamsWithTimeout(timeout time.Duration) *GetEventsEntitiesParams

NewGetEventsEntitiesParamsWithTimeout creates a new GetEventsEntitiesParams object with the ability to set a timeout on a request.

func (*GetEventsEntitiesParams) SetBody

func (o *GetEventsEntitiesParams) SetBody(body *models.MsaIdsRequest)

SetBody adds the body to the get events entities params

func (*GetEventsEntitiesParams) SetContext

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

SetContext adds the context to the get events entities params

func (*GetEventsEntitiesParams) SetDefaults

func (o *GetEventsEntitiesParams) SetDefaults()

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

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

func (*GetEventsEntitiesParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get events entities params

func (*GetEventsEntitiesParams) SetTimeout

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

SetTimeout adds the timeout to the get events entities params

func (*GetEventsEntitiesParams) WithBody

WithBody adds the body to the get events entities params

func (*GetEventsEntitiesParams) WithContext

WithContext adds the context to the get events entities params

func (*GetEventsEntitiesParams) WithDefaults

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

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

func (*GetEventsEntitiesParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get events entities params

func (*GetEventsEntitiesParams) WithTimeout

WithTimeout adds the timeout to the get events entities params

func (*GetEventsEntitiesParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetEventsEntitiesReader

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

GetEventsEntitiesReader is a Reader for the GetEventsEntities structure.

func (*GetEventsEntitiesReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetEventsEntitiesTooManyRequests

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

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

Too Many Requests

func NewGetEventsEntitiesTooManyRequests

func NewGetEventsEntitiesTooManyRequests() *GetEventsEntitiesTooManyRequests

NewGetEventsEntitiesTooManyRequests creates a GetEventsEntitiesTooManyRequests with default headers values

func (*GetEventsEntitiesTooManyRequests) Code added in v0.2.33

Code gets the status code for the get events entities too many requests response

func (*GetEventsEntitiesTooManyRequests) Error

func (*GetEventsEntitiesTooManyRequests) GetPayload

func (*GetEventsEntitiesTooManyRequests) IsClientError

func (o *GetEventsEntitiesTooManyRequests) IsClientError() bool

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

func (*GetEventsEntitiesTooManyRequests) IsCode

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

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

func (*GetEventsEntitiesTooManyRequests) IsRedirect

func (o *GetEventsEntitiesTooManyRequests) IsRedirect() bool

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

func (*GetEventsEntitiesTooManyRequests) IsServerError

func (o *GetEventsEntitiesTooManyRequests) IsServerError() bool

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

func (*GetEventsEntitiesTooManyRequests) IsSuccess

func (o *GetEventsEntitiesTooManyRequests) IsSuccess() bool

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

func (*GetEventsEntitiesTooManyRequests) String

type GetRulesEntitiesBadRequest

type GetRulesEntitiesBadRequest 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.DomainRuleEntitiesResponse
}

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

Bad Request

func NewGetRulesEntitiesBadRequest

func NewGetRulesEntitiesBadRequest() *GetRulesEntitiesBadRequest

NewGetRulesEntitiesBadRequest creates a GetRulesEntitiesBadRequest with default headers values

func (*GetRulesEntitiesBadRequest) Code added in v0.2.33

func (o *GetRulesEntitiesBadRequest) Code() int

Code gets the status code for the get rules entities bad request response

func (*GetRulesEntitiesBadRequest) Error

func (*GetRulesEntitiesBadRequest) GetPayload

func (*GetRulesEntitiesBadRequest) IsClientError

func (o *GetRulesEntitiesBadRequest) IsClientError() bool

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

func (*GetRulesEntitiesBadRequest) IsCode

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

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

func (*GetRulesEntitiesBadRequest) IsRedirect

func (o *GetRulesEntitiesBadRequest) IsRedirect() bool

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

func (*GetRulesEntitiesBadRequest) IsServerError

func (o *GetRulesEntitiesBadRequest) IsServerError() bool

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

func (*GetRulesEntitiesBadRequest) IsSuccess

func (o *GetRulesEntitiesBadRequest) IsSuccess() bool

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

func (*GetRulesEntitiesBadRequest) String

func (o *GetRulesEntitiesBadRequest) String() string

type GetRulesEntitiesDefault

type GetRulesEntitiesDefault struct {
	Payload *models.DomainRuleEntitiesResponse
	// contains filtered or unexported fields
}

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

OK

func NewGetRulesEntitiesDefault

func NewGetRulesEntitiesDefault(code int) *GetRulesEntitiesDefault

NewGetRulesEntitiesDefault creates a GetRulesEntitiesDefault with default headers values

func (*GetRulesEntitiesDefault) Code

func (o *GetRulesEntitiesDefault) Code() int

Code gets the status code for the get rules entities default response

func (*GetRulesEntitiesDefault) Error

func (o *GetRulesEntitiesDefault) Error() string

func (*GetRulesEntitiesDefault) GetPayload

func (*GetRulesEntitiesDefault) IsClientError

func (o *GetRulesEntitiesDefault) IsClientError() bool

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

func (*GetRulesEntitiesDefault) IsCode

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

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

func (*GetRulesEntitiesDefault) IsRedirect

func (o *GetRulesEntitiesDefault) IsRedirect() bool

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

func (*GetRulesEntitiesDefault) IsServerError

func (o *GetRulesEntitiesDefault) IsServerError() bool

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

func (*GetRulesEntitiesDefault) IsSuccess

func (o *GetRulesEntitiesDefault) IsSuccess() bool

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

func (*GetRulesEntitiesDefault) String

func (o *GetRulesEntitiesDefault) String() string

type GetRulesEntitiesForbidden

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

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

Forbidden

func NewGetRulesEntitiesForbidden

func NewGetRulesEntitiesForbidden() *GetRulesEntitiesForbidden

NewGetRulesEntitiesForbidden creates a GetRulesEntitiesForbidden with default headers values

func (*GetRulesEntitiesForbidden) Code added in v0.2.33

func (o *GetRulesEntitiesForbidden) Code() int

Code gets the status code for the get rules entities forbidden response

func (*GetRulesEntitiesForbidden) Error

func (o *GetRulesEntitiesForbidden) Error() string

func (*GetRulesEntitiesForbidden) IsClientError

func (o *GetRulesEntitiesForbidden) IsClientError() bool

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

func (*GetRulesEntitiesForbidden) IsCode

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

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

func (*GetRulesEntitiesForbidden) IsRedirect

func (o *GetRulesEntitiesForbidden) IsRedirect() bool

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

func (*GetRulesEntitiesForbidden) IsServerError

func (o *GetRulesEntitiesForbidden) IsServerError() bool

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

func (*GetRulesEntitiesForbidden) IsSuccess

func (o *GetRulesEntitiesForbidden) IsSuccess() bool

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

func (*GetRulesEntitiesForbidden) String

func (o *GetRulesEntitiesForbidden) String() string

type GetRulesEntitiesInternalServerError

type GetRulesEntitiesInternalServerError 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.DomainRuleEntitiesResponse
}

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

Internal Server Error

func NewGetRulesEntitiesInternalServerError

func NewGetRulesEntitiesInternalServerError() *GetRulesEntitiesInternalServerError

NewGetRulesEntitiesInternalServerError creates a GetRulesEntitiesInternalServerError with default headers values

func (*GetRulesEntitiesInternalServerError) Code added in v0.2.33

Code gets the status code for the get rules entities internal server error response

func (*GetRulesEntitiesInternalServerError) Error

func (*GetRulesEntitiesInternalServerError) GetPayload

func (*GetRulesEntitiesInternalServerError) IsClientError

func (o *GetRulesEntitiesInternalServerError) IsClientError() bool

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

func (*GetRulesEntitiesInternalServerError) IsCode

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

func (*GetRulesEntitiesInternalServerError) IsRedirect

func (o *GetRulesEntitiesInternalServerError) IsRedirect() bool

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

func (*GetRulesEntitiesInternalServerError) IsServerError

func (o *GetRulesEntitiesInternalServerError) IsServerError() bool

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

func (*GetRulesEntitiesInternalServerError) IsSuccess

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

func (*GetRulesEntitiesInternalServerError) String

type GetRulesEntitiesOK

type GetRulesEntitiesOK 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.DomainRuleEntitiesResponse
}

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

OK

func NewGetRulesEntitiesOK

func NewGetRulesEntitiesOK() *GetRulesEntitiesOK

NewGetRulesEntitiesOK creates a GetRulesEntitiesOK with default headers values

func (*GetRulesEntitiesOK) Code added in v0.2.33

func (o *GetRulesEntitiesOK) Code() int

Code gets the status code for the get rules entities o k response

func (*GetRulesEntitiesOK) Error

func (o *GetRulesEntitiesOK) Error() string

func (*GetRulesEntitiesOK) GetPayload

func (*GetRulesEntitiesOK) IsClientError

func (o *GetRulesEntitiesOK) IsClientError() bool

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

func (*GetRulesEntitiesOK) IsCode

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

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

func (*GetRulesEntitiesOK) IsRedirect

func (o *GetRulesEntitiesOK) IsRedirect() bool

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

func (*GetRulesEntitiesOK) IsServerError

func (o *GetRulesEntitiesOK) IsServerError() bool

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

func (*GetRulesEntitiesOK) IsSuccess

func (o *GetRulesEntitiesOK) IsSuccess() bool

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

func (*GetRulesEntitiesOK) String

func (o *GetRulesEntitiesOK) String() string

type GetRulesEntitiesParams

type GetRulesEntitiesParams struct {

	// Body.
	Body *models.MsaIdsRequest

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

GetRulesEntitiesParams contains all the parameters to send to the API endpoint

for the get rules entities operation.

Typically these are written to a http.Request.

func NewGetRulesEntitiesParams

func NewGetRulesEntitiesParams() *GetRulesEntitiesParams

NewGetRulesEntitiesParams creates a new GetRulesEntitiesParams 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 NewGetRulesEntitiesParamsWithContext

func NewGetRulesEntitiesParamsWithContext(ctx context.Context) *GetRulesEntitiesParams

NewGetRulesEntitiesParamsWithContext creates a new GetRulesEntitiesParams object with the ability to set a context for a request.

func NewGetRulesEntitiesParamsWithHTTPClient

func NewGetRulesEntitiesParamsWithHTTPClient(client *http.Client) *GetRulesEntitiesParams

NewGetRulesEntitiesParamsWithHTTPClient creates a new GetRulesEntitiesParams object with the ability to set a custom HTTPClient for a request.

func NewGetRulesEntitiesParamsWithTimeout

func NewGetRulesEntitiesParamsWithTimeout(timeout time.Duration) *GetRulesEntitiesParams

NewGetRulesEntitiesParamsWithTimeout creates a new GetRulesEntitiesParams object with the ability to set a timeout on a request.

func (*GetRulesEntitiesParams) SetBody

func (o *GetRulesEntitiesParams) SetBody(body *models.MsaIdsRequest)

SetBody adds the body to the get rules entities params

func (*GetRulesEntitiesParams) SetContext

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

SetContext adds the context to the get rules entities params

func (*GetRulesEntitiesParams) SetDefaults

func (o *GetRulesEntitiesParams) SetDefaults()

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

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

func (*GetRulesEntitiesParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get rules entities params

func (*GetRulesEntitiesParams) SetTimeout

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

SetTimeout adds the timeout to the get rules entities params

func (*GetRulesEntitiesParams) WithBody

WithBody adds the body to the get rules entities params

func (*GetRulesEntitiesParams) WithContext

WithContext adds the context to the get rules entities params

func (*GetRulesEntitiesParams) WithDefaults

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

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

func (*GetRulesEntitiesParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get rules entities params

func (*GetRulesEntitiesParams) WithTimeout

WithTimeout adds the timeout to the get rules entities params

func (*GetRulesEntitiesParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetRulesEntitiesReader

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

GetRulesEntitiesReader is a Reader for the GetRulesEntities structure.

func (*GetRulesEntitiesReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetRulesEntitiesTooManyRequests

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

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

Too Many Requests

func NewGetRulesEntitiesTooManyRequests

func NewGetRulesEntitiesTooManyRequests() *GetRulesEntitiesTooManyRequests

NewGetRulesEntitiesTooManyRequests creates a GetRulesEntitiesTooManyRequests with default headers values

func (*GetRulesEntitiesTooManyRequests) Code added in v0.2.33

Code gets the status code for the get rules entities too many requests response

func (*GetRulesEntitiesTooManyRequests) Error

func (*GetRulesEntitiesTooManyRequests) GetPayload

func (*GetRulesEntitiesTooManyRequests) IsClientError

func (o *GetRulesEntitiesTooManyRequests) IsClientError() bool

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

func (*GetRulesEntitiesTooManyRequests) IsCode

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

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

func (*GetRulesEntitiesTooManyRequests) IsRedirect

func (o *GetRulesEntitiesTooManyRequests) IsRedirect() bool

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

func (*GetRulesEntitiesTooManyRequests) IsServerError

func (o *GetRulesEntitiesTooManyRequests) IsServerError() bool

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

func (*GetRulesEntitiesTooManyRequests) IsSuccess

func (o *GetRulesEntitiesTooManyRequests) IsSuccess() bool

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

func (*GetRulesEntitiesTooManyRequests) String

type QueryEventsBadRequest

type QueryEventsBadRequest 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.DomainQueryResponse
}

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

Bad Request

func NewQueryEventsBadRequest

func NewQueryEventsBadRequest() *QueryEventsBadRequest

NewQueryEventsBadRequest creates a QueryEventsBadRequest with default headers values

func (*QueryEventsBadRequest) Code added in v0.2.33

func (o *QueryEventsBadRequest) Code() int

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

func (*QueryEventsBadRequest) Error

func (o *QueryEventsBadRequest) Error() string

func (*QueryEventsBadRequest) GetPayload

func (*QueryEventsBadRequest) IsClientError

func (o *QueryEventsBadRequest) IsClientError() bool

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

func (*QueryEventsBadRequest) IsCode

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

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

func (*QueryEventsBadRequest) IsRedirect

func (o *QueryEventsBadRequest) IsRedirect() bool

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

func (*QueryEventsBadRequest) IsServerError

func (o *QueryEventsBadRequest) IsServerError() bool

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

func (*QueryEventsBadRequest) IsSuccess

func (o *QueryEventsBadRequest) IsSuccess() bool

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

func (*QueryEventsBadRequest) String

func (o *QueryEventsBadRequest) String() string

type QueryEventsDefault

type QueryEventsDefault struct {
	Payload *models.DomainQueryResponse
	// contains filtered or unexported fields
}

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

OK

func NewQueryEventsDefault

func NewQueryEventsDefault(code int) *QueryEventsDefault

NewQueryEventsDefault creates a QueryEventsDefault with default headers values

func (*QueryEventsDefault) Code

func (o *QueryEventsDefault) Code() int

Code gets the status code for the query events default response

func (*QueryEventsDefault) Error

func (o *QueryEventsDefault) Error() string

func (*QueryEventsDefault) GetPayload

func (*QueryEventsDefault) IsClientError

func (o *QueryEventsDefault) IsClientError() bool

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

func (*QueryEventsDefault) IsCode

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

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

func (*QueryEventsDefault) IsRedirect

func (o *QueryEventsDefault) IsRedirect() bool

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

func (*QueryEventsDefault) IsServerError

func (o *QueryEventsDefault) IsServerError() bool

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

func (*QueryEventsDefault) IsSuccess

func (o *QueryEventsDefault) IsSuccess() bool

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

func (*QueryEventsDefault) String

func (o *QueryEventsDefault) String() string

type QueryEventsForbidden

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

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

Forbidden

func NewQueryEventsForbidden

func NewQueryEventsForbidden() *QueryEventsForbidden

NewQueryEventsForbidden creates a QueryEventsForbidden with default headers values

func (*QueryEventsForbidden) Code added in v0.2.33

func (o *QueryEventsForbidden) Code() int

Code gets the status code for the query events forbidden response

func (*QueryEventsForbidden) Error

func (o *QueryEventsForbidden) Error() string

func (*QueryEventsForbidden) IsClientError

func (o *QueryEventsForbidden) IsClientError() bool

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

func (*QueryEventsForbidden) IsCode

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

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

func (*QueryEventsForbidden) IsRedirect

func (o *QueryEventsForbidden) IsRedirect() bool

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

func (*QueryEventsForbidden) IsServerError

func (o *QueryEventsForbidden) IsServerError() bool

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

func (*QueryEventsForbidden) IsSuccess

func (o *QueryEventsForbidden) IsSuccess() bool

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

func (*QueryEventsForbidden) String

func (o *QueryEventsForbidden) String() string

type QueryEventsInternalServerError

type QueryEventsInternalServerError 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.DomainQueryResponse
}

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

Internal Server Error

func NewQueryEventsInternalServerError

func NewQueryEventsInternalServerError() *QueryEventsInternalServerError

NewQueryEventsInternalServerError creates a QueryEventsInternalServerError with default headers values

func (*QueryEventsInternalServerError) Code added in v0.2.33

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

func (*QueryEventsInternalServerError) Error

func (*QueryEventsInternalServerError) GetPayload

func (*QueryEventsInternalServerError) IsClientError

func (o *QueryEventsInternalServerError) IsClientError() bool

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

func (*QueryEventsInternalServerError) IsCode

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

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

func (*QueryEventsInternalServerError) IsRedirect

func (o *QueryEventsInternalServerError) IsRedirect() bool

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

func (*QueryEventsInternalServerError) IsServerError

func (o *QueryEventsInternalServerError) IsServerError() bool

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

func (*QueryEventsInternalServerError) IsSuccess

func (o *QueryEventsInternalServerError) IsSuccess() bool

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

func (*QueryEventsInternalServerError) String

type QueryEventsOK

type QueryEventsOK 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.DomainQueryResponse
}

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

OK

func NewQueryEventsOK

func NewQueryEventsOK() *QueryEventsOK

NewQueryEventsOK creates a QueryEventsOK with default headers values

func (*QueryEventsOK) Code added in v0.2.33

func (o *QueryEventsOK) Code() int

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

func (*QueryEventsOK) Error

func (o *QueryEventsOK) Error() string

func (*QueryEventsOK) GetPayload

func (o *QueryEventsOK) GetPayload() *models.DomainQueryResponse

func (*QueryEventsOK) IsClientError

func (o *QueryEventsOK) IsClientError() bool

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

func (*QueryEventsOK) IsCode

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

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

func (*QueryEventsOK) IsRedirect

func (o *QueryEventsOK) IsRedirect() bool

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

func (*QueryEventsOK) IsServerError

func (o *QueryEventsOK) IsServerError() bool

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

func (*QueryEventsOK) IsSuccess

func (o *QueryEventsOK) IsSuccess() bool

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

func (*QueryEventsOK) String

func (o *QueryEventsOK) String() string

type QueryEventsParams

type QueryEventsParams struct {

	/* Filter.

	   FQL query specifying the filter parameters. Special value '*' means to not filter on anything.
	*/
	Filter *string

	/* Limit.

	   Number of ids to return.
	*/
	Limit *int64

	/* Offset.

	   Starting index of overall result set from which to return ids.
	*/
	Offset *string

	/* Q.

	   Match phrase_prefix query criteria; included fields: _all (all filter string fields indexed).
	*/
	Q *string

	/* Sort.

	   Possible order by fields: source_type, created_date, updated_date. Ex: 'updated_date|desc'.
	*/
	Sort *string

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

QueryEventsParams contains all the parameters to send to the API endpoint

for the query events operation.

Typically these are written to a http.Request.

func NewQueryEventsParams

func NewQueryEventsParams() *QueryEventsParams

NewQueryEventsParams creates a new QueryEventsParams 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 NewQueryEventsParamsWithContext

func NewQueryEventsParamsWithContext(ctx context.Context) *QueryEventsParams

NewQueryEventsParamsWithContext creates a new QueryEventsParams object with the ability to set a context for a request.

func NewQueryEventsParamsWithHTTPClient

func NewQueryEventsParamsWithHTTPClient(client *http.Client) *QueryEventsParams

NewQueryEventsParamsWithHTTPClient creates a new QueryEventsParams object with the ability to set a custom HTTPClient for a request.

func NewQueryEventsParamsWithTimeout

func NewQueryEventsParamsWithTimeout(timeout time.Duration) *QueryEventsParams

NewQueryEventsParamsWithTimeout creates a new QueryEventsParams object with the ability to set a timeout on a request.

func (*QueryEventsParams) SetContext

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

SetContext adds the context to the query events params

func (*QueryEventsParams) SetDefaults

func (o *QueryEventsParams) SetDefaults()

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

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

func (*QueryEventsParams) SetFilter

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

SetFilter adds the filter to the query events params

func (*QueryEventsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the query events params

func (*QueryEventsParams) SetLimit

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

SetLimit adds the limit to the query events params

func (*QueryEventsParams) SetOffset

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

SetOffset adds the offset to the query events params

func (*QueryEventsParams) SetQ

func (o *QueryEventsParams) SetQ(q *string)

SetQ adds the q to the query events params

func (*QueryEventsParams) SetSort

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

SetSort adds the sort to the query events params

func (*QueryEventsParams) SetTimeout

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

SetTimeout adds the timeout to the query events params

func (*QueryEventsParams) WithContext

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

WithContext adds the context to the query events params

func (*QueryEventsParams) WithDefaults

func (o *QueryEventsParams) WithDefaults() *QueryEventsParams

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

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

func (*QueryEventsParams) WithFilter

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

WithFilter adds the filter to the query events params

func (*QueryEventsParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the query events params

func (*QueryEventsParams) WithLimit

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

WithLimit adds the limit to the query events params

func (*QueryEventsParams) WithOffset

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

WithOffset adds the offset to the query events params

func (*QueryEventsParams) WithQ

WithQ adds the q to the query events params

func (*QueryEventsParams) WithSort

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

WithSort adds the sort to the query events params

func (*QueryEventsParams) WithTimeout

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

WithTimeout adds the timeout to the query events params

func (*QueryEventsParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type QueryEventsReader

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

QueryEventsReader is a Reader for the QueryEvents structure.

func (*QueryEventsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type QueryEventsTooManyRequests

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

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

Too Many Requests

func NewQueryEventsTooManyRequests

func NewQueryEventsTooManyRequests() *QueryEventsTooManyRequests

NewQueryEventsTooManyRequests creates a QueryEventsTooManyRequests with default headers values

func (*QueryEventsTooManyRequests) Code added in v0.2.33

func (o *QueryEventsTooManyRequests) Code() int

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

func (*QueryEventsTooManyRequests) Error

func (*QueryEventsTooManyRequests) GetPayload

func (*QueryEventsTooManyRequests) IsClientError

func (o *QueryEventsTooManyRequests) IsClientError() bool

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

func (*QueryEventsTooManyRequests) IsCode

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

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

func (*QueryEventsTooManyRequests) IsRedirect

func (o *QueryEventsTooManyRequests) IsRedirect() bool

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

func (*QueryEventsTooManyRequests) IsServerError

func (o *QueryEventsTooManyRequests) IsServerError() bool

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

func (*QueryEventsTooManyRequests) IsSuccess

func (o *QueryEventsTooManyRequests) IsSuccess() bool

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

func (*QueryEventsTooManyRequests) String

func (o *QueryEventsTooManyRequests) String() string

type QueryRulesBadRequest

type QueryRulesBadRequest 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.DomainQueryResponse
}

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

Bad Request

func NewQueryRulesBadRequest

func NewQueryRulesBadRequest() *QueryRulesBadRequest

NewQueryRulesBadRequest creates a QueryRulesBadRequest with default headers values

func (*QueryRulesBadRequest) Code added in v0.2.33

func (o *QueryRulesBadRequest) Code() int

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

func (*QueryRulesBadRequest) Error

func (o *QueryRulesBadRequest) Error() string

func (*QueryRulesBadRequest) GetPayload

func (*QueryRulesBadRequest) IsClientError

func (o *QueryRulesBadRequest) IsClientError() bool

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

func (*QueryRulesBadRequest) IsCode

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

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

func (*QueryRulesBadRequest) IsRedirect

func (o *QueryRulesBadRequest) IsRedirect() bool

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

func (*QueryRulesBadRequest) IsServerError

func (o *QueryRulesBadRequest) IsServerError() bool

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

func (*QueryRulesBadRequest) IsSuccess

func (o *QueryRulesBadRequest) IsSuccess() bool

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

func (*QueryRulesBadRequest) String

func (o *QueryRulesBadRequest) String() string

type QueryRulesDefault

type QueryRulesDefault struct {
	Payload *models.DomainQueryResponse
	// contains filtered or unexported fields
}

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

OK

func NewQueryRulesDefault

func NewQueryRulesDefault(code int) *QueryRulesDefault

NewQueryRulesDefault creates a QueryRulesDefault with default headers values

func (*QueryRulesDefault) Code

func (o *QueryRulesDefault) Code() int

Code gets the status code for the query rules default response

func (*QueryRulesDefault) Error

func (o *QueryRulesDefault) Error() string

func (*QueryRulesDefault) GetPayload

func (o *QueryRulesDefault) GetPayload() *models.DomainQueryResponse

func (*QueryRulesDefault) IsClientError

func (o *QueryRulesDefault) IsClientError() bool

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

func (*QueryRulesDefault) IsCode

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

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

func (*QueryRulesDefault) IsRedirect

func (o *QueryRulesDefault) IsRedirect() bool

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

func (*QueryRulesDefault) IsServerError

func (o *QueryRulesDefault) IsServerError() bool

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

func (*QueryRulesDefault) IsSuccess

func (o *QueryRulesDefault) IsSuccess() bool

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

func (*QueryRulesDefault) String

func (o *QueryRulesDefault) String() string

type QueryRulesForbidden

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

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

Forbidden

func NewQueryRulesForbidden

func NewQueryRulesForbidden() *QueryRulesForbidden

NewQueryRulesForbidden creates a QueryRulesForbidden with default headers values

func (*QueryRulesForbidden) Code added in v0.2.33

func (o *QueryRulesForbidden) Code() int

Code gets the status code for the query rules forbidden response

func (*QueryRulesForbidden) Error

func (o *QueryRulesForbidden) Error() string

func (*QueryRulesForbidden) IsClientError

func (o *QueryRulesForbidden) IsClientError() bool

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

func (*QueryRulesForbidden) IsCode

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

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

func (*QueryRulesForbidden) IsRedirect

func (o *QueryRulesForbidden) IsRedirect() bool

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

func (*QueryRulesForbidden) IsServerError

func (o *QueryRulesForbidden) IsServerError() bool

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

func (*QueryRulesForbidden) IsSuccess

func (o *QueryRulesForbidden) IsSuccess() bool

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

func (*QueryRulesForbidden) String

func (o *QueryRulesForbidden) String() string

type QueryRulesInternalServerError

type QueryRulesInternalServerError 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.DomainQueryResponse
}

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

Internal Server Error

func NewQueryRulesInternalServerError

func NewQueryRulesInternalServerError() *QueryRulesInternalServerError

NewQueryRulesInternalServerError creates a QueryRulesInternalServerError with default headers values

func (*QueryRulesInternalServerError) Code added in v0.2.33

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

func (*QueryRulesInternalServerError) Error

func (*QueryRulesInternalServerError) GetPayload

func (*QueryRulesInternalServerError) IsClientError

func (o *QueryRulesInternalServerError) IsClientError() bool

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

func (*QueryRulesInternalServerError) IsCode

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

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

func (*QueryRulesInternalServerError) IsRedirect

func (o *QueryRulesInternalServerError) IsRedirect() bool

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

func (*QueryRulesInternalServerError) IsServerError

func (o *QueryRulesInternalServerError) IsServerError() bool

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

func (*QueryRulesInternalServerError) IsSuccess

func (o *QueryRulesInternalServerError) IsSuccess() bool

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

func (*QueryRulesInternalServerError) String

type QueryRulesOK

type QueryRulesOK 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.DomainQueryResponse
}

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

OK

func NewQueryRulesOK

func NewQueryRulesOK() *QueryRulesOK

NewQueryRulesOK creates a QueryRulesOK with default headers values

func (*QueryRulesOK) Code added in v0.2.33

func (o *QueryRulesOK) Code() int

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

func (*QueryRulesOK) Error

func (o *QueryRulesOK) Error() string

func (*QueryRulesOK) GetPayload

func (o *QueryRulesOK) GetPayload() *models.DomainQueryResponse

func (*QueryRulesOK) IsClientError

func (o *QueryRulesOK) IsClientError() bool

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

func (*QueryRulesOK) IsCode

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

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

func (*QueryRulesOK) IsRedirect

func (o *QueryRulesOK) IsRedirect() bool

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

func (*QueryRulesOK) IsServerError

func (o *QueryRulesOK) IsServerError() bool

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

func (*QueryRulesOK) IsSuccess

func (o *QueryRulesOK) IsSuccess() bool

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

func (*QueryRulesOK) String

func (o *QueryRulesOK) String() string

type QueryRulesParams

type QueryRulesParams struct {

	/* Filter.

	   FQL query specifying the filter parameters. Special value '*' means to not filter on anything.
	*/
	Filter *string

	/* Limit.

	   Number of ids to return.
	*/
	Limit *int64

	/* Offset.

	   Starting index of overall result set from which to return ids.
	*/
	Offset *string

	/* Q.

	   Match phrase_prefix query criteria; included fields: _all (all filter string fields indexed).
	*/
	Q *string

	/* Sort.

	   Possible order by fields: name, value, rule_type, customer_id, created_date, updated_date. Ex: 'updated_date|asc'.
	*/
	Sort *string

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

QueryRulesParams contains all the parameters to send to the API endpoint

for the query rules operation.

Typically these are written to a http.Request.

func NewQueryRulesParams

func NewQueryRulesParams() *QueryRulesParams

NewQueryRulesParams creates a new QueryRulesParams 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 NewQueryRulesParamsWithContext

func NewQueryRulesParamsWithContext(ctx context.Context) *QueryRulesParams

NewQueryRulesParamsWithContext creates a new QueryRulesParams object with the ability to set a context for a request.

func NewQueryRulesParamsWithHTTPClient

func NewQueryRulesParamsWithHTTPClient(client *http.Client) *QueryRulesParams

NewQueryRulesParamsWithHTTPClient creates a new QueryRulesParams object with the ability to set a custom HTTPClient for a request.

func NewQueryRulesParamsWithTimeout

func NewQueryRulesParamsWithTimeout(timeout time.Duration) *QueryRulesParams

NewQueryRulesParamsWithTimeout creates a new QueryRulesParams object with the ability to set a timeout on a request.

func (*QueryRulesParams) SetContext

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

SetContext adds the context to the query rules params

func (*QueryRulesParams) SetDefaults

func (o *QueryRulesParams) SetDefaults()

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

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

func (*QueryRulesParams) SetFilter

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

SetFilter adds the filter to the query rules params

func (*QueryRulesParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the query rules params

func (*QueryRulesParams) SetLimit

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

SetLimit adds the limit to the query rules params

func (*QueryRulesParams) SetOffset

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

SetOffset adds the offset to the query rules params

func (*QueryRulesParams) SetQ

func (o *QueryRulesParams) SetQ(q *string)

SetQ adds the q to the query rules params

func (*QueryRulesParams) SetSort

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

SetSort adds the sort to the query rules params

func (*QueryRulesParams) SetTimeout

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

SetTimeout adds the timeout to the query rules params

func (*QueryRulesParams) WithContext

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

WithContext adds the context to the query rules params

func (*QueryRulesParams) WithDefaults

func (o *QueryRulesParams) WithDefaults() *QueryRulesParams

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

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

func (*QueryRulesParams) WithFilter

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

WithFilter adds the filter to the query rules params

func (*QueryRulesParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the query rules params

func (*QueryRulesParams) WithLimit

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

WithLimit adds the limit to the query rules params

func (*QueryRulesParams) WithOffset

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

WithOffset adds the offset to the query rules params

func (*QueryRulesParams) WithQ

WithQ adds the q to the query rules params

func (*QueryRulesParams) WithSort

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

WithSort adds the sort to the query rules params

func (*QueryRulesParams) WithTimeout

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

WithTimeout adds the timeout to the query rules params

func (*QueryRulesParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type QueryRulesReader

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

QueryRulesReader is a Reader for the QueryRules structure.

func (*QueryRulesReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type QueryRulesTooManyRequests

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

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

Too Many Requests

func NewQueryRulesTooManyRequests

func NewQueryRulesTooManyRequests() *QueryRulesTooManyRequests

NewQueryRulesTooManyRequests creates a QueryRulesTooManyRequests with default headers values

func (*QueryRulesTooManyRequests) Code added in v0.2.33

func (o *QueryRulesTooManyRequests) Code() int

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

func (*QueryRulesTooManyRequests) Error

func (o *QueryRulesTooManyRequests) Error() string

func (*QueryRulesTooManyRequests) GetPayload

func (*QueryRulesTooManyRequests) IsClientError

func (o *QueryRulesTooManyRequests) IsClientError() bool

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

func (*QueryRulesTooManyRequests) IsCode

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

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

func (*QueryRulesTooManyRequests) IsRedirect

func (o *QueryRulesTooManyRequests) IsRedirect() bool

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

func (*QueryRulesTooManyRequests) IsServerError

func (o *QueryRulesTooManyRequests) IsServerError() bool

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

func (*QueryRulesTooManyRequests) IsSuccess

func (o *QueryRulesTooManyRequests) IsSuccess() bool

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

func (*QueryRulesTooManyRequests) String

func (o *QueryRulesTooManyRequests) String() string

Jump to

Keyboard shortcuts

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