spotlight_evaluation_logic

package
v0.6.0 Latest Latest
Warning

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

Go to latest
Published: Feb 27, 2024 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 spotlight evaluation logic API

func (*Client) CombinedQueryEvaluationLogic

func (a *Client) CombinedQueryEvaluationLogic(params *CombinedQueryEvaluationLogicParams, opts ...ClientOption) (*CombinedQueryEvaluationLogicOK, error)

CombinedQueryEvaluationLogic searches for evaluation logic in your environment by providing a f q l filter and paging details returns a set of evaluation logic entities which match the filter criteria

func (*Client) GetEvaluationLogic

func (a *Client) GetEvaluationLogic(params *GetEvaluationLogicParams, opts ...ClientOption) (*GetEvaluationLogicOK, error)

GetEvaluationLogic gets details on evaluation logic items by providing one or more i ds

func (*Client) QueryEvaluationLogic

func (a *Client) QueryEvaluationLogic(params *QueryEvaluationLogicParams, opts ...ClientOption) (*QueryEvaluationLogicOK, error)

QueryEvaluationLogic searches for evaluation logic in your environment by providing a f q l filter and paging details returns a set of evaluation logic i ds which match the 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 {
	CombinedQueryEvaluationLogic(params *CombinedQueryEvaluationLogicParams, opts ...ClientOption) (*CombinedQueryEvaluationLogicOK, error)

	GetEvaluationLogic(params *GetEvaluationLogicParams, opts ...ClientOption) (*GetEvaluationLogicOK, error)

	QueryEvaluationLogic(params *QueryEvaluationLogicParams, opts ...ClientOption) (*QueryEvaluationLogicOK, 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 spotlight evaluation logic API client.

type CombinedQueryEvaluationLogicBadRequest

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

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

Bad Request

func NewCombinedQueryEvaluationLogicBadRequest

func NewCombinedQueryEvaluationLogicBadRequest() *CombinedQueryEvaluationLogicBadRequest

NewCombinedQueryEvaluationLogicBadRequest creates a CombinedQueryEvaluationLogicBadRequest with default headers values

func (*CombinedQueryEvaluationLogicBadRequest) Code added in v0.2.33

Code gets the status code for the combined query evaluation logic bad request response

func (*CombinedQueryEvaluationLogicBadRequest) Error

func (*CombinedQueryEvaluationLogicBadRequest) IsClientError added in v0.2.27

func (o *CombinedQueryEvaluationLogicBadRequest) IsClientError() bool

IsClientError returns true when this combined query evaluation logic bad request response has a 4xx status code

func (*CombinedQueryEvaluationLogicBadRequest) IsCode added in v0.2.27

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

func (*CombinedQueryEvaluationLogicBadRequest) IsRedirect added in v0.2.27

IsRedirect returns true when this combined query evaluation logic bad request response has a 3xx status code

func (*CombinedQueryEvaluationLogicBadRequest) IsServerError added in v0.2.27

func (o *CombinedQueryEvaluationLogicBadRequest) IsServerError() bool

IsServerError returns true when this combined query evaluation logic bad request response has a 5xx status code

func (*CombinedQueryEvaluationLogicBadRequest) IsSuccess added in v0.2.27

IsSuccess returns true when this combined query evaluation logic bad request response has a 2xx status code

func (*CombinedQueryEvaluationLogicBadRequest) String added in v0.2.27

type CombinedQueryEvaluationLogicForbidden

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

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

Forbidden

func NewCombinedQueryEvaluationLogicForbidden

func NewCombinedQueryEvaluationLogicForbidden() *CombinedQueryEvaluationLogicForbidden

NewCombinedQueryEvaluationLogicForbidden creates a CombinedQueryEvaluationLogicForbidden with default headers values

func (*CombinedQueryEvaluationLogicForbidden) Code added in v0.2.33

Code gets the status code for the combined query evaluation logic forbidden response

func (*CombinedQueryEvaluationLogicForbidden) Error

func (*CombinedQueryEvaluationLogicForbidden) GetPayload

func (*CombinedQueryEvaluationLogicForbidden) IsClientError added in v0.2.27

func (o *CombinedQueryEvaluationLogicForbidden) IsClientError() bool

IsClientError returns true when this combined query evaluation logic forbidden response has a 4xx status code

func (*CombinedQueryEvaluationLogicForbidden) IsCode added in v0.2.27

IsCode returns true when this combined query evaluation logic forbidden response a status code equal to that given

func (*CombinedQueryEvaluationLogicForbidden) IsRedirect added in v0.2.27

IsRedirect returns true when this combined query evaluation logic forbidden response has a 3xx status code

func (*CombinedQueryEvaluationLogicForbidden) IsServerError added in v0.2.27

func (o *CombinedQueryEvaluationLogicForbidden) IsServerError() bool

IsServerError returns true when this combined query evaluation logic forbidden response has a 5xx status code

func (*CombinedQueryEvaluationLogicForbidden) IsSuccess added in v0.2.27

IsSuccess returns true when this combined query evaluation logic forbidden response has a 2xx status code

func (*CombinedQueryEvaluationLogicForbidden) String added in v0.2.27

type CombinedQueryEvaluationLogicInternalServerError

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

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

Internal Server Error

func NewCombinedQueryEvaluationLogicInternalServerError

func NewCombinedQueryEvaluationLogicInternalServerError() *CombinedQueryEvaluationLogicInternalServerError

NewCombinedQueryEvaluationLogicInternalServerError creates a CombinedQueryEvaluationLogicInternalServerError with default headers values

func (*CombinedQueryEvaluationLogicInternalServerError) Code added in v0.2.33

Code gets the status code for the combined query evaluation logic internal server error response

func (*CombinedQueryEvaluationLogicInternalServerError) Error

func (*CombinedQueryEvaluationLogicInternalServerError) IsClientError added in v0.2.27

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

func (*CombinedQueryEvaluationLogicInternalServerError) IsCode added in v0.2.27

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

func (*CombinedQueryEvaluationLogicInternalServerError) IsRedirect added in v0.2.27

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

func (*CombinedQueryEvaluationLogicInternalServerError) IsServerError added in v0.2.27

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

func (*CombinedQueryEvaluationLogicInternalServerError) IsSuccess added in v0.2.27

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

func (*CombinedQueryEvaluationLogicInternalServerError) String added in v0.2.27

type CombinedQueryEvaluationLogicOK

type CombinedQueryEvaluationLogicOK 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.DomainSPAPIEvaluationLogicCombinedResponseV1
}

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

OK

func NewCombinedQueryEvaluationLogicOK

func NewCombinedQueryEvaluationLogicOK() *CombinedQueryEvaluationLogicOK

NewCombinedQueryEvaluationLogicOK creates a CombinedQueryEvaluationLogicOK with default headers values

func (*CombinedQueryEvaluationLogicOK) Code added in v0.2.33

Code gets the status code for the combined query evaluation logic o k response

func (*CombinedQueryEvaluationLogicOK) Error

func (*CombinedQueryEvaluationLogicOK) GetPayload

func (*CombinedQueryEvaluationLogicOK) IsClientError added in v0.2.27

func (o *CombinedQueryEvaluationLogicOK) IsClientError() bool

IsClientError returns true when this combined query evaluation logic o k response has a 4xx status code

func (*CombinedQueryEvaluationLogicOK) IsCode added in v0.2.27

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

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

func (*CombinedQueryEvaluationLogicOK) IsRedirect added in v0.2.27

func (o *CombinedQueryEvaluationLogicOK) IsRedirect() bool

IsRedirect returns true when this combined query evaluation logic o k response has a 3xx status code

func (*CombinedQueryEvaluationLogicOK) IsServerError added in v0.2.27

func (o *CombinedQueryEvaluationLogicOK) IsServerError() bool

IsServerError returns true when this combined query evaluation logic o k response has a 5xx status code

func (*CombinedQueryEvaluationLogicOK) IsSuccess added in v0.2.27

func (o *CombinedQueryEvaluationLogicOK) IsSuccess() bool

IsSuccess returns true when this combined query evaluation logic o k response has a 2xx status code

func (*CombinedQueryEvaluationLogicOK) String added in v0.2.27

type CombinedQueryEvaluationLogicParams

type CombinedQueryEvaluationLogicParams struct {

	/* After.

	   A pagination token used with the `limit` parameter to manage pagination of results. On your first request, don't provide an `after` token. On subsequent requests, provide the `after` token from the previous response to continue from that place in the results.
	*/
	After *string

	/* Filter.

	   FQL query specifying the filter parameters.
	*/
	Filter string

	/* Limit.

	   Maximum number of entities to return.
	*/
	Limit *int64

	/* Sort.

	   Sort evaluation logic by their properties.
	*/
	Sort *string

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

CombinedQueryEvaluationLogicParams contains all the parameters to send to the API endpoint

for the combined query evaluation logic operation.

Typically these are written to a http.Request.

func NewCombinedQueryEvaluationLogicParams

func NewCombinedQueryEvaluationLogicParams() *CombinedQueryEvaluationLogicParams

NewCombinedQueryEvaluationLogicParams creates a new CombinedQueryEvaluationLogicParams 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 NewCombinedQueryEvaluationLogicParamsWithContext

func NewCombinedQueryEvaluationLogicParamsWithContext(ctx context.Context) *CombinedQueryEvaluationLogicParams

NewCombinedQueryEvaluationLogicParamsWithContext creates a new CombinedQueryEvaluationLogicParams object with the ability to set a context for a request.

func NewCombinedQueryEvaluationLogicParamsWithHTTPClient

func NewCombinedQueryEvaluationLogicParamsWithHTTPClient(client *http.Client) *CombinedQueryEvaluationLogicParams

NewCombinedQueryEvaluationLogicParamsWithHTTPClient creates a new CombinedQueryEvaluationLogicParams object with the ability to set a custom HTTPClient for a request.

func NewCombinedQueryEvaluationLogicParamsWithTimeout

func NewCombinedQueryEvaluationLogicParamsWithTimeout(timeout time.Duration) *CombinedQueryEvaluationLogicParams

NewCombinedQueryEvaluationLogicParamsWithTimeout creates a new CombinedQueryEvaluationLogicParams object with the ability to set a timeout on a request.

func (*CombinedQueryEvaluationLogicParams) SetAfter

func (o *CombinedQueryEvaluationLogicParams) SetAfter(after *string)

SetAfter adds the after to the combined query evaluation logic params

func (*CombinedQueryEvaluationLogicParams) SetContext

SetContext adds the context to the combined query evaluation logic params

func (*CombinedQueryEvaluationLogicParams) SetDefaults

func (o *CombinedQueryEvaluationLogicParams) SetDefaults()

SetDefaults hydrates default values in the combined query evaluation logic params (not the query body).

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

func (*CombinedQueryEvaluationLogicParams) SetFilter

func (o *CombinedQueryEvaluationLogicParams) SetFilter(filter string)

SetFilter adds the filter to the combined query evaluation logic params

func (*CombinedQueryEvaluationLogicParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the combined query evaluation logic params

func (*CombinedQueryEvaluationLogicParams) SetLimit

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

SetLimit adds the limit to the combined query evaluation logic params

func (*CombinedQueryEvaluationLogicParams) SetSort

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

SetSort adds the sort to the combined query evaluation logic params

func (*CombinedQueryEvaluationLogicParams) SetTimeout

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

SetTimeout adds the timeout to the combined query evaluation logic params

func (*CombinedQueryEvaluationLogicParams) WithAfter

WithAfter adds the after to the combined query evaluation logic params

func (*CombinedQueryEvaluationLogicParams) WithContext

WithContext adds the context to the combined query evaluation logic params

func (*CombinedQueryEvaluationLogicParams) WithDefaults

WithDefaults hydrates default values in the combined query evaluation logic params (not the query body).

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

func (*CombinedQueryEvaluationLogicParams) WithFilter

WithFilter adds the filter to the combined query evaluation logic params

func (*CombinedQueryEvaluationLogicParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the combined query evaluation logic params

func (*CombinedQueryEvaluationLogicParams) WithLimit

WithLimit adds the limit to the combined query evaluation logic params

func (*CombinedQueryEvaluationLogicParams) WithSort

WithSort adds the sort to the combined query evaluation logic params

func (*CombinedQueryEvaluationLogicParams) WithTimeout

WithTimeout adds the timeout to the combined query evaluation logic params

func (*CombinedQueryEvaluationLogicParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type CombinedQueryEvaluationLogicReader

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

CombinedQueryEvaluationLogicReader is a Reader for the CombinedQueryEvaluationLogic structure.

func (*CombinedQueryEvaluationLogicReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type CombinedQueryEvaluationLogicTooManyRequests

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

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

Too Many Requests

func NewCombinedQueryEvaluationLogicTooManyRequests

func NewCombinedQueryEvaluationLogicTooManyRequests() *CombinedQueryEvaluationLogicTooManyRequests

NewCombinedQueryEvaluationLogicTooManyRequests creates a CombinedQueryEvaluationLogicTooManyRequests with default headers values

func (*CombinedQueryEvaluationLogicTooManyRequests) Code added in v0.2.33

Code gets the status code for the combined query evaluation logic too many requests response

func (*CombinedQueryEvaluationLogicTooManyRequests) Error

func (*CombinedQueryEvaluationLogicTooManyRequests) GetPayload

func (*CombinedQueryEvaluationLogicTooManyRequests) IsClientError added in v0.2.27

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

func (*CombinedQueryEvaluationLogicTooManyRequests) IsCode added in v0.2.27

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

func (*CombinedQueryEvaluationLogicTooManyRequests) IsRedirect added in v0.2.27

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

func (*CombinedQueryEvaluationLogicTooManyRequests) IsServerError added in v0.2.27

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

func (*CombinedQueryEvaluationLogicTooManyRequests) IsSuccess added in v0.2.27

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

func (*CombinedQueryEvaluationLogicTooManyRequests) String added in v0.2.27

type GetEvaluationLogicBadRequest

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

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

Bad Request

func NewGetEvaluationLogicBadRequest

func NewGetEvaluationLogicBadRequest() *GetEvaluationLogicBadRequest

NewGetEvaluationLogicBadRequest creates a GetEvaluationLogicBadRequest with default headers values

func (*GetEvaluationLogicBadRequest) Code added in v0.2.33

Code gets the status code for the get evaluation logic bad request response

func (*GetEvaluationLogicBadRequest) Error

func (*GetEvaluationLogicBadRequest) IsClientError added in v0.2.27

func (o *GetEvaluationLogicBadRequest) IsClientError() bool

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

func (*GetEvaluationLogicBadRequest) IsCode added in v0.2.27

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

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

func (*GetEvaluationLogicBadRequest) IsRedirect added in v0.2.27

func (o *GetEvaluationLogicBadRequest) IsRedirect() bool

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

func (*GetEvaluationLogicBadRequest) IsServerError added in v0.2.27

func (o *GetEvaluationLogicBadRequest) IsServerError() bool

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

func (*GetEvaluationLogicBadRequest) IsSuccess added in v0.2.27

func (o *GetEvaluationLogicBadRequest) IsSuccess() bool

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

func (*GetEvaluationLogicBadRequest) String added in v0.2.27

type GetEvaluationLogicForbidden

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

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

Forbidden

func NewGetEvaluationLogicForbidden

func NewGetEvaluationLogicForbidden() *GetEvaluationLogicForbidden

NewGetEvaluationLogicForbidden creates a GetEvaluationLogicForbidden with default headers values

func (*GetEvaluationLogicForbidden) Code added in v0.2.33

func (o *GetEvaluationLogicForbidden) Code() int

Code gets the status code for the get evaluation logic forbidden response

func (*GetEvaluationLogicForbidden) Error

func (*GetEvaluationLogicForbidden) GetPayload

func (*GetEvaluationLogicForbidden) IsClientError added in v0.2.27

func (o *GetEvaluationLogicForbidden) IsClientError() bool

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

func (*GetEvaluationLogicForbidden) IsCode added in v0.2.27

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

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

func (*GetEvaluationLogicForbidden) IsRedirect added in v0.2.27

func (o *GetEvaluationLogicForbidden) IsRedirect() bool

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

func (*GetEvaluationLogicForbidden) IsServerError added in v0.2.27

func (o *GetEvaluationLogicForbidden) IsServerError() bool

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

func (*GetEvaluationLogicForbidden) IsSuccess added in v0.2.27

func (o *GetEvaluationLogicForbidden) IsSuccess() bool

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

func (*GetEvaluationLogicForbidden) String added in v0.2.27

func (o *GetEvaluationLogicForbidden) String() string

type GetEvaluationLogicInternalServerError

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

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

Internal Server Error

func NewGetEvaluationLogicInternalServerError

func NewGetEvaluationLogicInternalServerError() *GetEvaluationLogicInternalServerError

NewGetEvaluationLogicInternalServerError creates a GetEvaluationLogicInternalServerError with default headers values

func (*GetEvaluationLogicInternalServerError) Code added in v0.2.33

Code gets the status code for the get evaluation logic internal server error response

func (*GetEvaluationLogicInternalServerError) Error

func (*GetEvaluationLogicInternalServerError) IsClientError added in v0.2.27

func (o *GetEvaluationLogicInternalServerError) IsClientError() bool

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

func (*GetEvaluationLogicInternalServerError) IsCode added in v0.2.27

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

func (*GetEvaluationLogicInternalServerError) IsRedirect added in v0.2.27

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

func (*GetEvaluationLogicInternalServerError) IsServerError added in v0.2.27

func (o *GetEvaluationLogicInternalServerError) IsServerError() bool

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

func (*GetEvaluationLogicInternalServerError) IsSuccess added in v0.2.27

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

func (*GetEvaluationLogicInternalServerError) String added in v0.2.27

type GetEvaluationLogicOK

type GetEvaluationLogicOK 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.DomainSPAPIEvaluationLogicEntitiesResponseV1
}

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

OK

func NewGetEvaluationLogicOK

func NewGetEvaluationLogicOK() *GetEvaluationLogicOK

NewGetEvaluationLogicOK creates a GetEvaluationLogicOK with default headers values

func (*GetEvaluationLogicOK) Code added in v0.2.33

func (o *GetEvaluationLogicOK) Code() int

Code gets the status code for the get evaluation logic o k response

func (*GetEvaluationLogicOK) Error

func (o *GetEvaluationLogicOK) Error() string

func (*GetEvaluationLogicOK) GetPayload

func (*GetEvaluationLogicOK) IsClientError added in v0.2.27

func (o *GetEvaluationLogicOK) IsClientError() bool

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

func (*GetEvaluationLogicOK) IsCode added in v0.2.27

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

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

func (*GetEvaluationLogicOK) IsRedirect added in v0.2.27

func (o *GetEvaluationLogicOK) IsRedirect() bool

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

func (*GetEvaluationLogicOK) IsServerError added in v0.2.27

func (o *GetEvaluationLogicOK) IsServerError() bool

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

func (*GetEvaluationLogicOK) IsSuccess added in v0.2.27

func (o *GetEvaluationLogicOK) IsSuccess() bool

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

func (*GetEvaluationLogicOK) String added in v0.2.27

func (o *GetEvaluationLogicOK) String() string

type GetEvaluationLogicParams

type GetEvaluationLogicParams struct {

	/* Ids.

	   One or more evaluation logic IDs.
	*/
	Ids []string

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

GetEvaluationLogicParams contains all the parameters to send to the API endpoint

for the get evaluation logic operation.

Typically these are written to a http.Request.

func NewGetEvaluationLogicParams

func NewGetEvaluationLogicParams() *GetEvaluationLogicParams

NewGetEvaluationLogicParams creates a new GetEvaluationLogicParams 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 NewGetEvaluationLogicParamsWithContext

func NewGetEvaluationLogicParamsWithContext(ctx context.Context) *GetEvaluationLogicParams

NewGetEvaluationLogicParamsWithContext creates a new GetEvaluationLogicParams object with the ability to set a context for a request.

func NewGetEvaluationLogicParamsWithHTTPClient

func NewGetEvaluationLogicParamsWithHTTPClient(client *http.Client) *GetEvaluationLogicParams

NewGetEvaluationLogicParamsWithHTTPClient creates a new GetEvaluationLogicParams object with the ability to set a custom HTTPClient for a request.

func NewGetEvaluationLogicParamsWithTimeout

func NewGetEvaluationLogicParamsWithTimeout(timeout time.Duration) *GetEvaluationLogicParams

NewGetEvaluationLogicParamsWithTimeout creates a new GetEvaluationLogicParams object with the ability to set a timeout on a request.

func (*GetEvaluationLogicParams) SetContext

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

SetContext adds the context to the get evaluation logic params

func (*GetEvaluationLogicParams) SetDefaults

func (o *GetEvaluationLogicParams) SetDefaults()

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

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

func (*GetEvaluationLogicParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get evaluation logic params

func (*GetEvaluationLogicParams) SetIds

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

SetIds adds the ids to the get evaluation logic params

func (*GetEvaluationLogicParams) SetTimeout

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

SetTimeout adds the timeout to the get evaluation logic params

func (*GetEvaluationLogicParams) WithContext

WithContext adds the context to the get evaluation logic params

func (*GetEvaluationLogicParams) WithDefaults

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

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

func (*GetEvaluationLogicParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get evaluation logic params

func (*GetEvaluationLogicParams) WithIds

WithIds adds the ids to the get evaluation logic params

func (*GetEvaluationLogicParams) WithTimeout

WithTimeout adds the timeout to the get evaluation logic params

func (*GetEvaluationLogicParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetEvaluationLogicReader

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

GetEvaluationLogicReader is a Reader for the GetEvaluationLogic structure.

func (*GetEvaluationLogicReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetEvaluationLogicTooManyRequests

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

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

Too Many Requests

func NewGetEvaluationLogicTooManyRequests

func NewGetEvaluationLogicTooManyRequests() *GetEvaluationLogicTooManyRequests

NewGetEvaluationLogicTooManyRequests creates a GetEvaluationLogicTooManyRequests with default headers values

func (*GetEvaluationLogicTooManyRequests) Code added in v0.2.33

Code gets the status code for the get evaluation logic too many requests response

func (*GetEvaluationLogicTooManyRequests) Error

func (*GetEvaluationLogicTooManyRequests) GetPayload

func (*GetEvaluationLogicTooManyRequests) IsClientError added in v0.2.27

func (o *GetEvaluationLogicTooManyRequests) IsClientError() bool

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

func (*GetEvaluationLogicTooManyRequests) IsCode added in v0.2.27

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

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

func (*GetEvaluationLogicTooManyRequests) IsRedirect added in v0.2.27

func (o *GetEvaluationLogicTooManyRequests) IsRedirect() bool

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

func (*GetEvaluationLogicTooManyRequests) IsServerError added in v0.2.27

func (o *GetEvaluationLogicTooManyRequests) IsServerError() bool

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

func (*GetEvaluationLogicTooManyRequests) IsSuccess added in v0.2.27

func (o *GetEvaluationLogicTooManyRequests) IsSuccess() bool

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

func (*GetEvaluationLogicTooManyRequests) String added in v0.2.27

type QueryEvaluationLogicBadRequest

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

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

Bad Request

func NewQueryEvaluationLogicBadRequest

func NewQueryEvaluationLogicBadRequest() *QueryEvaluationLogicBadRequest

NewQueryEvaluationLogicBadRequest creates a QueryEvaluationLogicBadRequest with default headers values

func (*QueryEvaluationLogicBadRequest) Code added in v0.2.33

Code gets the status code for the query evaluation logic bad request response

func (*QueryEvaluationLogicBadRequest) Error

func (*QueryEvaluationLogicBadRequest) IsClientError added in v0.2.27

func (o *QueryEvaluationLogicBadRequest) IsClientError() bool

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

func (*QueryEvaluationLogicBadRequest) IsCode added in v0.2.27

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

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

func (*QueryEvaluationLogicBadRequest) IsRedirect added in v0.2.27

func (o *QueryEvaluationLogicBadRequest) IsRedirect() bool

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

func (*QueryEvaluationLogicBadRequest) IsServerError added in v0.2.27

func (o *QueryEvaluationLogicBadRequest) IsServerError() bool

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

func (*QueryEvaluationLogicBadRequest) IsSuccess added in v0.2.27

func (o *QueryEvaluationLogicBadRequest) IsSuccess() bool

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

func (*QueryEvaluationLogicBadRequest) String added in v0.2.27

type QueryEvaluationLogicForbidden

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

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

Forbidden

func NewQueryEvaluationLogicForbidden

func NewQueryEvaluationLogicForbidden() *QueryEvaluationLogicForbidden

NewQueryEvaluationLogicForbidden creates a QueryEvaluationLogicForbidden with default headers values

func (*QueryEvaluationLogicForbidden) Code added in v0.2.33

Code gets the status code for the query evaluation logic forbidden response

func (*QueryEvaluationLogicForbidden) Error

func (*QueryEvaluationLogicForbidden) GetPayload

func (*QueryEvaluationLogicForbidden) IsClientError added in v0.2.27

func (o *QueryEvaluationLogicForbidden) IsClientError() bool

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

func (*QueryEvaluationLogicForbidden) IsCode added in v0.2.27

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

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

func (*QueryEvaluationLogicForbidden) IsRedirect added in v0.2.27

func (o *QueryEvaluationLogicForbidden) IsRedirect() bool

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

func (*QueryEvaluationLogicForbidden) IsServerError added in v0.2.27

func (o *QueryEvaluationLogicForbidden) IsServerError() bool

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

func (*QueryEvaluationLogicForbidden) IsSuccess added in v0.2.27

func (o *QueryEvaluationLogicForbidden) IsSuccess() bool

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

func (*QueryEvaluationLogicForbidden) String added in v0.2.27

type QueryEvaluationLogicInternalServerError

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

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

Internal Server Error

func NewQueryEvaluationLogicInternalServerError

func NewQueryEvaluationLogicInternalServerError() *QueryEvaluationLogicInternalServerError

NewQueryEvaluationLogicInternalServerError creates a QueryEvaluationLogicInternalServerError with default headers values

func (*QueryEvaluationLogicInternalServerError) Code added in v0.2.33

Code gets the status code for the query evaluation logic internal server error response

func (*QueryEvaluationLogicInternalServerError) Error

func (*QueryEvaluationLogicInternalServerError) IsClientError added in v0.2.27

func (o *QueryEvaluationLogicInternalServerError) IsClientError() bool

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

func (*QueryEvaluationLogicInternalServerError) IsCode added in v0.2.27

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

func (*QueryEvaluationLogicInternalServerError) IsRedirect added in v0.2.27

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

func (*QueryEvaluationLogicInternalServerError) IsServerError added in v0.2.27

func (o *QueryEvaluationLogicInternalServerError) IsServerError() bool

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

func (*QueryEvaluationLogicInternalServerError) IsSuccess added in v0.2.27

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

func (*QueryEvaluationLogicInternalServerError) String added in v0.2.27

type QueryEvaluationLogicOK

type QueryEvaluationLogicOK 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.DomainSPAPIQueryResponse
}

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

OK

func NewQueryEvaluationLogicOK

func NewQueryEvaluationLogicOK() *QueryEvaluationLogicOK

NewQueryEvaluationLogicOK creates a QueryEvaluationLogicOK with default headers values

func (*QueryEvaluationLogicOK) Code added in v0.2.33

func (o *QueryEvaluationLogicOK) Code() int

Code gets the status code for the query evaluation logic o k response

func (*QueryEvaluationLogicOK) Error

func (o *QueryEvaluationLogicOK) Error() string

func (*QueryEvaluationLogicOK) GetPayload

func (*QueryEvaluationLogicOK) IsClientError added in v0.2.27

func (o *QueryEvaluationLogicOK) IsClientError() bool

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

func (*QueryEvaluationLogicOK) IsCode added in v0.2.27

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

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

func (*QueryEvaluationLogicOK) IsRedirect added in v0.2.27

func (o *QueryEvaluationLogicOK) IsRedirect() bool

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

func (*QueryEvaluationLogicOK) IsServerError added in v0.2.27

func (o *QueryEvaluationLogicOK) IsServerError() bool

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

func (*QueryEvaluationLogicOK) IsSuccess added in v0.2.27

func (o *QueryEvaluationLogicOK) IsSuccess() bool

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

func (*QueryEvaluationLogicOK) String added in v0.2.27

func (o *QueryEvaluationLogicOK) String() string

type QueryEvaluationLogicParams

type QueryEvaluationLogicParams struct {

	/* After.

	   A pagination token used with the `limit` parameter to manage pagination of results. On your first request, don't provide an `after` token. On subsequent requests, provide the `after` token from the previous response to continue from that place in the results.
	*/
	After *string

	/* Filter.

	   FQL query specifying the filter parameters.
	*/
	Filter string

	/* Limit.

	   Maximum number of entities to return.
	*/
	Limit *int64

	/* Sort.

	   Sort evaluation logic by their properties.
	*/
	Sort *string

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

QueryEvaluationLogicParams contains all the parameters to send to the API endpoint

for the query evaluation logic operation.

Typically these are written to a http.Request.

func NewQueryEvaluationLogicParams

func NewQueryEvaluationLogicParams() *QueryEvaluationLogicParams

NewQueryEvaluationLogicParams creates a new QueryEvaluationLogicParams 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 NewQueryEvaluationLogicParamsWithContext

func NewQueryEvaluationLogicParamsWithContext(ctx context.Context) *QueryEvaluationLogicParams

NewQueryEvaluationLogicParamsWithContext creates a new QueryEvaluationLogicParams object with the ability to set a context for a request.

func NewQueryEvaluationLogicParamsWithHTTPClient

func NewQueryEvaluationLogicParamsWithHTTPClient(client *http.Client) *QueryEvaluationLogicParams

NewQueryEvaluationLogicParamsWithHTTPClient creates a new QueryEvaluationLogicParams object with the ability to set a custom HTTPClient for a request.

func NewQueryEvaluationLogicParamsWithTimeout

func NewQueryEvaluationLogicParamsWithTimeout(timeout time.Duration) *QueryEvaluationLogicParams

NewQueryEvaluationLogicParamsWithTimeout creates a new QueryEvaluationLogicParams object with the ability to set a timeout on a request.

func (*QueryEvaluationLogicParams) SetAfter

func (o *QueryEvaluationLogicParams) SetAfter(after *string)

SetAfter adds the after to the query evaluation logic params

func (*QueryEvaluationLogicParams) SetContext

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

SetContext adds the context to the query evaluation logic params

func (*QueryEvaluationLogicParams) SetDefaults

func (o *QueryEvaluationLogicParams) SetDefaults()

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

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

func (*QueryEvaluationLogicParams) SetFilter

func (o *QueryEvaluationLogicParams) SetFilter(filter string)

SetFilter adds the filter to the query evaluation logic params

func (*QueryEvaluationLogicParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the query evaluation logic params

func (*QueryEvaluationLogicParams) SetLimit

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

SetLimit adds the limit to the query evaluation logic params

func (*QueryEvaluationLogicParams) SetSort

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

SetSort adds the sort to the query evaluation logic params

func (*QueryEvaluationLogicParams) SetTimeout

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

SetTimeout adds the timeout to the query evaluation logic params

func (*QueryEvaluationLogicParams) WithAfter

WithAfter adds the after to the query evaluation logic params

func (*QueryEvaluationLogicParams) WithContext

WithContext adds the context to the query evaluation logic params

func (*QueryEvaluationLogicParams) WithDefaults

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

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

func (*QueryEvaluationLogicParams) WithFilter

WithFilter adds the filter to the query evaluation logic params

func (*QueryEvaluationLogicParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the query evaluation logic params

func (*QueryEvaluationLogicParams) WithLimit

WithLimit adds the limit to the query evaluation logic params

func (*QueryEvaluationLogicParams) WithSort

WithSort adds the sort to the query evaluation logic params

func (*QueryEvaluationLogicParams) WithTimeout

WithTimeout adds the timeout to the query evaluation logic params

func (*QueryEvaluationLogicParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type QueryEvaluationLogicReader

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

QueryEvaluationLogicReader is a Reader for the QueryEvaluationLogic structure.

func (*QueryEvaluationLogicReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type QueryEvaluationLogicTooManyRequests

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

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

Too Many Requests

func NewQueryEvaluationLogicTooManyRequests

func NewQueryEvaluationLogicTooManyRequests() *QueryEvaluationLogicTooManyRequests

NewQueryEvaluationLogicTooManyRequests creates a QueryEvaluationLogicTooManyRequests with default headers values

func (*QueryEvaluationLogicTooManyRequests) Code added in v0.2.33

Code gets the status code for the query evaluation logic too many requests response

func (*QueryEvaluationLogicTooManyRequests) Error

func (*QueryEvaluationLogicTooManyRequests) GetPayload

func (*QueryEvaluationLogicTooManyRequests) IsClientError added in v0.2.27

func (o *QueryEvaluationLogicTooManyRequests) IsClientError() bool

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

func (*QueryEvaluationLogicTooManyRequests) IsCode added in v0.2.27

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

func (*QueryEvaluationLogicTooManyRequests) IsRedirect added in v0.2.27

func (o *QueryEvaluationLogicTooManyRequests) IsRedirect() bool

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

func (*QueryEvaluationLogicTooManyRequests) IsServerError added in v0.2.27

func (o *QueryEvaluationLogicTooManyRequests) IsServerError() bool

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

func (*QueryEvaluationLogicTooManyRequests) IsSuccess added in v0.2.27

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

func (*QueryEvaluationLogicTooManyRequests) String added in v0.2.27

Jump to

Keyboard shortcuts

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