zero_trust_assessment

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Sep 27, 2024 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

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

Client for 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) GetAssessmentsByScoreV1

func (a *Client) GetAssessmentsByScoreV1(params *GetAssessmentsByScoreV1Params, opts ...ClientOption) (*GetAssessmentsByScoreV1OK, error)

GetAssessmentsByScoreV1 gets zero trust assessment data for one or more hosts by providing a customer ID c ID and a range of scores

func (*Client) GetAuditV1

func (a *Client) GetAuditV1(params *GetAuditV1Params, opts ...ClientOption) (*GetAuditV1OK, error)

GetAuditV1 gets the zero trust assessment audit 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)

	GetAssessmentsByScoreV1(params *GetAssessmentsByScoreV1Params, opts ...ClientOption) (*GetAssessmentsByScoreV1OK, error)

	GetAuditV1(params *GetAuditV1Params, opts ...ClientOption) (*GetAuditV1OK, 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) Code

func (o *GetAssessmentV1BadRequest) Code() int

Code gets the status code for the get assessment v1 bad request response

func (*GetAssessmentV1BadRequest) Error

func (o *GetAssessmentV1BadRequest) Error() string

func (*GetAssessmentV1BadRequest) GetPayload

func (*GetAssessmentV1BadRequest) IsClientError

func (o *GetAssessmentV1BadRequest) IsClientError() bool

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

func (*GetAssessmentV1BadRequest) IsCode

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

func (o *GetAssessmentV1BadRequest) IsRedirect() bool

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

func (*GetAssessmentV1BadRequest) IsServerError

func (o *GetAssessmentV1BadRequest) IsServerError() bool

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

func (*GetAssessmentV1BadRequest) IsSuccess

func (o *GetAssessmentV1BadRequest) IsSuccess() bool

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

func (*GetAssessmentV1BadRequest) String

func (o *GetAssessmentV1BadRequest) 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) Code

func (o *GetAssessmentV1Forbidden) Code() int

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

func (*GetAssessmentV1Forbidden) Error

func (o *GetAssessmentV1Forbidden) Error() string

func (*GetAssessmentV1Forbidden) GetPayload

func (*GetAssessmentV1Forbidden) IsClientError

func (o *GetAssessmentV1Forbidden) IsClientError() bool

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

func (*GetAssessmentV1Forbidden) IsCode

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

func (o *GetAssessmentV1Forbidden) IsRedirect() bool

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

func (*GetAssessmentV1Forbidden) IsServerError

func (o *GetAssessmentV1Forbidden) IsServerError() bool

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

func (*GetAssessmentV1Forbidden) IsSuccess

func (o *GetAssessmentV1Forbidden) IsSuccess() bool

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

func (*GetAssessmentV1Forbidden) String

func (o *GetAssessmentV1Forbidden) 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) Code

func (o *GetAssessmentV1OK) Code() int

Code gets the status code for the get assessment v1 o k response

func (*GetAssessmentV1OK) Error

func (o *GetAssessmentV1OK) Error() string

func (*GetAssessmentV1OK) GetPayload

func (*GetAssessmentV1OK) IsClientError

func (o *GetAssessmentV1OK) IsClientError() bool

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

func (*GetAssessmentV1OK) IsCode

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

func (o *GetAssessmentV1OK) IsRedirect() bool

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

func (*GetAssessmentV1OK) IsServerError

func (o *GetAssessmentV1OK) IsServerError() bool

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

func (*GetAssessmentV1OK) IsSuccess

func (o *GetAssessmentV1OK) IsSuccess() bool

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

func (*GetAssessmentV1OK) String

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) Code

Code gets the status code for the get assessment v1 too many requests response

func (*GetAssessmentV1TooManyRequests) Error

func (*GetAssessmentV1TooManyRequests) GetPayload

func (*GetAssessmentV1TooManyRequests) IsClientError

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

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

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

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

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

type GetAssessmentsByScoreV1BadRequest

type GetAssessmentsByScoreV1BadRequest 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.DomainAssessmentsByScoreResponse
}

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

Number of agent IDs exceeds the limit of 1000.

func NewGetAssessmentsByScoreV1BadRequest

func NewGetAssessmentsByScoreV1BadRequest() *GetAssessmentsByScoreV1BadRequest

NewGetAssessmentsByScoreV1BadRequest creates a GetAssessmentsByScoreV1BadRequest with default headers values

func (*GetAssessmentsByScoreV1BadRequest) Code

Code gets the status code for the get assessments by score v1 bad request response

func (*GetAssessmentsByScoreV1BadRequest) Error

func (*GetAssessmentsByScoreV1BadRequest) GetPayload

func (*GetAssessmentsByScoreV1BadRequest) IsClientError

func (o *GetAssessmentsByScoreV1BadRequest) IsClientError() bool

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

func (*GetAssessmentsByScoreV1BadRequest) IsCode

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

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

func (*GetAssessmentsByScoreV1BadRequest) IsRedirect

func (o *GetAssessmentsByScoreV1BadRequest) IsRedirect() bool

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

func (*GetAssessmentsByScoreV1BadRequest) IsServerError

func (o *GetAssessmentsByScoreV1BadRequest) IsServerError() bool

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

func (*GetAssessmentsByScoreV1BadRequest) IsSuccess

func (o *GetAssessmentsByScoreV1BadRequest) IsSuccess() bool

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

func (*GetAssessmentsByScoreV1BadRequest) String

type GetAssessmentsByScoreV1Forbidden

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

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

Forbidden

func NewGetAssessmentsByScoreV1Forbidden

func NewGetAssessmentsByScoreV1Forbidden() *GetAssessmentsByScoreV1Forbidden

NewGetAssessmentsByScoreV1Forbidden creates a GetAssessmentsByScoreV1Forbidden with default headers values

func (*GetAssessmentsByScoreV1Forbidden) Code

Code gets the status code for the get assessments by score v1 forbidden response

func (*GetAssessmentsByScoreV1Forbidden) Error

func (*GetAssessmentsByScoreV1Forbidden) GetPayload

func (*GetAssessmentsByScoreV1Forbidden) IsClientError

func (o *GetAssessmentsByScoreV1Forbidden) IsClientError() bool

IsClientError returns true when this get assessments by score v1 forbidden response has a 4xx status code

func (*GetAssessmentsByScoreV1Forbidden) IsCode

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

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

func (*GetAssessmentsByScoreV1Forbidden) IsRedirect

func (o *GetAssessmentsByScoreV1Forbidden) IsRedirect() bool

IsRedirect returns true when this get assessments by score v1 forbidden response has a 3xx status code

func (*GetAssessmentsByScoreV1Forbidden) IsServerError

func (o *GetAssessmentsByScoreV1Forbidden) IsServerError() bool

IsServerError returns true when this get assessments by score v1 forbidden response has a 5xx status code

func (*GetAssessmentsByScoreV1Forbidden) IsSuccess

func (o *GetAssessmentsByScoreV1Forbidden) IsSuccess() bool

IsSuccess returns true when this get assessments by score v1 forbidden response has a 2xx status code

func (*GetAssessmentsByScoreV1Forbidden) String

type GetAssessmentsByScoreV1NotFound

type GetAssessmentsByScoreV1NotFound 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.DomainAssessmentsByScoreResponse
}

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

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

func NewGetAssessmentsByScoreV1NotFound

func NewGetAssessmentsByScoreV1NotFound() *GetAssessmentsByScoreV1NotFound

NewGetAssessmentsByScoreV1NotFound creates a GetAssessmentsByScoreV1NotFound with default headers values

func (*GetAssessmentsByScoreV1NotFound) Code

Code gets the status code for the get assessments by score v1 not found response

func (*GetAssessmentsByScoreV1NotFound) Error

func (*GetAssessmentsByScoreV1NotFound) GetPayload

func (*GetAssessmentsByScoreV1NotFound) IsClientError

func (o *GetAssessmentsByScoreV1NotFound) IsClientError() bool

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

func (*GetAssessmentsByScoreV1NotFound) IsCode

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

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

func (*GetAssessmentsByScoreV1NotFound) IsRedirect

func (o *GetAssessmentsByScoreV1NotFound) IsRedirect() bool

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

func (*GetAssessmentsByScoreV1NotFound) IsServerError

func (o *GetAssessmentsByScoreV1NotFound) IsServerError() bool

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

func (*GetAssessmentsByScoreV1NotFound) IsSuccess

func (o *GetAssessmentsByScoreV1NotFound) IsSuccess() bool

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

func (*GetAssessmentsByScoreV1NotFound) String

type GetAssessmentsByScoreV1OK

type GetAssessmentsByScoreV1OK 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.DomainAssessmentsByScoreResponse
}

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

OK

func NewGetAssessmentsByScoreV1OK

func NewGetAssessmentsByScoreV1OK() *GetAssessmentsByScoreV1OK

NewGetAssessmentsByScoreV1OK creates a GetAssessmentsByScoreV1OK with default headers values

func (*GetAssessmentsByScoreV1OK) Code

func (o *GetAssessmentsByScoreV1OK) Code() int

Code gets the status code for the get assessments by score v1 o k response

func (*GetAssessmentsByScoreV1OK) Error

func (o *GetAssessmentsByScoreV1OK) Error() string

func (*GetAssessmentsByScoreV1OK) GetPayload

func (*GetAssessmentsByScoreV1OK) IsClientError

func (o *GetAssessmentsByScoreV1OK) IsClientError() bool

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

func (*GetAssessmentsByScoreV1OK) IsCode

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

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

func (*GetAssessmentsByScoreV1OK) IsRedirect

func (o *GetAssessmentsByScoreV1OK) IsRedirect() bool

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

func (*GetAssessmentsByScoreV1OK) IsServerError

func (o *GetAssessmentsByScoreV1OK) IsServerError() bool

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

func (*GetAssessmentsByScoreV1OK) IsSuccess

func (o *GetAssessmentsByScoreV1OK) IsSuccess() bool

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

func (*GetAssessmentsByScoreV1OK) String

func (o *GetAssessmentsByScoreV1OK) String() string

type GetAssessmentsByScoreV1Params

type GetAssessmentsByScoreV1Params 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 score.
	*/
	Filter string

	/* Limit.

	   The number of scores to return in this response (min: 1, max: 1000, default: 100). Use with the `after` parameter to manage pagination of results.
	*/
	Limit *int64

	/* Sort.

	     Sort accounts by their properties. A single sort field is allowed. Defaults to ascending. Supported sort option include:

	<ul><li>score|desc</li><li>score|asc</li></ul>

	     Default: "score"
	*/
	Sort *string

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

GetAssessmentsByScoreV1Params contains all the parameters to send to the API endpoint

for the get assessments by score v1 operation.

Typically these are written to a http.Request.

func NewGetAssessmentsByScoreV1Params

func NewGetAssessmentsByScoreV1Params() *GetAssessmentsByScoreV1Params

NewGetAssessmentsByScoreV1Params creates a new GetAssessmentsByScoreV1Params 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 NewGetAssessmentsByScoreV1ParamsWithContext

func NewGetAssessmentsByScoreV1ParamsWithContext(ctx context.Context) *GetAssessmentsByScoreV1Params

NewGetAssessmentsByScoreV1ParamsWithContext creates a new GetAssessmentsByScoreV1Params object with the ability to set a context for a request.

func NewGetAssessmentsByScoreV1ParamsWithHTTPClient

func NewGetAssessmentsByScoreV1ParamsWithHTTPClient(client *http.Client) *GetAssessmentsByScoreV1Params

NewGetAssessmentsByScoreV1ParamsWithHTTPClient creates a new GetAssessmentsByScoreV1Params object with the ability to set a custom HTTPClient for a request.

func NewGetAssessmentsByScoreV1ParamsWithTimeout

func NewGetAssessmentsByScoreV1ParamsWithTimeout(timeout time.Duration) *GetAssessmentsByScoreV1Params

NewGetAssessmentsByScoreV1ParamsWithTimeout creates a new GetAssessmentsByScoreV1Params object with the ability to set a timeout on a request.

func (*GetAssessmentsByScoreV1Params) SetAfter

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

SetAfter adds the after to the get assessments by score v1 params

func (*GetAssessmentsByScoreV1Params) SetContext

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

SetContext adds the context to the get assessments by score v1 params

func (*GetAssessmentsByScoreV1Params) SetDefaults

func (o *GetAssessmentsByScoreV1Params) SetDefaults()

SetDefaults hydrates default values in the get assessments by score v1 params (not the query body).

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

func (*GetAssessmentsByScoreV1Params) SetFilter

func (o *GetAssessmentsByScoreV1Params) SetFilter(filter string)

SetFilter adds the filter to the get assessments by score v1 params

func (*GetAssessmentsByScoreV1Params) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get assessments by score v1 params

func (*GetAssessmentsByScoreV1Params) SetLimit

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

SetLimit adds the limit to the get assessments by score v1 params

func (*GetAssessmentsByScoreV1Params) SetSort

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

SetSort adds the sort to the get assessments by score v1 params

func (*GetAssessmentsByScoreV1Params) SetTimeout

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

SetTimeout adds the timeout to the get assessments by score v1 params

func (*GetAssessmentsByScoreV1Params) WithAfter

WithAfter adds the after to the get assessments by score v1 params

func (*GetAssessmentsByScoreV1Params) WithContext

WithContext adds the context to the get assessments by score v1 params

func (*GetAssessmentsByScoreV1Params) WithDefaults

WithDefaults hydrates default values in the get assessments by score v1 params (not the query body).

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

func (*GetAssessmentsByScoreV1Params) WithFilter

WithFilter adds the filter to the get assessments by score v1 params

func (*GetAssessmentsByScoreV1Params) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get assessments by score v1 params

func (*GetAssessmentsByScoreV1Params) WithLimit

WithLimit adds the limit to the get assessments by score v1 params

func (*GetAssessmentsByScoreV1Params) WithSort

WithSort adds the sort to the get assessments by score v1 params

func (*GetAssessmentsByScoreV1Params) WithTimeout

WithTimeout adds the timeout to the get assessments by score v1 params

func (*GetAssessmentsByScoreV1Params) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetAssessmentsByScoreV1Reader

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

GetAssessmentsByScoreV1Reader is a Reader for the GetAssessmentsByScoreV1 structure.

func (*GetAssessmentsByScoreV1Reader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetAssessmentsByScoreV1TooManyRequests

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

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

Too Many Requests

func NewGetAssessmentsByScoreV1TooManyRequests

func NewGetAssessmentsByScoreV1TooManyRequests() *GetAssessmentsByScoreV1TooManyRequests

NewGetAssessmentsByScoreV1TooManyRequests creates a GetAssessmentsByScoreV1TooManyRequests with default headers values

func (*GetAssessmentsByScoreV1TooManyRequests) Code

Code gets the status code for the get assessments by score v1 too many requests response

func (*GetAssessmentsByScoreV1TooManyRequests) Error

func (*GetAssessmentsByScoreV1TooManyRequests) GetPayload

func (*GetAssessmentsByScoreV1TooManyRequests) IsClientError

func (o *GetAssessmentsByScoreV1TooManyRequests) IsClientError() bool

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

func (*GetAssessmentsByScoreV1TooManyRequests) IsCode

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

func (*GetAssessmentsByScoreV1TooManyRequests) IsRedirect

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

func (*GetAssessmentsByScoreV1TooManyRequests) IsServerError

func (o *GetAssessmentsByScoreV1TooManyRequests) IsServerError() bool

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

func (*GetAssessmentsByScoreV1TooManyRequests) IsSuccess

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

func (*GetAssessmentsByScoreV1TooManyRequests) String

type GetAuditV1Forbidden

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

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

Forbidden

func NewGetAuditV1Forbidden

func NewGetAuditV1Forbidden() *GetAuditV1Forbidden

NewGetAuditV1Forbidden creates a GetAuditV1Forbidden with default headers values

func (*GetAuditV1Forbidden) Code

func (o *GetAuditV1Forbidden) Code() int

Code gets the status code for the get audit v1 forbidden response

func (*GetAuditV1Forbidden) Error

func (o *GetAuditV1Forbidden) Error() string

func (*GetAuditV1Forbidden) GetPayload

func (o *GetAuditV1Forbidden) GetPayload() *models.MsaReplyMetaOnly

func (*GetAuditV1Forbidden) IsClientError

func (o *GetAuditV1Forbidden) IsClientError() bool

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

func (*GetAuditV1Forbidden) IsCode

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

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

func (*GetAuditV1Forbidden) IsRedirect

func (o *GetAuditV1Forbidden) IsRedirect() bool

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

func (*GetAuditV1Forbidden) IsServerError

func (o *GetAuditV1Forbidden) IsServerError() bool

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

func (*GetAuditV1Forbidden) IsSuccess

func (o *GetAuditV1Forbidden) IsSuccess() bool

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

func (*GetAuditV1Forbidden) String

func (o *GetAuditV1Forbidden) String() string

type GetAuditV1NotFound

type GetAuditV1NotFound 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.DomainAuditResponse
}

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

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

func NewGetAuditV1NotFound

func NewGetAuditV1NotFound() *GetAuditV1NotFound

NewGetAuditV1NotFound creates a GetAuditV1NotFound with default headers values

func (*GetAuditV1NotFound) Code

func (o *GetAuditV1NotFound) Code() int

Code gets the status code for the get audit v1 not found response

func (*GetAuditV1NotFound) Error

func (o *GetAuditV1NotFound) Error() string

func (*GetAuditV1NotFound) GetPayload

func (*GetAuditV1NotFound) IsClientError

func (o *GetAuditV1NotFound) IsClientError() bool

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

func (*GetAuditV1NotFound) IsCode

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

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

func (*GetAuditV1NotFound) IsRedirect

func (o *GetAuditV1NotFound) IsRedirect() bool

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

func (*GetAuditV1NotFound) IsServerError

func (o *GetAuditV1NotFound) IsServerError() bool

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

func (*GetAuditV1NotFound) IsSuccess

func (o *GetAuditV1NotFound) IsSuccess() bool

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

func (*GetAuditV1NotFound) String

func (o *GetAuditV1NotFound) String() string

type GetAuditV1OK

type GetAuditV1OK 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.DomainAuditResponse
}

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

OK

func NewGetAuditV1OK

func NewGetAuditV1OK() *GetAuditV1OK

NewGetAuditV1OK creates a GetAuditV1OK with default headers values

func (*GetAuditV1OK) Code

func (o *GetAuditV1OK) Code() int

Code gets the status code for the get audit v1 o k response

func (*GetAuditV1OK) Error

func (o *GetAuditV1OK) Error() string

func (*GetAuditV1OK) GetPayload

func (o *GetAuditV1OK) GetPayload() *models.DomainAuditResponse

func (*GetAuditV1OK) IsClientError

func (o *GetAuditV1OK) IsClientError() bool

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

func (*GetAuditV1OK) IsCode

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

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

func (*GetAuditV1OK) IsRedirect

func (o *GetAuditV1OK) IsRedirect() bool

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

func (*GetAuditV1OK) IsServerError

func (o *GetAuditV1OK) IsServerError() bool

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

func (*GetAuditV1OK) IsSuccess

func (o *GetAuditV1OK) IsSuccess() bool

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

func (*GetAuditV1OK) String

func (o *GetAuditV1OK) String() string

type GetAuditV1Params

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

GetAuditV1Params contains all the parameters to send to the API endpoint

for the get audit v1 operation.

Typically these are written to a http.Request.

func NewGetAuditV1Params

func NewGetAuditV1Params() *GetAuditV1Params

NewGetAuditV1Params creates a new GetAuditV1Params 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 NewGetAuditV1ParamsWithContext

func NewGetAuditV1ParamsWithContext(ctx context.Context) *GetAuditV1Params

NewGetAuditV1ParamsWithContext creates a new GetAuditV1Params object with the ability to set a context for a request.

func NewGetAuditV1ParamsWithHTTPClient

func NewGetAuditV1ParamsWithHTTPClient(client *http.Client) *GetAuditV1Params

NewGetAuditV1ParamsWithHTTPClient creates a new GetAuditV1Params object with the ability to set a custom HTTPClient for a request.

func NewGetAuditV1ParamsWithTimeout

func NewGetAuditV1ParamsWithTimeout(timeout time.Duration) *GetAuditV1Params

NewGetAuditV1ParamsWithTimeout creates a new GetAuditV1Params object with the ability to set a timeout on a request.

func (*GetAuditV1Params) SetContext

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

SetContext adds the context to the get audit v1 params

func (*GetAuditV1Params) SetDefaults

func (o *GetAuditV1Params) SetDefaults()

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

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

func (*GetAuditV1Params) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get audit v1 params

func (*GetAuditV1Params) SetTimeout

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

SetTimeout adds the timeout to the get audit v1 params

func (*GetAuditV1Params) WithContext

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

WithContext adds the context to the get audit v1 params

func (*GetAuditV1Params) WithDefaults

func (o *GetAuditV1Params) WithDefaults() *GetAuditV1Params

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

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

func (*GetAuditV1Params) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get audit v1 params

func (*GetAuditV1Params) WithTimeout

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

WithTimeout adds the timeout to the get audit v1 params

func (*GetAuditV1Params) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type GetAuditV1Reader

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

GetAuditV1Reader is a Reader for the GetAuditV1 structure.

func (*GetAuditV1Reader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetAuditV1TooManyRequests

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

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

Too Many Requests

func NewGetAuditV1TooManyRequests

func NewGetAuditV1TooManyRequests() *GetAuditV1TooManyRequests

NewGetAuditV1TooManyRequests creates a GetAuditV1TooManyRequests with default headers values

func (*GetAuditV1TooManyRequests) Code

func (o *GetAuditV1TooManyRequests) Code() int

Code gets the status code for the get audit v1 too many requests response

func (*GetAuditV1TooManyRequests) Error

func (o *GetAuditV1TooManyRequests) Error() string

func (*GetAuditV1TooManyRequests) GetPayload

func (*GetAuditV1TooManyRequests) IsClientError

func (o *GetAuditV1TooManyRequests) IsClientError() bool

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

func (*GetAuditV1TooManyRequests) IsCode

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

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

func (*GetAuditV1TooManyRequests) IsRedirect

func (o *GetAuditV1TooManyRequests) IsRedirect() bool

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

func (*GetAuditV1TooManyRequests) IsServerError

func (o *GetAuditV1TooManyRequests) IsServerError() bool

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

func (*GetAuditV1TooManyRequests) IsSuccess

func (o *GetAuditV1TooManyRequests) IsSuccess() bool

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

func (*GetAuditV1TooManyRequests) String

func (o *GetAuditV1TooManyRequests) String() string

Jump to

Keyboard shortcuts

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