identity_protection

package
v0.2.35 Latest Latest
Warning

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

Go to latest
Published: May 3, 2023 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type 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) Code added in v0.2.33

Code gets the status code for the api preempt proxy post graphql forbidden response

func (*APIPreemptProxyPostGraphqlForbidden) Error

func (*APIPreemptProxyPostGraphqlForbidden) GetPayload

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

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

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

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) Code added in v0.2.33

Code gets the status code for the api preempt proxy post graphql o k response

func (*APIPreemptProxyPostGraphqlOK) Error

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

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

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

WithContext adds the context to the api preempt proxy post graphql params

func (*APIPreemptProxyPostGraphqlParams) WithDefaults

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

WithHTTPClient adds the HTTPClient to the api preempt proxy post graphql params

func (*APIPreemptProxyPostGraphqlParams) WithTimeout

WithTimeout adds the timeout to the api preempt proxy post graphql params

func (*APIPreemptProxyPostGraphqlParams) WriteToRequest

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) Code added in v0.2.33

Code gets the status code for the api preempt proxy post graphql too many requests response

func (*APIPreemptProxyPostGraphqlTooManyRequests) Error

func (*APIPreemptProxyPostGraphqlTooManyRequests) GetPayload

func (*APIPreemptProxyPostGraphqlTooManyRequests) IsClientError added in v0.2.27

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

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

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

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

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

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.

Jump to

Keyboard shortcuts

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