configuration_assessment_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 configuration assessment evaluation logic API

func (*Client) GetEvaluationLogicMixin0

func (a *Client) GetEvaluationLogicMixin0(params *GetEvaluationLogicMixin0Params, opts ...ClientOption) (*GetEvaluationLogicMixin0OK, error)

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

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 {
	GetEvaluationLogicMixin0(params *GetEvaluationLogicMixin0Params, opts ...ClientOption) (*GetEvaluationLogicMixin0OK, 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 configuration assessment evaluation logic API client.

type GetEvaluationLogicMixin0BadRequest

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

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

Bad Request

func NewGetEvaluationLogicMixin0BadRequest

func NewGetEvaluationLogicMixin0BadRequest() *GetEvaluationLogicMixin0BadRequest

NewGetEvaluationLogicMixin0BadRequest creates a GetEvaluationLogicMixin0BadRequest with default headers values

func (*GetEvaluationLogicMixin0BadRequest) Code

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

func (*GetEvaluationLogicMixin0BadRequest) Error

func (*GetEvaluationLogicMixin0BadRequest) IsClientError

func (o *GetEvaluationLogicMixin0BadRequest) IsClientError() bool

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

func (*GetEvaluationLogicMixin0BadRequest) IsCode

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

func (*GetEvaluationLogicMixin0BadRequest) IsRedirect

func (o *GetEvaluationLogicMixin0BadRequest) IsRedirect() bool

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

func (*GetEvaluationLogicMixin0BadRequest) IsServerError

func (o *GetEvaluationLogicMixin0BadRequest) IsServerError() bool

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

func (*GetEvaluationLogicMixin0BadRequest) IsSuccess

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

func (*GetEvaluationLogicMixin0BadRequest) String

type GetEvaluationLogicMixin0Forbidden

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

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

Forbidden

func NewGetEvaluationLogicMixin0Forbidden

func NewGetEvaluationLogicMixin0Forbidden() *GetEvaluationLogicMixin0Forbidden

NewGetEvaluationLogicMixin0Forbidden creates a GetEvaluationLogicMixin0Forbidden with default headers values

func (*GetEvaluationLogicMixin0Forbidden) Code

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

func (*GetEvaluationLogicMixin0Forbidden) Error

func (*GetEvaluationLogicMixin0Forbidden) GetPayload

func (*GetEvaluationLogicMixin0Forbidden) IsClientError

func (o *GetEvaluationLogicMixin0Forbidden) IsClientError() bool

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

func (*GetEvaluationLogicMixin0Forbidden) IsCode

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

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

func (*GetEvaluationLogicMixin0Forbidden) IsRedirect

func (o *GetEvaluationLogicMixin0Forbidden) IsRedirect() bool

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

func (*GetEvaluationLogicMixin0Forbidden) IsServerError

func (o *GetEvaluationLogicMixin0Forbidden) IsServerError() bool

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

func (*GetEvaluationLogicMixin0Forbidden) IsSuccess

func (o *GetEvaluationLogicMixin0Forbidden) IsSuccess() bool

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

func (*GetEvaluationLogicMixin0Forbidden) String

type GetEvaluationLogicMixin0InternalServerError

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

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

Internal Server Error

func NewGetEvaluationLogicMixin0InternalServerError

func NewGetEvaluationLogicMixin0InternalServerError() *GetEvaluationLogicMixin0InternalServerError

NewGetEvaluationLogicMixin0InternalServerError creates a GetEvaluationLogicMixin0InternalServerError with default headers values

func (*GetEvaluationLogicMixin0InternalServerError) Code

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

func (*GetEvaluationLogicMixin0InternalServerError) Error

func (*GetEvaluationLogicMixin0InternalServerError) IsClientError

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

func (*GetEvaluationLogicMixin0InternalServerError) IsCode

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

func (*GetEvaluationLogicMixin0InternalServerError) IsRedirect

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

func (*GetEvaluationLogicMixin0InternalServerError) IsServerError

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

func (*GetEvaluationLogicMixin0InternalServerError) IsSuccess

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

func (*GetEvaluationLogicMixin0InternalServerError) String

type GetEvaluationLogicMixin0OK

type GetEvaluationLogicMixin0OK 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.DomainAPIEvaluationLogicEntitiesResponseV1
}

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

OK

func NewGetEvaluationLogicMixin0OK

func NewGetEvaluationLogicMixin0OK() *GetEvaluationLogicMixin0OK

NewGetEvaluationLogicMixin0OK creates a GetEvaluationLogicMixin0OK with default headers values

func (*GetEvaluationLogicMixin0OK) Code

func (o *GetEvaluationLogicMixin0OK) Code() int

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

func (*GetEvaluationLogicMixin0OK) Error

func (*GetEvaluationLogicMixin0OK) GetPayload

func (*GetEvaluationLogicMixin0OK) IsClientError

func (o *GetEvaluationLogicMixin0OK) IsClientError() bool

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

func (*GetEvaluationLogicMixin0OK) IsCode

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

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

func (*GetEvaluationLogicMixin0OK) IsRedirect

func (o *GetEvaluationLogicMixin0OK) IsRedirect() bool

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

func (*GetEvaluationLogicMixin0OK) IsServerError

func (o *GetEvaluationLogicMixin0OK) IsServerError() bool

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

func (*GetEvaluationLogicMixin0OK) IsSuccess

func (o *GetEvaluationLogicMixin0OK) IsSuccess() bool

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

func (*GetEvaluationLogicMixin0OK) String

func (o *GetEvaluationLogicMixin0OK) String() string

type GetEvaluationLogicMixin0Params

type GetEvaluationLogicMixin0Params struct {

	/* Ids.

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

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

GetEvaluationLogicMixin0Params contains all the parameters to send to the API endpoint

for the get evaluation logic mixin0 operation.

Typically these are written to a http.Request.

func NewGetEvaluationLogicMixin0Params

func NewGetEvaluationLogicMixin0Params() *GetEvaluationLogicMixin0Params

NewGetEvaluationLogicMixin0Params creates a new GetEvaluationLogicMixin0Params 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 NewGetEvaluationLogicMixin0ParamsWithContext

func NewGetEvaluationLogicMixin0ParamsWithContext(ctx context.Context) *GetEvaluationLogicMixin0Params

NewGetEvaluationLogicMixin0ParamsWithContext creates a new GetEvaluationLogicMixin0Params object with the ability to set a context for a request.

func NewGetEvaluationLogicMixin0ParamsWithHTTPClient

func NewGetEvaluationLogicMixin0ParamsWithHTTPClient(client *http.Client) *GetEvaluationLogicMixin0Params

NewGetEvaluationLogicMixin0ParamsWithHTTPClient creates a new GetEvaluationLogicMixin0Params object with the ability to set a custom HTTPClient for a request.

func NewGetEvaluationLogicMixin0ParamsWithTimeout

func NewGetEvaluationLogicMixin0ParamsWithTimeout(timeout time.Duration) *GetEvaluationLogicMixin0Params

NewGetEvaluationLogicMixin0ParamsWithTimeout creates a new GetEvaluationLogicMixin0Params object with the ability to set a timeout on a request.

func (*GetEvaluationLogicMixin0Params) SetContext

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

SetContext adds the context to the get evaluation logic mixin0 params

func (*GetEvaluationLogicMixin0Params) SetDefaults

func (o *GetEvaluationLogicMixin0Params) SetDefaults()

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

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

func (*GetEvaluationLogicMixin0Params) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get evaluation logic mixin0 params

func (*GetEvaluationLogicMixin0Params) SetIds

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

SetIds adds the ids to the get evaluation logic mixin0 params

func (*GetEvaluationLogicMixin0Params) SetTimeout

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

SetTimeout adds the timeout to the get evaluation logic mixin0 params

func (*GetEvaluationLogicMixin0Params) WithContext

WithContext adds the context to the get evaluation logic mixin0 params

func (*GetEvaluationLogicMixin0Params) WithDefaults

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

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

func (*GetEvaluationLogicMixin0Params) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get evaluation logic mixin0 params

func (*GetEvaluationLogicMixin0Params) WithIds

WithIds adds the ids to the get evaluation logic mixin0 params

func (*GetEvaluationLogicMixin0Params) WithTimeout

WithTimeout adds the timeout to the get evaluation logic mixin0 params

func (*GetEvaluationLogicMixin0Params) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetEvaluationLogicMixin0Reader

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

GetEvaluationLogicMixin0Reader is a Reader for the GetEvaluationLogicMixin0 structure.

func (*GetEvaluationLogicMixin0Reader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetEvaluationLogicMixin0TooManyRequests

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

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

Too Many Requests

func NewGetEvaluationLogicMixin0TooManyRequests

func NewGetEvaluationLogicMixin0TooManyRequests() *GetEvaluationLogicMixin0TooManyRequests

NewGetEvaluationLogicMixin0TooManyRequests creates a GetEvaluationLogicMixin0TooManyRequests with default headers values

func (*GetEvaluationLogicMixin0TooManyRequests) Code

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

func (*GetEvaluationLogicMixin0TooManyRequests) Error

func (*GetEvaluationLogicMixin0TooManyRequests) GetPayload

func (*GetEvaluationLogicMixin0TooManyRequests) IsClientError

func (o *GetEvaluationLogicMixin0TooManyRequests) IsClientError() bool

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

func (*GetEvaluationLogicMixin0TooManyRequests) IsCode

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

func (*GetEvaluationLogicMixin0TooManyRequests) IsRedirect

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

func (*GetEvaluationLogicMixin0TooManyRequests) IsServerError

func (o *GetEvaluationLogicMixin0TooManyRequests) IsServerError() bool

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

func (*GetEvaluationLogicMixin0TooManyRequests) IsSuccess

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

func (*GetEvaluationLogicMixin0TooManyRequests) String

Jump to

Keyboard shortcuts

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