Documentation ¶
Index ¶
- type AuditEventsQueryBadRequest
- func (o *AuditEventsQueryBadRequest) Code() int
- func (o *AuditEventsQueryBadRequest) Error() string
- func (o *AuditEventsQueryBadRequest) GetPayload() *models.MsaspecResponseFields
- func (o *AuditEventsQueryBadRequest) IsClientError() bool
- func (o *AuditEventsQueryBadRequest) IsCode(code int) bool
- func (o *AuditEventsQueryBadRequest) IsRedirect() bool
- func (o *AuditEventsQueryBadRequest) IsServerError() bool
- func (o *AuditEventsQueryBadRequest) IsSuccess() bool
- func (o *AuditEventsQueryBadRequest) String() string
- type AuditEventsQueryForbidden
- func (o *AuditEventsQueryForbidden) Code() int
- func (o *AuditEventsQueryForbidden) Error() string
- func (o *AuditEventsQueryForbidden) GetPayload() *models.MsaspecResponseFields
- func (o *AuditEventsQueryForbidden) IsClientError() bool
- func (o *AuditEventsQueryForbidden) IsCode(code int) bool
- func (o *AuditEventsQueryForbidden) IsRedirect() bool
- func (o *AuditEventsQueryForbidden) IsServerError() bool
- func (o *AuditEventsQueryForbidden) IsSuccess() bool
- func (o *AuditEventsQueryForbidden) String() string
- type AuditEventsQueryInternalServerError
- func (o *AuditEventsQueryInternalServerError) Code() int
- func (o *AuditEventsQueryInternalServerError) Error() string
- func (o *AuditEventsQueryInternalServerError) GetPayload() *models.MsaspecResponseFields
- func (o *AuditEventsQueryInternalServerError) IsClientError() bool
- func (o *AuditEventsQueryInternalServerError) IsCode(code int) bool
- func (o *AuditEventsQueryInternalServerError) IsRedirect() bool
- func (o *AuditEventsQueryInternalServerError) IsServerError() bool
- func (o *AuditEventsQueryInternalServerError) IsSuccess() bool
- func (o *AuditEventsQueryInternalServerError) String() string
- type AuditEventsQueryOK
- func (o *AuditEventsQueryOK) Code() int
- func (o *AuditEventsQueryOK) Error() string
- func (o *AuditEventsQueryOK) GetPayload() *models.MsaspecQueryResponse
- func (o *AuditEventsQueryOK) IsClientError() bool
- func (o *AuditEventsQueryOK) IsCode(code int) bool
- func (o *AuditEventsQueryOK) IsRedirect() bool
- func (o *AuditEventsQueryOK) IsServerError() bool
- func (o *AuditEventsQueryOK) IsSuccess() bool
- func (o *AuditEventsQueryOK) String() string
- 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
- func (o *AuditEventsQueryTooManyRequests) Code() int
- func (o *AuditEventsQueryTooManyRequests) Error() string
- func (o *AuditEventsQueryTooManyRequests) GetPayload() *models.MsaReplyMetaOnly
- func (o *AuditEventsQueryTooManyRequests) IsClientError() bool
- func (o *AuditEventsQueryTooManyRequests) IsCode(code int) bool
- func (o *AuditEventsQueryTooManyRequests) IsRedirect() bool
- func (o *AuditEventsQueryTooManyRequests) IsServerError() bool
- func (o *AuditEventsQueryTooManyRequests) IsSuccess() bool
- func (o *AuditEventsQueryTooManyRequests) String() string
- type AuditEventsReadBadRequest
- func (o *AuditEventsReadBadRequest) Code() int
- func (o *AuditEventsReadBadRequest) Error() string
- func (o *AuditEventsReadBadRequest) GetPayload() *models.MsaspecResponseFields
- func (o *AuditEventsReadBadRequest) IsClientError() bool
- func (o *AuditEventsReadBadRequest) IsCode(code int) bool
- func (o *AuditEventsReadBadRequest) IsRedirect() bool
- func (o *AuditEventsReadBadRequest) IsServerError() bool
- func (o *AuditEventsReadBadRequest) IsSuccess() bool
- func (o *AuditEventsReadBadRequest) String() string
- type AuditEventsReadForbidden
- func (o *AuditEventsReadForbidden) Code() int
- func (o *AuditEventsReadForbidden) Error() string
- func (o *AuditEventsReadForbidden) GetPayload() *models.MsaspecResponseFields
- func (o *AuditEventsReadForbidden) IsClientError() bool
- func (o *AuditEventsReadForbidden) IsCode(code int) bool
- func (o *AuditEventsReadForbidden) IsRedirect() bool
- func (o *AuditEventsReadForbidden) IsServerError() bool
- func (o *AuditEventsReadForbidden) IsSuccess() bool
- func (o *AuditEventsReadForbidden) String() string
- type AuditEventsReadInternalServerError
- func (o *AuditEventsReadInternalServerError) Code() int
- func (o *AuditEventsReadInternalServerError) Error() string
- func (o *AuditEventsReadInternalServerError) GetPayload() *models.MsaspecResponseFields
- func (o *AuditEventsReadInternalServerError) IsClientError() bool
- func (o *AuditEventsReadInternalServerError) IsCode(code int) bool
- func (o *AuditEventsReadInternalServerError) IsRedirect() bool
- func (o *AuditEventsReadInternalServerError) IsServerError() bool
- func (o *AuditEventsReadInternalServerError) IsSuccess() bool
- func (o *AuditEventsReadInternalServerError) String() string
- type AuditEventsReadOK
- func (o *AuditEventsReadOK) Code() int
- func (o *AuditEventsReadOK) Error() string
- func (o *AuditEventsReadOK) GetPayload() *models.APIAuditEventDetailsResponseV1
- func (o *AuditEventsReadOK) IsClientError() bool
- func (o *AuditEventsReadOK) IsCode(code int) bool
- func (o *AuditEventsReadOK) IsRedirect() bool
- func (o *AuditEventsReadOK) IsServerError() bool
- func (o *AuditEventsReadOK) IsSuccess() bool
- func (o *AuditEventsReadOK) String() string
- 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
- func (o *AuditEventsReadTooManyRequests) Code() int
- func (o *AuditEventsReadTooManyRequests) Error() string
- func (o *AuditEventsReadTooManyRequests) GetPayload() *models.MsaReplyMetaOnly
- func (o *AuditEventsReadTooManyRequests) IsClientError() bool
- func (o *AuditEventsReadTooManyRequests) IsCode(code int) bool
- func (o *AuditEventsReadTooManyRequests) IsRedirect() bool
- func (o *AuditEventsReadTooManyRequests) IsServerError() bool
- func (o *AuditEventsReadTooManyRequests) IsSuccess() bool
- func (o *AuditEventsReadTooManyRequests) String() string
- 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
- func (o *CustomerSettingsReadBadRequest) Code() int
- func (o *CustomerSettingsReadBadRequest) Error() string
- func (o *CustomerSettingsReadBadRequest) GetPayload() *models.MsaspecResponseFields
- func (o *CustomerSettingsReadBadRequest) IsClientError() bool
- func (o *CustomerSettingsReadBadRequest) IsCode(code int) bool
- func (o *CustomerSettingsReadBadRequest) IsRedirect() bool
- func (o *CustomerSettingsReadBadRequest) IsServerError() bool
- func (o *CustomerSettingsReadBadRequest) IsSuccess() bool
- func (o *CustomerSettingsReadBadRequest) String() string
- type CustomerSettingsReadForbidden
- func (o *CustomerSettingsReadForbidden) Code() int
- func (o *CustomerSettingsReadForbidden) Error() string
- func (o *CustomerSettingsReadForbidden) GetPayload() *models.MsaspecResponseFields
- func (o *CustomerSettingsReadForbidden) IsClientError() bool
- func (o *CustomerSettingsReadForbidden) IsCode(code int) bool
- func (o *CustomerSettingsReadForbidden) IsRedirect() bool
- func (o *CustomerSettingsReadForbidden) IsServerError() bool
- func (o *CustomerSettingsReadForbidden) IsSuccess() bool
- func (o *CustomerSettingsReadForbidden) String() string
- type CustomerSettingsReadInternalServerError
- func (o *CustomerSettingsReadInternalServerError) Code() int
- func (o *CustomerSettingsReadInternalServerError) Error() string
- func (o *CustomerSettingsReadInternalServerError) GetPayload() *models.MsaspecResponseFields
- func (o *CustomerSettingsReadInternalServerError) IsClientError() bool
- func (o *CustomerSettingsReadInternalServerError) IsCode(code int) bool
- func (o *CustomerSettingsReadInternalServerError) IsRedirect() bool
- func (o *CustomerSettingsReadInternalServerError) IsServerError() bool
- func (o *CustomerSettingsReadInternalServerError) IsSuccess() bool
- func (o *CustomerSettingsReadInternalServerError) String() string
- type CustomerSettingsReadOK
- func (o *CustomerSettingsReadOK) Code() int
- func (o *CustomerSettingsReadOK) Error() string
- func (o *CustomerSettingsReadOK) GetPayload() *models.APICustomerSettingsResponseV1
- func (o *CustomerSettingsReadOK) IsClientError() bool
- func (o *CustomerSettingsReadOK) IsCode(code int) bool
- func (o *CustomerSettingsReadOK) IsRedirect() bool
- func (o *CustomerSettingsReadOK) IsServerError() bool
- func (o *CustomerSettingsReadOK) IsSuccess() bool
- func (o *CustomerSettingsReadOK) String() string
- 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
- func (o *CustomerSettingsReadTooManyRequests) Code() int
- func (o *CustomerSettingsReadTooManyRequests) Error() string
- func (o *CustomerSettingsReadTooManyRequests) GetPayload() *models.MsaReplyMetaOnly
- func (o *CustomerSettingsReadTooManyRequests) IsClientError() bool
- func (o *CustomerSettingsReadTooManyRequests) IsCode(code int) bool
- func (o *CustomerSettingsReadTooManyRequests) IsRedirect() bool
- func (o *CustomerSettingsReadTooManyRequests) IsServerError() bool
- func (o *CustomerSettingsReadTooManyRequests) IsSuccess() bool
- func (o *CustomerSettingsReadTooManyRequests) String() string
- type TokensCreateBadRequest
- func (o *TokensCreateBadRequest) Code() int
- func (o *TokensCreateBadRequest) Error() string
- func (o *TokensCreateBadRequest) GetPayload() *models.MsaspecResponseFields
- func (o *TokensCreateBadRequest) IsClientError() bool
- func (o *TokensCreateBadRequest) IsCode(code int) bool
- func (o *TokensCreateBadRequest) IsRedirect() bool
- func (o *TokensCreateBadRequest) IsServerError() bool
- func (o *TokensCreateBadRequest) IsSuccess() bool
- func (o *TokensCreateBadRequest) String() string
- type TokensCreateCreated
- func (o *TokensCreateCreated) Code() int
- func (o *TokensCreateCreated) Error() string
- func (o *TokensCreateCreated) GetPayload() *models.APITokenDetailsResponseV1
- func (o *TokensCreateCreated) IsClientError() bool
- func (o *TokensCreateCreated) IsCode(code int) bool
- func (o *TokensCreateCreated) IsRedirect() bool
- func (o *TokensCreateCreated) IsServerError() bool
- func (o *TokensCreateCreated) IsSuccess() bool
- func (o *TokensCreateCreated) String() string
- type TokensCreateForbidden
- func (o *TokensCreateForbidden) Code() int
- func (o *TokensCreateForbidden) Error() string
- func (o *TokensCreateForbidden) GetPayload() *models.MsaspecResponseFields
- func (o *TokensCreateForbidden) IsClientError() bool
- func (o *TokensCreateForbidden) IsCode(code int) bool
- func (o *TokensCreateForbidden) IsRedirect() bool
- func (o *TokensCreateForbidden) IsServerError() bool
- func (o *TokensCreateForbidden) IsSuccess() bool
- func (o *TokensCreateForbidden) String() string
- type TokensCreateInternalServerError
- func (o *TokensCreateInternalServerError) Code() int
- func (o *TokensCreateInternalServerError) Error() string
- func (o *TokensCreateInternalServerError) GetPayload() *models.MsaspecResponseFields
- func (o *TokensCreateInternalServerError) IsClientError() bool
- func (o *TokensCreateInternalServerError) IsCode(code int) bool
- func (o *TokensCreateInternalServerError) IsRedirect() bool
- func (o *TokensCreateInternalServerError) IsServerError() bool
- func (o *TokensCreateInternalServerError) IsSuccess() bool
- func (o *TokensCreateInternalServerError) String() string
- 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
- func (o *TokensCreateTooManyRequests) Code() int
- func (o *TokensCreateTooManyRequests) Error() string
- func (o *TokensCreateTooManyRequests) GetPayload() *models.MsaReplyMetaOnly
- func (o *TokensCreateTooManyRequests) IsClientError() bool
- func (o *TokensCreateTooManyRequests) IsCode(code int) bool
- func (o *TokensCreateTooManyRequests) IsRedirect() bool
- func (o *TokensCreateTooManyRequests) IsServerError() bool
- func (o *TokensCreateTooManyRequests) IsSuccess() bool
- func (o *TokensCreateTooManyRequests) String() string
- type TokensDeleteBadRequest
- func (o *TokensDeleteBadRequest) Code() int
- func (o *TokensDeleteBadRequest) Error() string
- func (o *TokensDeleteBadRequest) GetPayload() *models.MsaspecResponseFields
- func (o *TokensDeleteBadRequest) IsClientError() bool
- func (o *TokensDeleteBadRequest) IsCode(code int) bool
- func (o *TokensDeleteBadRequest) IsRedirect() bool
- func (o *TokensDeleteBadRequest) IsServerError() bool
- func (o *TokensDeleteBadRequest) IsSuccess() bool
- func (o *TokensDeleteBadRequest) String() string
- type TokensDeleteForbidden
- func (o *TokensDeleteForbidden) Code() int
- func (o *TokensDeleteForbidden) Error() string
- func (o *TokensDeleteForbidden) GetPayload() *models.MsaspecResponseFields
- func (o *TokensDeleteForbidden) IsClientError() bool
- func (o *TokensDeleteForbidden) IsCode(code int) bool
- func (o *TokensDeleteForbidden) IsRedirect() bool
- func (o *TokensDeleteForbidden) IsServerError() bool
- func (o *TokensDeleteForbidden) IsSuccess() bool
- func (o *TokensDeleteForbidden) String() string
- type TokensDeleteInternalServerError
- func (o *TokensDeleteInternalServerError) Code() int
- func (o *TokensDeleteInternalServerError) Error() string
- func (o *TokensDeleteInternalServerError) GetPayload() *models.MsaspecResponseFields
- func (o *TokensDeleteInternalServerError) IsClientError() bool
- func (o *TokensDeleteInternalServerError) IsCode(code int) bool
- func (o *TokensDeleteInternalServerError) IsRedirect() bool
- func (o *TokensDeleteInternalServerError) IsServerError() bool
- func (o *TokensDeleteInternalServerError) IsSuccess() bool
- func (o *TokensDeleteInternalServerError) String() string
- type TokensDeleteNotFound
- func (o *TokensDeleteNotFound) Code() int
- func (o *TokensDeleteNotFound) Error() string
- func (o *TokensDeleteNotFound) GetPayload() *models.MsaspecQueryResponse
- func (o *TokensDeleteNotFound) IsClientError() bool
- func (o *TokensDeleteNotFound) IsCode(code int) bool
- func (o *TokensDeleteNotFound) IsRedirect() bool
- func (o *TokensDeleteNotFound) IsServerError() bool
- func (o *TokensDeleteNotFound) IsSuccess() bool
- func (o *TokensDeleteNotFound) String() string
- type TokensDeleteOK
- func (o *TokensDeleteOK) Code() int
- func (o *TokensDeleteOK) Error() string
- func (o *TokensDeleteOK) GetPayload() *models.MsaspecResponseFields
- func (o *TokensDeleteOK) IsClientError() bool
- func (o *TokensDeleteOK) IsCode(code int) bool
- func (o *TokensDeleteOK) IsRedirect() bool
- func (o *TokensDeleteOK) IsServerError() bool
- func (o *TokensDeleteOK) IsSuccess() bool
- func (o *TokensDeleteOK) String() string
- 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
- func (o *TokensDeleteTooManyRequests) Code() int
- func (o *TokensDeleteTooManyRequests) Error() string
- func (o *TokensDeleteTooManyRequests) GetPayload() *models.MsaReplyMetaOnly
- func (o *TokensDeleteTooManyRequests) IsClientError() bool
- func (o *TokensDeleteTooManyRequests) IsCode(code int) bool
- func (o *TokensDeleteTooManyRequests) IsRedirect() bool
- func (o *TokensDeleteTooManyRequests) IsServerError() bool
- func (o *TokensDeleteTooManyRequests) IsSuccess() bool
- func (o *TokensDeleteTooManyRequests) String() string
- type TokensQueryBadRequest
- func (o *TokensQueryBadRequest) Code() int
- func (o *TokensQueryBadRequest) Error() string
- func (o *TokensQueryBadRequest) GetPayload() *models.MsaspecResponseFields
- func (o *TokensQueryBadRequest) IsClientError() bool
- func (o *TokensQueryBadRequest) IsCode(code int) bool
- func (o *TokensQueryBadRequest) IsRedirect() bool
- func (o *TokensQueryBadRequest) IsServerError() bool
- func (o *TokensQueryBadRequest) IsSuccess() bool
- func (o *TokensQueryBadRequest) String() string
- type TokensQueryForbidden
- func (o *TokensQueryForbidden) Code() int
- func (o *TokensQueryForbidden) Error() string
- func (o *TokensQueryForbidden) GetPayload() *models.MsaspecResponseFields
- func (o *TokensQueryForbidden) IsClientError() bool
- func (o *TokensQueryForbidden) IsCode(code int) bool
- func (o *TokensQueryForbidden) IsRedirect() bool
- func (o *TokensQueryForbidden) IsServerError() bool
- func (o *TokensQueryForbidden) IsSuccess() bool
- func (o *TokensQueryForbidden) String() string
- type TokensQueryInternalServerError
- func (o *TokensQueryInternalServerError) Code() int
- func (o *TokensQueryInternalServerError) Error() string
- func (o *TokensQueryInternalServerError) GetPayload() *models.MsaspecResponseFields
- func (o *TokensQueryInternalServerError) IsClientError() bool
- func (o *TokensQueryInternalServerError) IsCode(code int) bool
- func (o *TokensQueryInternalServerError) IsRedirect() bool
- func (o *TokensQueryInternalServerError) IsServerError() bool
- func (o *TokensQueryInternalServerError) IsSuccess() bool
- func (o *TokensQueryInternalServerError) String() string
- type TokensQueryOK
- func (o *TokensQueryOK) Code() int
- func (o *TokensQueryOK) Error() string
- func (o *TokensQueryOK) GetPayload() *models.MsaspecQueryResponse
- func (o *TokensQueryOK) IsClientError() bool
- func (o *TokensQueryOK) IsCode(code int) bool
- func (o *TokensQueryOK) IsRedirect() bool
- func (o *TokensQueryOK) IsServerError() bool
- func (o *TokensQueryOK) IsSuccess() bool
- func (o *TokensQueryOK) String() string
- 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
- func (o *TokensQueryTooManyRequests) Code() int
- func (o *TokensQueryTooManyRequests) Error() string
- func (o *TokensQueryTooManyRequests) GetPayload() *models.MsaReplyMetaOnly
- func (o *TokensQueryTooManyRequests) IsClientError() bool
- func (o *TokensQueryTooManyRequests) IsCode(code int) bool
- func (o *TokensQueryTooManyRequests) IsRedirect() bool
- func (o *TokensQueryTooManyRequests) IsServerError() bool
- func (o *TokensQueryTooManyRequests) IsSuccess() bool
- func (o *TokensQueryTooManyRequests) String() string
- type TokensReadBadRequest
- func (o *TokensReadBadRequest) Code() int
- func (o *TokensReadBadRequest) Error() string
- func (o *TokensReadBadRequest) GetPayload() *models.MsaspecResponseFields
- func (o *TokensReadBadRequest) IsClientError() bool
- func (o *TokensReadBadRequest) IsCode(code int) bool
- func (o *TokensReadBadRequest) IsRedirect() bool
- func (o *TokensReadBadRequest) IsServerError() bool
- func (o *TokensReadBadRequest) IsSuccess() bool
- func (o *TokensReadBadRequest) String() string
- type TokensReadForbidden
- func (o *TokensReadForbidden) Code() int
- func (o *TokensReadForbidden) Error() string
- func (o *TokensReadForbidden) GetPayload() *models.MsaspecResponseFields
- func (o *TokensReadForbidden) IsClientError() bool
- func (o *TokensReadForbidden) IsCode(code int) bool
- func (o *TokensReadForbidden) IsRedirect() bool
- func (o *TokensReadForbidden) IsServerError() bool
- func (o *TokensReadForbidden) IsSuccess() bool
- func (o *TokensReadForbidden) String() string
- type TokensReadInternalServerError
- func (o *TokensReadInternalServerError) Code() int
- func (o *TokensReadInternalServerError) Error() string
- func (o *TokensReadInternalServerError) GetPayload() *models.MsaspecResponseFields
- func (o *TokensReadInternalServerError) IsClientError() bool
- func (o *TokensReadInternalServerError) IsCode(code int) bool
- func (o *TokensReadInternalServerError) IsRedirect() bool
- func (o *TokensReadInternalServerError) IsServerError() bool
- func (o *TokensReadInternalServerError) IsSuccess() bool
- func (o *TokensReadInternalServerError) String() string
- type TokensReadOK
- func (o *TokensReadOK) Code() int
- func (o *TokensReadOK) Error() string
- func (o *TokensReadOK) GetPayload() *models.APITokenDetailsResponseV1
- func (o *TokensReadOK) IsClientError() bool
- func (o *TokensReadOK) IsCode(code int) bool
- func (o *TokensReadOK) IsRedirect() bool
- func (o *TokensReadOK) IsServerError() bool
- func (o *TokensReadOK) IsSuccess() bool
- func (o *TokensReadOK) String() string
- 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
- func (o *TokensReadTooManyRequests) Code() int
- func (o *TokensReadTooManyRequests) Error() string
- func (o *TokensReadTooManyRequests) GetPayload() *models.MsaReplyMetaOnly
- func (o *TokensReadTooManyRequests) IsClientError() bool
- func (o *TokensReadTooManyRequests) IsCode(code int) bool
- func (o *TokensReadTooManyRequests) IsRedirect() bool
- func (o *TokensReadTooManyRequests) IsServerError() bool
- func (o *TokensReadTooManyRequests) IsSuccess() bool
- func (o *TokensReadTooManyRequests) String() string
- type TokensUpdateBadRequest
- func (o *TokensUpdateBadRequest) Code() int
- func (o *TokensUpdateBadRequest) Error() string
- func (o *TokensUpdateBadRequest) GetPayload() *models.MsaspecResponseFields
- func (o *TokensUpdateBadRequest) IsClientError() bool
- func (o *TokensUpdateBadRequest) IsCode(code int) bool
- func (o *TokensUpdateBadRequest) IsRedirect() bool
- func (o *TokensUpdateBadRequest) IsServerError() bool
- func (o *TokensUpdateBadRequest) IsSuccess() bool
- func (o *TokensUpdateBadRequest) String() string
- type TokensUpdateForbidden
- func (o *TokensUpdateForbidden) Code() int
- func (o *TokensUpdateForbidden) Error() string
- func (o *TokensUpdateForbidden) GetPayload() *models.MsaspecResponseFields
- func (o *TokensUpdateForbidden) IsClientError() bool
- func (o *TokensUpdateForbidden) IsCode(code int) bool
- func (o *TokensUpdateForbidden) IsRedirect() bool
- func (o *TokensUpdateForbidden) IsServerError() bool
- func (o *TokensUpdateForbidden) IsSuccess() bool
- func (o *TokensUpdateForbidden) String() string
- type TokensUpdateInternalServerError
- func (o *TokensUpdateInternalServerError) Code() int
- func (o *TokensUpdateInternalServerError) Error() string
- func (o *TokensUpdateInternalServerError) GetPayload() *models.MsaspecResponseFields
- func (o *TokensUpdateInternalServerError) IsClientError() bool
- func (o *TokensUpdateInternalServerError) IsCode(code int) bool
- func (o *TokensUpdateInternalServerError) IsRedirect() bool
- func (o *TokensUpdateInternalServerError) IsServerError() bool
- func (o *TokensUpdateInternalServerError) IsSuccess() bool
- func (o *TokensUpdateInternalServerError) String() string
- type TokensUpdateNotFound
- func (o *TokensUpdateNotFound) Code() int
- func (o *TokensUpdateNotFound) Error() string
- func (o *TokensUpdateNotFound) GetPayload() *models.MsaspecQueryResponse
- func (o *TokensUpdateNotFound) IsClientError() bool
- func (o *TokensUpdateNotFound) IsCode(code int) bool
- func (o *TokensUpdateNotFound) IsRedirect() bool
- func (o *TokensUpdateNotFound) IsServerError() bool
- func (o *TokensUpdateNotFound) IsSuccess() bool
- func (o *TokensUpdateNotFound) String() string
- type TokensUpdateOK
- func (o *TokensUpdateOK) Code() int
- func (o *TokensUpdateOK) Error() string
- func (o *TokensUpdateOK) GetPayload() *models.MsaspecQueryResponse
- func (o *TokensUpdateOK) IsClientError() bool
- func (o *TokensUpdateOK) IsCode(code int) bool
- func (o *TokensUpdateOK) IsRedirect() bool
- func (o *TokensUpdateOK) IsServerError() bool
- func (o *TokensUpdateOK) IsSuccess() bool
- func (o *TokensUpdateOK) String() string
- 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
- func (o *TokensUpdateTooManyRequests) Code() int
- func (o *TokensUpdateTooManyRequests) Error() string
- func (o *TokensUpdateTooManyRequests) GetPayload() *models.MsaReplyMetaOnly
- func (o *TokensUpdateTooManyRequests) IsClientError() bool
- func (o *TokensUpdateTooManyRequests) IsCode(code int) bool
- func (o *TokensUpdateTooManyRequests) IsRedirect() bool
- func (o *TokensUpdateTooManyRequests) IsServerError() bool
- func (o *TokensUpdateTooManyRequests) IsSuccess() bool
- func (o *TokensUpdateTooManyRequests) String() string
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.MsaspecResponseFields }
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 (o *AuditEventsQueryBadRequest) Error() string
func (*AuditEventsQueryBadRequest) GetPayload ¶
func (o *AuditEventsQueryBadRequest) GetPayload() *models.MsaspecResponseFields
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.MsaspecResponseFields }
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 (o *AuditEventsQueryForbidden) GetPayload() *models.MsaspecResponseFields
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.MsaspecResponseFields }
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
func (o *AuditEventsQueryInternalServerError) Code() int
Code gets the status code for the audit events query internal server error response
func (*AuditEventsQueryInternalServerError) Error ¶
func (o *AuditEventsQueryInternalServerError) Error() string
func (*AuditEventsQueryInternalServerError) GetPayload ¶
func (o *AuditEventsQueryInternalServerError) GetPayload() *models.MsaspecResponseFields
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
func (o *AuditEventsQueryInternalServerError) IsCode(code int) bool
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
func (o *AuditEventsQueryInternalServerError) IsSuccess() bool
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
func (o *AuditEventsQueryInternalServerError) String() string
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.MsaspecQueryResponse }
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.MsaspecQueryResponse
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 ¶
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 { /* 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
func (o *AuditEventsQueryTooManyRequests) Code() int
Code gets the status code for the audit events query too many requests response
func (*AuditEventsQueryTooManyRequests) Error ¶
func (o *AuditEventsQueryTooManyRequests) Error() string
func (*AuditEventsQueryTooManyRequests) GetPayload ¶
func (o *AuditEventsQueryTooManyRequests) GetPayload() *models.MsaReplyMetaOnly
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
func (o *AuditEventsQueryTooManyRequests) String() string
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.MsaspecResponseFields }
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 (o *AuditEventsReadBadRequest) GetPayload() *models.MsaspecResponseFields
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.MsaspecResponseFields }
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 (o *AuditEventsReadForbidden) GetPayload() *models.MsaspecResponseFields
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.MsaspecResponseFields }
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
func (o *AuditEventsReadInternalServerError) Code() int
Code gets the status code for the audit events read internal server error response
func (*AuditEventsReadInternalServerError) Error ¶
func (o *AuditEventsReadInternalServerError) Error() string
func (*AuditEventsReadInternalServerError) GetPayload ¶
func (o *AuditEventsReadInternalServerError) GetPayload() *models.MsaspecResponseFields
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
func (o *AuditEventsReadInternalServerError) IsCode(code int) bool
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
func (o *AuditEventsReadInternalServerError) IsSuccess() bool
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
func (o *AuditEventsReadInternalServerError) String() string
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 (o *AuditEventsReadOK) GetPayload() *models.APIAuditEventDetailsResponseV1
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 ¶
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 { /* 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
func (o *AuditEventsReadTooManyRequests) Code() int
Code gets the status code for the audit events read too many requests response
func (*AuditEventsReadTooManyRequests) Error ¶
func (o *AuditEventsReadTooManyRequests) Error() string
func (*AuditEventsReadTooManyRequests) GetPayload ¶
func (o *AuditEventsReadTooManyRequests) GetPayload() *models.MsaReplyMetaOnly
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
func (o *AuditEventsReadTooManyRequests) String() string
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.MsaspecResponseFields }
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
func (o *CustomerSettingsReadBadRequest) Code() int
Code gets the status code for the customer settings read bad request response
func (*CustomerSettingsReadBadRequest) Error ¶
func (o *CustomerSettingsReadBadRequest) Error() string
func (*CustomerSettingsReadBadRequest) GetPayload ¶
func (o *CustomerSettingsReadBadRequest) GetPayload() *models.MsaspecResponseFields
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
func (o *CustomerSettingsReadBadRequest) String() string
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.MsaspecResponseFields }
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
func (o *CustomerSettingsReadForbidden) Code() int
Code gets the status code for the customer settings read forbidden response
func (*CustomerSettingsReadForbidden) Error ¶
func (o *CustomerSettingsReadForbidden) Error() string
func (*CustomerSettingsReadForbidden) GetPayload ¶
func (o *CustomerSettingsReadForbidden) GetPayload() *models.MsaspecResponseFields
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
func (o *CustomerSettingsReadForbidden) String() string
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.MsaspecResponseFields }
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
func (o *CustomerSettingsReadInternalServerError) Code() int
Code gets the status code for the customer settings read internal server error response
func (*CustomerSettingsReadInternalServerError) Error ¶
func (o *CustomerSettingsReadInternalServerError) Error() string
func (*CustomerSettingsReadInternalServerError) GetPayload ¶
func (o *CustomerSettingsReadInternalServerError) GetPayload() *models.MsaspecResponseFields
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
func (o *CustomerSettingsReadInternalServerError) IsCode(code int) bool
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
func (o *CustomerSettingsReadInternalServerError) IsRedirect() bool
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
func (o *CustomerSettingsReadInternalServerError) IsSuccess() bool
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
func (o *CustomerSettingsReadInternalServerError) String() string
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 (o *CustomerSettingsReadOK) GetPayload() *models.APICustomerSettingsResponseV1
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 ¶
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 { /* 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
func (o *CustomerSettingsReadTooManyRequests) Code() int
Code gets the status code for the customer settings read too many requests response
func (*CustomerSettingsReadTooManyRequests) Error ¶
func (o *CustomerSettingsReadTooManyRequests) Error() string
func (*CustomerSettingsReadTooManyRequests) GetPayload ¶
func (o *CustomerSettingsReadTooManyRequests) GetPayload() *models.MsaReplyMetaOnly
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
func (o *CustomerSettingsReadTooManyRequests) IsCode(code int) bool
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
func (o *CustomerSettingsReadTooManyRequests) IsSuccess() bool
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
func (o *CustomerSettingsReadTooManyRequests) String() string
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.MsaspecResponseFields }
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 (o *TokensCreateBadRequest) GetPayload() *models.MsaspecResponseFields
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 (o *TokensCreateCreated) GetPayload() *models.APITokenDetailsResponseV1
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.MsaspecResponseFields }
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 (o *TokensCreateForbidden) GetPayload() *models.MsaspecResponseFields
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.MsaspecResponseFields }
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
func (o *TokensCreateInternalServerError) Code() int
Code gets the status code for the tokens create internal server error response
func (*TokensCreateInternalServerError) Error ¶
func (o *TokensCreateInternalServerError) Error() string
func (*TokensCreateInternalServerError) GetPayload ¶
func (o *TokensCreateInternalServerError) GetPayload() *models.MsaspecResponseFields
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
func (o *TokensCreateInternalServerError) String() string
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 { /* 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 (o *TokensCreateTooManyRequests) Error() string
func (*TokensCreateTooManyRequests) GetPayload ¶
func (o *TokensCreateTooManyRequests) GetPayload() *models.MsaReplyMetaOnly
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.MsaspecResponseFields }
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 (o *TokensDeleteBadRequest) GetPayload() *models.MsaspecResponseFields
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.MsaspecResponseFields }
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 (o *TokensDeleteForbidden) GetPayload() *models.MsaspecResponseFields
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.MsaspecResponseFields }
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
func (o *TokensDeleteInternalServerError) Code() int
Code gets the status code for the tokens delete internal server error response
func (*TokensDeleteInternalServerError) Error ¶
func (o *TokensDeleteInternalServerError) Error() string
func (*TokensDeleteInternalServerError) GetPayload ¶
func (o *TokensDeleteInternalServerError) GetPayload() *models.MsaspecResponseFields
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
func (o *TokensDeleteInternalServerError) String() string
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.MsaspecQueryResponse }
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.MsaspecQueryResponse
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.MsaspecResponseFields }
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.MsaspecResponseFields
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 ¶
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 { /* 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 (o *TokensDeleteTooManyRequests) Error() string
func (*TokensDeleteTooManyRequests) GetPayload ¶
func (o *TokensDeleteTooManyRequests) GetPayload() *models.MsaReplyMetaOnly
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.MsaspecResponseFields }
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 (o *TokensQueryBadRequest) GetPayload() *models.MsaspecResponseFields
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.MsaspecResponseFields }
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.MsaspecResponseFields
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.MsaspecResponseFields }
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
func (o *TokensQueryInternalServerError) Code() int
Code gets the status code for the tokens query internal server error response
func (*TokensQueryInternalServerError) Error ¶
func (o *TokensQueryInternalServerError) Error() string
func (*TokensQueryInternalServerError) GetPayload ¶
func (o *TokensQueryInternalServerError) GetPayload() *models.MsaspecResponseFields
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
func (o *TokensQueryInternalServerError) String() string
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.MsaspecQueryResponse }
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.MsaspecQueryResponse
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 (o *TokensQueryTooManyRequests) Error() string
func (*TokensQueryTooManyRequests) GetPayload ¶
func (o *TokensQueryTooManyRequests) GetPayload() *models.MsaReplyMetaOnly
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.MsaspecResponseFields }
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.MsaspecResponseFields
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.MsaspecResponseFields }
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.MsaspecResponseFields
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.MsaspecResponseFields }
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
func (o *TokensReadInternalServerError) Code() int
Code gets the status code for the tokens read internal server error response
func (*TokensReadInternalServerError) Error ¶
func (o *TokensReadInternalServerError) Error() string
func (*TokensReadInternalServerError) GetPayload ¶
func (o *TokensReadInternalServerError) GetPayload() *models.MsaspecResponseFields
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
func (o *TokensReadInternalServerError) String() string
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 (o *TokensReadOK) GetPayload() *models.APITokenDetailsResponseV1
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 (o *TokensReadTooManyRequests) GetPayload() *models.MsaReplyMetaOnly
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.MsaspecResponseFields }
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 (o *TokensUpdateBadRequest) GetPayload() *models.MsaspecResponseFields
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.MsaspecResponseFields }
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 (o *TokensUpdateForbidden) GetPayload() *models.MsaspecResponseFields
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.MsaspecResponseFields }
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
func (o *TokensUpdateInternalServerError) Code() int
Code gets the status code for the tokens update internal server error response
func (*TokensUpdateInternalServerError) Error ¶
func (o *TokensUpdateInternalServerError) Error() string
func (*TokensUpdateInternalServerError) GetPayload ¶
func (o *TokensUpdateInternalServerError) GetPayload() *models.MsaspecResponseFields
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
func (o *TokensUpdateInternalServerError) String() string
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.MsaspecQueryResponse }
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.MsaspecQueryResponse
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.MsaspecQueryResponse }
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.MsaspecQueryResponse
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 ¶
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 { /* 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 (o *TokensUpdateTooManyRequests) Error() string
func (*TokensUpdateTooManyRequests) GetPayload ¶
func (o *TokensUpdateTooManyRequests) GetPayload() *models.MsaReplyMetaOnly
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
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