Documentation ¶
Index ¶
- type Client
- func (a *Client) GetAssessmentV1(params *GetAssessmentV1Params, opts ...ClientOption) (*GetAssessmentV1OK, error)
- func (a *Client) GetAssessmentsByScoreV1(params *GetAssessmentsByScoreV1Params, opts ...ClientOption) (*GetAssessmentsByScoreV1OK, error)
- func (a *Client) GetAuditV1(params *GetAuditV1Params, opts ...ClientOption) (*GetAuditV1OK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientOption
- type ClientService
- type GetAssessmentV1BadRequest
- func (o *GetAssessmentV1BadRequest) Code() int
- func (o *GetAssessmentV1BadRequest) Error() string
- func (o *GetAssessmentV1BadRequest) GetPayload() *models.DomainAssessmentsResponse
- func (o *GetAssessmentV1BadRequest) IsClientError() bool
- func (o *GetAssessmentV1BadRequest) IsCode(code int) bool
- func (o *GetAssessmentV1BadRequest) IsRedirect() bool
- func (o *GetAssessmentV1BadRequest) IsServerError() bool
- func (o *GetAssessmentV1BadRequest) IsSuccess() bool
- func (o *GetAssessmentV1BadRequest) String() string
- type GetAssessmentV1Forbidden
- func (o *GetAssessmentV1Forbidden) Code() int
- func (o *GetAssessmentV1Forbidden) Error() string
- func (o *GetAssessmentV1Forbidden) GetPayload() *models.MsaReplyMetaOnly
- func (o *GetAssessmentV1Forbidden) IsClientError() bool
- func (o *GetAssessmentV1Forbidden) IsCode(code int) bool
- func (o *GetAssessmentV1Forbidden) IsRedirect() bool
- func (o *GetAssessmentV1Forbidden) IsServerError() bool
- func (o *GetAssessmentV1Forbidden) IsSuccess() bool
- func (o *GetAssessmentV1Forbidden) String() string
- type GetAssessmentV1NotFound
- func (o *GetAssessmentV1NotFound) Code() int
- func (o *GetAssessmentV1NotFound) Error() string
- func (o *GetAssessmentV1NotFound) GetPayload() *models.DomainAssessmentsResponse
- func (o *GetAssessmentV1NotFound) IsClientError() bool
- func (o *GetAssessmentV1NotFound) IsCode(code int) bool
- func (o *GetAssessmentV1NotFound) IsRedirect() bool
- func (o *GetAssessmentV1NotFound) IsServerError() bool
- func (o *GetAssessmentV1NotFound) IsSuccess() bool
- func (o *GetAssessmentV1NotFound) String() string
- type GetAssessmentV1OK
- func (o *GetAssessmentV1OK) Code() int
- func (o *GetAssessmentV1OK) Error() string
- func (o *GetAssessmentV1OK) GetPayload() *models.DomainAssessmentsResponse
- func (o *GetAssessmentV1OK) IsClientError() bool
- func (o *GetAssessmentV1OK) IsCode(code int) bool
- func (o *GetAssessmentV1OK) IsRedirect() bool
- func (o *GetAssessmentV1OK) IsServerError() bool
- func (o *GetAssessmentV1OK) IsSuccess() bool
- func (o *GetAssessmentV1OK) String() string
- type GetAssessmentV1Params
- func NewGetAssessmentV1Params() *GetAssessmentV1Params
- func NewGetAssessmentV1ParamsWithContext(ctx context.Context) *GetAssessmentV1Params
- func NewGetAssessmentV1ParamsWithHTTPClient(client *http.Client) *GetAssessmentV1Params
- func NewGetAssessmentV1ParamsWithTimeout(timeout time.Duration) *GetAssessmentV1Params
- func (o *GetAssessmentV1Params) SetContext(ctx context.Context)
- func (o *GetAssessmentV1Params) SetDefaults()
- func (o *GetAssessmentV1Params) SetHTTPClient(client *http.Client)
- func (o *GetAssessmentV1Params) SetIds(ids []string)
- func (o *GetAssessmentV1Params) SetTimeout(timeout time.Duration)
- func (o *GetAssessmentV1Params) WithContext(ctx context.Context) *GetAssessmentV1Params
- func (o *GetAssessmentV1Params) WithDefaults() *GetAssessmentV1Params
- func (o *GetAssessmentV1Params) WithHTTPClient(client *http.Client) *GetAssessmentV1Params
- func (o *GetAssessmentV1Params) WithIds(ids []string) *GetAssessmentV1Params
- func (o *GetAssessmentV1Params) WithTimeout(timeout time.Duration) *GetAssessmentV1Params
- func (o *GetAssessmentV1Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetAssessmentV1Reader
- type GetAssessmentV1TooManyRequests
- func (o *GetAssessmentV1TooManyRequests) Code() int
- func (o *GetAssessmentV1TooManyRequests) Error() string
- func (o *GetAssessmentV1TooManyRequests) GetPayload() *models.MsaReplyMetaOnly
- func (o *GetAssessmentV1TooManyRequests) IsClientError() bool
- func (o *GetAssessmentV1TooManyRequests) IsCode(code int) bool
- func (o *GetAssessmentV1TooManyRequests) IsRedirect() bool
- func (o *GetAssessmentV1TooManyRequests) IsServerError() bool
- func (o *GetAssessmentV1TooManyRequests) IsSuccess() bool
- func (o *GetAssessmentV1TooManyRequests) String() string
- type GetAssessmentsByScoreV1BadRequest
- func (o *GetAssessmentsByScoreV1BadRequest) Code() int
- func (o *GetAssessmentsByScoreV1BadRequest) Error() string
- func (o *GetAssessmentsByScoreV1BadRequest) GetPayload() *models.DomainAssessmentsByScoreResponse
- func (o *GetAssessmentsByScoreV1BadRequest) IsClientError() bool
- func (o *GetAssessmentsByScoreV1BadRequest) IsCode(code int) bool
- func (o *GetAssessmentsByScoreV1BadRequest) IsRedirect() bool
- func (o *GetAssessmentsByScoreV1BadRequest) IsServerError() bool
- func (o *GetAssessmentsByScoreV1BadRequest) IsSuccess() bool
- func (o *GetAssessmentsByScoreV1BadRequest) String() string
- type GetAssessmentsByScoreV1Forbidden
- func (o *GetAssessmentsByScoreV1Forbidden) Code() int
- func (o *GetAssessmentsByScoreV1Forbidden) Error() string
- func (o *GetAssessmentsByScoreV1Forbidden) GetPayload() *models.MsaReplyMetaOnly
- func (o *GetAssessmentsByScoreV1Forbidden) IsClientError() bool
- func (o *GetAssessmentsByScoreV1Forbidden) IsCode(code int) bool
- func (o *GetAssessmentsByScoreV1Forbidden) IsRedirect() bool
- func (o *GetAssessmentsByScoreV1Forbidden) IsServerError() bool
- func (o *GetAssessmentsByScoreV1Forbidden) IsSuccess() bool
- func (o *GetAssessmentsByScoreV1Forbidden) String() string
- type GetAssessmentsByScoreV1NotFound
- func (o *GetAssessmentsByScoreV1NotFound) Code() int
- func (o *GetAssessmentsByScoreV1NotFound) Error() string
- func (o *GetAssessmentsByScoreV1NotFound) GetPayload() *models.DomainAssessmentsByScoreResponse
- func (o *GetAssessmentsByScoreV1NotFound) IsClientError() bool
- func (o *GetAssessmentsByScoreV1NotFound) IsCode(code int) bool
- func (o *GetAssessmentsByScoreV1NotFound) IsRedirect() bool
- func (o *GetAssessmentsByScoreV1NotFound) IsServerError() bool
- func (o *GetAssessmentsByScoreV1NotFound) IsSuccess() bool
- func (o *GetAssessmentsByScoreV1NotFound) String() string
- type GetAssessmentsByScoreV1OK
- func (o *GetAssessmentsByScoreV1OK) Code() int
- func (o *GetAssessmentsByScoreV1OK) Error() string
- func (o *GetAssessmentsByScoreV1OK) GetPayload() *models.DomainAssessmentsByScoreResponse
- func (o *GetAssessmentsByScoreV1OK) IsClientError() bool
- func (o *GetAssessmentsByScoreV1OK) IsCode(code int) bool
- func (o *GetAssessmentsByScoreV1OK) IsRedirect() bool
- func (o *GetAssessmentsByScoreV1OK) IsServerError() bool
- func (o *GetAssessmentsByScoreV1OK) IsSuccess() bool
- func (o *GetAssessmentsByScoreV1OK) String() string
- type GetAssessmentsByScoreV1Params
- func NewGetAssessmentsByScoreV1Params() *GetAssessmentsByScoreV1Params
- func NewGetAssessmentsByScoreV1ParamsWithContext(ctx context.Context) *GetAssessmentsByScoreV1Params
- func NewGetAssessmentsByScoreV1ParamsWithHTTPClient(client *http.Client) *GetAssessmentsByScoreV1Params
- func NewGetAssessmentsByScoreV1ParamsWithTimeout(timeout time.Duration) *GetAssessmentsByScoreV1Params
- func (o *GetAssessmentsByScoreV1Params) SetAfter(after *string)
- func (o *GetAssessmentsByScoreV1Params) SetContext(ctx context.Context)
- func (o *GetAssessmentsByScoreV1Params) SetDefaults()
- func (o *GetAssessmentsByScoreV1Params) SetFilter(filter string)
- func (o *GetAssessmentsByScoreV1Params) SetHTTPClient(client *http.Client)
- func (o *GetAssessmentsByScoreV1Params) SetLimit(limit *int64)
- func (o *GetAssessmentsByScoreV1Params) SetSort(sort *string)
- func (o *GetAssessmentsByScoreV1Params) SetTimeout(timeout time.Duration)
- func (o *GetAssessmentsByScoreV1Params) WithAfter(after *string) *GetAssessmentsByScoreV1Params
- func (o *GetAssessmentsByScoreV1Params) WithContext(ctx context.Context) *GetAssessmentsByScoreV1Params
- func (o *GetAssessmentsByScoreV1Params) WithDefaults() *GetAssessmentsByScoreV1Params
- func (o *GetAssessmentsByScoreV1Params) WithFilter(filter string) *GetAssessmentsByScoreV1Params
- func (o *GetAssessmentsByScoreV1Params) WithHTTPClient(client *http.Client) *GetAssessmentsByScoreV1Params
- func (o *GetAssessmentsByScoreV1Params) WithLimit(limit *int64) *GetAssessmentsByScoreV1Params
- func (o *GetAssessmentsByScoreV1Params) WithSort(sort *string) *GetAssessmentsByScoreV1Params
- func (o *GetAssessmentsByScoreV1Params) WithTimeout(timeout time.Duration) *GetAssessmentsByScoreV1Params
- func (o *GetAssessmentsByScoreV1Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetAssessmentsByScoreV1Reader
- type GetAssessmentsByScoreV1TooManyRequests
- func (o *GetAssessmentsByScoreV1TooManyRequests) Code() int
- func (o *GetAssessmentsByScoreV1TooManyRequests) Error() string
- func (o *GetAssessmentsByScoreV1TooManyRequests) GetPayload() *models.MsaReplyMetaOnly
- func (o *GetAssessmentsByScoreV1TooManyRequests) IsClientError() bool
- func (o *GetAssessmentsByScoreV1TooManyRequests) IsCode(code int) bool
- func (o *GetAssessmentsByScoreV1TooManyRequests) IsRedirect() bool
- func (o *GetAssessmentsByScoreV1TooManyRequests) IsServerError() bool
- func (o *GetAssessmentsByScoreV1TooManyRequests) IsSuccess() bool
- func (o *GetAssessmentsByScoreV1TooManyRequests) String() string
- type GetAuditV1Forbidden
- func (o *GetAuditV1Forbidden) Code() int
- func (o *GetAuditV1Forbidden) Error() string
- func (o *GetAuditV1Forbidden) GetPayload() *models.MsaReplyMetaOnly
- func (o *GetAuditV1Forbidden) IsClientError() bool
- func (o *GetAuditV1Forbidden) IsCode(code int) bool
- func (o *GetAuditV1Forbidden) IsRedirect() bool
- func (o *GetAuditV1Forbidden) IsServerError() bool
- func (o *GetAuditV1Forbidden) IsSuccess() bool
- func (o *GetAuditV1Forbidden) String() string
- type GetAuditV1NotFound
- func (o *GetAuditV1NotFound) Code() int
- func (o *GetAuditV1NotFound) Error() string
- func (o *GetAuditV1NotFound) GetPayload() *models.DomainAuditResponse
- func (o *GetAuditV1NotFound) IsClientError() bool
- func (o *GetAuditV1NotFound) IsCode(code int) bool
- func (o *GetAuditV1NotFound) IsRedirect() bool
- func (o *GetAuditV1NotFound) IsServerError() bool
- func (o *GetAuditV1NotFound) IsSuccess() bool
- func (o *GetAuditV1NotFound) String() string
- type GetAuditV1OK
- func (o *GetAuditV1OK) Code() int
- func (o *GetAuditV1OK) Error() string
- func (o *GetAuditV1OK) GetPayload() *models.DomainAuditResponse
- func (o *GetAuditV1OK) IsClientError() bool
- func (o *GetAuditV1OK) IsCode(code int) bool
- func (o *GetAuditV1OK) IsRedirect() bool
- func (o *GetAuditV1OK) IsServerError() bool
- func (o *GetAuditV1OK) IsSuccess() bool
- func (o *GetAuditV1OK) String() string
- type GetAuditV1Params
- func (o *GetAuditV1Params) SetContext(ctx context.Context)
- func (o *GetAuditV1Params) SetDefaults()
- func (o *GetAuditV1Params) SetHTTPClient(client *http.Client)
- func (o *GetAuditV1Params) SetTimeout(timeout time.Duration)
- func (o *GetAuditV1Params) WithContext(ctx context.Context) *GetAuditV1Params
- func (o *GetAuditV1Params) WithDefaults() *GetAuditV1Params
- func (o *GetAuditV1Params) WithHTTPClient(client *http.Client) *GetAuditV1Params
- func (o *GetAuditV1Params) WithTimeout(timeout time.Duration) *GetAuditV1Params
- func (o *GetAuditV1Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetAuditV1Reader
- type GetAuditV1TooManyRequests
- func (o *GetAuditV1TooManyRequests) Code() int
- func (o *GetAuditV1TooManyRequests) Error() string
- func (o *GetAuditV1TooManyRequests) GetPayload() *models.MsaReplyMetaOnly
- func (o *GetAuditV1TooManyRequests) IsClientError() bool
- func (o *GetAuditV1TooManyRequests) IsCode(code int) bool
- func (o *GetAuditV1TooManyRequests) IsRedirect() bool
- func (o *GetAuditV1TooManyRequests) IsServerError() bool
- func (o *GetAuditV1TooManyRequests) IsSuccess() bool
- func (o *GetAuditV1TooManyRequests) String() string
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 ¶ added in v0.4.0
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 ¶ added in v0.4.0
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 ¶ added in v0.2.33
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 (o *GetAssessmentV1BadRequest) GetPayload() *models.DomainAssessmentsResponse
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 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 ¶ added in v0.2.33
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 (o *GetAssessmentV1Forbidden) GetPayload() *models.MsaReplyMetaOnly
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) Code ¶ added in v0.2.33
func (o *GetAssessmentV1NotFound) Code() int
Code gets the status code for the get assessment v1 not found response
func (*GetAssessmentV1NotFound) Error ¶
func (o *GetAssessmentV1NotFound) Error() string
func (*GetAssessmentV1NotFound) GetPayload ¶
func (o *GetAssessmentV1NotFound) GetPayload() *models.DomainAssessmentsResponse
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) Code ¶ added in v0.2.33
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 (o *GetAssessmentV1OK) GetPayload() *models.DomainAssessmentsResponse
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 ¶
func (o *GetAssessmentV1Params) WithContext(ctx context.Context) *GetAssessmentV1Params
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 ¶
func (o *GetAssessmentV1Params) WithIds(ids []string) *GetAssessmentV1Params
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 ¶ added in v0.2.33
func (o *GetAssessmentV1TooManyRequests) Code() int
Code gets the status code for the get assessment v1 too many requests response
func (*GetAssessmentV1TooManyRequests) Error ¶
func (o *GetAssessmentV1TooManyRequests) Error() string
func (*GetAssessmentV1TooManyRequests) GetPayload ¶
func (o *GetAssessmentV1TooManyRequests) GetPayload() *models.MsaReplyMetaOnly
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
func (o *GetAssessmentV1TooManyRequests) String() string
type GetAssessmentsByScoreV1BadRequest ¶ added in v0.4.0
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 ¶ added in v0.4.0
func NewGetAssessmentsByScoreV1BadRequest() *GetAssessmentsByScoreV1BadRequest
NewGetAssessmentsByScoreV1BadRequest creates a GetAssessmentsByScoreV1BadRequest with default headers values
func (*GetAssessmentsByScoreV1BadRequest) Code ¶ added in v0.4.0
func (o *GetAssessmentsByScoreV1BadRequest) Code() int
Code gets the status code for the get assessments by score v1 bad request response
func (*GetAssessmentsByScoreV1BadRequest) Error ¶ added in v0.4.0
func (o *GetAssessmentsByScoreV1BadRequest) Error() string
func (*GetAssessmentsByScoreV1BadRequest) GetPayload ¶ added in v0.4.0
func (o *GetAssessmentsByScoreV1BadRequest) GetPayload() *models.DomainAssessmentsByScoreResponse
func (*GetAssessmentsByScoreV1BadRequest) IsClientError ¶ added in v0.4.0
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 ¶ added in v0.4.0
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 ¶ added in v0.4.0
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 ¶ added in v0.4.0
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 ¶ added in v0.4.0
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 ¶ added in v0.4.0
func (o *GetAssessmentsByScoreV1BadRequest) String() string
type GetAssessmentsByScoreV1Forbidden ¶ added in v0.4.0
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 ¶ added in v0.4.0
func NewGetAssessmentsByScoreV1Forbidden() *GetAssessmentsByScoreV1Forbidden
NewGetAssessmentsByScoreV1Forbidden creates a GetAssessmentsByScoreV1Forbidden with default headers values
func (*GetAssessmentsByScoreV1Forbidden) Code ¶ added in v0.4.0
func (o *GetAssessmentsByScoreV1Forbidden) Code() int
Code gets the status code for the get assessments by score v1 forbidden response
func (*GetAssessmentsByScoreV1Forbidden) Error ¶ added in v0.4.0
func (o *GetAssessmentsByScoreV1Forbidden) Error() string
func (*GetAssessmentsByScoreV1Forbidden) GetPayload ¶ added in v0.4.0
func (o *GetAssessmentsByScoreV1Forbidden) GetPayload() *models.MsaReplyMetaOnly
func (*GetAssessmentsByScoreV1Forbidden) IsClientError ¶ added in v0.4.0
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 ¶ added in v0.4.0
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 ¶ added in v0.4.0
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 ¶ added in v0.4.0
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 ¶ added in v0.4.0
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 ¶ added in v0.4.0
func (o *GetAssessmentsByScoreV1Forbidden) String() string
type GetAssessmentsByScoreV1NotFound ¶ added in v0.4.0
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 ¶ added in v0.4.0
func NewGetAssessmentsByScoreV1NotFound() *GetAssessmentsByScoreV1NotFound
NewGetAssessmentsByScoreV1NotFound creates a GetAssessmentsByScoreV1NotFound with default headers values
func (*GetAssessmentsByScoreV1NotFound) Code ¶ added in v0.4.0
func (o *GetAssessmentsByScoreV1NotFound) Code() int
Code gets the status code for the get assessments by score v1 not found response
func (*GetAssessmentsByScoreV1NotFound) Error ¶ added in v0.4.0
func (o *GetAssessmentsByScoreV1NotFound) Error() string
func (*GetAssessmentsByScoreV1NotFound) GetPayload ¶ added in v0.4.0
func (o *GetAssessmentsByScoreV1NotFound) GetPayload() *models.DomainAssessmentsByScoreResponse
func (*GetAssessmentsByScoreV1NotFound) IsClientError ¶ added in v0.4.0
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 ¶ added in v0.4.0
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 ¶ added in v0.4.0
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 ¶ added in v0.4.0
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 ¶ added in v0.4.0
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 ¶ added in v0.4.0
func (o *GetAssessmentsByScoreV1NotFound) String() string
type GetAssessmentsByScoreV1OK ¶ added in v0.4.0
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 ¶ added in v0.4.0
func NewGetAssessmentsByScoreV1OK() *GetAssessmentsByScoreV1OK
NewGetAssessmentsByScoreV1OK creates a GetAssessmentsByScoreV1OK with default headers values
func (*GetAssessmentsByScoreV1OK) Code ¶ added in v0.4.0
func (o *GetAssessmentsByScoreV1OK) Code() int
Code gets the status code for the get assessments by score v1 o k response
func (*GetAssessmentsByScoreV1OK) Error ¶ added in v0.4.0
func (o *GetAssessmentsByScoreV1OK) Error() string
func (*GetAssessmentsByScoreV1OK) GetPayload ¶ added in v0.4.0
func (o *GetAssessmentsByScoreV1OK) GetPayload() *models.DomainAssessmentsByScoreResponse
func (*GetAssessmentsByScoreV1OK) IsClientError ¶ added in v0.4.0
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 ¶ added in v0.4.0
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 ¶ added in v0.4.0
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 ¶ added in v0.4.0
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 ¶ added in v0.4.0
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 ¶ added in v0.4.0
func (o *GetAssessmentsByScoreV1OK) String() string
type GetAssessmentsByScoreV1Params ¶ added in v0.4.0
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 ¶ added in v0.4.0
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 ¶ added in v0.4.0
func NewGetAssessmentsByScoreV1ParamsWithContext(ctx context.Context) *GetAssessmentsByScoreV1Params
NewGetAssessmentsByScoreV1ParamsWithContext creates a new GetAssessmentsByScoreV1Params object with the ability to set a context for a request.
func NewGetAssessmentsByScoreV1ParamsWithHTTPClient ¶ added in v0.4.0
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 ¶ added in v0.4.0
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 ¶ added in v0.4.0
func (o *GetAssessmentsByScoreV1Params) SetAfter(after *string)
SetAfter adds the after to the get assessments by score v1 params
func (*GetAssessmentsByScoreV1Params) SetContext ¶ added in v0.4.0
func (o *GetAssessmentsByScoreV1Params) SetContext(ctx context.Context)
SetContext adds the context to the get assessments by score v1 params
func (*GetAssessmentsByScoreV1Params) SetDefaults ¶ added in v0.4.0
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 ¶ added in v0.4.0
func (o *GetAssessmentsByScoreV1Params) SetFilter(filter string)
SetFilter adds the filter to the get assessments by score v1 params
func (*GetAssessmentsByScoreV1Params) SetHTTPClient ¶ added in v0.4.0
func (o *GetAssessmentsByScoreV1Params) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get assessments by score v1 params
func (*GetAssessmentsByScoreV1Params) SetLimit ¶ added in v0.4.0
func (o *GetAssessmentsByScoreV1Params) SetLimit(limit *int64)
SetLimit adds the limit to the get assessments by score v1 params
func (*GetAssessmentsByScoreV1Params) SetSort ¶ added in v0.4.0
func (o *GetAssessmentsByScoreV1Params) SetSort(sort *string)
SetSort adds the sort to the get assessments by score v1 params
func (*GetAssessmentsByScoreV1Params) SetTimeout ¶ added in v0.4.0
func (o *GetAssessmentsByScoreV1Params) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get assessments by score v1 params
func (*GetAssessmentsByScoreV1Params) WithAfter ¶ added in v0.4.0
func (o *GetAssessmentsByScoreV1Params) WithAfter(after *string) *GetAssessmentsByScoreV1Params
WithAfter adds the after to the get assessments by score v1 params
func (*GetAssessmentsByScoreV1Params) WithContext ¶ added in v0.4.0
func (o *GetAssessmentsByScoreV1Params) WithContext(ctx context.Context) *GetAssessmentsByScoreV1Params
WithContext adds the context to the get assessments by score v1 params
func (*GetAssessmentsByScoreV1Params) WithDefaults ¶ added in v0.4.0
func (o *GetAssessmentsByScoreV1Params) WithDefaults() *GetAssessmentsByScoreV1Params
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 ¶ added in v0.4.0
func (o *GetAssessmentsByScoreV1Params) WithFilter(filter string) *GetAssessmentsByScoreV1Params
WithFilter adds the filter to the get assessments by score v1 params
func (*GetAssessmentsByScoreV1Params) WithHTTPClient ¶ added in v0.4.0
func (o *GetAssessmentsByScoreV1Params) WithHTTPClient(client *http.Client) *GetAssessmentsByScoreV1Params
WithHTTPClient adds the HTTPClient to the get assessments by score v1 params
func (*GetAssessmentsByScoreV1Params) WithLimit ¶ added in v0.4.0
func (o *GetAssessmentsByScoreV1Params) WithLimit(limit *int64) *GetAssessmentsByScoreV1Params
WithLimit adds the limit to the get assessments by score v1 params
func (*GetAssessmentsByScoreV1Params) WithSort ¶ added in v0.4.0
func (o *GetAssessmentsByScoreV1Params) WithSort(sort *string) *GetAssessmentsByScoreV1Params
WithSort adds the sort to the get assessments by score v1 params
func (*GetAssessmentsByScoreV1Params) WithTimeout ¶ added in v0.4.0
func (o *GetAssessmentsByScoreV1Params) WithTimeout(timeout time.Duration) *GetAssessmentsByScoreV1Params
WithTimeout adds the timeout to the get assessments by score v1 params
func (*GetAssessmentsByScoreV1Params) WriteToRequest ¶ added in v0.4.0
func (o *GetAssessmentsByScoreV1Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetAssessmentsByScoreV1Reader ¶ added in v0.4.0
type GetAssessmentsByScoreV1Reader struct {
// contains filtered or unexported fields
}
GetAssessmentsByScoreV1Reader is a Reader for the GetAssessmentsByScoreV1 structure.
func (*GetAssessmentsByScoreV1Reader) ReadResponse ¶ added in v0.4.0
func (o *GetAssessmentsByScoreV1Reader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetAssessmentsByScoreV1TooManyRequests ¶ added in v0.4.0
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 ¶ added in v0.4.0
func NewGetAssessmentsByScoreV1TooManyRequests() *GetAssessmentsByScoreV1TooManyRequests
NewGetAssessmentsByScoreV1TooManyRequests creates a GetAssessmentsByScoreV1TooManyRequests with default headers values
func (*GetAssessmentsByScoreV1TooManyRequests) Code ¶ added in v0.4.0
func (o *GetAssessmentsByScoreV1TooManyRequests) Code() int
Code gets the status code for the get assessments by score v1 too many requests response
func (*GetAssessmentsByScoreV1TooManyRequests) Error ¶ added in v0.4.0
func (o *GetAssessmentsByScoreV1TooManyRequests) Error() string
func (*GetAssessmentsByScoreV1TooManyRequests) GetPayload ¶ added in v0.4.0
func (o *GetAssessmentsByScoreV1TooManyRequests) GetPayload() *models.MsaReplyMetaOnly
func (*GetAssessmentsByScoreV1TooManyRequests) IsClientError ¶ added in v0.4.0
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 ¶ added in v0.4.0
func (o *GetAssessmentsByScoreV1TooManyRequests) IsCode(code int) bool
IsCode returns true when this get assessments by score v1 too many requests response a status code equal to that given
func (*GetAssessmentsByScoreV1TooManyRequests) IsRedirect ¶ added in v0.4.0
func (o *GetAssessmentsByScoreV1TooManyRequests) IsRedirect() bool
IsRedirect returns true when this get assessments by score v1 too many requests response has a 3xx status code
func (*GetAssessmentsByScoreV1TooManyRequests) IsServerError ¶ added in v0.4.0
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 ¶ added in v0.4.0
func (o *GetAssessmentsByScoreV1TooManyRequests) IsSuccess() bool
IsSuccess returns true when this get assessments by score v1 too many requests response has a 2xx status code
func (*GetAssessmentsByScoreV1TooManyRequests) String ¶ added in v0.4.0
func (o *GetAssessmentsByScoreV1TooManyRequests) String() string
type GetAuditV1Forbidden ¶ added in v0.4.0
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 ¶ added in v0.4.0
func NewGetAuditV1Forbidden() *GetAuditV1Forbidden
NewGetAuditV1Forbidden creates a GetAuditV1Forbidden with default headers values
func (*GetAuditV1Forbidden) Code ¶ added in v0.4.0
func (o *GetAuditV1Forbidden) Code() int
Code gets the status code for the get audit v1 forbidden response
func (*GetAuditV1Forbidden) Error ¶ added in v0.4.0
func (o *GetAuditV1Forbidden) Error() string
func (*GetAuditV1Forbidden) GetPayload ¶ added in v0.4.0
func (o *GetAuditV1Forbidden) GetPayload() *models.MsaReplyMetaOnly
func (*GetAuditV1Forbidden) IsClientError ¶ added in v0.4.0
func (o *GetAuditV1Forbidden) IsClientError() bool
IsClientError returns true when this get audit v1 forbidden response has a 4xx status code
func (*GetAuditV1Forbidden) IsCode ¶ added in v0.4.0
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 ¶ added in v0.4.0
func (o *GetAuditV1Forbidden) IsRedirect() bool
IsRedirect returns true when this get audit v1 forbidden response has a 3xx status code
func (*GetAuditV1Forbidden) IsServerError ¶ added in v0.4.0
func (o *GetAuditV1Forbidden) IsServerError() bool
IsServerError returns true when this get audit v1 forbidden response has a 5xx status code
func (*GetAuditV1Forbidden) IsSuccess ¶ added in v0.4.0
func (o *GetAuditV1Forbidden) IsSuccess() bool
IsSuccess returns true when this get audit v1 forbidden response has a 2xx status code
func (*GetAuditV1Forbidden) String ¶ added in v0.4.0
func (o *GetAuditV1Forbidden) String() string
type GetAuditV1NotFound ¶ added in v0.4.0
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 ¶ added in v0.4.0
func NewGetAuditV1NotFound() *GetAuditV1NotFound
NewGetAuditV1NotFound creates a GetAuditV1NotFound with default headers values
func (*GetAuditV1NotFound) Code ¶ added in v0.4.0
func (o *GetAuditV1NotFound) Code() int
Code gets the status code for the get audit v1 not found response
func (*GetAuditV1NotFound) Error ¶ added in v0.4.0
func (o *GetAuditV1NotFound) Error() string
func (*GetAuditV1NotFound) GetPayload ¶ added in v0.4.0
func (o *GetAuditV1NotFound) GetPayload() *models.DomainAuditResponse
func (*GetAuditV1NotFound) IsClientError ¶ added in v0.4.0
func (o *GetAuditV1NotFound) IsClientError() bool
IsClientError returns true when this get audit v1 not found response has a 4xx status code
func (*GetAuditV1NotFound) IsCode ¶ added in v0.4.0
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 ¶ added in v0.4.0
func (o *GetAuditV1NotFound) IsRedirect() bool
IsRedirect returns true when this get audit v1 not found response has a 3xx status code
func (*GetAuditV1NotFound) IsServerError ¶ added in v0.4.0
func (o *GetAuditV1NotFound) IsServerError() bool
IsServerError returns true when this get audit v1 not found response has a 5xx status code
func (*GetAuditV1NotFound) IsSuccess ¶ added in v0.4.0
func (o *GetAuditV1NotFound) IsSuccess() bool
IsSuccess returns true when this get audit v1 not found response has a 2xx status code
func (*GetAuditV1NotFound) String ¶ added in v0.4.0
func (o *GetAuditV1NotFound) String() string
type GetAuditV1OK ¶ added in v0.4.0
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 ¶ added in v0.4.0
func NewGetAuditV1OK() *GetAuditV1OK
NewGetAuditV1OK creates a GetAuditV1OK with default headers values
func (*GetAuditV1OK) Code ¶ added in v0.4.0
func (o *GetAuditV1OK) Code() int
Code gets the status code for the get audit v1 o k response
func (*GetAuditV1OK) Error ¶ added in v0.4.0
func (o *GetAuditV1OK) Error() string
func (*GetAuditV1OK) GetPayload ¶ added in v0.4.0
func (o *GetAuditV1OK) GetPayload() *models.DomainAuditResponse
func (*GetAuditV1OK) IsClientError ¶ added in v0.4.0
func (o *GetAuditV1OK) IsClientError() bool
IsClientError returns true when this get audit v1 o k response has a 4xx status code
func (*GetAuditV1OK) IsCode ¶ added in v0.4.0
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 ¶ added in v0.4.0
func (o *GetAuditV1OK) IsRedirect() bool
IsRedirect returns true when this get audit v1 o k response has a 3xx status code
func (*GetAuditV1OK) IsServerError ¶ added in v0.4.0
func (o *GetAuditV1OK) IsServerError() bool
IsServerError returns true when this get audit v1 o k response has a 5xx status code
func (*GetAuditV1OK) IsSuccess ¶ added in v0.4.0
func (o *GetAuditV1OK) IsSuccess() bool
IsSuccess returns true when this get audit v1 o k response has a 2xx status code
func (*GetAuditV1OK) String ¶ added in v0.4.0
func (o *GetAuditV1OK) String() string
type GetAuditV1Params ¶ added in v0.4.0
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 ¶ added in v0.4.0
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 ¶ added in v0.4.0
func NewGetAuditV1ParamsWithContext(ctx context.Context) *GetAuditV1Params
NewGetAuditV1ParamsWithContext creates a new GetAuditV1Params object with the ability to set a context for a request.
func NewGetAuditV1ParamsWithHTTPClient ¶ added in v0.4.0
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 ¶ added in v0.4.0
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 ¶ added in v0.4.0
func (o *GetAuditV1Params) SetContext(ctx context.Context)
SetContext adds the context to the get audit v1 params
func (*GetAuditV1Params) SetDefaults ¶ added in v0.4.0
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 ¶ added in v0.4.0
func (o *GetAuditV1Params) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get audit v1 params
func (*GetAuditV1Params) SetTimeout ¶ added in v0.4.0
func (o *GetAuditV1Params) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get audit v1 params
func (*GetAuditV1Params) WithContext ¶ added in v0.4.0
func (o *GetAuditV1Params) WithContext(ctx context.Context) *GetAuditV1Params
WithContext adds the context to the get audit v1 params
func (*GetAuditV1Params) WithDefaults ¶ added in v0.4.0
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 ¶ added in v0.4.0
func (o *GetAuditV1Params) WithHTTPClient(client *http.Client) *GetAuditV1Params
WithHTTPClient adds the HTTPClient to the get audit v1 params
func (*GetAuditV1Params) WithTimeout ¶ added in v0.4.0
func (o *GetAuditV1Params) WithTimeout(timeout time.Duration) *GetAuditV1Params
WithTimeout adds the timeout to the get audit v1 params
func (*GetAuditV1Params) WriteToRequest ¶ added in v0.4.0
func (o *GetAuditV1Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetAuditV1Reader ¶ added in v0.4.0
type GetAuditV1Reader struct {
// contains filtered or unexported fields
}
GetAuditV1Reader is a Reader for the GetAuditV1 structure.
func (*GetAuditV1Reader) ReadResponse ¶ added in v0.4.0
func (o *GetAuditV1Reader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetAuditV1TooManyRequests ¶ added in v0.4.0
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 ¶ added in v0.4.0
func NewGetAuditV1TooManyRequests() *GetAuditV1TooManyRequests
NewGetAuditV1TooManyRequests creates a GetAuditV1TooManyRequests with default headers values
func (*GetAuditV1TooManyRequests) Code ¶ added in v0.4.0
func (o *GetAuditV1TooManyRequests) Code() int
Code gets the status code for the get audit v1 too many requests response
func (*GetAuditV1TooManyRequests) Error ¶ added in v0.4.0
func (o *GetAuditV1TooManyRequests) Error() string
func (*GetAuditV1TooManyRequests) GetPayload ¶ added in v0.4.0
func (o *GetAuditV1TooManyRequests) GetPayload() *models.MsaReplyMetaOnly
func (*GetAuditV1TooManyRequests) IsClientError ¶ added in v0.4.0
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 ¶ added in v0.4.0
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 ¶ added in v0.4.0
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 ¶ added in v0.4.0
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 ¶ added in v0.4.0
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 ¶ added in v0.4.0
func (o *GetAuditV1TooManyRequests) String() string