Documentation ¶
Index ¶
- type AuditEventsQueryBadRequest
- type AuditEventsQueryDefault
- type AuditEventsQueryForbidden
- type AuditEventsQueryInternalServerError
- type AuditEventsQueryOK
- type AuditEventsQueryParams
- func NewAuditEventsQueryParams() *AuditEventsQueryParams
- func NewAuditEventsQueryParamsWithContext(ctx context.Context) *AuditEventsQueryParams
- func NewAuditEventsQueryParamsWithHTTPClient(client *http.Client) *AuditEventsQueryParams
- func NewAuditEventsQueryParamsWithTimeout(timeout time.Duration) *AuditEventsQueryParams
- func (o *AuditEventsQueryParams) SetContext(ctx context.Context)
- func (o *AuditEventsQueryParams) SetDefaults()
- func (o *AuditEventsQueryParams) SetFilter(filter *string)
- func (o *AuditEventsQueryParams) SetHTTPClient(client *http.Client)
- func (o *AuditEventsQueryParams) SetLimit(limit *int64)
- func (o *AuditEventsQueryParams) SetOffset(offset *int64)
- func (o *AuditEventsQueryParams) SetSort(sort *string)
- func (o *AuditEventsQueryParams) SetTimeout(timeout time.Duration)
- func (o *AuditEventsQueryParams) WithContext(ctx context.Context) *AuditEventsQueryParams
- func (o *AuditEventsQueryParams) WithDefaults() *AuditEventsQueryParams
- func (o *AuditEventsQueryParams) WithFilter(filter *string) *AuditEventsQueryParams
- func (o *AuditEventsQueryParams) WithHTTPClient(client *http.Client) *AuditEventsQueryParams
- func (o *AuditEventsQueryParams) WithLimit(limit *int64) *AuditEventsQueryParams
- func (o *AuditEventsQueryParams) WithOffset(offset *int64) *AuditEventsQueryParams
- func (o *AuditEventsQueryParams) WithSort(sort *string) *AuditEventsQueryParams
- func (o *AuditEventsQueryParams) WithTimeout(timeout time.Duration) *AuditEventsQueryParams
- func (o *AuditEventsQueryParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type AuditEventsQueryReader
- type AuditEventsQueryTooManyRequests
- type AuditEventsReadBadRequest
- type AuditEventsReadDefault
- type AuditEventsReadForbidden
- type AuditEventsReadInternalServerError
- type AuditEventsReadOK
- type AuditEventsReadParams
- func NewAuditEventsReadParams() *AuditEventsReadParams
- func NewAuditEventsReadParamsWithContext(ctx context.Context) *AuditEventsReadParams
- func NewAuditEventsReadParamsWithHTTPClient(client *http.Client) *AuditEventsReadParams
- func NewAuditEventsReadParamsWithTimeout(timeout time.Duration) *AuditEventsReadParams
- func (o *AuditEventsReadParams) SetContext(ctx context.Context)
- func (o *AuditEventsReadParams) SetDefaults()
- func (o *AuditEventsReadParams) SetHTTPClient(client *http.Client)
- func (o *AuditEventsReadParams) SetIds(ids []string)
- func (o *AuditEventsReadParams) SetTimeout(timeout time.Duration)
- func (o *AuditEventsReadParams) WithContext(ctx context.Context) *AuditEventsReadParams
- func (o *AuditEventsReadParams) WithDefaults() *AuditEventsReadParams
- func (o *AuditEventsReadParams) WithHTTPClient(client *http.Client) *AuditEventsReadParams
- func (o *AuditEventsReadParams) WithIds(ids []string) *AuditEventsReadParams
- func (o *AuditEventsReadParams) WithTimeout(timeout time.Duration) *AuditEventsReadParams
- func (o *AuditEventsReadParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type AuditEventsReadReader
- type AuditEventsReadTooManyRequests
- type Client
- func (a *Client) AuditEventsQuery(params *AuditEventsQueryParams, opts ...ClientOption) (*AuditEventsQueryOK, error)
- func (a *Client) AuditEventsRead(params *AuditEventsReadParams, opts ...ClientOption) (*AuditEventsReadOK, error)
- func (a *Client) CustomerSettingsRead(params *CustomerSettingsReadParams, opts ...ClientOption) (*CustomerSettingsReadOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- func (a *Client) TokensCreate(params *TokensCreateParams, opts ...ClientOption) (*TokensCreateCreated, error)
- func (a *Client) TokensDelete(params *TokensDeleteParams, opts ...ClientOption) (*TokensDeleteOK, error)
- func (a *Client) TokensQuery(params *TokensQueryParams, opts ...ClientOption) (*TokensQueryOK, error)
- func (a *Client) TokensRead(params *TokensReadParams, opts ...ClientOption) (*TokensReadOK, error)
- func (a *Client) TokensUpdate(params *TokensUpdateParams, opts ...ClientOption) (*TokensUpdateOK, error)
- type ClientOption
- type ClientService
- type CustomerSettingsReadBadRequest
- type CustomerSettingsReadDefault
- type CustomerSettingsReadForbidden
- type CustomerSettingsReadInternalServerError
- type CustomerSettingsReadOK
- type CustomerSettingsReadParams
- func NewCustomerSettingsReadParams() *CustomerSettingsReadParams
- func NewCustomerSettingsReadParamsWithContext(ctx context.Context) *CustomerSettingsReadParams
- func NewCustomerSettingsReadParamsWithHTTPClient(client *http.Client) *CustomerSettingsReadParams
- func NewCustomerSettingsReadParamsWithTimeout(timeout time.Duration) *CustomerSettingsReadParams
- func (o *CustomerSettingsReadParams) SetContext(ctx context.Context)
- func (o *CustomerSettingsReadParams) SetDefaults()
- func (o *CustomerSettingsReadParams) SetHTTPClient(client *http.Client)
- func (o *CustomerSettingsReadParams) SetTimeout(timeout time.Duration)
- func (o *CustomerSettingsReadParams) WithContext(ctx context.Context) *CustomerSettingsReadParams
- func (o *CustomerSettingsReadParams) WithDefaults() *CustomerSettingsReadParams
- func (o *CustomerSettingsReadParams) WithHTTPClient(client *http.Client) *CustomerSettingsReadParams
- func (o *CustomerSettingsReadParams) WithTimeout(timeout time.Duration) *CustomerSettingsReadParams
- func (o *CustomerSettingsReadParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CustomerSettingsReadReader
- type CustomerSettingsReadTooManyRequests
- type TokensCreateBadRequest
- type TokensCreateCreated
- type TokensCreateForbidden
- type TokensCreateInternalServerError
- type TokensCreateParams
- func (o *TokensCreateParams) SetBody(body *models.APITokenCreateRequestV1)
- func (o *TokensCreateParams) SetContext(ctx context.Context)
- func (o *TokensCreateParams) SetDefaults()
- func (o *TokensCreateParams) SetHTTPClient(client *http.Client)
- func (o *TokensCreateParams) SetTimeout(timeout time.Duration)
- func (o *TokensCreateParams) WithBody(body *models.APITokenCreateRequestV1) *TokensCreateParams
- func (o *TokensCreateParams) WithContext(ctx context.Context) *TokensCreateParams
- func (o *TokensCreateParams) WithDefaults() *TokensCreateParams
- func (o *TokensCreateParams) WithHTTPClient(client *http.Client) *TokensCreateParams
- func (o *TokensCreateParams) WithTimeout(timeout time.Duration) *TokensCreateParams
- func (o *TokensCreateParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type TokensCreateReader
- type TokensCreateTooManyRequests
- type TokensDeleteBadRequest
- type TokensDeleteDefault
- type TokensDeleteForbidden
- type TokensDeleteInternalServerError
- type TokensDeleteNotFound
- type TokensDeleteOK
- type TokensDeleteParams
- func (o *TokensDeleteParams) SetContext(ctx context.Context)
- func (o *TokensDeleteParams) SetDefaults()
- func (o *TokensDeleteParams) SetHTTPClient(client *http.Client)
- func (o *TokensDeleteParams) SetIds(ids []string)
- func (o *TokensDeleteParams) SetTimeout(timeout time.Duration)
- func (o *TokensDeleteParams) WithContext(ctx context.Context) *TokensDeleteParams
- func (o *TokensDeleteParams) WithDefaults() *TokensDeleteParams
- func (o *TokensDeleteParams) WithHTTPClient(client *http.Client) *TokensDeleteParams
- func (o *TokensDeleteParams) WithIds(ids []string) *TokensDeleteParams
- func (o *TokensDeleteParams) WithTimeout(timeout time.Duration) *TokensDeleteParams
- func (o *TokensDeleteParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type TokensDeleteReader
- type TokensDeleteTooManyRequests
- type TokensQueryBadRequest
- type TokensQueryDefault
- type TokensQueryForbidden
- type TokensQueryInternalServerError
- type TokensQueryOK
- type TokensQueryParams
- func (o *TokensQueryParams) SetContext(ctx context.Context)
- func (o *TokensQueryParams) SetDefaults()
- func (o *TokensQueryParams) SetFilter(filter *string)
- func (o *TokensQueryParams) SetHTTPClient(client *http.Client)
- func (o *TokensQueryParams) SetLimit(limit *int64)
- func (o *TokensQueryParams) SetOffset(offset *int64)
- func (o *TokensQueryParams) SetSort(sort *string)
- func (o *TokensQueryParams) SetTimeout(timeout time.Duration)
- func (o *TokensQueryParams) WithContext(ctx context.Context) *TokensQueryParams
- func (o *TokensQueryParams) WithDefaults() *TokensQueryParams
- func (o *TokensQueryParams) WithFilter(filter *string) *TokensQueryParams
- func (o *TokensQueryParams) WithHTTPClient(client *http.Client) *TokensQueryParams
- func (o *TokensQueryParams) WithLimit(limit *int64) *TokensQueryParams
- func (o *TokensQueryParams) WithOffset(offset *int64) *TokensQueryParams
- func (o *TokensQueryParams) WithSort(sort *string) *TokensQueryParams
- func (o *TokensQueryParams) WithTimeout(timeout time.Duration) *TokensQueryParams
- func (o *TokensQueryParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type TokensQueryReader
- type TokensQueryTooManyRequests
- type TokensReadBadRequest
- type TokensReadDefault
- type TokensReadForbidden
- type TokensReadInternalServerError
- type TokensReadOK
- type TokensReadParams
- func (o *TokensReadParams) SetContext(ctx context.Context)
- func (o *TokensReadParams) SetDefaults()
- func (o *TokensReadParams) SetHTTPClient(client *http.Client)
- func (o *TokensReadParams) SetIds(ids []string)
- func (o *TokensReadParams) SetTimeout(timeout time.Duration)
- func (o *TokensReadParams) WithContext(ctx context.Context) *TokensReadParams
- func (o *TokensReadParams) WithDefaults() *TokensReadParams
- func (o *TokensReadParams) WithHTTPClient(client *http.Client) *TokensReadParams
- func (o *TokensReadParams) WithIds(ids []string) *TokensReadParams
- func (o *TokensReadParams) WithTimeout(timeout time.Duration) *TokensReadParams
- func (o *TokensReadParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type TokensReadReader
- type TokensReadTooManyRequests
- type TokensUpdateBadRequest
- type TokensUpdateDefault
- type TokensUpdateForbidden
- type TokensUpdateInternalServerError
- type TokensUpdateNotFound
- type TokensUpdateOK
- type TokensUpdateParams
- func (o *TokensUpdateParams) SetBody(body *models.APITokenPatchRequestV1)
- func (o *TokensUpdateParams) SetContext(ctx context.Context)
- func (o *TokensUpdateParams) SetDefaults()
- func (o *TokensUpdateParams) SetHTTPClient(client *http.Client)
- func (o *TokensUpdateParams) SetIds(ids []string)
- func (o *TokensUpdateParams) SetTimeout(timeout time.Duration)
- func (o *TokensUpdateParams) WithBody(body *models.APITokenPatchRequestV1) *TokensUpdateParams
- func (o *TokensUpdateParams) WithContext(ctx context.Context) *TokensUpdateParams
- func (o *TokensUpdateParams) WithDefaults() *TokensUpdateParams
- func (o *TokensUpdateParams) WithHTTPClient(client *http.Client) *TokensUpdateParams
- func (o *TokensUpdateParams) WithIds(ids []string) *TokensUpdateParams
- func (o *TokensUpdateParams) WithTimeout(timeout time.Duration) *TokensUpdateParams
- func (o *TokensUpdateParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type TokensUpdateReader
- type TokensUpdateTooManyRequests
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AuditEventsQueryBadRequest ¶
type AuditEventsQueryBadRequest struct { /* 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) Error ¶
func (o *AuditEventsQueryBadRequest) Error() string
func (*AuditEventsQueryBadRequest) GetPayload ¶
func (o *AuditEventsQueryBadRequest) GetPayload() *models.MsaReplyMetaOnly
type AuditEventsQueryDefault ¶
type AuditEventsQueryDefault struct { Payload *models.MsaQueryResponse // contains filtered or unexported fields }
AuditEventsQueryDefault describes a response with status code -1, with default header values.
OK
func NewAuditEventsQueryDefault ¶
func NewAuditEventsQueryDefault(code int) *AuditEventsQueryDefault
NewAuditEventsQueryDefault creates a AuditEventsQueryDefault with default headers values
func (*AuditEventsQueryDefault) Code ¶
func (o *AuditEventsQueryDefault) Code() int
Code gets the status code for the audit events query default response
func (*AuditEventsQueryDefault) Error ¶
func (o *AuditEventsQueryDefault) Error() string
func (*AuditEventsQueryDefault) GetPayload ¶
func (o *AuditEventsQueryDefault) GetPayload() *models.MsaQueryResponse
type AuditEventsQueryForbidden ¶
type AuditEventsQueryForbidden struct { /* 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) Error ¶
func (o *AuditEventsQueryForbidden) Error() string
func (*AuditEventsQueryForbidden) GetPayload ¶
func (o *AuditEventsQueryForbidden) GetPayload() *models.MsaReplyMetaOnly
type AuditEventsQueryInternalServerError ¶
type AuditEventsQueryInternalServerError struct { /* 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) Error ¶
func (o *AuditEventsQueryInternalServerError) Error() string
func (*AuditEventsQueryInternalServerError) GetPayload ¶
func (o *AuditEventsQueryInternalServerError) GetPayload() *models.MsaReplyMetaOnly
type AuditEventsQueryOK ¶
type AuditEventsQueryOK struct { /* 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) Error ¶
func (o *AuditEventsQueryOK) Error() string
func (*AuditEventsQueryOK) GetPayload ¶
func (o *AuditEventsQueryOK) GetPayload() *models.MsaQueryResponse
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 ¶
func (o *AuditEventsQueryParams) WithContext(ctx context.Context) *AuditEventsQueryParams
WithContext adds the context to the audit events query params
func (*AuditEventsQueryParams) WithDefaults ¶
func (o *AuditEventsQueryParams) WithDefaults() *AuditEventsQueryParams
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 ¶
func (o *AuditEventsQueryParams) WithSort(sort *string) *AuditEventsQueryParams
WithSort adds the sort to the audit events query params
func (*AuditEventsQueryParams) WithTimeout ¶
func (o *AuditEventsQueryParams) WithTimeout(timeout time.Duration) *AuditEventsQueryParams
WithTimeout adds the timeout to the audit events query params
func (*AuditEventsQueryParams) WriteToRequest ¶
func (o *AuditEventsQueryParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 { /* 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) Error ¶
func (o *AuditEventsQueryTooManyRequests) Error() string
func (*AuditEventsQueryTooManyRequests) GetPayload ¶
func (o *AuditEventsQueryTooManyRequests) GetPayload() *models.MsaReplyMetaOnly
type AuditEventsReadBadRequest ¶
type AuditEventsReadBadRequest struct { /* 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) Error ¶
func (o *AuditEventsReadBadRequest) Error() string
func (*AuditEventsReadBadRequest) GetPayload ¶
func (o *AuditEventsReadBadRequest) GetPayload() *models.MsaReplyMetaOnly
type AuditEventsReadDefault ¶
type AuditEventsReadDefault struct { Payload *models.APIAuditEventDetailsResponseV1 // contains filtered or unexported fields }
AuditEventsReadDefault describes a response with status code -1, with default header values.
OK
func NewAuditEventsReadDefault ¶
func NewAuditEventsReadDefault(code int) *AuditEventsReadDefault
NewAuditEventsReadDefault creates a AuditEventsReadDefault with default headers values
func (*AuditEventsReadDefault) Code ¶
func (o *AuditEventsReadDefault) Code() int
Code gets the status code for the audit events read default response
func (*AuditEventsReadDefault) Error ¶
func (o *AuditEventsReadDefault) Error() string
func (*AuditEventsReadDefault) GetPayload ¶
func (o *AuditEventsReadDefault) GetPayload() *models.APIAuditEventDetailsResponseV1
type AuditEventsReadForbidden ¶
type AuditEventsReadForbidden struct { /* 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) Error ¶
func (o *AuditEventsReadForbidden) Error() string
func (*AuditEventsReadForbidden) GetPayload ¶
func (o *AuditEventsReadForbidden) GetPayload() *models.MsaReplyMetaOnly
type AuditEventsReadInternalServerError ¶
type AuditEventsReadInternalServerError struct { /* 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) Error ¶
func (o *AuditEventsReadInternalServerError) Error() string
func (*AuditEventsReadInternalServerError) GetPayload ¶
func (o *AuditEventsReadInternalServerError) GetPayload() *models.MsaReplyMetaOnly
type AuditEventsReadOK ¶
type AuditEventsReadOK struct { /* 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) Error ¶
func (o *AuditEventsReadOK) Error() string
func (*AuditEventsReadOK) GetPayload ¶
func (o *AuditEventsReadOK) GetPayload() *models.APIAuditEventDetailsResponseV1
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 ¶
func (o *AuditEventsReadParams) WithContext(ctx context.Context) *AuditEventsReadParams
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 ¶
func (o *AuditEventsReadParams) WithIds(ids []string) *AuditEventsReadParams
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 { /* 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) Error ¶
func (o *AuditEventsReadTooManyRequests) Error() string
func (*AuditEventsReadTooManyRequests) GetPayload ¶
func (o *AuditEventsReadTooManyRequests) GetPayload() *models.MsaReplyMetaOnly
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 { /* 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) Error ¶
func (o *CustomerSettingsReadBadRequest) Error() string
func (*CustomerSettingsReadBadRequest) GetPayload ¶
func (o *CustomerSettingsReadBadRequest) GetPayload() *models.MsaReplyMetaOnly
type CustomerSettingsReadDefault ¶
type CustomerSettingsReadDefault struct { Payload *models.APICustomerSettingsResponseV1 // contains filtered or unexported fields }
CustomerSettingsReadDefault describes a response with status code -1, with default header values.
OK
func NewCustomerSettingsReadDefault ¶
func NewCustomerSettingsReadDefault(code int) *CustomerSettingsReadDefault
NewCustomerSettingsReadDefault creates a CustomerSettingsReadDefault with default headers values
func (*CustomerSettingsReadDefault) Code ¶
func (o *CustomerSettingsReadDefault) Code() int
Code gets the status code for the customer settings read default response
func (*CustomerSettingsReadDefault) Error ¶
func (o *CustomerSettingsReadDefault) Error() string
func (*CustomerSettingsReadDefault) GetPayload ¶
func (o *CustomerSettingsReadDefault) GetPayload() *models.APICustomerSettingsResponseV1
type CustomerSettingsReadForbidden ¶
type CustomerSettingsReadForbidden struct { /* 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) Error ¶
func (o *CustomerSettingsReadForbidden) Error() string
func (*CustomerSettingsReadForbidden) GetPayload ¶
func (o *CustomerSettingsReadForbidden) GetPayload() *models.MsaReplyMetaOnly
type CustomerSettingsReadInternalServerError ¶
type CustomerSettingsReadInternalServerError struct { /* 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) Error ¶
func (o *CustomerSettingsReadInternalServerError) Error() string
func (*CustomerSettingsReadInternalServerError) GetPayload ¶
func (o *CustomerSettingsReadInternalServerError) GetPayload() *models.MsaReplyMetaOnly
type CustomerSettingsReadOK ¶
type CustomerSettingsReadOK struct { /* 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) Error ¶
func (o *CustomerSettingsReadOK) Error() string
func (*CustomerSettingsReadOK) GetPayload ¶
func (o *CustomerSettingsReadOK) GetPayload() *models.APICustomerSettingsResponseV1
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 ¶
func (o *CustomerSettingsReadParams) WithContext(ctx context.Context) *CustomerSettingsReadParams
WithContext adds the context to the customer settings read params
func (*CustomerSettingsReadParams) WithDefaults ¶
func (o *CustomerSettingsReadParams) WithDefaults() *CustomerSettingsReadParams
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 ¶
func (o *CustomerSettingsReadParams) WithHTTPClient(client *http.Client) *CustomerSettingsReadParams
WithHTTPClient adds the HTTPClient to the customer settings read params
func (*CustomerSettingsReadParams) WithTimeout ¶
func (o *CustomerSettingsReadParams) WithTimeout(timeout time.Duration) *CustomerSettingsReadParams
WithTimeout adds the timeout to the customer settings read params
func (*CustomerSettingsReadParams) WriteToRequest ¶
func (o *CustomerSettingsReadParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 { /* 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) Error ¶
func (o *CustomerSettingsReadTooManyRequests) Error() string
func (*CustomerSettingsReadTooManyRequests) GetPayload ¶
func (o *CustomerSettingsReadTooManyRequests) GetPayload() *models.MsaReplyMetaOnly
type TokensCreateBadRequest ¶
type TokensCreateBadRequest struct { /* 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) Error ¶
func (o *TokensCreateBadRequest) Error() string
func (*TokensCreateBadRequest) GetPayload ¶
func (o *TokensCreateBadRequest) GetPayload() *models.MsaReplyMetaOnly
type TokensCreateCreated ¶
type TokensCreateCreated struct { /* 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) Error ¶
func (o *TokensCreateCreated) Error() string
func (*TokensCreateCreated) GetPayload ¶
func (o *TokensCreateCreated) GetPayload() *models.APITokenDetailsResponseV1
type TokensCreateForbidden ¶
type TokensCreateForbidden struct { /* 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) Error ¶
func (o *TokensCreateForbidden) Error() string
func (*TokensCreateForbidden) GetPayload ¶
func (o *TokensCreateForbidden) GetPayload() *models.MsaReplyMetaOnly
type TokensCreateInternalServerError ¶
type TokensCreateInternalServerError struct { /* 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) Error ¶
func (o *TokensCreateInternalServerError) Error() string
func (*TokensCreateInternalServerError) GetPayload ¶
func (o *TokensCreateInternalServerError) GetPayload() *models.MsaReplyMetaOnly
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 ¶
func (o *TokensCreateParams) SetBody(body *models.APITokenCreateRequestV1)
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 ¶
func (o *TokensCreateParams) WithBody(body *models.APITokenCreateRequestV1) *TokensCreateParams
WithBody adds the body to the tokens create params
func (*TokensCreateParams) WithContext ¶
func (o *TokensCreateParams) WithContext(ctx context.Context) *TokensCreateParams
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 { /* 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) Error ¶
func (o *TokensCreateTooManyRequests) Error() string
func (*TokensCreateTooManyRequests) GetPayload ¶
func (o *TokensCreateTooManyRequests) GetPayload() *models.MsaReplyMetaOnly
type TokensDeleteBadRequest ¶
type TokensDeleteBadRequest struct { /* 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) Error ¶
func (o *TokensDeleteBadRequest) Error() string
func (*TokensDeleteBadRequest) GetPayload ¶
func (o *TokensDeleteBadRequest) GetPayload() *models.MsaReplyMetaOnly
type TokensDeleteDefault ¶
type TokensDeleteDefault struct { Payload *models.MsaReplyMetaOnly // contains filtered or unexported fields }
TokensDeleteDefault describes a response with status code -1, with default header values.
OK
func NewTokensDeleteDefault ¶
func NewTokensDeleteDefault(code int) *TokensDeleteDefault
NewTokensDeleteDefault creates a TokensDeleteDefault with default headers values
func (*TokensDeleteDefault) Code ¶
func (o *TokensDeleteDefault) Code() int
Code gets the status code for the tokens delete default response
func (*TokensDeleteDefault) Error ¶
func (o *TokensDeleteDefault) Error() string
func (*TokensDeleteDefault) GetPayload ¶
func (o *TokensDeleteDefault) GetPayload() *models.MsaReplyMetaOnly
type TokensDeleteForbidden ¶
type TokensDeleteForbidden struct { /* 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) Error ¶
func (o *TokensDeleteForbidden) Error() string
func (*TokensDeleteForbidden) GetPayload ¶
func (o *TokensDeleteForbidden) GetPayload() *models.MsaReplyMetaOnly
type TokensDeleteInternalServerError ¶
type TokensDeleteInternalServerError struct { /* 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) Error ¶
func (o *TokensDeleteInternalServerError) Error() string
func (*TokensDeleteInternalServerError) GetPayload ¶
func (o *TokensDeleteInternalServerError) GetPayload() *models.MsaReplyMetaOnly
type TokensDeleteNotFound ¶
type TokensDeleteNotFound struct { /* 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) Error ¶
func (o *TokensDeleteNotFound) Error() string
func (*TokensDeleteNotFound) GetPayload ¶
func (o *TokensDeleteNotFound) GetPayload() *models.MsaQueryResponse
type TokensDeleteOK ¶
type TokensDeleteOK struct { /* 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) Error ¶
func (o *TokensDeleteOK) Error() string
func (*TokensDeleteOK) GetPayload ¶
func (o *TokensDeleteOK) GetPayload() *models.MsaReplyMetaOnly
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 ¶
func (o *TokensDeleteParams) WithContext(ctx context.Context) *TokensDeleteParams
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 { /* 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) Error ¶
func (o *TokensDeleteTooManyRequests) Error() string
func (*TokensDeleteTooManyRequests) GetPayload ¶
func (o *TokensDeleteTooManyRequests) GetPayload() *models.MsaReplyMetaOnly
type TokensQueryBadRequest ¶
type TokensQueryBadRequest struct { /* 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) Error ¶
func (o *TokensQueryBadRequest) Error() string
func (*TokensQueryBadRequest) GetPayload ¶
func (o *TokensQueryBadRequest) GetPayload() *models.MsaReplyMetaOnly
type TokensQueryDefault ¶
type TokensQueryDefault struct { Payload *models.MsaQueryResponse // contains filtered or unexported fields }
TokensQueryDefault describes a response with status code -1, with default header values.
OK
func NewTokensQueryDefault ¶
func NewTokensQueryDefault(code int) *TokensQueryDefault
NewTokensQueryDefault creates a TokensQueryDefault with default headers values
func (*TokensQueryDefault) Code ¶
func (o *TokensQueryDefault) Code() int
Code gets the status code for the tokens query default response
func (*TokensQueryDefault) Error ¶
func (o *TokensQueryDefault) Error() string
func (*TokensQueryDefault) GetPayload ¶
func (o *TokensQueryDefault) GetPayload() *models.MsaQueryResponse
type TokensQueryForbidden ¶
type TokensQueryForbidden struct { /* 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) Error ¶
func (o *TokensQueryForbidden) Error() string
func (*TokensQueryForbidden) GetPayload ¶
func (o *TokensQueryForbidden) GetPayload() *models.MsaReplyMetaOnly
type TokensQueryInternalServerError ¶
type TokensQueryInternalServerError struct { /* 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) Error ¶
func (o *TokensQueryInternalServerError) Error() string
func (*TokensQueryInternalServerError) GetPayload ¶
func (o *TokensQueryInternalServerError) GetPayload() *models.MsaReplyMetaOnly
type TokensQueryOK ¶
type TokensQueryOK struct { /* 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) Error ¶
func (o *TokensQueryOK) Error() string
func (*TokensQueryOK) GetPayload ¶
func (o *TokensQueryOK) GetPayload() *models.MsaQueryResponse
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 { /* 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) Error ¶
func (o *TokensQueryTooManyRequests) Error() string
func (*TokensQueryTooManyRequests) GetPayload ¶
func (o *TokensQueryTooManyRequests) GetPayload() *models.MsaReplyMetaOnly
type TokensReadBadRequest ¶
type TokensReadBadRequest struct { /* 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) Error ¶
func (o *TokensReadBadRequest) Error() string
func (*TokensReadBadRequest) GetPayload ¶
func (o *TokensReadBadRequest) GetPayload() *models.MsaReplyMetaOnly
type TokensReadDefault ¶
type TokensReadDefault struct { Payload *models.APITokenDetailsResponseV1 // contains filtered or unexported fields }
TokensReadDefault describes a response with status code -1, with default header values.
OK
func NewTokensReadDefault ¶
func NewTokensReadDefault(code int) *TokensReadDefault
NewTokensReadDefault creates a TokensReadDefault with default headers values
func (*TokensReadDefault) Code ¶
func (o *TokensReadDefault) Code() int
Code gets the status code for the tokens read default response
func (*TokensReadDefault) Error ¶
func (o *TokensReadDefault) Error() string
func (*TokensReadDefault) GetPayload ¶
func (o *TokensReadDefault) GetPayload() *models.APITokenDetailsResponseV1
type TokensReadForbidden ¶
type TokensReadForbidden struct { /* 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) Error ¶
func (o *TokensReadForbidden) Error() string
func (*TokensReadForbidden) GetPayload ¶
func (o *TokensReadForbidden) GetPayload() *models.MsaReplyMetaOnly
type TokensReadInternalServerError ¶
type TokensReadInternalServerError struct { /* 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) Error ¶
func (o *TokensReadInternalServerError) Error() string
func (*TokensReadInternalServerError) GetPayload ¶
func (o *TokensReadInternalServerError) GetPayload() *models.MsaReplyMetaOnly
type TokensReadOK ¶
type TokensReadOK struct { /* 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) Error ¶
func (o *TokensReadOK) Error() string
func (*TokensReadOK) GetPayload ¶
func (o *TokensReadOK) GetPayload() *models.APITokenDetailsResponseV1
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 { /* 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) Error ¶
func (o *TokensReadTooManyRequests) Error() string
func (*TokensReadTooManyRequests) GetPayload ¶
func (o *TokensReadTooManyRequests) GetPayload() *models.MsaReplyMetaOnly
type TokensUpdateBadRequest ¶
type TokensUpdateBadRequest struct { /* 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) Error ¶
func (o *TokensUpdateBadRequest) Error() string
func (*TokensUpdateBadRequest) GetPayload ¶
func (o *TokensUpdateBadRequest) GetPayload() *models.MsaReplyMetaOnly
type TokensUpdateDefault ¶
type TokensUpdateDefault struct { Payload *models.MsaQueryResponse // contains filtered or unexported fields }
TokensUpdateDefault describes a response with status code -1, with default header values.
OK
func NewTokensUpdateDefault ¶
func NewTokensUpdateDefault(code int) *TokensUpdateDefault
NewTokensUpdateDefault creates a TokensUpdateDefault with default headers values
func (*TokensUpdateDefault) Code ¶
func (o *TokensUpdateDefault) Code() int
Code gets the status code for the tokens update default response
func (*TokensUpdateDefault) Error ¶
func (o *TokensUpdateDefault) Error() string
func (*TokensUpdateDefault) GetPayload ¶
func (o *TokensUpdateDefault) GetPayload() *models.MsaQueryResponse
type TokensUpdateForbidden ¶
type TokensUpdateForbidden struct { /* 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) Error ¶
func (o *TokensUpdateForbidden) Error() string
func (*TokensUpdateForbidden) GetPayload ¶
func (o *TokensUpdateForbidden) GetPayload() *models.MsaReplyMetaOnly
type TokensUpdateInternalServerError ¶
type TokensUpdateInternalServerError struct { /* 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) Error ¶
func (o *TokensUpdateInternalServerError) Error() string
func (*TokensUpdateInternalServerError) GetPayload ¶
func (o *TokensUpdateInternalServerError) GetPayload() *models.MsaReplyMetaOnly
type TokensUpdateNotFound ¶
type TokensUpdateNotFound struct { /* 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) Error ¶
func (o *TokensUpdateNotFound) Error() string
func (*TokensUpdateNotFound) GetPayload ¶
func (o *TokensUpdateNotFound) GetPayload() *models.MsaQueryResponse
type TokensUpdateOK ¶
type TokensUpdateOK struct { /* 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) Error ¶
func (o *TokensUpdateOK) Error() string
func (*TokensUpdateOK) GetPayload ¶
func (o *TokensUpdateOK) GetPayload() *models.MsaQueryResponse
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 ¶
func (o *TokensUpdateParams) SetBody(body *models.APITokenPatchRequestV1)
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 ¶
func (o *TokensUpdateParams) WithBody(body *models.APITokenPatchRequestV1) *TokensUpdateParams
WithBody adds the body to the tokens update params
func (*TokensUpdateParams) WithContext ¶
func (o *TokensUpdateParams) WithContext(ctx context.Context) *TokensUpdateParams
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 { /* 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) Error ¶
func (o *TokensUpdateTooManyRequests) Error() string
func (*TokensUpdateTooManyRequests) GetPayload ¶
func (o *TokensUpdateTooManyRequests) GetPayload() *models.MsaReplyMetaOnly
Source Files ¶
- audit_events_query_parameters.go
- audit_events_query_responses.go
- audit_events_read_parameters.go
- audit_events_read_responses.go
- customer_settings_read_parameters.go
- customer_settings_read_responses.go
- installation_tokens_client.go
- tokens_create_parameters.go
- tokens_create_responses.go
- tokens_delete_parameters.go
- tokens_delete_responses.go
- tokens_query_parameters.go
- tokens_query_responses.go
- tokens_read_parameters.go
- tokens_read_responses.go
- tokens_update_parameters.go
- tokens_update_responses.go