zero_trust_assessment

package
v0.2.29 Latest Latest
Warning

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

Go to latest
Published: Nov 4, 2022 License: MIT Imports: 11 Imported by: 2

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 zero trust assessment API

func (*Client) GetAssessmentV1

func (a *Client) GetAssessmentV1(params *GetAssessmentV1Params, opts ...ClientOption) (*GetAssessmentV1OK, error)

GetAssessmentV1 gets zero trust assessment data for one or more hosts by providing agent i ds a ID and a customer ID c ID

func (*Client) GetComplianceV1 added in v0.2.7

func (a *Client) GetComplianceV1(params *GetComplianceV1Params, opts ...ClientOption) (*GetComplianceV1OK, error)

GetComplianceV1 gets the zero trust assessment compliance report for one customer ID c ID

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 {
	GetAssessmentV1(params *GetAssessmentV1Params, opts ...ClientOption) (*GetAssessmentV1OK, error)

	GetComplianceV1(params *GetComplianceV1Params, opts ...ClientOption) (*GetComplianceV1OK, 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 zero trust assessment API client.

type GetAssessmentV1BadRequest

type GetAssessmentV1BadRequest 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.DomainAssessmentsResponse
}

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

Number of agent IDs exceeds the limit of 1000.

func NewGetAssessmentV1BadRequest

func NewGetAssessmentV1BadRequest() *GetAssessmentV1BadRequest

NewGetAssessmentV1BadRequest creates a GetAssessmentV1BadRequest with default headers values

func (*GetAssessmentV1BadRequest) Error

func (o *GetAssessmentV1BadRequest) Error() string

func (*GetAssessmentV1BadRequest) GetPayload

func (*GetAssessmentV1BadRequest) IsClientError added in v0.2.27

func (o *GetAssessmentV1BadRequest) IsClientError() bool

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

func (*GetAssessmentV1BadRequest) IsCode added in v0.2.27

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

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

func (*GetAssessmentV1BadRequest) IsRedirect added in v0.2.27

func (o *GetAssessmentV1BadRequest) IsRedirect() bool

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

func (*GetAssessmentV1BadRequest) IsServerError added in v0.2.27

func (o *GetAssessmentV1BadRequest) IsServerError() bool

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

func (*GetAssessmentV1BadRequest) IsSuccess added in v0.2.27

func (o *GetAssessmentV1BadRequest) IsSuccess() bool

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

func (*GetAssessmentV1BadRequest) String added in v0.2.27

func (o *GetAssessmentV1BadRequest) String() string

type GetAssessmentV1Default

type GetAssessmentV1Default struct {
	Payload *models.DomainAssessmentsResponse
	// contains filtered or unexported fields
}

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

OK

func NewGetAssessmentV1Default

func NewGetAssessmentV1Default(code int) *GetAssessmentV1Default

NewGetAssessmentV1Default creates a GetAssessmentV1Default with default headers values

func (*GetAssessmentV1Default) Code

func (o *GetAssessmentV1Default) Code() int

Code gets the status code for the get assessment v1 default response

func (*GetAssessmentV1Default) Error

func (o *GetAssessmentV1Default) Error() string

func (*GetAssessmentV1Default) GetPayload

func (*GetAssessmentV1Default) IsClientError added in v0.2.27

func (o *GetAssessmentV1Default) IsClientError() bool

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

func (*GetAssessmentV1Default) IsCode added in v0.2.27

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

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

func (*GetAssessmentV1Default) IsRedirect added in v0.2.27

func (o *GetAssessmentV1Default) IsRedirect() bool

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

func (*GetAssessmentV1Default) IsServerError added in v0.2.27

func (o *GetAssessmentV1Default) IsServerError() bool

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

func (*GetAssessmentV1Default) IsSuccess added in v0.2.27

func (o *GetAssessmentV1Default) IsSuccess() bool

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

func (*GetAssessmentV1Default) String added in v0.2.27

func (o *GetAssessmentV1Default) String() string

type GetAssessmentV1Forbidden

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

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

Forbidden

func NewGetAssessmentV1Forbidden

func NewGetAssessmentV1Forbidden() *GetAssessmentV1Forbidden

NewGetAssessmentV1Forbidden creates a GetAssessmentV1Forbidden with default headers values

func (*GetAssessmentV1Forbidden) Error

func (o *GetAssessmentV1Forbidden) Error() string

func (*GetAssessmentV1Forbidden) GetPayload

func (*GetAssessmentV1Forbidden) IsClientError added in v0.2.27

func (o *GetAssessmentV1Forbidden) IsClientError() bool

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

func (*GetAssessmentV1Forbidden) IsCode added in v0.2.27

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

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

func (*GetAssessmentV1Forbidden) IsRedirect added in v0.2.27

func (o *GetAssessmentV1Forbidden) IsRedirect() bool

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

func (*GetAssessmentV1Forbidden) IsServerError added in v0.2.27

func (o *GetAssessmentV1Forbidden) IsServerError() bool

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

func (*GetAssessmentV1Forbidden) IsSuccess added in v0.2.27

func (o *GetAssessmentV1Forbidden) IsSuccess() bool

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

func (*GetAssessmentV1Forbidden) String added in v0.2.27

func (o *GetAssessmentV1Forbidden) String() string

type GetAssessmentV1NotFound

type GetAssessmentV1NotFound 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.DomainAssessmentsResponse
}

GetAssessmentV1NotFound describes a response with status code 404, with default header values.

One or more of the specified agent IDs is not found.

func NewGetAssessmentV1NotFound

func NewGetAssessmentV1NotFound() *GetAssessmentV1NotFound

NewGetAssessmentV1NotFound creates a GetAssessmentV1NotFound with default headers values

func (*GetAssessmentV1NotFound) Error

func (o *GetAssessmentV1NotFound) Error() string

func (*GetAssessmentV1NotFound) GetPayload

func (*GetAssessmentV1NotFound) IsClientError added in v0.2.27

func (o *GetAssessmentV1NotFound) IsClientError() bool

IsClientError returns true when this get assessment v1 not found response has a 4xx status code

func (*GetAssessmentV1NotFound) IsCode added in v0.2.27

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

IsCode returns true when this get assessment v1 not found response a status code equal to that given

func (*GetAssessmentV1NotFound) IsRedirect added in v0.2.27

func (o *GetAssessmentV1NotFound) IsRedirect() bool

IsRedirect returns true when this get assessment v1 not found response has a 3xx status code

func (*GetAssessmentV1NotFound) IsServerError added in v0.2.27

func (o *GetAssessmentV1NotFound) IsServerError() bool

IsServerError returns true when this get assessment v1 not found response has a 5xx status code

func (*GetAssessmentV1NotFound) IsSuccess added in v0.2.27

func (o *GetAssessmentV1NotFound) IsSuccess() bool

IsSuccess returns true when this get assessment v1 not found response has a 2xx status code

func (*GetAssessmentV1NotFound) String added in v0.2.27

func (o *GetAssessmentV1NotFound) String() string

type GetAssessmentV1OK

type GetAssessmentV1OK 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.DomainAssessmentsResponse
}

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

OK

func NewGetAssessmentV1OK

func NewGetAssessmentV1OK() *GetAssessmentV1OK

NewGetAssessmentV1OK creates a GetAssessmentV1OK with default headers values

func (*GetAssessmentV1OK) Error

func (o *GetAssessmentV1OK) Error() string

func (*GetAssessmentV1OK) GetPayload

func (*GetAssessmentV1OK) IsClientError added in v0.2.27

func (o *GetAssessmentV1OK) IsClientError() bool

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

func (*GetAssessmentV1OK) IsCode added in v0.2.27

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

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

func (*GetAssessmentV1OK) IsRedirect added in v0.2.27

func (o *GetAssessmentV1OK) IsRedirect() bool

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

func (*GetAssessmentV1OK) IsServerError added in v0.2.27

func (o *GetAssessmentV1OK) IsServerError() bool

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

func (*GetAssessmentV1OK) IsSuccess added in v0.2.27

func (o *GetAssessmentV1OK) IsSuccess() bool

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

func (*GetAssessmentV1OK) String added in v0.2.27

func (o *GetAssessmentV1OK) String() string

type GetAssessmentV1Params

type GetAssessmentV1Params struct {

	/* Ids.

	   One or more agent IDs, which you can find in the data.zta file, or the Falcon console.
	*/
	Ids []string

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

GetAssessmentV1Params contains all the parameters to send to the API endpoint

for the get assessment v1 operation.

Typically these are written to a http.Request.

func NewGetAssessmentV1Params

func NewGetAssessmentV1Params() *GetAssessmentV1Params

NewGetAssessmentV1Params creates a new GetAssessmentV1Params 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 NewGetAssessmentV1ParamsWithContext

func NewGetAssessmentV1ParamsWithContext(ctx context.Context) *GetAssessmentV1Params

NewGetAssessmentV1ParamsWithContext creates a new GetAssessmentV1Params object with the ability to set a context for a request.

func NewGetAssessmentV1ParamsWithHTTPClient

func NewGetAssessmentV1ParamsWithHTTPClient(client *http.Client) *GetAssessmentV1Params

NewGetAssessmentV1ParamsWithHTTPClient creates a new GetAssessmentV1Params object with the ability to set a custom HTTPClient for a request.

func NewGetAssessmentV1ParamsWithTimeout

func NewGetAssessmentV1ParamsWithTimeout(timeout time.Duration) *GetAssessmentV1Params

NewGetAssessmentV1ParamsWithTimeout creates a new GetAssessmentV1Params object with the ability to set a timeout on a request.

func (*GetAssessmentV1Params) SetContext

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

SetContext adds the context to the get assessment v1 params

func (*GetAssessmentV1Params) SetDefaults

func (o *GetAssessmentV1Params) SetDefaults()

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

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

func (*GetAssessmentV1Params) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get assessment v1 params

func (*GetAssessmentV1Params) SetIds

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

SetIds adds the ids to the get assessment v1 params

func (*GetAssessmentV1Params) SetTimeout

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

SetTimeout adds the timeout to the get assessment v1 params

func (*GetAssessmentV1Params) WithContext

WithContext adds the context to the get assessment v1 params

func (*GetAssessmentV1Params) WithDefaults

func (o *GetAssessmentV1Params) WithDefaults() *GetAssessmentV1Params

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

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

func (*GetAssessmentV1Params) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get assessment v1 params

func (*GetAssessmentV1Params) WithIds

WithIds adds the ids to the get assessment v1 params

func (*GetAssessmentV1Params) WithTimeout

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

WithTimeout adds the timeout to the get assessment v1 params

func (*GetAssessmentV1Params) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type GetAssessmentV1Reader

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

GetAssessmentV1Reader is a Reader for the GetAssessmentV1 structure.

func (*GetAssessmentV1Reader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetAssessmentV1TooManyRequests

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

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

Too Many Requests

func NewGetAssessmentV1TooManyRequests

func NewGetAssessmentV1TooManyRequests() *GetAssessmentV1TooManyRequests

NewGetAssessmentV1TooManyRequests creates a GetAssessmentV1TooManyRequests with default headers values

func (*GetAssessmentV1TooManyRequests) Error

func (*GetAssessmentV1TooManyRequests) GetPayload

func (*GetAssessmentV1TooManyRequests) IsClientError added in v0.2.27

func (o *GetAssessmentV1TooManyRequests) IsClientError() bool

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

func (*GetAssessmentV1TooManyRequests) IsCode added in v0.2.27

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

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

func (*GetAssessmentV1TooManyRequests) IsRedirect added in v0.2.27

func (o *GetAssessmentV1TooManyRequests) IsRedirect() bool

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

func (*GetAssessmentV1TooManyRequests) IsServerError added in v0.2.27

func (o *GetAssessmentV1TooManyRequests) IsServerError() bool

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

func (*GetAssessmentV1TooManyRequests) IsSuccess added in v0.2.27

func (o *GetAssessmentV1TooManyRequests) IsSuccess() bool

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

func (*GetAssessmentV1TooManyRequests) String added in v0.2.27

type GetComplianceV1Default added in v0.2.7

type GetComplianceV1Default struct {
	Payload *models.DomainComplianceResponse
	// contains filtered or unexported fields
}

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

OK

func NewGetComplianceV1Default added in v0.2.7

func NewGetComplianceV1Default(code int) *GetComplianceV1Default

NewGetComplianceV1Default creates a GetComplianceV1Default with default headers values

func (*GetComplianceV1Default) Code added in v0.2.7

func (o *GetComplianceV1Default) Code() int

Code gets the status code for the get compliance v1 default response

func (*GetComplianceV1Default) Error added in v0.2.7

func (o *GetComplianceV1Default) Error() string

func (*GetComplianceV1Default) GetPayload added in v0.2.7

func (*GetComplianceV1Default) IsClientError added in v0.2.27

func (o *GetComplianceV1Default) IsClientError() bool

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

func (*GetComplianceV1Default) IsCode added in v0.2.27

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

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

func (*GetComplianceV1Default) IsRedirect added in v0.2.27

func (o *GetComplianceV1Default) IsRedirect() bool

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

func (*GetComplianceV1Default) IsServerError added in v0.2.27

func (o *GetComplianceV1Default) IsServerError() bool

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

func (*GetComplianceV1Default) IsSuccess added in v0.2.27

func (o *GetComplianceV1Default) IsSuccess() bool

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

func (*GetComplianceV1Default) String added in v0.2.27

func (o *GetComplianceV1Default) String() string

type GetComplianceV1Forbidden added in v0.2.7

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

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

Forbidden

func NewGetComplianceV1Forbidden added in v0.2.7

func NewGetComplianceV1Forbidden() *GetComplianceV1Forbidden

NewGetComplianceV1Forbidden creates a GetComplianceV1Forbidden with default headers values

func (*GetComplianceV1Forbidden) Error added in v0.2.7

func (o *GetComplianceV1Forbidden) Error() string

func (*GetComplianceV1Forbidden) GetPayload added in v0.2.7

func (*GetComplianceV1Forbidden) IsClientError added in v0.2.27

func (o *GetComplianceV1Forbidden) IsClientError() bool

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

func (*GetComplianceV1Forbidden) IsCode added in v0.2.27

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

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

func (*GetComplianceV1Forbidden) IsRedirect added in v0.2.27

func (o *GetComplianceV1Forbidden) IsRedirect() bool

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

func (*GetComplianceV1Forbidden) IsServerError added in v0.2.27

func (o *GetComplianceV1Forbidden) IsServerError() bool

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

func (*GetComplianceV1Forbidden) IsSuccess added in v0.2.27

func (o *GetComplianceV1Forbidden) IsSuccess() bool

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

func (*GetComplianceV1Forbidden) String added in v0.2.27

func (o *GetComplianceV1Forbidden) String() string

type GetComplianceV1NotFound added in v0.2.7

type GetComplianceV1NotFound 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.DomainComplianceResponse
}

GetComplianceV1NotFound describes a response with status code 404, with default header values.

One or more of the specified agent IDs is not found.

func NewGetComplianceV1NotFound added in v0.2.7

func NewGetComplianceV1NotFound() *GetComplianceV1NotFound

NewGetComplianceV1NotFound creates a GetComplianceV1NotFound with default headers values

func (*GetComplianceV1NotFound) Error added in v0.2.7

func (o *GetComplianceV1NotFound) Error() string

func (*GetComplianceV1NotFound) GetPayload added in v0.2.7

func (*GetComplianceV1NotFound) IsClientError added in v0.2.27

func (o *GetComplianceV1NotFound) IsClientError() bool

IsClientError returns true when this get compliance v1 not found response has a 4xx status code

func (*GetComplianceV1NotFound) IsCode added in v0.2.27

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

IsCode returns true when this get compliance v1 not found response a status code equal to that given

func (*GetComplianceV1NotFound) IsRedirect added in v0.2.27

func (o *GetComplianceV1NotFound) IsRedirect() bool

IsRedirect returns true when this get compliance v1 not found response has a 3xx status code

func (*GetComplianceV1NotFound) IsServerError added in v0.2.27

func (o *GetComplianceV1NotFound) IsServerError() bool

IsServerError returns true when this get compliance v1 not found response has a 5xx status code

func (*GetComplianceV1NotFound) IsSuccess added in v0.2.27

func (o *GetComplianceV1NotFound) IsSuccess() bool

IsSuccess returns true when this get compliance v1 not found response has a 2xx status code

func (*GetComplianceV1NotFound) String added in v0.2.27

func (o *GetComplianceV1NotFound) String() string

type GetComplianceV1OK added in v0.2.7

type GetComplianceV1OK 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.DomainComplianceResponse
}

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

OK

func NewGetComplianceV1OK added in v0.2.7

func NewGetComplianceV1OK() *GetComplianceV1OK

NewGetComplianceV1OK creates a GetComplianceV1OK with default headers values

func (*GetComplianceV1OK) Error added in v0.2.7

func (o *GetComplianceV1OK) Error() string

func (*GetComplianceV1OK) GetPayload added in v0.2.7

func (*GetComplianceV1OK) IsClientError added in v0.2.27

func (o *GetComplianceV1OK) IsClientError() bool

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

func (*GetComplianceV1OK) IsCode added in v0.2.27

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

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

func (*GetComplianceV1OK) IsRedirect added in v0.2.27

func (o *GetComplianceV1OK) IsRedirect() bool

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

func (*GetComplianceV1OK) IsServerError added in v0.2.27

func (o *GetComplianceV1OK) IsServerError() bool

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

func (*GetComplianceV1OK) IsSuccess added in v0.2.27

func (o *GetComplianceV1OK) IsSuccess() bool

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

func (*GetComplianceV1OK) String added in v0.2.27

func (o *GetComplianceV1OK) String() string

type GetComplianceV1Params added in v0.2.7

type GetComplianceV1Params struct {
	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetComplianceV1Params contains all the parameters to send to the API endpoint

for the get compliance v1 operation.

Typically these are written to a http.Request.

func NewGetComplianceV1Params added in v0.2.7

func NewGetComplianceV1Params() *GetComplianceV1Params

NewGetComplianceV1Params creates a new GetComplianceV1Params 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 NewGetComplianceV1ParamsWithContext added in v0.2.7

func NewGetComplianceV1ParamsWithContext(ctx context.Context) *GetComplianceV1Params

NewGetComplianceV1ParamsWithContext creates a new GetComplianceV1Params object with the ability to set a context for a request.

func NewGetComplianceV1ParamsWithHTTPClient added in v0.2.7

func NewGetComplianceV1ParamsWithHTTPClient(client *http.Client) *GetComplianceV1Params

NewGetComplianceV1ParamsWithHTTPClient creates a new GetComplianceV1Params object with the ability to set a custom HTTPClient for a request.

func NewGetComplianceV1ParamsWithTimeout added in v0.2.7

func NewGetComplianceV1ParamsWithTimeout(timeout time.Duration) *GetComplianceV1Params

NewGetComplianceV1ParamsWithTimeout creates a new GetComplianceV1Params object with the ability to set a timeout on a request.

func (*GetComplianceV1Params) SetContext added in v0.2.7

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

SetContext adds the context to the get compliance v1 params

func (*GetComplianceV1Params) SetDefaults added in v0.2.7

func (o *GetComplianceV1Params) SetDefaults()

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

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

func (*GetComplianceV1Params) SetHTTPClient added in v0.2.7

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

SetHTTPClient adds the HTTPClient to the get compliance v1 params

func (*GetComplianceV1Params) SetTimeout added in v0.2.7

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

SetTimeout adds the timeout to the get compliance v1 params

func (*GetComplianceV1Params) WithContext added in v0.2.7

WithContext adds the context to the get compliance v1 params

func (*GetComplianceV1Params) WithDefaults added in v0.2.7

func (o *GetComplianceV1Params) WithDefaults() *GetComplianceV1Params

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

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

func (*GetComplianceV1Params) WithHTTPClient added in v0.2.7

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

WithHTTPClient adds the HTTPClient to the get compliance v1 params

func (*GetComplianceV1Params) WithTimeout added in v0.2.7

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

WithTimeout adds the timeout to the get compliance v1 params

func (*GetComplianceV1Params) WriteToRequest added in v0.2.7

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

WriteToRequest writes these params to a swagger request

type GetComplianceV1Reader added in v0.2.7

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

GetComplianceV1Reader is a Reader for the GetComplianceV1 structure.

func (*GetComplianceV1Reader) ReadResponse added in v0.2.7

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

ReadResponse reads a server response into the received o.

type GetComplianceV1TooManyRequests added in v0.2.7

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

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

Too Many Requests

func NewGetComplianceV1TooManyRequests added in v0.2.7

func NewGetComplianceV1TooManyRequests() *GetComplianceV1TooManyRequests

NewGetComplianceV1TooManyRequests creates a GetComplianceV1TooManyRequests with default headers values

func (*GetComplianceV1TooManyRequests) Error added in v0.2.7

func (*GetComplianceV1TooManyRequests) GetPayload added in v0.2.7

func (*GetComplianceV1TooManyRequests) IsClientError added in v0.2.27

func (o *GetComplianceV1TooManyRequests) IsClientError() bool

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

func (*GetComplianceV1TooManyRequests) IsCode added in v0.2.27

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

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

func (*GetComplianceV1TooManyRequests) IsRedirect added in v0.2.27

func (o *GetComplianceV1TooManyRequests) IsRedirect() bool

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

func (*GetComplianceV1TooManyRequests) IsServerError added in v0.2.27

func (o *GetComplianceV1TooManyRequests) IsServerError() bool

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

func (*GetComplianceV1TooManyRequests) IsSuccess added in v0.2.27

func (o *GetComplianceV1TooManyRequests) IsSuccess() bool

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

func (*GetComplianceV1TooManyRequests) String added in v0.2.27

Jump to

Keyboard shortcuts

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