installation_tokens

package
v0.4.2 Latest Latest
Warning

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

Go to latest
Published: Sep 8, 2023 License: MIT Imports: 11 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AuditEventsQueryBadRequest

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

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

Bad Request

func NewAuditEventsQueryBadRequest

func NewAuditEventsQueryBadRequest() *AuditEventsQueryBadRequest

NewAuditEventsQueryBadRequest creates a AuditEventsQueryBadRequest with default headers values

func (*AuditEventsQueryBadRequest) Code added in v0.2.33

func (o *AuditEventsQueryBadRequest) Code() int

Code gets the status code for the audit events query bad request response

func (*AuditEventsQueryBadRequest) Error

func (*AuditEventsQueryBadRequest) GetPayload

func (*AuditEventsQueryBadRequest) IsClientError added in v0.2.27

func (o *AuditEventsQueryBadRequest) IsClientError() bool

IsClientError returns true when this audit events query bad request response has a 4xx status code

func (*AuditEventsQueryBadRequest) IsCode added in v0.2.27

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

IsCode returns true when this audit events query bad request response a status code equal to that given

func (*AuditEventsQueryBadRequest) IsRedirect added in v0.2.27

func (o *AuditEventsQueryBadRequest) IsRedirect() bool

IsRedirect returns true when this audit events query bad request response has a 3xx status code

func (*AuditEventsQueryBadRequest) IsServerError added in v0.2.27

func (o *AuditEventsQueryBadRequest) IsServerError() bool

IsServerError returns true when this audit events query bad request response has a 5xx status code

func (*AuditEventsQueryBadRequest) IsSuccess added in v0.2.27

func (o *AuditEventsQueryBadRequest) IsSuccess() bool

IsSuccess returns true when this audit events query bad request response has a 2xx status code

func (*AuditEventsQueryBadRequest) String added in v0.2.27

func (o *AuditEventsQueryBadRequest) String() string

type AuditEventsQueryForbidden

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

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

Forbidden

func NewAuditEventsQueryForbidden

func NewAuditEventsQueryForbidden() *AuditEventsQueryForbidden

NewAuditEventsQueryForbidden creates a AuditEventsQueryForbidden with default headers values

func (*AuditEventsQueryForbidden) Code added in v0.2.33

func (o *AuditEventsQueryForbidden) Code() int

Code gets the status code for the audit events query forbidden response

func (*AuditEventsQueryForbidden) Error

func (o *AuditEventsQueryForbidden) Error() string

func (*AuditEventsQueryForbidden) GetPayload

func (*AuditEventsQueryForbidden) IsClientError added in v0.2.27

func (o *AuditEventsQueryForbidden) IsClientError() bool

IsClientError returns true when this audit events query forbidden response has a 4xx status code

func (*AuditEventsQueryForbidden) IsCode added in v0.2.27

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

IsCode returns true when this audit events query forbidden response a status code equal to that given

func (*AuditEventsQueryForbidden) IsRedirect added in v0.2.27

func (o *AuditEventsQueryForbidden) IsRedirect() bool

IsRedirect returns true when this audit events query forbidden response has a 3xx status code

func (*AuditEventsQueryForbidden) IsServerError added in v0.2.27

func (o *AuditEventsQueryForbidden) IsServerError() bool

IsServerError returns true when this audit events query forbidden response has a 5xx status code

func (*AuditEventsQueryForbidden) IsSuccess added in v0.2.27

func (o *AuditEventsQueryForbidden) IsSuccess() bool

IsSuccess returns true when this audit events query forbidden response has a 2xx status code

func (*AuditEventsQueryForbidden) String added in v0.2.27

func (o *AuditEventsQueryForbidden) String() string

type AuditEventsQueryInternalServerError

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

AuditEventsQueryInternalServerError describes a response with status code 500, with default header values.

Internal Server Error

func NewAuditEventsQueryInternalServerError

func NewAuditEventsQueryInternalServerError() *AuditEventsQueryInternalServerError

NewAuditEventsQueryInternalServerError creates a AuditEventsQueryInternalServerError with default headers values

func (*AuditEventsQueryInternalServerError) Code added in v0.2.33

Code gets the status code for the audit events query internal server error response

func (*AuditEventsQueryInternalServerError) Error

func (*AuditEventsQueryInternalServerError) GetPayload

func (*AuditEventsQueryInternalServerError) IsClientError added in v0.2.27

func (o *AuditEventsQueryInternalServerError) IsClientError() bool

IsClientError returns true when this audit events query internal server error response has a 4xx status code

func (*AuditEventsQueryInternalServerError) IsCode added in v0.2.27

IsCode returns true when this audit events query internal server error response a status code equal to that given

func (*AuditEventsQueryInternalServerError) IsRedirect added in v0.2.27

func (o *AuditEventsQueryInternalServerError) IsRedirect() bool

IsRedirect returns true when this audit events query internal server error response has a 3xx status code

func (*AuditEventsQueryInternalServerError) IsServerError added in v0.2.27

func (o *AuditEventsQueryInternalServerError) IsServerError() bool

IsServerError returns true when this audit events query internal server error response has a 5xx status code

func (*AuditEventsQueryInternalServerError) IsSuccess added in v0.2.27

IsSuccess returns true when this audit events query internal server error response has a 2xx status code

func (*AuditEventsQueryInternalServerError) String added in v0.2.27

type AuditEventsQueryOK

type AuditEventsQueryOK 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.MsaQueryResponse
}

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

OK

func NewAuditEventsQueryOK

func NewAuditEventsQueryOK() *AuditEventsQueryOK

NewAuditEventsQueryOK creates a AuditEventsQueryOK with default headers values

func (*AuditEventsQueryOK) Code added in v0.2.33

func (o *AuditEventsQueryOK) Code() int

Code gets the status code for the audit events query o k response

func (*AuditEventsQueryOK) Error

func (o *AuditEventsQueryOK) Error() string

func (*AuditEventsQueryOK) GetPayload

func (o *AuditEventsQueryOK) GetPayload() *models.MsaQueryResponse

func (*AuditEventsQueryOK) IsClientError added in v0.2.27

func (o *AuditEventsQueryOK) IsClientError() bool

IsClientError returns true when this audit events query o k response has a 4xx status code

func (*AuditEventsQueryOK) IsCode added in v0.2.27

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

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

func (*AuditEventsQueryOK) IsRedirect added in v0.2.27

func (o *AuditEventsQueryOK) IsRedirect() bool

IsRedirect returns true when this audit events query o k response has a 3xx status code

func (*AuditEventsQueryOK) IsServerError added in v0.2.27

func (o *AuditEventsQueryOK) IsServerError() bool

IsServerError returns true when this audit events query o k response has a 5xx status code

func (*AuditEventsQueryOK) IsSuccess added in v0.2.27

func (o *AuditEventsQueryOK) IsSuccess() bool

IsSuccess returns true when this audit events query o k response has a 2xx status code

func (*AuditEventsQueryOK) String added in v0.2.27

func (o *AuditEventsQueryOK) String() string

type AuditEventsQueryParams

type AuditEventsQueryParams struct {

	/* Filter.

	   The filter expression that should be used to limit the results (e.g., `action:'token_create'`).
	*/
	Filter *string

	/* Limit.

	   The maximum records to return. [1-1000]. Defaults to 50.
	*/
	Limit *int64

	/* Offset.

	   The offset to start retrieving records from.
	*/
	Offset *int64

	/* Sort.

	   The property to sort by (e.g. timestamp.desc).
	*/
	Sort *string

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

AuditEventsQueryParams contains all the parameters to send to the API endpoint

for the audit events query operation.

Typically these are written to a http.Request.

func NewAuditEventsQueryParams

func NewAuditEventsQueryParams() *AuditEventsQueryParams

NewAuditEventsQueryParams creates a new AuditEventsQueryParams 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 NewAuditEventsQueryParamsWithContext

func NewAuditEventsQueryParamsWithContext(ctx context.Context) *AuditEventsQueryParams

NewAuditEventsQueryParamsWithContext creates a new AuditEventsQueryParams object with the ability to set a context for a request.

func NewAuditEventsQueryParamsWithHTTPClient

func NewAuditEventsQueryParamsWithHTTPClient(client *http.Client) *AuditEventsQueryParams

NewAuditEventsQueryParamsWithHTTPClient creates a new AuditEventsQueryParams object with the ability to set a custom HTTPClient for a request.

func NewAuditEventsQueryParamsWithTimeout

func NewAuditEventsQueryParamsWithTimeout(timeout time.Duration) *AuditEventsQueryParams

NewAuditEventsQueryParamsWithTimeout creates a new AuditEventsQueryParams object with the ability to set a timeout on a request.

func (*AuditEventsQueryParams) SetContext

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

SetContext adds the context to the audit events query params

func (*AuditEventsQueryParams) SetDefaults

func (o *AuditEventsQueryParams) SetDefaults()

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

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

func (*AuditEventsQueryParams) SetFilter

func (o *AuditEventsQueryParams) SetFilter(filter *string)

SetFilter adds the filter to the audit events query params

func (*AuditEventsQueryParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the audit events query params

func (*AuditEventsQueryParams) SetLimit

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

SetLimit adds the limit to the audit events query params

func (*AuditEventsQueryParams) SetOffset

func (o *AuditEventsQueryParams) SetOffset(offset *int64)

SetOffset adds the offset to the audit events query params

func (*AuditEventsQueryParams) SetSort

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

SetSort adds the sort to the audit events query params

func (*AuditEventsQueryParams) SetTimeout

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

SetTimeout adds the timeout to the audit events query params

func (*AuditEventsQueryParams) WithContext

WithContext adds the context to the audit events query params

func (*AuditEventsQueryParams) WithDefaults

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

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

func (*AuditEventsQueryParams) WithFilter

func (o *AuditEventsQueryParams) WithFilter(filter *string) *AuditEventsQueryParams

WithFilter adds the filter to the audit events query params

func (*AuditEventsQueryParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the audit events query params

func (*AuditEventsQueryParams) WithLimit

func (o *AuditEventsQueryParams) WithLimit(limit *int64) *AuditEventsQueryParams

WithLimit adds the limit to the audit events query params

func (*AuditEventsQueryParams) WithOffset

func (o *AuditEventsQueryParams) WithOffset(offset *int64) *AuditEventsQueryParams

WithOffset adds the offset to the audit events query params

func (*AuditEventsQueryParams) WithSort

WithSort adds the sort to the audit events query params

func (*AuditEventsQueryParams) WithTimeout

WithTimeout adds the timeout to the audit events query params

func (*AuditEventsQueryParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type AuditEventsQueryReader

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

AuditEventsQueryReader is a Reader for the AuditEventsQuery structure.

func (*AuditEventsQueryReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type AuditEventsQueryTooManyRequests

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

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

Too Many Requests

func NewAuditEventsQueryTooManyRequests

func NewAuditEventsQueryTooManyRequests() *AuditEventsQueryTooManyRequests

NewAuditEventsQueryTooManyRequests creates a AuditEventsQueryTooManyRequests with default headers values

func (*AuditEventsQueryTooManyRequests) Code added in v0.2.33

Code gets the status code for the audit events query too many requests response

func (*AuditEventsQueryTooManyRequests) Error

func (*AuditEventsQueryTooManyRequests) GetPayload

func (*AuditEventsQueryTooManyRequests) IsClientError added in v0.2.27

func (o *AuditEventsQueryTooManyRequests) IsClientError() bool

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

func (*AuditEventsQueryTooManyRequests) IsCode added in v0.2.27

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

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

func (*AuditEventsQueryTooManyRequests) IsRedirect added in v0.2.27

func (o *AuditEventsQueryTooManyRequests) IsRedirect() bool

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

func (*AuditEventsQueryTooManyRequests) IsServerError added in v0.2.27

func (o *AuditEventsQueryTooManyRequests) IsServerError() bool

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

func (*AuditEventsQueryTooManyRequests) IsSuccess added in v0.2.27

func (o *AuditEventsQueryTooManyRequests) IsSuccess() bool

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

func (*AuditEventsQueryTooManyRequests) String added in v0.2.27

type AuditEventsReadBadRequest

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

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

Bad Request

func NewAuditEventsReadBadRequest

func NewAuditEventsReadBadRequest() *AuditEventsReadBadRequest

NewAuditEventsReadBadRequest creates a AuditEventsReadBadRequest with default headers values

func (*AuditEventsReadBadRequest) Code added in v0.2.33

func (o *AuditEventsReadBadRequest) Code() int

Code gets the status code for the audit events read bad request response

func (*AuditEventsReadBadRequest) Error

func (o *AuditEventsReadBadRequest) Error() string

func (*AuditEventsReadBadRequest) GetPayload

func (*AuditEventsReadBadRequest) IsClientError added in v0.2.27

func (o *AuditEventsReadBadRequest) IsClientError() bool

IsClientError returns true when this audit events read bad request response has a 4xx status code

func (*AuditEventsReadBadRequest) IsCode added in v0.2.27

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

IsCode returns true when this audit events read bad request response a status code equal to that given

func (*AuditEventsReadBadRequest) IsRedirect added in v0.2.27

func (o *AuditEventsReadBadRequest) IsRedirect() bool

IsRedirect returns true when this audit events read bad request response has a 3xx status code

func (*AuditEventsReadBadRequest) IsServerError added in v0.2.27

func (o *AuditEventsReadBadRequest) IsServerError() bool

IsServerError returns true when this audit events read bad request response has a 5xx status code

func (*AuditEventsReadBadRequest) IsSuccess added in v0.2.27

func (o *AuditEventsReadBadRequest) IsSuccess() bool

IsSuccess returns true when this audit events read bad request response has a 2xx status code

func (*AuditEventsReadBadRequest) String added in v0.2.27

func (o *AuditEventsReadBadRequest) String() string

type AuditEventsReadForbidden

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

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

Forbidden

func NewAuditEventsReadForbidden

func NewAuditEventsReadForbidden() *AuditEventsReadForbidden

NewAuditEventsReadForbidden creates a AuditEventsReadForbidden with default headers values

func (*AuditEventsReadForbidden) Code added in v0.2.33

func (o *AuditEventsReadForbidden) Code() int

Code gets the status code for the audit events read forbidden response

func (*AuditEventsReadForbidden) Error

func (o *AuditEventsReadForbidden) Error() string

func (*AuditEventsReadForbidden) GetPayload

func (*AuditEventsReadForbidden) IsClientError added in v0.2.27

func (o *AuditEventsReadForbidden) IsClientError() bool

IsClientError returns true when this audit events read forbidden response has a 4xx status code

func (*AuditEventsReadForbidden) IsCode added in v0.2.27

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

IsCode returns true when this audit events read forbidden response a status code equal to that given

func (*AuditEventsReadForbidden) IsRedirect added in v0.2.27

func (o *AuditEventsReadForbidden) IsRedirect() bool

IsRedirect returns true when this audit events read forbidden response has a 3xx status code

func (*AuditEventsReadForbidden) IsServerError added in v0.2.27

func (o *AuditEventsReadForbidden) IsServerError() bool

IsServerError returns true when this audit events read forbidden response has a 5xx status code

func (*AuditEventsReadForbidden) IsSuccess added in v0.2.27

func (o *AuditEventsReadForbidden) IsSuccess() bool

IsSuccess returns true when this audit events read forbidden response has a 2xx status code

func (*AuditEventsReadForbidden) String added in v0.2.27

func (o *AuditEventsReadForbidden) String() string

type AuditEventsReadInternalServerError

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

AuditEventsReadInternalServerError describes a response with status code 500, with default header values.

Internal Server Error

func NewAuditEventsReadInternalServerError

func NewAuditEventsReadInternalServerError() *AuditEventsReadInternalServerError

NewAuditEventsReadInternalServerError creates a AuditEventsReadInternalServerError with default headers values

func (*AuditEventsReadInternalServerError) Code added in v0.2.33

Code gets the status code for the audit events read internal server error response

func (*AuditEventsReadInternalServerError) Error

func (*AuditEventsReadInternalServerError) GetPayload

func (*AuditEventsReadInternalServerError) IsClientError added in v0.2.27

func (o *AuditEventsReadInternalServerError) IsClientError() bool

IsClientError returns true when this audit events read internal server error response has a 4xx status code

func (*AuditEventsReadInternalServerError) IsCode added in v0.2.27

IsCode returns true when this audit events read internal server error response a status code equal to that given

func (*AuditEventsReadInternalServerError) IsRedirect added in v0.2.27

func (o *AuditEventsReadInternalServerError) IsRedirect() bool

IsRedirect returns true when this audit events read internal server error response has a 3xx status code

func (*AuditEventsReadInternalServerError) IsServerError added in v0.2.27

func (o *AuditEventsReadInternalServerError) IsServerError() bool

IsServerError returns true when this audit events read internal server error response has a 5xx status code

func (*AuditEventsReadInternalServerError) IsSuccess added in v0.2.27

IsSuccess returns true when this audit events read internal server error response has a 2xx status code

func (*AuditEventsReadInternalServerError) String added in v0.2.27

type AuditEventsReadOK

type AuditEventsReadOK 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.APIAuditEventDetailsResponseV1
}

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

OK

func NewAuditEventsReadOK

func NewAuditEventsReadOK() *AuditEventsReadOK

NewAuditEventsReadOK creates a AuditEventsReadOK with default headers values

func (*AuditEventsReadOK) Code added in v0.2.33

func (o *AuditEventsReadOK) Code() int

Code gets the status code for the audit events read o k response

func (*AuditEventsReadOK) Error

func (o *AuditEventsReadOK) Error() string

func (*AuditEventsReadOK) GetPayload

func (*AuditEventsReadOK) IsClientError added in v0.2.27

func (o *AuditEventsReadOK) IsClientError() bool

IsClientError returns true when this audit events read o k response has a 4xx status code

func (*AuditEventsReadOK) IsCode added in v0.2.27

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

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

func (*AuditEventsReadOK) IsRedirect added in v0.2.27

func (o *AuditEventsReadOK) IsRedirect() bool

IsRedirect returns true when this audit events read o k response has a 3xx status code

func (*AuditEventsReadOK) IsServerError added in v0.2.27

func (o *AuditEventsReadOK) IsServerError() bool

IsServerError returns true when this audit events read o k response has a 5xx status code

func (*AuditEventsReadOK) IsSuccess added in v0.2.27

func (o *AuditEventsReadOK) IsSuccess() bool

IsSuccess returns true when this audit events read o k response has a 2xx status code

func (*AuditEventsReadOK) String added in v0.2.27

func (o *AuditEventsReadOK) String() string

type AuditEventsReadParams

type AuditEventsReadParams struct {

	/* Ids.

	   IDs of audit events to retrieve details for
	*/
	Ids []string

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

AuditEventsReadParams contains all the parameters to send to the API endpoint

for the audit events read operation.

Typically these are written to a http.Request.

func NewAuditEventsReadParams

func NewAuditEventsReadParams() *AuditEventsReadParams

NewAuditEventsReadParams creates a new AuditEventsReadParams 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 NewAuditEventsReadParamsWithContext

func NewAuditEventsReadParamsWithContext(ctx context.Context) *AuditEventsReadParams

NewAuditEventsReadParamsWithContext creates a new AuditEventsReadParams object with the ability to set a context for a request.

func NewAuditEventsReadParamsWithHTTPClient

func NewAuditEventsReadParamsWithHTTPClient(client *http.Client) *AuditEventsReadParams

NewAuditEventsReadParamsWithHTTPClient creates a new AuditEventsReadParams object with the ability to set a custom HTTPClient for a request.

func NewAuditEventsReadParamsWithTimeout

func NewAuditEventsReadParamsWithTimeout(timeout time.Duration) *AuditEventsReadParams

NewAuditEventsReadParamsWithTimeout creates a new AuditEventsReadParams object with the ability to set a timeout on a request.

func (*AuditEventsReadParams) SetContext

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

SetContext adds the context to the audit events read params

func (*AuditEventsReadParams) SetDefaults

func (o *AuditEventsReadParams) SetDefaults()

SetDefaults hydrates default values in the audit events read params (not the query body).

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

func (*AuditEventsReadParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the audit events read params

func (*AuditEventsReadParams) SetIds

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

SetIds adds the ids to the audit events read params

func (*AuditEventsReadParams) SetTimeout

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

SetTimeout adds the timeout to the audit events read params

func (*AuditEventsReadParams) WithContext

WithContext adds the context to the audit events read params

func (*AuditEventsReadParams) WithDefaults

func (o *AuditEventsReadParams) WithDefaults() *AuditEventsReadParams

WithDefaults hydrates default values in the audit events read params (not the query body).

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

func (*AuditEventsReadParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the audit events read params

func (*AuditEventsReadParams) WithIds

WithIds adds the ids to the audit events read params

func (*AuditEventsReadParams) WithTimeout

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

WithTimeout adds the timeout to the audit events read params

func (*AuditEventsReadParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type AuditEventsReadReader

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

AuditEventsReadReader is a Reader for the AuditEventsRead structure.

func (*AuditEventsReadReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type AuditEventsReadTooManyRequests

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

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

Too Many Requests

func NewAuditEventsReadTooManyRequests

func NewAuditEventsReadTooManyRequests() *AuditEventsReadTooManyRequests

NewAuditEventsReadTooManyRequests creates a AuditEventsReadTooManyRequests with default headers values

func (*AuditEventsReadTooManyRequests) Code added in v0.2.33

Code gets the status code for the audit events read too many requests response

func (*AuditEventsReadTooManyRequests) Error

func (*AuditEventsReadTooManyRequests) GetPayload

func (*AuditEventsReadTooManyRequests) IsClientError added in v0.2.27

func (o *AuditEventsReadTooManyRequests) IsClientError() bool

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

func (*AuditEventsReadTooManyRequests) IsCode added in v0.2.27

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

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

func (*AuditEventsReadTooManyRequests) IsRedirect added in v0.2.27

func (o *AuditEventsReadTooManyRequests) IsRedirect() bool

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

func (*AuditEventsReadTooManyRequests) IsServerError added in v0.2.27

func (o *AuditEventsReadTooManyRequests) IsServerError() bool

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

func (*AuditEventsReadTooManyRequests) IsSuccess added in v0.2.27

func (o *AuditEventsReadTooManyRequests) IsSuccess() bool

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

func (*AuditEventsReadTooManyRequests) String added in v0.2.27

type Client

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

Client for installation tokens API

func (*Client) AuditEventsQuery

func (a *Client) AuditEventsQuery(params *AuditEventsQueryParams, opts ...ClientOption) (*AuditEventsQueryOK, error)

AuditEventsQuery searches for audit events by providing an f q l filter and paging details

func (*Client) AuditEventsRead

func (a *Client) AuditEventsRead(params *AuditEventsReadParams, opts ...ClientOption) (*AuditEventsReadOK, error)

AuditEventsRead gets the details of one or more audit events by id

func (*Client) CustomerSettingsRead

func (a *Client) CustomerSettingsRead(params *CustomerSettingsReadParams, opts ...ClientOption) (*CustomerSettingsReadOK, error)

CustomerSettingsRead checks current installation token settings

func (*Client) SetTransport

func (a *Client) SetTransport(transport runtime.ClientTransport)

SetTransport changes the transport on the client

func (*Client) TokensCreate

func (a *Client) TokensCreate(params *TokensCreateParams, opts ...ClientOption) (*TokensCreateCreated, error)

TokensCreate creates a token

func (*Client) TokensDelete

func (a *Client) TokensDelete(params *TokensDeleteParams, opts ...ClientOption) (*TokensDeleteOK, error)

TokensDelete deletes a token immediately to revoke a token use p a t c h installation tokens entities tokens v1 instead

func (*Client) TokensQuery

func (a *Client) TokensQuery(params *TokensQueryParams, opts ...ClientOption) (*TokensQueryOK, error)

TokensQuery searches for tokens by providing an f q l filter and paging details

func (*Client) TokensRead

func (a *Client) TokensRead(params *TokensReadParams, opts ...ClientOption) (*TokensReadOK, error)

TokensRead gets the details of one or more tokens by id

func (*Client) TokensUpdate

func (a *Client) TokensUpdate(params *TokensUpdateParams, opts ...ClientOption) (*TokensUpdateOK, error)

TokensUpdate updates one or more tokens use this endpoint to edit labels change expiration revoke or restore

type ClientOption

type ClientOption func(*runtime.ClientOperation)

ClientOption is the option for Client methods

type ClientService

type ClientService interface {
	AuditEventsQuery(params *AuditEventsQueryParams, opts ...ClientOption) (*AuditEventsQueryOK, error)

	AuditEventsRead(params *AuditEventsReadParams, opts ...ClientOption) (*AuditEventsReadOK, error)

	CustomerSettingsRead(params *CustomerSettingsReadParams, opts ...ClientOption) (*CustomerSettingsReadOK, error)

	TokensCreate(params *TokensCreateParams, opts ...ClientOption) (*TokensCreateCreated, error)

	TokensDelete(params *TokensDeleteParams, opts ...ClientOption) (*TokensDeleteOK, error)

	TokensQuery(params *TokensQueryParams, opts ...ClientOption) (*TokensQueryOK, error)

	TokensRead(params *TokensReadParams, opts ...ClientOption) (*TokensReadOK, error)

	TokensUpdate(params *TokensUpdateParams, opts ...ClientOption) (*TokensUpdateOK, 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 installation tokens API client.

type CustomerSettingsReadBadRequest

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

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

Bad Request

func NewCustomerSettingsReadBadRequest

func NewCustomerSettingsReadBadRequest() *CustomerSettingsReadBadRequest

NewCustomerSettingsReadBadRequest creates a CustomerSettingsReadBadRequest with default headers values

func (*CustomerSettingsReadBadRequest) Code added in v0.2.33

Code gets the status code for the customer settings read bad request response

func (*CustomerSettingsReadBadRequest) Error

func (*CustomerSettingsReadBadRequest) GetPayload

func (*CustomerSettingsReadBadRequest) IsClientError added in v0.2.27

func (o *CustomerSettingsReadBadRequest) IsClientError() bool

IsClientError returns true when this customer settings read bad request response has a 4xx status code

func (*CustomerSettingsReadBadRequest) IsCode added in v0.2.27

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

IsCode returns true when this customer settings read bad request response a status code equal to that given

func (*CustomerSettingsReadBadRequest) IsRedirect added in v0.2.27

func (o *CustomerSettingsReadBadRequest) IsRedirect() bool

IsRedirect returns true when this customer settings read bad request response has a 3xx status code

func (*CustomerSettingsReadBadRequest) IsServerError added in v0.2.27

func (o *CustomerSettingsReadBadRequest) IsServerError() bool

IsServerError returns true when this customer settings read bad request response has a 5xx status code

func (*CustomerSettingsReadBadRequest) IsSuccess added in v0.2.27

func (o *CustomerSettingsReadBadRequest) IsSuccess() bool

IsSuccess returns true when this customer settings read bad request response has a 2xx status code

func (*CustomerSettingsReadBadRequest) String added in v0.2.27

type CustomerSettingsReadForbidden

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

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

Forbidden

func NewCustomerSettingsReadForbidden

func NewCustomerSettingsReadForbidden() *CustomerSettingsReadForbidden

NewCustomerSettingsReadForbidden creates a CustomerSettingsReadForbidden with default headers values

func (*CustomerSettingsReadForbidden) Code added in v0.2.33

Code gets the status code for the customer settings read forbidden response

func (*CustomerSettingsReadForbidden) Error

func (*CustomerSettingsReadForbidden) GetPayload

func (*CustomerSettingsReadForbidden) IsClientError added in v0.2.27

func (o *CustomerSettingsReadForbidden) IsClientError() bool

IsClientError returns true when this customer settings read forbidden response has a 4xx status code

func (*CustomerSettingsReadForbidden) IsCode added in v0.2.27

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

IsCode returns true when this customer settings read forbidden response a status code equal to that given

func (*CustomerSettingsReadForbidden) IsRedirect added in v0.2.27

func (o *CustomerSettingsReadForbidden) IsRedirect() bool

IsRedirect returns true when this customer settings read forbidden response has a 3xx status code

func (*CustomerSettingsReadForbidden) IsServerError added in v0.2.27

func (o *CustomerSettingsReadForbidden) IsServerError() bool

IsServerError returns true when this customer settings read forbidden response has a 5xx status code

func (*CustomerSettingsReadForbidden) IsSuccess added in v0.2.27

func (o *CustomerSettingsReadForbidden) IsSuccess() bool

IsSuccess returns true when this customer settings read forbidden response has a 2xx status code

func (*CustomerSettingsReadForbidden) String added in v0.2.27

type CustomerSettingsReadInternalServerError

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

CustomerSettingsReadInternalServerError describes a response with status code 500, with default header values.

Internal Server Error

func NewCustomerSettingsReadInternalServerError

func NewCustomerSettingsReadInternalServerError() *CustomerSettingsReadInternalServerError

NewCustomerSettingsReadInternalServerError creates a CustomerSettingsReadInternalServerError with default headers values

func (*CustomerSettingsReadInternalServerError) Code added in v0.2.33

Code gets the status code for the customer settings read internal server error response

func (*CustomerSettingsReadInternalServerError) Error

func (*CustomerSettingsReadInternalServerError) GetPayload

func (*CustomerSettingsReadInternalServerError) IsClientError added in v0.2.27

func (o *CustomerSettingsReadInternalServerError) IsClientError() bool

IsClientError returns true when this customer settings read internal server error response has a 4xx status code

func (*CustomerSettingsReadInternalServerError) IsCode added in v0.2.27

IsCode returns true when this customer settings read internal server error response a status code equal to that given

func (*CustomerSettingsReadInternalServerError) IsRedirect added in v0.2.27

IsRedirect returns true when this customer settings read internal server error response has a 3xx status code

func (*CustomerSettingsReadInternalServerError) IsServerError added in v0.2.27

func (o *CustomerSettingsReadInternalServerError) IsServerError() bool

IsServerError returns true when this customer settings read internal server error response has a 5xx status code

func (*CustomerSettingsReadInternalServerError) IsSuccess added in v0.2.27

IsSuccess returns true when this customer settings read internal server error response has a 2xx status code

func (*CustomerSettingsReadInternalServerError) String added in v0.2.27

type CustomerSettingsReadOK

type CustomerSettingsReadOK 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.APICustomerSettingsResponseV1
}

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

OK

func NewCustomerSettingsReadOK

func NewCustomerSettingsReadOK() *CustomerSettingsReadOK

NewCustomerSettingsReadOK creates a CustomerSettingsReadOK with default headers values

func (*CustomerSettingsReadOK) Code added in v0.2.33

func (o *CustomerSettingsReadOK) Code() int

Code gets the status code for the customer settings read o k response

func (*CustomerSettingsReadOK) Error

func (o *CustomerSettingsReadOK) Error() string

func (*CustomerSettingsReadOK) GetPayload

func (*CustomerSettingsReadOK) IsClientError added in v0.2.27

func (o *CustomerSettingsReadOK) IsClientError() bool

IsClientError returns true when this customer settings read o k response has a 4xx status code

func (*CustomerSettingsReadOK) IsCode added in v0.2.27

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

IsCode returns true when this customer settings read o k response a status code equal to that given

func (*CustomerSettingsReadOK) IsRedirect added in v0.2.27

func (o *CustomerSettingsReadOK) IsRedirect() bool

IsRedirect returns true when this customer settings read o k response has a 3xx status code

func (*CustomerSettingsReadOK) IsServerError added in v0.2.27

func (o *CustomerSettingsReadOK) IsServerError() bool

IsServerError returns true when this customer settings read o k response has a 5xx status code

func (*CustomerSettingsReadOK) IsSuccess added in v0.2.27

func (o *CustomerSettingsReadOK) IsSuccess() bool

IsSuccess returns true when this customer settings read o k response has a 2xx status code

func (*CustomerSettingsReadOK) String added in v0.2.27

func (o *CustomerSettingsReadOK) String() string

type CustomerSettingsReadParams

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

CustomerSettingsReadParams contains all the parameters to send to the API endpoint

for the customer settings read operation.

Typically these are written to a http.Request.

func NewCustomerSettingsReadParams

func NewCustomerSettingsReadParams() *CustomerSettingsReadParams

NewCustomerSettingsReadParams creates a new CustomerSettingsReadParams 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 NewCustomerSettingsReadParamsWithContext

func NewCustomerSettingsReadParamsWithContext(ctx context.Context) *CustomerSettingsReadParams

NewCustomerSettingsReadParamsWithContext creates a new CustomerSettingsReadParams object with the ability to set a context for a request.

func NewCustomerSettingsReadParamsWithHTTPClient

func NewCustomerSettingsReadParamsWithHTTPClient(client *http.Client) *CustomerSettingsReadParams

NewCustomerSettingsReadParamsWithHTTPClient creates a new CustomerSettingsReadParams object with the ability to set a custom HTTPClient for a request.

func NewCustomerSettingsReadParamsWithTimeout

func NewCustomerSettingsReadParamsWithTimeout(timeout time.Duration) *CustomerSettingsReadParams

NewCustomerSettingsReadParamsWithTimeout creates a new CustomerSettingsReadParams object with the ability to set a timeout on a request.

func (*CustomerSettingsReadParams) SetContext

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

SetContext adds the context to the customer settings read params

func (*CustomerSettingsReadParams) SetDefaults

func (o *CustomerSettingsReadParams) SetDefaults()

SetDefaults hydrates default values in the customer settings read params (not the query body).

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

func (*CustomerSettingsReadParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the customer settings read params

func (*CustomerSettingsReadParams) SetTimeout

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

SetTimeout adds the timeout to the customer settings read params

func (*CustomerSettingsReadParams) WithContext

WithContext adds the context to the customer settings read params

func (*CustomerSettingsReadParams) WithDefaults

WithDefaults hydrates default values in the customer settings read params (not the query body).

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

func (*CustomerSettingsReadParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the customer settings read params

func (*CustomerSettingsReadParams) WithTimeout

WithTimeout adds the timeout to the customer settings read params

func (*CustomerSettingsReadParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type CustomerSettingsReadReader

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

CustomerSettingsReadReader is a Reader for the CustomerSettingsRead structure.

func (*CustomerSettingsReadReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type CustomerSettingsReadTooManyRequests

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

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

Too Many Requests

func NewCustomerSettingsReadTooManyRequests

func NewCustomerSettingsReadTooManyRequests() *CustomerSettingsReadTooManyRequests

NewCustomerSettingsReadTooManyRequests creates a CustomerSettingsReadTooManyRequests with default headers values

func (*CustomerSettingsReadTooManyRequests) Code added in v0.2.33

Code gets the status code for the customer settings read too many requests response

func (*CustomerSettingsReadTooManyRequests) Error

func (*CustomerSettingsReadTooManyRequests) GetPayload

func (*CustomerSettingsReadTooManyRequests) IsClientError added in v0.2.27

func (o *CustomerSettingsReadTooManyRequests) IsClientError() bool

IsClientError returns true when this customer settings read too many requests response has a 4xx status code

func (*CustomerSettingsReadTooManyRequests) IsCode added in v0.2.27

IsCode returns true when this customer settings read too many requests response a status code equal to that given

func (*CustomerSettingsReadTooManyRequests) IsRedirect added in v0.2.27

func (o *CustomerSettingsReadTooManyRequests) IsRedirect() bool

IsRedirect returns true when this customer settings read too many requests response has a 3xx status code

func (*CustomerSettingsReadTooManyRequests) IsServerError added in v0.2.27

func (o *CustomerSettingsReadTooManyRequests) IsServerError() bool

IsServerError returns true when this customer settings read too many requests response has a 5xx status code

func (*CustomerSettingsReadTooManyRequests) IsSuccess added in v0.2.27

IsSuccess returns true when this customer settings read too many requests response has a 2xx status code

func (*CustomerSettingsReadTooManyRequests) String added in v0.2.27

type TokensCreateBadRequest

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

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

Bad Request

func NewTokensCreateBadRequest

func NewTokensCreateBadRequest() *TokensCreateBadRequest

NewTokensCreateBadRequest creates a TokensCreateBadRequest with default headers values

func (*TokensCreateBadRequest) Code added in v0.2.33

func (o *TokensCreateBadRequest) Code() int

Code gets the status code for the tokens create bad request response

func (*TokensCreateBadRequest) Error

func (o *TokensCreateBadRequest) Error() string

func (*TokensCreateBadRequest) GetPayload

func (*TokensCreateBadRequest) IsClientError added in v0.2.27

func (o *TokensCreateBadRequest) IsClientError() bool

IsClientError returns true when this tokens create bad request response has a 4xx status code

func (*TokensCreateBadRequest) IsCode added in v0.2.27

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

IsCode returns true when this tokens create bad request response a status code equal to that given

func (*TokensCreateBadRequest) IsRedirect added in v0.2.27

func (o *TokensCreateBadRequest) IsRedirect() bool

IsRedirect returns true when this tokens create bad request response has a 3xx status code

func (*TokensCreateBadRequest) IsServerError added in v0.2.27

func (o *TokensCreateBadRequest) IsServerError() bool

IsServerError returns true when this tokens create bad request response has a 5xx status code

func (*TokensCreateBadRequest) IsSuccess added in v0.2.27

func (o *TokensCreateBadRequest) IsSuccess() bool

IsSuccess returns true when this tokens create bad request response has a 2xx status code

func (*TokensCreateBadRequest) String added in v0.2.27

func (o *TokensCreateBadRequest) String() string

type TokensCreateCreated

type TokensCreateCreated 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.APITokenDetailsResponseV1
}

TokensCreateCreated describes a response with status code 201, with default header values.

Created

func NewTokensCreateCreated

func NewTokensCreateCreated() *TokensCreateCreated

NewTokensCreateCreated creates a TokensCreateCreated with default headers values

func (*TokensCreateCreated) Code added in v0.2.33

func (o *TokensCreateCreated) Code() int

Code gets the status code for the tokens create created response

func (*TokensCreateCreated) Error

func (o *TokensCreateCreated) Error() string

func (*TokensCreateCreated) GetPayload

func (*TokensCreateCreated) IsClientError added in v0.2.27

func (o *TokensCreateCreated) IsClientError() bool

IsClientError returns true when this tokens create created response has a 4xx status code

func (*TokensCreateCreated) IsCode added in v0.2.27

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

IsCode returns true when this tokens create created response a status code equal to that given

func (*TokensCreateCreated) IsRedirect added in v0.2.27

func (o *TokensCreateCreated) IsRedirect() bool

IsRedirect returns true when this tokens create created response has a 3xx status code

func (*TokensCreateCreated) IsServerError added in v0.2.27

func (o *TokensCreateCreated) IsServerError() bool

IsServerError returns true when this tokens create created response has a 5xx status code

func (*TokensCreateCreated) IsSuccess added in v0.2.27

func (o *TokensCreateCreated) IsSuccess() bool

IsSuccess returns true when this tokens create created response has a 2xx status code

func (*TokensCreateCreated) String added in v0.2.27

func (o *TokensCreateCreated) String() string

type TokensCreateForbidden

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

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

Forbidden

func NewTokensCreateForbidden

func NewTokensCreateForbidden() *TokensCreateForbidden

NewTokensCreateForbidden creates a TokensCreateForbidden with default headers values

func (*TokensCreateForbidden) Code added in v0.2.33

func (o *TokensCreateForbidden) Code() int

Code gets the status code for the tokens create forbidden response

func (*TokensCreateForbidden) Error

func (o *TokensCreateForbidden) Error() string

func (*TokensCreateForbidden) GetPayload

func (*TokensCreateForbidden) IsClientError added in v0.2.27

func (o *TokensCreateForbidden) IsClientError() bool

IsClientError returns true when this tokens create forbidden response has a 4xx status code

func (*TokensCreateForbidden) IsCode added in v0.2.27

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

IsCode returns true when this tokens create forbidden response a status code equal to that given

func (*TokensCreateForbidden) IsRedirect added in v0.2.27

func (o *TokensCreateForbidden) IsRedirect() bool

IsRedirect returns true when this tokens create forbidden response has a 3xx status code

func (*TokensCreateForbidden) IsServerError added in v0.2.27

func (o *TokensCreateForbidden) IsServerError() bool

IsServerError returns true when this tokens create forbidden response has a 5xx status code

func (*TokensCreateForbidden) IsSuccess added in v0.2.27

func (o *TokensCreateForbidden) IsSuccess() bool

IsSuccess returns true when this tokens create forbidden response has a 2xx status code

func (*TokensCreateForbidden) String added in v0.2.27

func (o *TokensCreateForbidden) String() string

type TokensCreateInternalServerError

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

TokensCreateInternalServerError describes a response with status code 500, with default header values.

Internal Server Error

func NewTokensCreateInternalServerError

func NewTokensCreateInternalServerError() *TokensCreateInternalServerError

NewTokensCreateInternalServerError creates a TokensCreateInternalServerError with default headers values

func (*TokensCreateInternalServerError) Code added in v0.2.33

Code gets the status code for the tokens create internal server error response

func (*TokensCreateInternalServerError) Error

func (*TokensCreateInternalServerError) GetPayload

func (*TokensCreateInternalServerError) IsClientError added in v0.2.27

func (o *TokensCreateInternalServerError) IsClientError() bool

IsClientError returns true when this tokens create internal server error response has a 4xx status code

func (*TokensCreateInternalServerError) IsCode added in v0.2.27

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

IsCode returns true when this tokens create internal server error response a status code equal to that given

func (*TokensCreateInternalServerError) IsRedirect added in v0.2.27

func (o *TokensCreateInternalServerError) IsRedirect() bool

IsRedirect returns true when this tokens create internal server error response has a 3xx status code

func (*TokensCreateInternalServerError) IsServerError added in v0.2.27

func (o *TokensCreateInternalServerError) IsServerError() bool

IsServerError returns true when this tokens create internal server error response has a 5xx status code

func (*TokensCreateInternalServerError) IsSuccess added in v0.2.27

func (o *TokensCreateInternalServerError) IsSuccess() bool

IsSuccess returns true when this tokens create internal server error response has a 2xx status code

func (*TokensCreateInternalServerError) String added in v0.2.27

type TokensCreateParams

type TokensCreateParams struct {

	// Body.
	Body *models.APITokenCreateRequestV1

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

TokensCreateParams contains all the parameters to send to the API endpoint

for the tokens create operation.

Typically these are written to a http.Request.

func NewTokensCreateParams

func NewTokensCreateParams() *TokensCreateParams

NewTokensCreateParams creates a new TokensCreateParams 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 NewTokensCreateParamsWithContext

func NewTokensCreateParamsWithContext(ctx context.Context) *TokensCreateParams

NewTokensCreateParamsWithContext creates a new TokensCreateParams object with the ability to set a context for a request.

func NewTokensCreateParamsWithHTTPClient

func NewTokensCreateParamsWithHTTPClient(client *http.Client) *TokensCreateParams

NewTokensCreateParamsWithHTTPClient creates a new TokensCreateParams object with the ability to set a custom HTTPClient for a request.

func NewTokensCreateParamsWithTimeout

func NewTokensCreateParamsWithTimeout(timeout time.Duration) *TokensCreateParams

NewTokensCreateParamsWithTimeout creates a new TokensCreateParams object with the ability to set a timeout on a request.

func (*TokensCreateParams) SetBody

SetBody adds the body to the tokens create params

func (*TokensCreateParams) SetContext

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

SetContext adds the context to the tokens create params

func (*TokensCreateParams) SetDefaults

func (o *TokensCreateParams) SetDefaults()

SetDefaults hydrates default values in the tokens create params (not the query body).

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

func (*TokensCreateParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the tokens create params

func (*TokensCreateParams) SetTimeout

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

SetTimeout adds the timeout to the tokens create params

func (*TokensCreateParams) WithBody

WithBody adds the body to the tokens create params

func (*TokensCreateParams) WithContext

WithContext adds the context to the tokens create params

func (*TokensCreateParams) WithDefaults

func (o *TokensCreateParams) WithDefaults() *TokensCreateParams

WithDefaults hydrates default values in the tokens create params (not the query body).

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

func (*TokensCreateParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the tokens create params

func (*TokensCreateParams) WithTimeout

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

WithTimeout adds the timeout to the tokens create params

func (*TokensCreateParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type TokensCreateReader

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

TokensCreateReader is a Reader for the TokensCreate structure.

func (*TokensCreateReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type TokensCreateTooManyRequests

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

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

Too Many Requests

func NewTokensCreateTooManyRequests

func NewTokensCreateTooManyRequests() *TokensCreateTooManyRequests

NewTokensCreateTooManyRequests creates a TokensCreateTooManyRequests with default headers values

func (*TokensCreateTooManyRequests) Code added in v0.2.33

func (o *TokensCreateTooManyRequests) Code() int

Code gets the status code for the tokens create too many requests response

func (*TokensCreateTooManyRequests) Error

func (*TokensCreateTooManyRequests) GetPayload

func (*TokensCreateTooManyRequests) IsClientError added in v0.2.27

func (o *TokensCreateTooManyRequests) IsClientError() bool

IsClientError returns true when this tokens create too many requests response has a 4xx status code

func (*TokensCreateTooManyRequests) IsCode added in v0.2.27

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

IsCode returns true when this tokens create too many requests response a status code equal to that given

func (*TokensCreateTooManyRequests) IsRedirect added in v0.2.27

func (o *TokensCreateTooManyRequests) IsRedirect() bool

IsRedirect returns true when this tokens create too many requests response has a 3xx status code

func (*TokensCreateTooManyRequests) IsServerError added in v0.2.27

func (o *TokensCreateTooManyRequests) IsServerError() bool

IsServerError returns true when this tokens create too many requests response has a 5xx status code

func (*TokensCreateTooManyRequests) IsSuccess added in v0.2.27

func (o *TokensCreateTooManyRequests) IsSuccess() bool

IsSuccess returns true when this tokens create too many requests response has a 2xx status code

func (*TokensCreateTooManyRequests) String added in v0.2.27

func (o *TokensCreateTooManyRequests) String() string

type TokensDeleteBadRequest

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

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

Bad Request

func NewTokensDeleteBadRequest

func NewTokensDeleteBadRequest() *TokensDeleteBadRequest

NewTokensDeleteBadRequest creates a TokensDeleteBadRequest with default headers values

func (*TokensDeleteBadRequest) Code added in v0.2.33

func (o *TokensDeleteBadRequest) Code() int

Code gets the status code for the tokens delete bad request response

func (*TokensDeleteBadRequest) Error

func (o *TokensDeleteBadRequest) Error() string

func (*TokensDeleteBadRequest) GetPayload

func (*TokensDeleteBadRequest) IsClientError added in v0.2.27

func (o *TokensDeleteBadRequest) IsClientError() bool

IsClientError returns true when this tokens delete bad request response has a 4xx status code

func (*TokensDeleteBadRequest) IsCode added in v0.2.27

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

IsCode returns true when this tokens delete bad request response a status code equal to that given

func (*TokensDeleteBadRequest) IsRedirect added in v0.2.27

func (o *TokensDeleteBadRequest) IsRedirect() bool

IsRedirect returns true when this tokens delete bad request response has a 3xx status code

func (*TokensDeleteBadRequest) IsServerError added in v0.2.27

func (o *TokensDeleteBadRequest) IsServerError() bool

IsServerError returns true when this tokens delete bad request response has a 5xx status code

func (*TokensDeleteBadRequest) IsSuccess added in v0.2.27

func (o *TokensDeleteBadRequest) IsSuccess() bool

IsSuccess returns true when this tokens delete bad request response has a 2xx status code

func (*TokensDeleteBadRequest) String added in v0.2.27

func (o *TokensDeleteBadRequest) String() string

type TokensDeleteForbidden

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

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

Forbidden

func NewTokensDeleteForbidden

func NewTokensDeleteForbidden() *TokensDeleteForbidden

NewTokensDeleteForbidden creates a TokensDeleteForbidden with default headers values

func (*TokensDeleteForbidden) Code added in v0.2.33

func (o *TokensDeleteForbidden) Code() int

Code gets the status code for the tokens delete forbidden response

func (*TokensDeleteForbidden) Error

func (o *TokensDeleteForbidden) Error() string

func (*TokensDeleteForbidden) GetPayload

func (*TokensDeleteForbidden) IsClientError added in v0.2.27

func (o *TokensDeleteForbidden) IsClientError() bool

IsClientError returns true when this tokens delete forbidden response has a 4xx status code

func (*TokensDeleteForbidden) IsCode added in v0.2.27

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

IsCode returns true when this tokens delete forbidden response a status code equal to that given

func (*TokensDeleteForbidden) IsRedirect added in v0.2.27

func (o *TokensDeleteForbidden) IsRedirect() bool

IsRedirect returns true when this tokens delete forbidden response has a 3xx status code

func (*TokensDeleteForbidden) IsServerError added in v0.2.27

func (o *TokensDeleteForbidden) IsServerError() bool

IsServerError returns true when this tokens delete forbidden response has a 5xx status code

func (*TokensDeleteForbidden) IsSuccess added in v0.2.27

func (o *TokensDeleteForbidden) IsSuccess() bool

IsSuccess returns true when this tokens delete forbidden response has a 2xx status code

func (*TokensDeleteForbidden) String added in v0.2.27

func (o *TokensDeleteForbidden) String() string

type TokensDeleteInternalServerError

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

TokensDeleteInternalServerError describes a response with status code 500, with default header values.

Internal Server Error

func NewTokensDeleteInternalServerError

func NewTokensDeleteInternalServerError() *TokensDeleteInternalServerError

NewTokensDeleteInternalServerError creates a TokensDeleteInternalServerError with default headers values

func (*TokensDeleteInternalServerError) Code added in v0.2.33

Code gets the status code for the tokens delete internal server error response

func (*TokensDeleteInternalServerError) Error

func (*TokensDeleteInternalServerError) GetPayload

func (*TokensDeleteInternalServerError) IsClientError added in v0.2.27

func (o *TokensDeleteInternalServerError) IsClientError() bool

IsClientError returns true when this tokens delete internal server error response has a 4xx status code

func (*TokensDeleteInternalServerError) IsCode added in v0.2.27

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

IsCode returns true when this tokens delete internal server error response a status code equal to that given

func (*TokensDeleteInternalServerError) IsRedirect added in v0.2.27

func (o *TokensDeleteInternalServerError) IsRedirect() bool

IsRedirect returns true when this tokens delete internal server error response has a 3xx status code

func (*TokensDeleteInternalServerError) IsServerError added in v0.2.27

func (o *TokensDeleteInternalServerError) IsServerError() bool

IsServerError returns true when this tokens delete internal server error response has a 5xx status code

func (*TokensDeleteInternalServerError) IsSuccess added in v0.2.27

func (o *TokensDeleteInternalServerError) IsSuccess() bool

IsSuccess returns true when this tokens delete internal server error response has a 2xx status code

func (*TokensDeleteInternalServerError) String added in v0.2.27

type TokensDeleteNotFound

type TokensDeleteNotFound 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.MsaQueryResponse
}

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

Not Found

func NewTokensDeleteNotFound

func NewTokensDeleteNotFound() *TokensDeleteNotFound

NewTokensDeleteNotFound creates a TokensDeleteNotFound with default headers values

func (*TokensDeleteNotFound) Code added in v0.2.33

func (o *TokensDeleteNotFound) Code() int

Code gets the status code for the tokens delete not found response

func (*TokensDeleteNotFound) Error

func (o *TokensDeleteNotFound) Error() string

func (*TokensDeleteNotFound) GetPayload

func (o *TokensDeleteNotFound) GetPayload() *models.MsaQueryResponse

func (*TokensDeleteNotFound) IsClientError added in v0.2.27

func (o *TokensDeleteNotFound) IsClientError() bool

IsClientError returns true when this tokens delete not found response has a 4xx status code

func (*TokensDeleteNotFound) IsCode added in v0.2.27

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

IsCode returns true when this tokens delete not found response a status code equal to that given

func (*TokensDeleteNotFound) IsRedirect added in v0.2.27

func (o *TokensDeleteNotFound) IsRedirect() bool

IsRedirect returns true when this tokens delete not found response has a 3xx status code

func (*TokensDeleteNotFound) IsServerError added in v0.2.27

func (o *TokensDeleteNotFound) IsServerError() bool

IsServerError returns true when this tokens delete not found response has a 5xx status code

func (*TokensDeleteNotFound) IsSuccess added in v0.2.27

func (o *TokensDeleteNotFound) IsSuccess() bool

IsSuccess returns true when this tokens delete not found response has a 2xx status code

func (*TokensDeleteNotFound) String added in v0.2.27

func (o *TokensDeleteNotFound) String() string

type TokensDeleteOK

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

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

OK

func NewTokensDeleteOK

func NewTokensDeleteOK() *TokensDeleteOK

NewTokensDeleteOK creates a TokensDeleteOK with default headers values

func (*TokensDeleteOK) Code added in v0.2.33

func (o *TokensDeleteOK) Code() int

Code gets the status code for the tokens delete o k response

func (*TokensDeleteOK) Error

func (o *TokensDeleteOK) Error() string

func (*TokensDeleteOK) GetPayload

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

func (*TokensDeleteOK) IsClientError added in v0.2.27

func (o *TokensDeleteOK) IsClientError() bool

IsClientError returns true when this tokens delete o k response has a 4xx status code

func (*TokensDeleteOK) IsCode added in v0.2.27

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

IsCode returns true when this tokens delete o k response a status code equal to that given

func (*TokensDeleteOK) IsRedirect added in v0.2.27

func (o *TokensDeleteOK) IsRedirect() bool

IsRedirect returns true when this tokens delete o k response has a 3xx status code

func (*TokensDeleteOK) IsServerError added in v0.2.27

func (o *TokensDeleteOK) IsServerError() bool

IsServerError returns true when this tokens delete o k response has a 5xx status code

func (*TokensDeleteOK) IsSuccess added in v0.2.27

func (o *TokensDeleteOK) IsSuccess() bool

IsSuccess returns true when this tokens delete o k response has a 2xx status code

func (*TokensDeleteOK) String added in v0.2.27

func (o *TokensDeleteOK) String() string

type TokensDeleteParams

type TokensDeleteParams struct {

	/* Ids.

	   The token ids to delete.
	*/
	Ids []string

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

TokensDeleteParams contains all the parameters to send to the API endpoint

for the tokens delete operation.

Typically these are written to a http.Request.

func NewTokensDeleteParams

func NewTokensDeleteParams() *TokensDeleteParams

NewTokensDeleteParams creates a new TokensDeleteParams 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 NewTokensDeleteParamsWithContext

func NewTokensDeleteParamsWithContext(ctx context.Context) *TokensDeleteParams

NewTokensDeleteParamsWithContext creates a new TokensDeleteParams object with the ability to set a context for a request.

func NewTokensDeleteParamsWithHTTPClient

func NewTokensDeleteParamsWithHTTPClient(client *http.Client) *TokensDeleteParams

NewTokensDeleteParamsWithHTTPClient creates a new TokensDeleteParams object with the ability to set a custom HTTPClient for a request.

func NewTokensDeleteParamsWithTimeout

func NewTokensDeleteParamsWithTimeout(timeout time.Duration) *TokensDeleteParams

NewTokensDeleteParamsWithTimeout creates a new TokensDeleteParams object with the ability to set a timeout on a request.

func (*TokensDeleteParams) SetContext

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

SetContext adds the context to the tokens delete params

func (*TokensDeleteParams) SetDefaults

func (o *TokensDeleteParams) SetDefaults()

SetDefaults hydrates default values in the tokens delete params (not the query body).

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

func (*TokensDeleteParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the tokens delete params

func (*TokensDeleteParams) SetIds

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

SetIds adds the ids to the tokens delete params

func (*TokensDeleteParams) SetTimeout

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

SetTimeout adds the timeout to the tokens delete params

func (*TokensDeleteParams) WithContext

WithContext adds the context to the tokens delete params

func (*TokensDeleteParams) WithDefaults

func (o *TokensDeleteParams) WithDefaults() *TokensDeleteParams

WithDefaults hydrates default values in the tokens delete params (not the query body).

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

func (*TokensDeleteParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the tokens delete params

func (*TokensDeleteParams) WithIds

func (o *TokensDeleteParams) WithIds(ids []string) *TokensDeleteParams

WithIds adds the ids to the tokens delete params

func (*TokensDeleteParams) WithTimeout

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

WithTimeout adds the timeout to the tokens delete params

func (*TokensDeleteParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type TokensDeleteReader

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

TokensDeleteReader is a Reader for the TokensDelete structure.

func (*TokensDeleteReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type TokensDeleteTooManyRequests

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

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

Too Many Requests

func NewTokensDeleteTooManyRequests

func NewTokensDeleteTooManyRequests() *TokensDeleteTooManyRequests

NewTokensDeleteTooManyRequests creates a TokensDeleteTooManyRequests with default headers values

func (*TokensDeleteTooManyRequests) Code added in v0.2.33

func (o *TokensDeleteTooManyRequests) Code() int

Code gets the status code for the tokens delete too many requests response

func (*TokensDeleteTooManyRequests) Error

func (*TokensDeleteTooManyRequests) GetPayload

func (*TokensDeleteTooManyRequests) IsClientError added in v0.2.27

func (o *TokensDeleteTooManyRequests) IsClientError() bool

IsClientError returns true when this tokens delete too many requests response has a 4xx status code

func (*TokensDeleteTooManyRequests) IsCode added in v0.2.27

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

IsCode returns true when this tokens delete too many requests response a status code equal to that given

func (*TokensDeleteTooManyRequests) IsRedirect added in v0.2.27

func (o *TokensDeleteTooManyRequests) IsRedirect() bool

IsRedirect returns true when this tokens delete too many requests response has a 3xx status code

func (*TokensDeleteTooManyRequests) IsServerError added in v0.2.27

func (o *TokensDeleteTooManyRequests) IsServerError() bool

IsServerError returns true when this tokens delete too many requests response has a 5xx status code

func (*TokensDeleteTooManyRequests) IsSuccess added in v0.2.27

func (o *TokensDeleteTooManyRequests) IsSuccess() bool

IsSuccess returns true when this tokens delete too many requests response has a 2xx status code

func (*TokensDeleteTooManyRequests) String added in v0.2.27

func (o *TokensDeleteTooManyRequests) String() string

type TokensQueryBadRequest

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

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

Bad Request

func NewTokensQueryBadRequest

func NewTokensQueryBadRequest() *TokensQueryBadRequest

NewTokensQueryBadRequest creates a TokensQueryBadRequest with default headers values

func (*TokensQueryBadRequest) Code added in v0.2.33

func (o *TokensQueryBadRequest) Code() int

Code gets the status code for the tokens query bad request response

func (*TokensQueryBadRequest) Error

func (o *TokensQueryBadRequest) Error() string

func (*TokensQueryBadRequest) GetPayload

func (*TokensQueryBadRequest) IsClientError added in v0.2.27

func (o *TokensQueryBadRequest) IsClientError() bool

IsClientError returns true when this tokens query bad request response has a 4xx status code

func (*TokensQueryBadRequest) IsCode added in v0.2.27

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

IsCode returns true when this tokens query bad request response a status code equal to that given

func (*TokensQueryBadRequest) IsRedirect added in v0.2.27

func (o *TokensQueryBadRequest) IsRedirect() bool

IsRedirect returns true when this tokens query bad request response has a 3xx status code

func (*TokensQueryBadRequest) IsServerError added in v0.2.27

func (o *TokensQueryBadRequest) IsServerError() bool

IsServerError returns true when this tokens query bad request response has a 5xx status code

func (*TokensQueryBadRequest) IsSuccess added in v0.2.27

func (o *TokensQueryBadRequest) IsSuccess() bool

IsSuccess returns true when this tokens query bad request response has a 2xx status code

func (*TokensQueryBadRequest) String added in v0.2.27

func (o *TokensQueryBadRequest) String() string

type TokensQueryForbidden

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

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

Forbidden

func NewTokensQueryForbidden

func NewTokensQueryForbidden() *TokensQueryForbidden

NewTokensQueryForbidden creates a TokensQueryForbidden with default headers values

func (*TokensQueryForbidden) Code added in v0.2.33

func (o *TokensQueryForbidden) Code() int

Code gets the status code for the tokens query forbidden response

func (*TokensQueryForbidden) Error

func (o *TokensQueryForbidden) Error() string

func (*TokensQueryForbidden) GetPayload

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

func (*TokensQueryForbidden) IsClientError added in v0.2.27

func (o *TokensQueryForbidden) IsClientError() bool

IsClientError returns true when this tokens query forbidden response has a 4xx status code

func (*TokensQueryForbidden) IsCode added in v0.2.27

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

IsCode returns true when this tokens query forbidden response a status code equal to that given

func (*TokensQueryForbidden) IsRedirect added in v0.2.27

func (o *TokensQueryForbidden) IsRedirect() bool

IsRedirect returns true when this tokens query forbidden response has a 3xx status code

func (*TokensQueryForbidden) IsServerError added in v0.2.27

func (o *TokensQueryForbidden) IsServerError() bool

IsServerError returns true when this tokens query forbidden response has a 5xx status code

func (*TokensQueryForbidden) IsSuccess added in v0.2.27

func (o *TokensQueryForbidden) IsSuccess() bool

IsSuccess returns true when this tokens query forbidden response has a 2xx status code

func (*TokensQueryForbidden) String added in v0.2.27

func (o *TokensQueryForbidden) String() string

type TokensQueryInternalServerError

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

TokensQueryInternalServerError describes a response with status code 500, with default header values.

Internal Server Error

func NewTokensQueryInternalServerError

func NewTokensQueryInternalServerError() *TokensQueryInternalServerError

NewTokensQueryInternalServerError creates a TokensQueryInternalServerError with default headers values

func (*TokensQueryInternalServerError) Code added in v0.2.33

Code gets the status code for the tokens query internal server error response

func (*TokensQueryInternalServerError) Error

func (*TokensQueryInternalServerError) GetPayload

func (*TokensQueryInternalServerError) IsClientError added in v0.2.27

func (o *TokensQueryInternalServerError) IsClientError() bool

IsClientError returns true when this tokens query internal server error response has a 4xx status code

func (*TokensQueryInternalServerError) IsCode added in v0.2.27

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

IsCode returns true when this tokens query internal server error response a status code equal to that given

func (*TokensQueryInternalServerError) IsRedirect added in v0.2.27

func (o *TokensQueryInternalServerError) IsRedirect() bool

IsRedirect returns true when this tokens query internal server error response has a 3xx status code

func (*TokensQueryInternalServerError) IsServerError added in v0.2.27

func (o *TokensQueryInternalServerError) IsServerError() bool

IsServerError returns true when this tokens query internal server error response has a 5xx status code

func (*TokensQueryInternalServerError) IsSuccess added in v0.2.27

func (o *TokensQueryInternalServerError) IsSuccess() bool

IsSuccess returns true when this tokens query internal server error response has a 2xx status code

func (*TokensQueryInternalServerError) String added in v0.2.27

type TokensQueryOK

type TokensQueryOK 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.MsaQueryResponse
}

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

OK

func NewTokensQueryOK

func NewTokensQueryOK() *TokensQueryOK

NewTokensQueryOK creates a TokensQueryOK with default headers values

func (*TokensQueryOK) Code added in v0.2.33

func (o *TokensQueryOK) Code() int

Code gets the status code for the tokens query o k response

func (*TokensQueryOK) Error

func (o *TokensQueryOK) Error() string

func (*TokensQueryOK) GetPayload

func (o *TokensQueryOK) GetPayload() *models.MsaQueryResponse

func (*TokensQueryOK) IsClientError added in v0.2.27

func (o *TokensQueryOK) IsClientError() bool

IsClientError returns true when this tokens query o k response has a 4xx status code

func (*TokensQueryOK) IsCode added in v0.2.27

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

IsCode returns true when this tokens query o k response a status code equal to that given

func (*TokensQueryOK) IsRedirect added in v0.2.27

func (o *TokensQueryOK) IsRedirect() bool

IsRedirect returns true when this tokens query o k response has a 3xx status code

func (*TokensQueryOK) IsServerError added in v0.2.27

func (o *TokensQueryOK) IsServerError() bool

IsServerError returns true when this tokens query o k response has a 5xx status code

func (*TokensQueryOK) IsSuccess added in v0.2.27

func (o *TokensQueryOK) IsSuccess() bool

IsSuccess returns true when this tokens query o k response has a 2xx status code

func (*TokensQueryOK) String added in v0.2.27

func (o *TokensQueryOK) String() string

type TokensQueryParams

type TokensQueryParams struct {

	/* Filter.

	   The filter expression that should be used to limit the results (e.g., `status:'valid'`).
	*/
	Filter *string

	/* Limit.

	   The maximum records to return. [1-1000]. Defaults to 50.
	*/
	Limit *int64

	/* Offset.

	   The offset to start retrieving records from.
	*/
	Offset *int64

	/* Sort.

	   The property to sort by (e.g. created_timestamp.desc).
	*/
	Sort *string

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

TokensQueryParams contains all the parameters to send to the API endpoint

for the tokens query operation.

Typically these are written to a http.Request.

func NewTokensQueryParams

func NewTokensQueryParams() *TokensQueryParams

NewTokensQueryParams creates a new TokensQueryParams 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 NewTokensQueryParamsWithContext

func NewTokensQueryParamsWithContext(ctx context.Context) *TokensQueryParams

NewTokensQueryParamsWithContext creates a new TokensQueryParams object with the ability to set a context for a request.

func NewTokensQueryParamsWithHTTPClient

func NewTokensQueryParamsWithHTTPClient(client *http.Client) *TokensQueryParams

NewTokensQueryParamsWithHTTPClient creates a new TokensQueryParams object with the ability to set a custom HTTPClient for a request.

func NewTokensQueryParamsWithTimeout

func NewTokensQueryParamsWithTimeout(timeout time.Duration) *TokensQueryParams

NewTokensQueryParamsWithTimeout creates a new TokensQueryParams object with the ability to set a timeout on a request.

func (*TokensQueryParams) SetContext

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

SetContext adds the context to the tokens query params

func (*TokensQueryParams) SetDefaults

func (o *TokensQueryParams) SetDefaults()

SetDefaults hydrates default values in the tokens query params (not the query body).

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

func (*TokensQueryParams) SetFilter

func (o *TokensQueryParams) SetFilter(filter *string)

SetFilter adds the filter to the tokens query params

func (*TokensQueryParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the tokens query params

func (*TokensQueryParams) SetLimit

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

SetLimit adds the limit to the tokens query params

func (*TokensQueryParams) SetOffset

func (o *TokensQueryParams) SetOffset(offset *int64)

SetOffset adds the offset to the tokens query params

func (*TokensQueryParams) SetSort

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

SetSort adds the sort to the tokens query params

func (*TokensQueryParams) SetTimeout

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

SetTimeout adds the timeout to the tokens query params

func (*TokensQueryParams) WithContext

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

WithContext adds the context to the tokens query params

func (*TokensQueryParams) WithDefaults

func (o *TokensQueryParams) WithDefaults() *TokensQueryParams

WithDefaults hydrates default values in the tokens query params (not the query body).

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

func (*TokensQueryParams) WithFilter

func (o *TokensQueryParams) WithFilter(filter *string) *TokensQueryParams

WithFilter adds the filter to the tokens query params

func (*TokensQueryParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the tokens query params

func (*TokensQueryParams) WithLimit

func (o *TokensQueryParams) WithLimit(limit *int64) *TokensQueryParams

WithLimit adds the limit to the tokens query params

func (*TokensQueryParams) WithOffset

func (o *TokensQueryParams) WithOffset(offset *int64) *TokensQueryParams

WithOffset adds the offset to the tokens query params

func (*TokensQueryParams) WithSort

func (o *TokensQueryParams) WithSort(sort *string) *TokensQueryParams

WithSort adds the sort to the tokens query params

func (*TokensQueryParams) WithTimeout

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

WithTimeout adds the timeout to the tokens query params

func (*TokensQueryParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type TokensQueryReader

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

TokensQueryReader is a Reader for the TokensQuery structure.

func (*TokensQueryReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type TokensQueryTooManyRequests

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

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

Too Many Requests

func NewTokensQueryTooManyRequests

func NewTokensQueryTooManyRequests() *TokensQueryTooManyRequests

NewTokensQueryTooManyRequests creates a TokensQueryTooManyRequests with default headers values

func (*TokensQueryTooManyRequests) Code added in v0.2.33

func (o *TokensQueryTooManyRequests) Code() int

Code gets the status code for the tokens query too many requests response

func (*TokensQueryTooManyRequests) Error

func (*TokensQueryTooManyRequests) GetPayload

func (*TokensQueryTooManyRequests) IsClientError added in v0.2.27

func (o *TokensQueryTooManyRequests) IsClientError() bool

IsClientError returns true when this tokens query too many requests response has a 4xx status code

func (*TokensQueryTooManyRequests) IsCode added in v0.2.27

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

IsCode returns true when this tokens query too many requests response a status code equal to that given

func (*TokensQueryTooManyRequests) IsRedirect added in v0.2.27

func (o *TokensQueryTooManyRequests) IsRedirect() bool

IsRedirect returns true when this tokens query too many requests response has a 3xx status code

func (*TokensQueryTooManyRequests) IsServerError added in v0.2.27

func (o *TokensQueryTooManyRequests) IsServerError() bool

IsServerError returns true when this tokens query too many requests response has a 5xx status code

func (*TokensQueryTooManyRequests) IsSuccess added in v0.2.27

func (o *TokensQueryTooManyRequests) IsSuccess() bool

IsSuccess returns true when this tokens query too many requests response has a 2xx status code

func (*TokensQueryTooManyRequests) String added in v0.2.27

func (o *TokensQueryTooManyRequests) String() string

type TokensReadBadRequest

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

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

Bad Request

func NewTokensReadBadRequest

func NewTokensReadBadRequest() *TokensReadBadRequest

NewTokensReadBadRequest creates a TokensReadBadRequest with default headers values

func (*TokensReadBadRequest) Code added in v0.2.33

func (o *TokensReadBadRequest) Code() int

Code gets the status code for the tokens read bad request response

func (*TokensReadBadRequest) Error

func (o *TokensReadBadRequest) Error() string

func (*TokensReadBadRequest) GetPayload

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

func (*TokensReadBadRequest) IsClientError added in v0.2.27

func (o *TokensReadBadRequest) IsClientError() bool

IsClientError returns true when this tokens read bad request response has a 4xx status code

func (*TokensReadBadRequest) IsCode added in v0.2.27

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

IsCode returns true when this tokens read bad request response a status code equal to that given

func (*TokensReadBadRequest) IsRedirect added in v0.2.27

func (o *TokensReadBadRequest) IsRedirect() bool

IsRedirect returns true when this tokens read bad request response has a 3xx status code

func (*TokensReadBadRequest) IsServerError added in v0.2.27

func (o *TokensReadBadRequest) IsServerError() bool

IsServerError returns true when this tokens read bad request response has a 5xx status code

func (*TokensReadBadRequest) IsSuccess added in v0.2.27

func (o *TokensReadBadRequest) IsSuccess() bool

IsSuccess returns true when this tokens read bad request response has a 2xx status code

func (*TokensReadBadRequest) String added in v0.2.27

func (o *TokensReadBadRequest) String() string

type TokensReadForbidden

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

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

Forbidden

func NewTokensReadForbidden

func NewTokensReadForbidden() *TokensReadForbidden

NewTokensReadForbidden creates a TokensReadForbidden with default headers values

func (*TokensReadForbidden) Code added in v0.2.33

func (o *TokensReadForbidden) Code() int

Code gets the status code for the tokens read forbidden response

func (*TokensReadForbidden) Error

func (o *TokensReadForbidden) Error() string

func (*TokensReadForbidden) GetPayload

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

func (*TokensReadForbidden) IsClientError added in v0.2.27

func (o *TokensReadForbidden) IsClientError() bool

IsClientError returns true when this tokens read forbidden response has a 4xx status code

func (*TokensReadForbidden) IsCode added in v0.2.27

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

IsCode returns true when this tokens read forbidden response a status code equal to that given

func (*TokensReadForbidden) IsRedirect added in v0.2.27

func (o *TokensReadForbidden) IsRedirect() bool

IsRedirect returns true when this tokens read forbidden response has a 3xx status code

func (*TokensReadForbidden) IsServerError added in v0.2.27

func (o *TokensReadForbidden) IsServerError() bool

IsServerError returns true when this tokens read forbidden response has a 5xx status code

func (*TokensReadForbidden) IsSuccess added in v0.2.27

func (o *TokensReadForbidden) IsSuccess() bool

IsSuccess returns true when this tokens read forbidden response has a 2xx status code

func (*TokensReadForbidden) String added in v0.2.27

func (o *TokensReadForbidden) String() string

type TokensReadInternalServerError

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

TokensReadInternalServerError describes a response with status code 500, with default header values.

Internal Server Error

func NewTokensReadInternalServerError

func NewTokensReadInternalServerError() *TokensReadInternalServerError

NewTokensReadInternalServerError creates a TokensReadInternalServerError with default headers values

func (*TokensReadInternalServerError) Code added in v0.2.33

Code gets the status code for the tokens read internal server error response

func (*TokensReadInternalServerError) Error

func (*TokensReadInternalServerError) GetPayload

func (*TokensReadInternalServerError) IsClientError added in v0.2.27

func (o *TokensReadInternalServerError) IsClientError() bool

IsClientError returns true when this tokens read internal server error response has a 4xx status code

func (*TokensReadInternalServerError) IsCode added in v0.2.27

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

IsCode returns true when this tokens read internal server error response a status code equal to that given

func (*TokensReadInternalServerError) IsRedirect added in v0.2.27

func (o *TokensReadInternalServerError) IsRedirect() bool

IsRedirect returns true when this tokens read internal server error response has a 3xx status code

func (*TokensReadInternalServerError) IsServerError added in v0.2.27

func (o *TokensReadInternalServerError) IsServerError() bool

IsServerError returns true when this tokens read internal server error response has a 5xx status code

func (*TokensReadInternalServerError) IsSuccess added in v0.2.27

func (o *TokensReadInternalServerError) IsSuccess() bool

IsSuccess returns true when this tokens read internal server error response has a 2xx status code

func (*TokensReadInternalServerError) String added in v0.2.27

type TokensReadOK

type TokensReadOK 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.APITokenDetailsResponseV1
}

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

OK

func NewTokensReadOK

func NewTokensReadOK() *TokensReadOK

NewTokensReadOK creates a TokensReadOK with default headers values

func (*TokensReadOK) Code added in v0.2.33

func (o *TokensReadOK) Code() int

Code gets the status code for the tokens read o k response

func (*TokensReadOK) Error

func (o *TokensReadOK) Error() string

func (*TokensReadOK) GetPayload

func (*TokensReadOK) IsClientError added in v0.2.27

func (o *TokensReadOK) IsClientError() bool

IsClientError returns true when this tokens read o k response has a 4xx status code

func (*TokensReadOK) IsCode added in v0.2.27

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

IsCode returns true when this tokens read o k response a status code equal to that given

func (*TokensReadOK) IsRedirect added in v0.2.27

func (o *TokensReadOK) IsRedirect() bool

IsRedirect returns true when this tokens read o k response has a 3xx status code

func (*TokensReadOK) IsServerError added in v0.2.27

func (o *TokensReadOK) IsServerError() bool

IsServerError returns true when this tokens read o k response has a 5xx status code

func (*TokensReadOK) IsSuccess added in v0.2.27

func (o *TokensReadOK) IsSuccess() bool

IsSuccess returns true when this tokens read o k response has a 2xx status code

func (*TokensReadOK) String added in v0.2.27

func (o *TokensReadOK) String() string

type TokensReadParams

type TokensReadParams struct {

	/* Ids.

	   IDs of tokens to retrieve details for
	*/
	Ids []string

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

TokensReadParams contains all the parameters to send to the API endpoint

for the tokens read operation.

Typically these are written to a http.Request.

func NewTokensReadParams

func NewTokensReadParams() *TokensReadParams

NewTokensReadParams creates a new TokensReadParams 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 NewTokensReadParamsWithContext

func NewTokensReadParamsWithContext(ctx context.Context) *TokensReadParams

NewTokensReadParamsWithContext creates a new TokensReadParams object with the ability to set a context for a request.

func NewTokensReadParamsWithHTTPClient

func NewTokensReadParamsWithHTTPClient(client *http.Client) *TokensReadParams

NewTokensReadParamsWithHTTPClient creates a new TokensReadParams object with the ability to set a custom HTTPClient for a request.

func NewTokensReadParamsWithTimeout

func NewTokensReadParamsWithTimeout(timeout time.Duration) *TokensReadParams

NewTokensReadParamsWithTimeout creates a new TokensReadParams object with the ability to set a timeout on a request.

func (*TokensReadParams) SetContext

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

SetContext adds the context to the tokens read params

func (*TokensReadParams) SetDefaults

func (o *TokensReadParams) SetDefaults()

SetDefaults hydrates default values in the tokens read params (not the query body).

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

func (*TokensReadParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the tokens read params

func (*TokensReadParams) SetIds

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

SetIds adds the ids to the tokens read params

func (*TokensReadParams) SetTimeout

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

SetTimeout adds the timeout to the tokens read params

func (*TokensReadParams) WithContext

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

WithContext adds the context to the tokens read params

func (*TokensReadParams) WithDefaults

func (o *TokensReadParams) WithDefaults() *TokensReadParams

WithDefaults hydrates default values in the tokens read params (not the query body).

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

func (*TokensReadParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the tokens read params

func (*TokensReadParams) WithIds

func (o *TokensReadParams) WithIds(ids []string) *TokensReadParams

WithIds adds the ids to the tokens read params

func (*TokensReadParams) WithTimeout

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

WithTimeout adds the timeout to the tokens read params

func (*TokensReadParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type TokensReadReader

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

TokensReadReader is a Reader for the TokensRead structure.

func (*TokensReadReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type TokensReadTooManyRequests

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

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

Too Many Requests

func NewTokensReadTooManyRequests

func NewTokensReadTooManyRequests() *TokensReadTooManyRequests

NewTokensReadTooManyRequests creates a TokensReadTooManyRequests with default headers values

func (*TokensReadTooManyRequests) Code added in v0.2.33

func (o *TokensReadTooManyRequests) Code() int

Code gets the status code for the tokens read too many requests response

func (*TokensReadTooManyRequests) Error

func (o *TokensReadTooManyRequests) Error() string

func (*TokensReadTooManyRequests) GetPayload

func (*TokensReadTooManyRequests) IsClientError added in v0.2.27

func (o *TokensReadTooManyRequests) IsClientError() bool

IsClientError returns true when this tokens read too many requests response has a 4xx status code

func (*TokensReadTooManyRequests) IsCode added in v0.2.27

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

IsCode returns true when this tokens read too many requests response a status code equal to that given

func (*TokensReadTooManyRequests) IsRedirect added in v0.2.27

func (o *TokensReadTooManyRequests) IsRedirect() bool

IsRedirect returns true when this tokens read too many requests response has a 3xx status code

func (*TokensReadTooManyRequests) IsServerError added in v0.2.27

func (o *TokensReadTooManyRequests) IsServerError() bool

IsServerError returns true when this tokens read too many requests response has a 5xx status code

func (*TokensReadTooManyRequests) IsSuccess added in v0.2.27

func (o *TokensReadTooManyRequests) IsSuccess() bool

IsSuccess returns true when this tokens read too many requests response has a 2xx status code

func (*TokensReadTooManyRequests) String added in v0.2.27

func (o *TokensReadTooManyRequests) String() string

type TokensUpdateBadRequest

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

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

Bad Request

func NewTokensUpdateBadRequest

func NewTokensUpdateBadRequest() *TokensUpdateBadRequest

NewTokensUpdateBadRequest creates a TokensUpdateBadRequest with default headers values

func (*TokensUpdateBadRequest) Code added in v0.2.33

func (o *TokensUpdateBadRequest) Code() int

Code gets the status code for the tokens update bad request response

func (*TokensUpdateBadRequest) Error

func (o *TokensUpdateBadRequest) Error() string

func (*TokensUpdateBadRequest) GetPayload

func (*TokensUpdateBadRequest) IsClientError added in v0.2.27

func (o *TokensUpdateBadRequest) IsClientError() bool

IsClientError returns true when this tokens update bad request response has a 4xx status code

func (*TokensUpdateBadRequest) IsCode added in v0.2.27

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

IsCode returns true when this tokens update bad request response a status code equal to that given

func (*TokensUpdateBadRequest) IsRedirect added in v0.2.27

func (o *TokensUpdateBadRequest) IsRedirect() bool

IsRedirect returns true when this tokens update bad request response has a 3xx status code

func (*TokensUpdateBadRequest) IsServerError added in v0.2.27

func (o *TokensUpdateBadRequest) IsServerError() bool

IsServerError returns true when this tokens update bad request response has a 5xx status code

func (*TokensUpdateBadRequest) IsSuccess added in v0.2.27

func (o *TokensUpdateBadRequest) IsSuccess() bool

IsSuccess returns true when this tokens update bad request response has a 2xx status code

func (*TokensUpdateBadRequest) String added in v0.2.27

func (o *TokensUpdateBadRequest) String() string

type TokensUpdateForbidden

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

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

Forbidden

func NewTokensUpdateForbidden

func NewTokensUpdateForbidden() *TokensUpdateForbidden

NewTokensUpdateForbidden creates a TokensUpdateForbidden with default headers values

func (*TokensUpdateForbidden) Code added in v0.2.33

func (o *TokensUpdateForbidden) Code() int

Code gets the status code for the tokens update forbidden response

func (*TokensUpdateForbidden) Error

func (o *TokensUpdateForbidden) Error() string

func (*TokensUpdateForbidden) GetPayload

func (*TokensUpdateForbidden) IsClientError added in v0.2.27

func (o *TokensUpdateForbidden) IsClientError() bool

IsClientError returns true when this tokens update forbidden response has a 4xx status code

func (*TokensUpdateForbidden) IsCode added in v0.2.27

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

IsCode returns true when this tokens update forbidden response a status code equal to that given

func (*TokensUpdateForbidden) IsRedirect added in v0.2.27

func (o *TokensUpdateForbidden) IsRedirect() bool

IsRedirect returns true when this tokens update forbidden response has a 3xx status code

func (*TokensUpdateForbidden) IsServerError added in v0.2.27

func (o *TokensUpdateForbidden) IsServerError() bool

IsServerError returns true when this tokens update forbidden response has a 5xx status code

func (*TokensUpdateForbidden) IsSuccess added in v0.2.27

func (o *TokensUpdateForbidden) IsSuccess() bool

IsSuccess returns true when this tokens update forbidden response has a 2xx status code

func (*TokensUpdateForbidden) String added in v0.2.27

func (o *TokensUpdateForbidden) String() string

type TokensUpdateInternalServerError

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

TokensUpdateInternalServerError describes a response with status code 500, with default header values.

Internal Server Error

func NewTokensUpdateInternalServerError

func NewTokensUpdateInternalServerError() *TokensUpdateInternalServerError

NewTokensUpdateInternalServerError creates a TokensUpdateInternalServerError with default headers values

func (*TokensUpdateInternalServerError) Code added in v0.2.33

Code gets the status code for the tokens update internal server error response

func (*TokensUpdateInternalServerError) Error

func (*TokensUpdateInternalServerError) GetPayload

func (*TokensUpdateInternalServerError) IsClientError added in v0.2.27

func (o *TokensUpdateInternalServerError) IsClientError() bool

IsClientError returns true when this tokens update internal server error response has a 4xx status code

func (*TokensUpdateInternalServerError) IsCode added in v0.2.27

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

IsCode returns true when this tokens update internal server error response a status code equal to that given

func (*TokensUpdateInternalServerError) IsRedirect added in v0.2.27

func (o *TokensUpdateInternalServerError) IsRedirect() bool

IsRedirect returns true when this tokens update internal server error response has a 3xx status code

func (*TokensUpdateInternalServerError) IsServerError added in v0.2.27

func (o *TokensUpdateInternalServerError) IsServerError() bool

IsServerError returns true when this tokens update internal server error response has a 5xx status code

func (*TokensUpdateInternalServerError) IsSuccess added in v0.2.27

func (o *TokensUpdateInternalServerError) IsSuccess() bool

IsSuccess returns true when this tokens update internal server error response has a 2xx status code

func (*TokensUpdateInternalServerError) String added in v0.2.27

type TokensUpdateNotFound

type TokensUpdateNotFound 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.MsaQueryResponse
}

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

Not Found

func NewTokensUpdateNotFound

func NewTokensUpdateNotFound() *TokensUpdateNotFound

NewTokensUpdateNotFound creates a TokensUpdateNotFound with default headers values

func (*TokensUpdateNotFound) Code added in v0.2.33

func (o *TokensUpdateNotFound) Code() int

Code gets the status code for the tokens update not found response

func (*TokensUpdateNotFound) Error

func (o *TokensUpdateNotFound) Error() string

func (*TokensUpdateNotFound) GetPayload

func (o *TokensUpdateNotFound) GetPayload() *models.MsaQueryResponse

func (*TokensUpdateNotFound) IsClientError added in v0.2.27

func (o *TokensUpdateNotFound) IsClientError() bool

IsClientError returns true when this tokens update not found response has a 4xx status code

func (*TokensUpdateNotFound) IsCode added in v0.2.27

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

IsCode returns true when this tokens update not found response a status code equal to that given

func (*TokensUpdateNotFound) IsRedirect added in v0.2.27

func (o *TokensUpdateNotFound) IsRedirect() bool

IsRedirect returns true when this tokens update not found response has a 3xx status code

func (*TokensUpdateNotFound) IsServerError added in v0.2.27

func (o *TokensUpdateNotFound) IsServerError() bool

IsServerError returns true when this tokens update not found response has a 5xx status code

func (*TokensUpdateNotFound) IsSuccess added in v0.2.27

func (o *TokensUpdateNotFound) IsSuccess() bool

IsSuccess returns true when this tokens update not found response has a 2xx status code

func (*TokensUpdateNotFound) String added in v0.2.27

func (o *TokensUpdateNotFound) String() string

type TokensUpdateOK

type TokensUpdateOK 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.MsaQueryResponse
}

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

OK

func NewTokensUpdateOK

func NewTokensUpdateOK() *TokensUpdateOK

NewTokensUpdateOK creates a TokensUpdateOK with default headers values

func (*TokensUpdateOK) Code added in v0.2.33

func (o *TokensUpdateOK) Code() int

Code gets the status code for the tokens update o k response

func (*TokensUpdateOK) Error

func (o *TokensUpdateOK) Error() string

func (*TokensUpdateOK) GetPayload

func (o *TokensUpdateOK) GetPayload() *models.MsaQueryResponse

func (*TokensUpdateOK) IsClientError added in v0.2.27

func (o *TokensUpdateOK) IsClientError() bool

IsClientError returns true when this tokens update o k response has a 4xx status code

func (*TokensUpdateOK) IsCode added in v0.2.27

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

IsCode returns true when this tokens update o k response a status code equal to that given

func (*TokensUpdateOK) IsRedirect added in v0.2.27

func (o *TokensUpdateOK) IsRedirect() bool

IsRedirect returns true when this tokens update o k response has a 3xx status code

func (*TokensUpdateOK) IsServerError added in v0.2.27

func (o *TokensUpdateOK) IsServerError() bool

IsServerError returns true when this tokens update o k response has a 5xx status code

func (*TokensUpdateOK) IsSuccess added in v0.2.27

func (o *TokensUpdateOK) IsSuccess() bool

IsSuccess returns true when this tokens update o k response has a 2xx status code

func (*TokensUpdateOK) String added in v0.2.27

func (o *TokensUpdateOK) String() string

type TokensUpdateParams

type TokensUpdateParams struct {

	// Body.
	Body *models.APITokenPatchRequestV1

	/* Ids.

	   The token ids to update.
	*/
	Ids []string

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

TokensUpdateParams contains all the parameters to send to the API endpoint

for the tokens update operation.

Typically these are written to a http.Request.

func NewTokensUpdateParams

func NewTokensUpdateParams() *TokensUpdateParams

NewTokensUpdateParams creates a new TokensUpdateParams 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 NewTokensUpdateParamsWithContext

func NewTokensUpdateParamsWithContext(ctx context.Context) *TokensUpdateParams

NewTokensUpdateParamsWithContext creates a new TokensUpdateParams object with the ability to set a context for a request.

func NewTokensUpdateParamsWithHTTPClient

func NewTokensUpdateParamsWithHTTPClient(client *http.Client) *TokensUpdateParams

NewTokensUpdateParamsWithHTTPClient creates a new TokensUpdateParams object with the ability to set a custom HTTPClient for a request.

func NewTokensUpdateParamsWithTimeout

func NewTokensUpdateParamsWithTimeout(timeout time.Duration) *TokensUpdateParams

NewTokensUpdateParamsWithTimeout creates a new TokensUpdateParams object with the ability to set a timeout on a request.

func (*TokensUpdateParams) SetBody

SetBody adds the body to the tokens update params

func (*TokensUpdateParams) SetContext

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

SetContext adds the context to the tokens update params

func (*TokensUpdateParams) SetDefaults

func (o *TokensUpdateParams) SetDefaults()

SetDefaults hydrates default values in the tokens update params (not the query body).

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

func (*TokensUpdateParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the tokens update params

func (*TokensUpdateParams) SetIds

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

SetIds adds the ids to the tokens update params

func (*TokensUpdateParams) SetTimeout

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

SetTimeout adds the timeout to the tokens update params

func (*TokensUpdateParams) WithBody

WithBody adds the body to the tokens update params

func (*TokensUpdateParams) WithContext

WithContext adds the context to the tokens update params

func (*TokensUpdateParams) WithDefaults

func (o *TokensUpdateParams) WithDefaults() *TokensUpdateParams

WithDefaults hydrates default values in the tokens update params (not the query body).

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

func (*TokensUpdateParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the tokens update params

func (*TokensUpdateParams) WithIds

func (o *TokensUpdateParams) WithIds(ids []string) *TokensUpdateParams

WithIds adds the ids to the tokens update params

func (*TokensUpdateParams) WithTimeout

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

WithTimeout adds the timeout to the tokens update params

func (*TokensUpdateParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type TokensUpdateReader

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

TokensUpdateReader is a Reader for the TokensUpdate structure.

func (*TokensUpdateReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type TokensUpdateTooManyRequests

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

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

Too Many Requests

func NewTokensUpdateTooManyRequests

func NewTokensUpdateTooManyRequests() *TokensUpdateTooManyRequests

NewTokensUpdateTooManyRequests creates a TokensUpdateTooManyRequests with default headers values

func (*TokensUpdateTooManyRequests) Code added in v0.2.33

func (o *TokensUpdateTooManyRequests) Code() int

Code gets the status code for the tokens update too many requests response

func (*TokensUpdateTooManyRequests) Error

func (*TokensUpdateTooManyRequests) GetPayload

func (*TokensUpdateTooManyRequests) IsClientError added in v0.2.27

func (o *TokensUpdateTooManyRequests) IsClientError() bool

IsClientError returns true when this tokens update too many requests response has a 4xx status code

func (*TokensUpdateTooManyRequests) IsCode added in v0.2.27

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

IsCode returns true when this tokens update too many requests response a status code equal to that given

func (*TokensUpdateTooManyRequests) IsRedirect added in v0.2.27

func (o *TokensUpdateTooManyRequests) IsRedirect() bool

IsRedirect returns true when this tokens update too many requests response has a 3xx status code

func (*TokensUpdateTooManyRequests) IsServerError added in v0.2.27

func (o *TokensUpdateTooManyRequests) IsServerError() bool

IsServerError returns true when this tokens update too many requests response has a 5xx status code

func (*TokensUpdateTooManyRequests) IsSuccess added in v0.2.27

func (o *TokensUpdateTooManyRequests) IsSuccess() bool

IsSuccess returns true when this tokens update too many requests response has a 2xx status code

func (*TokensUpdateTooManyRequests) String added in v0.2.27

func (o *TokensUpdateTooManyRequests) String() string

Jump to

Keyboard shortcuts

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