Documentation ¶
Index ¶
- type APIPreemptProxyPostGraphqlForbidden
- func (o *APIPreemptProxyPostGraphqlForbidden) Error() string
- func (o *APIPreemptProxyPostGraphqlForbidden) GetPayload() *models.MsaReplyMetaOnly
- func (o *APIPreemptProxyPostGraphqlForbidden) IsClientError() bool
- func (o *APIPreemptProxyPostGraphqlForbidden) IsCode(code int) bool
- func (o *APIPreemptProxyPostGraphqlForbidden) IsRedirect() bool
- func (o *APIPreemptProxyPostGraphqlForbidden) IsServerError() bool
- func (o *APIPreemptProxyPostGraphqlForbidden) IsSuccess() bool
- func (o *APIPreemptProxyPostGraphqlForbidden) String() string
- type APIPreemptProxyPostGraphqlOK
- func (o *APIPreemptProxyPostGraphqlOK) Error() string
- func (o *APIPreemptProxyPostGraphqlOK) IsClientError() bool
- func (o *APIPreemptProxyPostGraphqlOK) IsCode(code int) bool
- func (o *APIPreemptProxyPostGraphqlOK) IsRedirect() bool
- func (o *APIPreemptProxyPostGraphqlOK) IsServerError() bool
- func (o *APIPreemptProxyPostGraphqlOK) IsSuccess() bool
- func (o *APIPreemptProxyPostGraphqlOK) String() string
- type APIPreemptProxyPostGraphqlParams
- func NewAPIPreemptProxyPostGraphqlParams() *APIPreemptProxyPostGraphqlParams
- func NewAPIPreemptProxyPostGraphqlParamsWithContext(ctx context.Context) *APIPreemptProxyPostGraphqlParams
- func NewAPIPreemptProxyPostGraphqlParamsWithHTTPClient(client *http.Client) *APIPreemptProxyPostGraphqlParams
- func NewAPIPreemptProxyPostGraphqlParamsWithTimeout(timeout time.Duration) *APIPreemptProxyPostGraphqlParams
- func (o *APIPreemptProxyPostGraphqlParams) SetAuthorization(authorization string)
- func (o *APIPreemptProxyPostGraphqlParams) SetContext(ctx context.Context)
- func (o *APIPreemptProxyPostGraphqlParams) SetDefaults()
- func (o *APIPreemptProxyPostGraphqlParams) SetHTTPClient(client *http.Client)
- func (o *APIPreemptProxyPostGraphqlParams) SetTimeout(timeout time.Duration)
- func (o *APIPreemptProxyPostGraphqlParams) WithAuthorization(authorization string) *APIPreemptProxyPostGraphqlParams
- func (o *APIPreemptProxyPostGraphqlParams) WithContext(ctx context.Context) *APIPreemptProxyPostGraphqlParams
- func (o *APIPreemptProxyPostGraphqlParams) WithDefaults() *APIPreemptProxyPostGraphqlParams
- func (o *APIPreemptProxyPostGraphqlParams) WithHTTPClient(client *http.Client) *APIPreemptProxyPostGraphqlParams
- func (o *APIPreemptProxyPostGraphqlParams) WithTimeout(timeout time.Duration) *APIPreemptProxyPostGraphqlParams
- func (o *APIPreemptProxyPostGraphqlParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type APIPreemptProxyPostGraphqlReader
- type APIPreemptProxyPostGraphqlTooManyRequests
- func (o *APIPreemptProxyPostGraphqlTooManyRequests) Error() string
- func (o *APIPreemptProxyPostGraphqlTooManyRequests) GetPayload() *models.MsaReplyMetaOnly
- func (o *APIPreemptProxyPostGraphqlTooManyRequests) IsClientError() bool
- func (o *APIPreemptProxyPostGraphqlTooManyRequests) IsCode(code int) bool
- func (o *APIPreemptProxyPostGraphqlTooManyRequests) IsRedirect() bool
- func (o *APIPreemptProxyPostGraphqlTooManyRequests) IsServerError() bool
- func (o *APIPreemptProxyPostGraphqlTooManyRequests) IsSuccess() bool
- func (o *APIPreemptProxyPostGraphqlTooManyRequests) String() string
- type Client
- type ClientOption
- type ClientService
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type APIPreemptProxyPostGraphqlForbidden ¶
type APIPreemptProxyPostGraphqlForbidden 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 }
APIPreemptProxyPostGraphqlForbidden describes a response with status code 403, with default header values.
Forbidden
func NewAPIPreemptProxyPostGraphqlForbidden ¶
func NewAPIPreemptProxyPostGraphqlForbidden() *APIPreemptProxyPostGraphqlForbidden
NewAPIPreemptProxyPostGraphqlForbidden creates a APIPreemptProxyPostGraphqlForbidden with default headers values
func (*APIPreemptProxyPostGraphqlForbidden) Error ¶
func (o *APIPreemptProxyPostGraphqlForbidden) Error() string
func (*APIPreemptProxyPostGraphqlForbidden) GetPayload ¶
func (o *APIPreemptProxyPostGraphqlForbidden) GetPayload() *models.MsaReplyMetaOnly
func (*APIPreemptProxyPostGraphqlForbidden) IsClientError ¶ added in v0.2.27
func (o *APIPreemptProxyPostGraphqlForbidden) IsClientError() bool
IsClientError returns true when this api preempt proxy post graphql forbidden response has a 4xx status code
func (*APIPreemptProxyPostGraphqlForbidden) IsCode ¶ added in v0.2.27
func (o *APIPreemptProxyPostGraphqlForbidden) IsCode(code int) bool
IsCode returns true when this api preempt proxy post graphql forbidden response a status code equal to that given
func (*APIPreemptProxyPostGraphqlForbidden) IsRedirect ¶ added in v0.2.27
func (o *APIPreemptProxyPostGraphqlForbidden) IsRedirect() bool
IsRedirect returns true when this api preempt proxy post graphql forbidden response has a 3xx status code
func (*APIPreemptProxyPostGraphqlForbidden) IsServerError ¶ added in v0.2.27
func (o *APIPreemptProxyPostGraphqlForbidden) IsServerError() bool
IsServerError returns true when this api preempt proxy post graphql forbidden response has a 5xx status code
func (*APIPreemptProxyPostGraphqlForbidden) IsSuccess ¶ added in v0.2.27
func (o *APIPreemptProxyPostGraphqlForbidden) IsSuccess() bool
IsSuccess returns true when this api preempt proxy post graphql forbidden response has a 2xx status code
func (*APIPreemptProxyPostGraphqlForbidden) String ¶ added in v0.2.27
func (o *APIPreemptProxyPostGraphqlForbidden) String() string
type APIPreemptProxyPostGraphqlOK ¶
type APIPreemptProxyPostGraphqlOK 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 }
APIPreemptProxyPostGraphqlOK describes a response with status code 200, with default header values.
OK
func NewAPIPreemptProxyPostGraphqlOK ¶
func NewAPIPreemptProxyPostGraphqlOK() *APIPreemptProxyPostGraphqlOK
NewAPIPreemptProxyPostGraphqlOK creates a APIPreemptProxyPostGraphqlOK with default headers values
func (*APIPreemptProxyPostGraphqlOK) Error ¶
func (o *APIPreemptProxyPostGraphqlOK) Error() string
func (*APIPreemptProxyPostGraphqlOK) IsClientError ¶ added in v0.2.27
func (o *APIPreemptProxyPostGraphqlOK) IsClientError() bool
IsClientError returns true when this api preempt proxy post graphql o k response has a 4xx status code
func (*APIPreemptProxyPostGraphqlOK) IsCode ¶ added in v0.2.27
func (o *APIPreemptProxyPostGraphqlOK) IsCode(code int) bool
IsCode returns true when this api preempt proxy post graphql o k response a status code equal to that given
func (*APIPreemptProxyPostGraphqlOK) IsRedirect ¶ added in v0.2.27
func (o *APIPreemptProxyPostGraphqlOK) IsRedirect() bool
IsRedirect returns true when this api preempt proxy post graphql o k response has a 3xx status code
func (*APIPreemptProxyPostGraphqlOK) IsServerError ¶ added in v0.2.27
func (o *APIPreemptProxyPostGraphqlOK) IsServerError() bool
IsServerError returns true when this api preempt proxy post graphql o k response has a 5xx status code
func (*APIPreemptProxyPostGraphqlOK) IsSuccess ¶ added in v0.2.27
func (o *APIPreemptProxyPostGraphqlOK) IsSuccess() bool
IsSuccess returns true when this api preempt proxy post graphql o k response has a 2xx status code
func (*APIPreemptProxyPostGraphqlOK) String ¶ added in v0.2.27
func (o *APIPreemptProxyPostGraphqlOK) String() string
type APIPreemptProxyPostGraphqlParams ¶
type APIPreemptProxyPostGraphqlParams struct { /* Authorization. Authorization Header */ Authorization string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
APIPreemptProxyPostGraphqlParams contains all the parameters to send to the API endpoint
for the api preempt proxy post graphql operation. Typically these are written to a http.Request.
func NewAPIPreemptProxyPostGraphqlParams ¶
func NewAPIPreemptProxyPostGraphqlParams() *APIPreemptProxyPostGraphqlParams
NewAPIPreemptProxyPostGraphqlParams creates a new APIPreemptProxyPostGraphqlParams 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 NewAPIPreemptProxyPostGraphqlParamsWithContext ¶
func NewAPIPreemptProxyPostGraphqlParamsWithContext(ctx context.Context) *APIPreemptProxyPostGraphqlParams
NewAPIPreemptProxyPostGraphqlParamsWithContext creates a new APIPreemptProxyPostGraphqlParams object with the ability to set a context for a request.
func NewAPIPreemptProxyPostGraphqlParamsWithHTTPClient ¶
func NewAPIPreemptProxyPostGraphqlParamsWithHTTPClient(client *http.Client) *APIPreemptProxyPostGraphqlParams
NewAPIPreemptProxyPostGraphqlParamsWithHTTPClient creates a new APIPreemptProxyPostGraphqlParams object with the ability to set a custom HTTPClient for a request.
func NewAPIPreemptProxyPostGraphqlParamsWithTimeout ¶
func NewAPIPreemptProxyPostGraphqlParamsWithTimeout(timeout time.Duration) *APIPreemptProxyPostGraphqlParams
NewAPIPreemptProxyPostGraphqlParamsWithTimeout creates a new APIPreemptProxyPostGraphqlParams object with the ability to set a timeout on a request.
func (*APIPreemptProxyPostGraphqlParams) SetAuthorization ¶
func (o *APIPreemptProxyPostGraphqlParams) SetAuthorization(authorization string)
SetAuthorization adds the authorization to the api preempt proxy post graphql params
func (*APIPreemptProxyPostGraphqlParams) SetContext ¶
func (o *APIPreemptProxyPostGraphqlParams) SetContext(ctx context.Context)
SetContext adds the context to the api preempt proxy post graphql params
func (*APIPreemptProxyPostGraphqlParams) SetDefaults ¶
func (o *APIPreemptProxyPostGraphqlParams) SetDefaults()
SetDefaults hydrates default values in the api preempt proxy post graphql params (not the query body).
All values with no default are reset to their zero value.
func (*APIPreemptProxyPostGraphqlParams) SetHTTPClient ¶
func (o *APIPreemptProxyPostGraphqlParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the api preempt proxy post graphql params
func (*APIPreemptProxyPostGraphqlParams) SetTimeout ¶
func (o *APIPreemptProxyPostGraphqlParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the api preempt proxy post graphql params
func (*APIPreemptProxyPostGraphqlParams) WithAuthorization ¶
func (o *APIPreemptProxyPostGraphqlParams) WithAuthorization(authorization string) *APIPreemptProxyPostGraphqlParams
WithAuthorization adds the authorization to the api preempt proxy post graphql params
func (*APIPreemptProxyPostGraphqlParams) WithContext ¶
func (o *APIPreemptProxyPostGraphqlParams) WithContext(ctx context.Context) *APIPreemptProxyPostGraphqlParams
WithContext adds the context to the api preempt proxy post graphql params
func (*APIPreemptProxyPostGraphqlParams) WithDefaults ¶
func (o *APIPreemptProxyPostGraphqlParams) WithDefaults() *APIPreemptProxyPostGraphqlParams
WithDefaults hydrates default values in the api preempt proxy post graphql params (not the query body).
All values with no default are reset to their zero value.
func (*APIPreemptProxyPostGraphqlParams) WithHTTPClient ¶
func (o *APIPreemptProxyPostGraphqlParams) WithHTTPClient(client *http.Client) *APIPreemptProxyPostGraphqlParams
WithHTTPClient adds the HTTPClient to the api preempt proxy post graphql params
func (*APIPreemptProxyPostGraphqlParams) WithTimeout ¶
func (o *APIPreemptProxyPostGraphqlParams) WithTimeout(timeout time.Duration) *APIPreemptProxyPostGraphqlParams
WithTimeout adds the timeout to the api preempt proxy post graphql params
func (*APIPreemptProxyPostGraphqlParams) WriteToRequest ¶
func (o *APIPreemptProxyPostGraphqlParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type APIPreemptProxyPostGraphqlReader ¶
type APIPreemptProxyPostGraphqlReader struct {
// contains filtered or unexported fields
}
APIPreemptProxyPostGraphqlReader is a Reader for the APIPreemptProxyPostGraphql structure.
func (*APIPreemptProxyPostGraphqlReader) ReadResponse ¶
func (o *APIPreemptProxyPostGraphqlReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type APIPreemptProxyPostGraphqlTooManyRequests ¶
type APIPreemptProxyPostGraphqlTooManyRequests 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 }
APIPreemptProxyPostGraphqlTooManyRequests describes a response with status code 429, with default header values.
Too Many Requests
func NewAPIPreemptProxyPostGraphqlTooManyRequests ¶
func NewAPIPreemptProxyPostGraphqlTooManyRequests() *APIPreemptProxyPostGraphqlTooManyRequests
NewAPIPreemptProxyPostGraphqlTooManyRequests creates a APIPreemptProxyPostGraphqlTooManyRequests with default headers values
func (*APIPreemptProxyPostGraphqlTooManyRequests) Error ¶
func (o *APIPreemptProxyPostGraphqlTooManyRequests) Error() string
func (*APIPreemptProxyPostGraphqlTooManyRequests) GetPayload ¶
func (o *APIPreemptProxyPostGraphqlTooManyRequests) GetPayload() *models.MsaReplyMetaOnly
func (*APIPreemptProxyPostGraphqlTooManyRequests) IsClientError ¶ added in v0.2.27
func (o *APIPreemptProxyPostGraphqlTooManyRequests) IsClientError() bool
IsClientError returns true when this api preempt proxy post graphql too many requests response has a 4xx status code
func (*APIPreemptProxyPostGraphqlTooManyRequests) IsCode ¶ added in v0.2.27
func (o *APIPreemptProxyPostGraphqlTooManyRequests) IsCode(code int) bool
IsCode returns true when this api preempt proxy post graphql too many requests response a status code equal to that given
func (*APIPreemptProxyPostGraphqlTooManyRequests) IsRedirect ¶ added in v0.2.27
func (o *APIPreemptProxyPostGraphqlTooManyRequests) IsRedirect() bool
IsRedirect returns true when this api preempt proxy post graphql too many requests response has a 3xx status code
func (*APIPreemptProxyPostGraphqlTooManyRequests) IsServerError ¶ added in v0.2.27
func (o *APIPreemptProxyPostGraphqlTooManyRequests) IsServerError() bool
IsServerError returns true when this api preempt proxy post graphql too many requests response has a 5xx status code
func (*APIPreemptProxyPostGraphqlTooManyRequests) IsSuccess ¶ added in v0.2.27
func (o *APIPreemptProxyPostGraphqlTooManyRequests) IsSuccess() bool
IsSuccess returns true when this api preempt proxy post graphql too many requests response has a 2xx status code
func (*APIPreemptProxyPostGraphqlTooManyRequests) String ¶ added in v0.2.27
func (o *APIPreemptProxyPostGraphqlTooManyRequests) String() string
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client for identity protection API
func (*Client) APIPreemptProxyPostGraphql ¶
func (a *Client) APIPreemptProxyPostGraphql(params *APIPreemptProxyPostGraphqlParams, opts ...ClientOption) (*APIPreemptProxyPostGraphqlOK, error)
APIPreemptProxyPostGraphql identities protection graph q l API allows to retrieve entities timeline activities identity based incidents and security assessment allows to perform actions on entities and identity based incidents
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 { APIPreemptProxyPostGraphql(params *APIPreemptProxyPostGraphqlParams, opts ...ClientOption) (*APIPreemptProxyPostGraphqlOK, 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 identity protection API client.