vulnerabilities_evaluation_logic

package
v0.5.0-rc1 Latest Latest
Warning

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

Go to latest
Published: Oct 16, 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 vulnerabilities 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 vulnerabilities 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

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

func (*CombinedQueryEvaluationLogicBadRequest) Error

func (*CombinedQueryEvaluationLogicBadRequest) IsClientError

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

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

func (*CombinedQueryEvaluationLogicBadRequest) IsRedirect

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

func (*CombinedQueryEvaluationLogicBadRequest) IsServerError

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

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

func (*CombinedQueryEvaluationLogicBadRequest) String

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

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

func (*CombinedQueryEvaluationLogicForbidden) Error

func (*CombinedQueryEvaluationLogicForbidden) GetPayload

func (*CombinedQueryEvaluationLogicForbidden) IsClientError

func (o *CombinedQueryEvaluationLogicForbidden) IsClientError() bool

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

func (*CombinedQueryEvaluationLogicForbidden) IsCode

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

func (*CombinedQueryEvaluationLogicForbidden) IsRedirect

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

func (*CombinedQueryEvaluationLogicForbidden) IsServerError

func (o *CombinedQueryEvaluationLogicForbidden) IsServerError() bool

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

func (*CombinedQueryEvaluationLogicForbidden) IsSuccess

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

func (*CombinedQueryEvaluationLogicForbidden) String

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

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

func (*CombinedQueryEvaluationLogicInternalServerError) Error

func (*CombinedQueryEvaluationLogicInternalServerError) IsClientError

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

func (*CombinedQueryEvaluationLogicInternalServerError) IsCode

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

func (*CombinedQueryEvaluationLogicInternalServerError) IsRedirect

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

func (*CombinedQueryEvaluationLogicInternalServerError) IsServerError

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

func (*CombinedQueryEvaluationLogicInternalServerError) IsSuccess

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

func (*CombinedQueryEvaluationLogicInternalServerError) String

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

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

func (*CombinedQueryEvaluationLogicOK) Error

func (*CombinedQueryEvaluationLogicOK) GetPayload

func (*CombinedQueryEvaluationLogicOK) IsClientError

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

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

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

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

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

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

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

func (*CombinedQueryEvaluationLogicTooManyRequests) Error

func (*CombinedQueryEvaluationLogicTooManyRequests) GetPayload

func (*CombinedQueryEvaluationLogicTooManyRequests) IsClientError

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

func (*CombinedQueryEvaluationLogicTooManyRequests) IsCode

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

func (*CombinedQueryEvaluationLogicTooManyRequests) IsRedirect

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

func (*CombinedQueryEvaluationLogicTooManyRequests) IsServerError

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

func (*CombinedQueryEvaluationLogicTooManyRequests) IsSuccess

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

func (*CombinedQueryEvaluationLogicTooManyRequests) String

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

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

func (*GetEvaluationLogicBadRequest) Error

func (*GetEvaluationLogicBadRequest) IsClientError

func (o *GetEvaluationLogicBadRequest) IsClientError() bool

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

func (*GetEvaluationLogicBadRequest) IsCode

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

func (o *GetEvaluationLogicBadRequest) IsRedirect() bool

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

func (*GetEvaluationLogicBadRequest) IsServerError

func (o *GetEvaluationLogicBadRequest) IsServerError() bool

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

func (*GetEvaluationLogicBadRequest) IsSuccess

func (o *GetEvaluationLogicBadRequest) IsSuccess() bool

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

func (*GetEvaluationLogicBadRequest) String

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

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

func (o *GetEvaluationLogicForbidden) IsClientError() bool

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

func (*GetEvaluationLogicForbidden) IsCode

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

func (o *GetEvaluationLogicForbidden) IsRedirect() bool

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

func (*GetEvaluationLogicForbidden) IsServerError

func (o *GetEvaluationLogicForbidden) IsServerError() bool

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

func (*GetEvaluationLogicForbidden) IsSuccess

func (o *GetEvaluationLogicForbidden) IsSuccess() bool

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

func (*GetEvaluationLogicForbidden) String

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

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

func (*GetEvaluationLogicInternalServerError) Error

func (*GetEvaluationLogicInternalServerError) IsClientError

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

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

func (*GetEvaluationLogicInternalServerError) IsRedirect

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

func (*GetEvaluationLogicInternalServerError) IsServerError

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

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

func (*GetEvaluationLogicInternalServerError) String

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

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

func (o *GetEvaluationLogicOK) IsClientError() bool

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

func (*GetEvaluationLogicOK) IsCode

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

func (o *GetEvaluationLogicOK) IsRedirect() bool

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

func (*GetEvaluationLogicOK) IsServerError

func (o *GetEvaluationLogicOK) IsServerError() bool

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

func (*GetEvaluationLogicOK) IsSuccess

func (o *GetEvaluationLogicOK) IsSuccess() bool

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

func (*GetEvaluationLogicOK) String

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

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

func (*GetEvaluationLogicTooManyRequests) Error

func (*GetEvaluationLogicTooManyRequests) GetPayload

func (*GetEvaluationLogicTooManyRequests) IsClientError

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

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

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

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

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

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

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

func (*QueryEvaluationLogicBadRequest) Error

func (*QueryEvaluationLogicBadRequest) IsClientError

func (o *QueryEvaluationLogicBadRequest) IsClientError() bool

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

func (*QueryEvaluationLogicBadRequest) IsCode

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

func (o *QueryEvaluationLogicBadRequest) IsRedirect() bool

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

func (*QueryEvaluationLogicBadRequest) IsServerError

func (o *QueryEvaluationLogicBadRequest) IsServerError() bool

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

func (*QueryEvaluationLogicBadRequest) IsSuccess

func (o *QueryEvaluationLogicBadRequest) IsSuccess() bool

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

func (*QueryEvaluationLogicBadRequest) String

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

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

func (*QueryEvaluationLogicForbidden) Error

func (*QueryEvaluationLogicForbidden) GetPayload

func (*QueryEvaluationLogicForbidden) IsClientError

func (o *QueryEvaluationLogicForbidden) IsClientError() bool

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

func (*QueryEvaluationLogicForbidden) IsCode

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

func (o *QueryEvaluationLogicForbidden) IsRedirect() bool

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

func (*QueryEvaluationLogicForbidden) IsServerError

func (o *QueryEvaluationLogicForbidden) IsServerError() bool

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

func (*QueryEvaluationLogicForbidden) IsSuccess

func (o *QueryEvaluationLogicForbidden) IsSuccess() bool

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

func (*QueryEvaluationLogicForbidden) String

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

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

func (*QueryEvaluationLogicInternalServerError) Error

func (*QueryEvaluationLogicInternalServerError) IsClientError

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

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

func (*QueryEvaluationLogicInternalServerError) IsRedirect

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

func (*QueryEvaluationLogicInternalServerError) IsServerError

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

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

func (*QueryEvaluationLogicInternalServerError) String

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

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

func (o *QueryEvaluationLogicOK) IsClientError() bool

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

func (*QueryEvaluationLogicOK) IsCode

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

func (o *QueryEvaluationLogicOK) IsRedirect() bool

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

func (*QueryEvaluationLogicOK) IsServerError

func (o *QueryEvaluationLogicOK) IsServerError() bool

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

func (*QueryEvaluationLogicOK) IsSuccess

func (o *QueryEvaluationLogicOK) IsSuccess() bool

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

func (*QueryEvaluationLogicOK) String

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

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

func (*QueryEvaluationLogicTooManyRequests) Error

func (*QueryEvaluationLogicTooManyRequests) GetPayload

func (*QueryEvaluationLogicTooManyRequests) IsClientError

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

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

func (*QueryEvaluationLogicTooManyRequests) IsRedirect

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

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

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

func (*QueryEvaluationLogicTooManyRequests) String

Jump to

Keyboard shortcuts

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