Documentation ¶
Index ¶
- type API
- type Client
- func (a *Client) DeleteToken(ctx context.Context, params *DeleteTokenParams) (*DeleteTokenNoContent, error)
- func (a *Client) DeleteTokensMe(ctx context.Context, params *DeleteTokensMeParams) (*DeleteTokensMeOK, error)
- func (a *Client) GetTokensMe(ctx context.Context, params *GetTokensMeParams) (*GetTokensMeOK, error)
- func (a *Client) HeadTokensMe(ctx context.Context, params *HeadTokensMeParams) error
- type DeleteTokenBadRequest
- func (o *DeleteTokenBadRequest) Error() string
- func (o *DeleteTokenBadRequest) GetPayload() *models.ErrorBody
- func (o *DeleteTokenBadRequest) IsClientError() bool
- func (o *DeleteTokenBadRequest) IsCode(code int) bool
- func (o *DeleteTokenBadRequest) IsRedirect() bool
- func (o *DeleteTokenBadRequest) IsServerError() bool
- func (o *DeleteTokenBadRequest) IsSuccess() bool
- func (o *DeleteTokenBadRequest) String() string
- type DeleteTokenForbidden
- func (o *DeleteTokenForbidden) Error() string
- func (o *DeleteTokenForbidden) GetPayload() *models.ErrorBody
- func (o *DeleteTokenForbidden) IsClientError() bool
- func (o *DeleteTokenForbidden) IsCode(code int) bool
- func (o *DeleteTokenForbidden) IsRedirect() bool
- func (o *DeleteTokenForbidden) IsServerError() bool
- func (o *DeleteTokenForbidden) IsSuccess() bool
- func (o *DeleteTokenForbidden) String() string
- type DeleteTokenGatewayTimeout
- func (o *DeleteTokenGatewayTimeout) Error() string
- func (o *DeleteTokenGatewayTimeout) GetPayload() *models.ErrorBody
- func (o *DeleteTokenGatewayTimeout) IsClientError() bool
- func (o *DeleteTokenGatewayTimeout) IsCode(code int) bool
- func (o *DeleteTokenGatewayTimeout) IsRedirect() bool
- func (o *DeleteTokenGatewayTimeout) IsServerError() bool
- func (o *DeleteTokenGatewayTimeout) IsSuccess() bool
- func (o *DeleteTokenGatewayTimeout) String() string
- type DeleteTokenInternalServerError
- func (o *DeleteTokenInternalServerError) Error() string
- func (o *DeleteTokenInternalServerError) GetPayload() *models.ErrorBody
- func (o *DeleteTokenInternalServerError) IsClientError() bool
- func (o *DeleteTokenInternalServerError) IsCode(code int) bool
- func (o *DeleteTokenInternalServerError) IsRedirect() bool
- func (o *DeleteTokenInternalServerError) IsServerError() bool
- func (o *DeleteTokenInternalServerError) IsSuccess() bool
- func (o *DeleteTokenInternalServerError) String() string
- type DeleteTokenNoContent
- func (o *DeleteTokenNoContent) Error() string
- func (o *DeleteTokenNoContent) IsClientError() bool
- func (o *DeleteTokenNoContent) IsCode(code int) bool
- func (o *DeleteTokenNoContent) IsRedirect() bool
- func (o *DeleteTokenNoContent) IsServerError() bool
- func (o *DeleteTokenNoContent) IsSuccess() bool
- func (o *DeleteTokenNoContent) String() string
- type DeleteTokenNotFound
- func (o *DeleteTokenNotFound) Error() string
- func (o *DeleteTokenNotFound) GetPayload() *models.ErrorBody
- func (o *DeleteTokenNotFound) IsClientError() bool
- func (o *DeleteTokenNotFound) IsCode(code int) bool
- func (o *DeleteTokenNotFound) IsRedirect() bool
- func (o *DeleteTokenNotFound) IsServerError() bool
- func (o *DeleteTokenNotFound) IsSuccess() bool
- func (o *DeleteTokenNotFound) String() string
- type DeleteTokenParams
- func (o *DeleteTokenParams) SetContext(ctx context.Context)
- func (o *DeleteTokenParams) SetDefaults()
- func (o *DeleteTokenParams) SetHTTPClient(client *http.Client)
- func (o *DeleteTokenParams) SetTimeout(timeout time.Duration)
- func (o *DeleteTokenParams) SetUserID(userID string)
- func (o *DeleteTokenParams) WithContext(ctx context.Context) *DeleteTokenParams
- func (o *DeleteTokenParams) WithDefaults() *DeleteTokenParams
- func (o *DeleteTokenParams) WithHTTPClient(client *http.Client) *DeleteTokenParams
- func (o *DeleteTokenParams) WithTimeout(timeout time.Duration) *DeleteTokenParams
- func (o *DeleteTokenParams) WithUserID(userID string) *DeleteTokenParams
- func (o *DeleteTokenParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteTokenReader
- type DeleteTokenRequestEntityTooLarge
- func (o *DeleteTokenRequestEntityTooLarge) Error() string
- func (o *DeleteTokenRequestEntityTooLarge) GetPayload() *models.ErrorBody
- func (o *DeleteTokenRequestEntityTooLarge) IsClientError() bool
- func (o *DeleteTokenRequestEntityTooLarge) IsCode(code int) bool
- func (o *DeleteTokenRequestEntityTooLarge) IsRedirect() bool
- func (o *DeleteTokenRequestEntityTooLarge) IsServerError() bool
- func (o *DeleteTokenRequestEntityTooLarge) IsSuccess() bool
- func (o *DeleteTokenRequestEntityTooLarge) String() string
- type DeleteTokenRequestTimeout
- func (o *DeleteTokenRequestTimeout) Error() string
- func (o *DeleteTokenRequestTimeout) GetPayload() *models.ErrorBody
- func (o *DeleteTokenRequestTimeout) IsClientError() bool
- func (o *DeleteTokenRequestTimeout) IsCode(code int) bool
- func (o *DeleteTokenRequestTimeout) IsRedirect() bool
- func (o *DeleteTokenRequestTimeout) IsServerError() bool
- func (o *DeleteTokenRequestTimeout) IsSuccess() bool
- func (o *DeleteTokenRequestTimeout) String() string
- type DeleteTokenServiceUnavailable
- func (o *DeleteTokenServiceUnavailable) Error() string
- func (o *DeleteTokenServiceUnavailable) GetPayload() *models.ErrorBody
- func (o *DeleteTokenServiceUnavailable) IsClientError() bool
- func (o *DeleteTokenServiceUnavailable) IsCode(code int) bool
- func (o *DeleteTokenServiceUnavailable) IsRedirect() bool
- func (o *DeleteTokenServiceUnavailable) IsServerError() bool
- func (o *DeleteTokenServiceUnavailable) IsSuccess() bool
- func (o *DeleteTokenServiceUnavailable) String() string
- type DeleteTokenTooManyRequests
- func (o *DeleteTokenTooManyRequests) Error() string
- func (o *DeleteTokenTooManyRequests) GetPayload() *models.ErrorBody
- func (o *DeleteTokenTooManyRequests) IsClientError() bool
- func (o *DeleteTokenTooManyRequests) IsCode(code int) bool
- func (o *DeleteTokenTooManyRequests) IsRedirect() bool
- func (o *DeleteTokenTooManyRequests) IsServerError() bool
- func (o *DeleteTokenTooManyRequests) IsSuccess() bool
- func (o *DeleteTokenTooManyRequests) String() string
- type DeleteTokenUnauthorized
- func (o *DeleteTokenUnauthorized) Error() string
- func (o *DeleteTokenUnauthorized) GetPayload() *models.ErrorBody
- func (o *DeleteTokenUnauthorized) IsClientError() bool
- func (o *DeleteTokenUnauthorized) IsCode(code int) bool
- func (o *DeleteTokenUnauthorized) IsRedirect() bool
- func (o *DeleteTokenUnauthorized) IsServerError() bool
- func (o *DeleteTokenUnauthorized) IsSuccess() bool
- func (o *DeleteTokenUnauthorized) String() string
- type DeleteTokenUnsupportedMediaType
- func (o *DeleteTokenUnsupportedMediaType) Error() string
- func (o *DeleteTokenUnsupportedMediaType) GetPayload() *models.ErrorBody
- func (o *DeleteTokenUnsupportedMediaType) IsClientError() bool
- func (o *DeleteTokenUnsupportedMediaType) IsCode(code int) bool
- func (o *DeleteTokenUnsupportedMediaType) IsRedirect() bool
- func (o *DeleteTokenUnsupportedMediaType) IsServerError() bool
- func (o *DeleteTokenUnsupportedMediaType) IsSuccess() bool
- func (o *DeleteTokenUnsupportedMediaType) String() string
- type DeleteTokensMeBadRequest
- func (o *DeleteTokensMeBadRequest) Error() string
- func (o *DeleteTokensMeBadRequest) GetPayload() *models.ErrorBody
- func (o *DeleteTokensMeBadRequest) IsClientError() bool
- func (o *DeleteTokensMeBadRequest) IsCode(code int) bool
- func (o *DeleteTokensMeBadRequest) IsRedirect() bool
- func (o *DeleteTokensMeBadRequest) IsServerError() bool
- func (o *DeleteTokensMeBadRequest) IsSuccess() bool
- func (o *DeleteTokensMeBadRequest) String() string
- type DeleteTokensMeForbidden
- func (o *DeleteTokensMeForbidden) Error() string
- func (o *DeleteTokensMeForbidden) GetPayload() *models.ErrorBody
- func (o *DeleteTokensMeForbidden) IsClientError() bool
- func (o *DeleteTokensMeForbidden) IsCode(code int) bool
- func (o *DeleteTokensMeForbidden) IsRedirect() bool
- func (o *DeleteTokensMeForbidden) IsServerError() bool
- func (o *DeleteTokensMeForbidden) IsSuccess() bool
- func (o *DeleteTokensMeForbidden) String() string
- type DeleteTokensMeGatewayTimeout
- func (o *DeleteTokensMeGatewayTimeout) Error() string
- func (o *DeleteTokensMeGatewayTimeout) GetPayload() *models.ErrorBody
- func (o *DeleteTokensMeGatewayTimeout) IsClientError() bool
- func (o *DeleteTokensMeGatewayTimeout) IsCode(code int) bool
- func (o *DeleteTokensMeGatewayTimeout) IsRedirect() bool
- func (o *DeleteTokensMeGatewayTimeout) IsServerError() bool
- func (o *DeleteTokensMeGatewayTimeout) IsSuccess() bool
- func (o *DeleteTokensMeGatewayTimeout) String() string
- type DeleteTokensMeInternalServerError
- func (o *DeleteTokensMeInternalServerError) Error() string
- func (o *DeleteTokensMeInternalServerError) GetPayload() *models.ErrorBody
- func (o *DeleteTokensMeInternalServerError) IsClientError() bool
- func (o *DeleteTokensMeInternalServerError) IsCode(code int) bool
- func (o *DeleteTokensMeInternalServerError) IsRedirect() bool
- func (o *DeleteTokensMeInternalServerError) IsServerError() bool
- func (o *DeleteTokensMeInternalServerError) IsSuccess() bool
- func (o *DeleteTokensMeInternalServerError) String() string
- type DeleteTokensMeNotFound
- func (o *DeleteTokensMeNotFound) Error() string
- func (o *DeleteTokensMeNotFound) GetPayload() *models.ErrorBody
- func (o *DeleteTokensMeNotFound) IsClientError() bool
- func (o *DeleteTokensMeNotFound) IsCode(code int) bool
- func (o *DeleteTokensMeNotFound) IsRedirect() bool
- func (o *DeleteTokensMeNotFound) IsServerError() bool
- func (o *DeleteTokensMeNotFound) IsSuccess() bool
- func (o *DeleteTokensMeNotFound) String() string
- type DeleteTokensMeOK
- func (o *DeleteTokensMeOK) Error() string
- func (o *DeleteTokensMeOK) IsClientError() bool
- func (o *DeleteTokensMeOK) IsCode(code int) bool
- func (o *DeleteTokensMeOK) IsRedirect() bool
- func (o *DeleteTokensMeOK) IsServerError() bool
- func (o *DeleteTokensMeOK) IsSuccess() bool
- func (o *DeleteTokensMeOK) String() string
- type DeleteTokensMeParams
- func NewDeleteTokensMeParams() *DeleteTokensMeParams
- func NewDeleteTokensMeParamsWithContext(ctx context.Context) *DeleteTokensMeParams
- func NewDeleteTokensMeParamsWithHTTPClient(client *http.Client) *DeleteTokensMeParams
- func NewDeleteTokensMeParamsWithTimeout(timeout time.Duration) *DeleteTokensMeParams
- func (o *DeleteTokensMeParams) SetContext(ctx context.Context)
- func (o *DeleteTokensMeParams) SetDefaults()
- func (o *DeleteTokensMeParams) SetHTTPClient(client *http.Client)
- func (o *DeleteTokensMeParams) SetTimeout(timeout time.Duration)
- func (o *DeleteTokensMeParams) WithContext(ctx context.Context) *DeleteTokensMeParams
- func (o *DeleteTokensMeParams) WithDefaults() *DeleteTokensMeParams
- func (o *DeleteTokensMeParams) WithHTTPClient(client *http.Client) *DeleteTokensMeParams
- func (o *DeleteTokensMeParams) WithTimeout(timeout time.Duration) *DeleteTokensMeParams
- func (o *DeleteTokensMeParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteTokensMeReader
- type DeleteTokensMeRequestEntityTooLarge
- func (o *DeleteTokensMeRequestEntityTooLarge) Error() string
- func (o *DeleteTokensMeRequestEntityTooLarge) GetPayload() *models.ErrorBody
- func (o *DeleteTokensMeRequestEntityTooLarge) IsClientError() bool
- func (o *DeleteTokensMeRequestEntityTooLarge) IsCode(code int) bool
- func (o *DeleteTokensMeRequestEntityTooLarge) IsRedirect() bool
- func (o *DeleteTokensMeRequestEntityTooLarge) IsServerError() bool
- func (o *DeleteTokensMeRequestEntityTooLarge) IsSuccess() bool
- func (o *DeleteTokensMeRequestEntityTooLarge) String() string
- type DeleteTokensMeRequestTimeout
- func (o *DeleteTokensMeRequestTimeout) Error() string
- func (o *DeleteTokensMeRequestTimeout) GetPayload() *models.ErrorBody
- func (o *DeleteTokensMeRequestTimeout) IsClientError() bool
- func (o *DeleteTokensMeRequestTimeout) IsCode(code int) bool
- func (o *DeleteTokensMeRequestTimeout) IsRedirect() bool
- func (o *DeleteTokensMeRequestTimeout) IsServerError() bool
- func (o *DeleteTokensMeRequestTimeout) IsSuccess() bool
- func (o *DeleteTokensMeRequestTimeout) String() string
- type DeleteTokensMeServiceUnavailable
- func (o *DeleteTokensMeServiceUnavailable) Error() string
- func (o *DeleteTokensMeServiceUnavailable) GetPayload() *models.ErrorBody
- func (o *DeleteTokensMeServiceUnavailable) IsClientError() bool
- func (o *DeleteTokensMeServiceUnavailable) IsCode(code int) bool
- func (o *DeleteTokensMeServiceUnavailable) IsRedirect() bool
- func (o *DeleteTokensMeServiceUnavailable) IsServerError() bool
- func (o *DeleteTokensMeServiceUnavailable) IsSuccess() bool
- func (o *DeleteTokensMeServiceUnavailable) String() string
- type DeleteTokensMeTooManyRequests
- func (o *DeleteTokensMeTooManyRequests) Error() string
- func (o *DeleteTokensMeTooManyRequests) GetPayload() *models.ErrorBody
- func (o *DeleteTokensMeTooManyRequests) IsClientError() bool
- func (o *DeleteTokensMeTooManyRequests) IsCode(code int) bool
- func (o *DeleteTokensMeTooManyRequests) IsRedirect() bool
- func (o *DeleteTokensMeTooManyRequests) IsServerError() bool
- func (o *DeleteTokensMeTooManyRequests) IsSuccess() bool
- func (o *DeleteTokensMeTooManyRequests) String() string
- type DeleteTokensMeUnauthorized
- func (o *DeleteTokensMeUnauthorized) Error() string
- func (o *DeleteTokensMeUnauthorized) GetPayload() *models.ErrorBody
- func (o *DeleteTokensMeUnauthorized) IsClientError() bool
- func (o *DeleteTokensMeUnauthorized) IsCode(code int) bool
- func (o *DeleteTokensMeUnauthorized) IsRedirect() bool
- func (o *DeleteTokensMeUnauthorized) IsServerError() bool
- func (o *DeleteTokensMeUnauthorized) IsSuccess() bool
- func (o *DeleteTokensMeUnauthorized) String() string
- type DeleteTokensMeUnsupportedMediaType
- func (o *DeleteTokensMeUnsupportedMediaType) Error() string
- func (o *DeleteTokensMeUnsupportedMediaType) GetPayload() *models.ErrorBody
- func (o *DeleteTokensMeUnsupportedMediaType) IsClientError() bool
- func (o *DeleteTokensMeUnsupportedMediaType) IsCode(code int) bool
- func (o *DeleteTokensMeUnsupportedMediaType) IsRedirect() bool
- func (o *DeleteTokensMeUnsupportedMediaType) IsServerError() bool
- func (o *DeleteTokensMeUnsupportedMediaType) IsSuccess() bool
- func (o *DeleteTokensMeUnsupportedMediaType) String() string
- type GetTokensMeBadRequest
- func (o *GetTokensMeBadRequest) Error() string
- func (o *GetTokensMeBadRequest) GetPayload() *models.ErrorBody
- func (o *GetTokensMeBadRequest) IsClientError() bool
- func (o *GetTokensMeBadRequest) IsCode(code int) bool
- func (o *GetTokensMeBadRequest) IsRedirect() bool
- func (o *GetTokensMeBadRequest) IsServerError() bool
- func (o *GetTokensMeBadRequest) IsSuccess() bool
- func (o *GetTokensMeBadRequest) String() string
- type GetTokensMeForbidden
- func (o *GetTokensMeForbidden) Error() string
- func (o *GetTokensMeForbidden) GetPayload() *models.ErrorBody
- func (o *GetTokensMeForbidden) IsClientError() bool
- func (o *GetTokensMeForbidden) IsCode(code int) bool
- func (o *GetTokensMeForbidden) IsRedirect() bool
- func (o *GetTokensMeForbidden) IsServerError() bool
- func (o *GetTokensMeForbidden) IsSuccess() bool
- func (o *GetTokensMeForbidden) String() string
- type GetTokensMeGatewayTimeout
- func (o *GetTokensMeGatewayTimeout) Error() string
- func (o *GetTokensMeGatewayTimeout) GetPayload() *models.ErrorBody
- func (o *GetTokensMeGatewayTimeout) IsClientError() bool
- func (o *GetTokensMeGatewayTimeout) IsCode(code int) bool
- func (o *GetTokensMeGatewayTimeout) IsRedirect() bool
- func (o *GetTokensMeGatewayTimeout) IsServerError() bool
- func (o *GetTokensMeGatewayTimeout) IsSuccess() bool
- func (o *GetTokensMeGatewayTimeout) String() string
- type GetTokensMeInternalServerError
- func (o *GetTokensMeInternalServerError) Error() string
- func (o *GetTokensMeInternalServerError) GetPayload() *models.ErrorBody
- func (o *GetTokensMeInternalServerError) IsClientError() bool
- func (o *GetTokensMeInternalServerError) IsCode(code int) bool
- func (o *GetTokensMeInternalServerError) IsRedirect() bool
- func (o *GetTokensMeInternalServerError) IsServerError() bool
- func (o *GetTokensMeInternalServerError) IsSuccess() bool
- func (o *GetTokensMeInternalServerError) String() string
- type GetTokensMeNotFound
- func (o *GetTokensMeNotFound) Error() string
- func (o *GetTokensMeNotFound) GetPayload() *models.ErrorBody
- func (o *GetTokensMeNotFound) IsClientError() bool
- func (o *GetTokensMeNotFound) IsCode(code int) bool
- func (o *GetTokensMeNotFound) IsRedirect() bool
- func (o *GetTokensMeNotFound) IsServerError() bool
- func (o *GetTokensMeNotFound) IsSuccess() bool
- func (o *GetTokensMeNotFound) String() string
- type GetTokensMeOK
- func (o *GetTokensMeOK) Error() string
- func (o *GetTokensMeOK) GetPayload() *models.TokenInfo
- func (o *GetTokensMeOK) IsClientError() bool
- func (o *GetTokensMeOK) IsCode(code int) bool
- func (o *GetTokensMeOK) IsRedirect() bool
- func (o *GetTokensMeOK) IsServerError() bool
- func (o *GetTokensMeOK) IsSuccess() bool
- func (o *GetTokensMeOK) String() string
- type GetTokensMeParams
- func (o *GetTokensMeParams) SetContext(ctx context.Context)
- func (o *GetTokensMeParams) SetDefaults()
- func (o *GetTokensMeParams) SetHTTPClient(client *http.Client)
- func (o *GetTokensMeParams) SetTimeout(timeout time.Duration)
- func (o *GetTokensMeParams) WithContext(ctx context.Context) *GetTokensMeParams
- func (o *GetTokensMeParams) WithDefaults() *GetTokensMeParams
- func (o *GetTokensMeParams) WithHTTPClient(client *http.Client) *GetTokensMeParams
- func (o *GetTokensMeParams) WithTimeout(timeout time.Duration) *GetTokensMeParams
- func (o *GetTokensMeParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetTokensMeReader
- type GetTokensMeRequestEntityTooLarge
- func (o *GetTokensMeRequestEntityTooLarge) Error() string
- func (o *GetTokensMeRequestEntityTooLarge) GetPayload() *models.ErrorBody
- func (o *GetTokensMeRequestEntityTooLarge) IsClientError() bool
- func (o *GetTokensMeRequestEntityTooLarge) IsCode(code int) bool
- func (o *GetTokensMeRequestEntityTooLarge) IsRedirect() bool
- func (o *GetTokensMeRequestEntityTooLarge) IsServerError() bool
- func (o *GetTokensMeRequestEntityTooLarge) IsSuccess() bool
- func (o *GetTokensMeRequestEntityTooLarge) String() string
- type GetTokensMeRequestTimeout
- func (o *GetTokensMeRequestTimeout) Error() string
- func (o *GetTokensMeRequestTimeout) GetPayload() *models.ErrorBody
- func (o *GetTokensMeRequestTimeout) IsClientError() bool
- func (o *GetTokensMeRequestTimeout) IsCode(code int) bool
- func (o *GetTokensMeRequestTimeout) IsRedirect() bool
- func (o *GetTokensMeRequestTimeout) IsServerError() bool
- func (o *GetTokensMeRequestTimeout) IsSuccess() bool
- func (o *GetTokensMeRequestTimeout) String() string
- type GetTokensMeServiceUnavailable
- func (o *GetTokensMeServiceUnavailable) Error() string
- func (o *GetTokensMeServiceUnavailable) GetPayload() *models.ErrorBody
- func (o *GetTokensMeServiceUnavailable) IsClientError() bool
- func (o *GetTokensMeServiceUnavailable) IsCode(code int) bool
- func (o *GetTokensMeServiceUnavailable) IsRedirect() bool
- func (o *GetTokensMeServiceUnavailable) IsServerError() bool
- func (o *GetTokensMeServiceUnavailable) IsSuccess() bool
- func (o *GetTokensMeServiceUnavailable) String() string
- type GetTokensMeTooManyRequests
- func (o *GetTokensMeTooManyRequests) Error() string
- func (o *GetTokensMeTooManyRequests) GetPayload() *models.ErrorBody
- func (o *GetTokensMeTooManyRequests) IsClientError() bool
- func (o *GetTokensMeTooManyRequests) IsCode(code int) bool
- func (o *GetTokensMeTooManyRequests) IsRedirect() bool
- func (o *GetTokensMeTooManyRequests) IsServerError() bool
- func (o *GetTokensMeTooManyRequests) IsSuccess() bool
- func (o *GetTokensMeTooManyRequests) String() string
- type GetTokensMeUnauthorized
- func (o *GetTokensMeUnauthorized) Error() string
- func (o *GetTokensMeUnauthorized) GetPayload() *models.ErrorBody
- func (o *GetTokensMeUnauthorized) IsClientError() bool
- func (o *GetTokensMeUnauthorized) IsCode(code int) bool
- func (o *GetTokensMeUnauthorized) IsRedirect() bool
- func (o *GetTokensMeUnauthorized) IsServerError() bool
- func (o *GetTokensMeUnauthorized) IsSuccess() bool
- func (o *GetTokensMeUnauthorized) String() string
- type GetTokensMeUnsupportedMediaType
- func (o *GetTokensMeUnsupportedMediaType) Error() string
- func (o *GetTokensMeUnsupportedMediaType) GetPayload() *models.ErrorBody
- func (o *GetTokensMeUnsupportedMediaType) IsClientError() bool
- func (o *GetTokensMeUnsupportedMediaType) IsCode(code int) bool
- func (o *GetTokensMeUnsupportedMediaType) IsRedirect() bool
- func (o *GetTokensMeUnsupportedMediaType) IsServerError() bool
- func (o *GetTokensMeUnsupportedMediaType) IsSuccess() bool
- func (o *GetTokensMeUnsupportedMediaType) String() string
- type HeadTokensMeBadRequest
- func (o *HeadTokensMeBadRequest) Error() string
- func (o *HeadTokensMeBadRequest) GetPayload() *models.ErrorBody
- func (o *HeadTokensMeBadRequest) IsClientError() bool
- func (o *HeadTokensMeBadRequest) IsCode(code int) bool
- func (o *HeadTokensMeBadRequest) IsRedirect() bool
- func (o *HeadTokensMeBadRequest) IsServerError() bool
- func (o *HeadTokensMeBadRequest) IsSuccess() bool
- func (o *HeadTokensMeBadRequest) String() string
- type HeadTokensMeDefault
- func (o *HeadTokensMeDefault) Code() int
- func (o *HeadTokensMeDefault) Error() string
- func (o *HeadTokensMeDefault) IsClientError() bool
- func (o *HeadTokensMeDefault) IsCode(code int) bool
- func (o *HeadTokensMeDefault) IsRedirect() bool
- func (o *HeadTokensMeDefault) IsServerError() bool
- func (o *HeadTokensMeDefault) IsSuccess() bool
- func (o *HeadTokensMeDefault) String() string
- type HeadTokensMeForbidden
- func (o *HeadTokensMeForbidden) Error() string
- func (o *HeadTokensMeForbidden) GetPayload() *models.ErrorBody
- func (o *HeadTokensMeForbidden) IsClientError() bool
- func (o *HeadTokensMeForbidden) IsCode(code int) bool
- func (o *HeadTokensMeForbidden) IsRedirect() bool
- func (o *HeadTokensMeForbidden) IsServerError() bool
- func (o *HeadTokensMeForbidden) IsSuccess() bool
- func (o *HeadTokensMeForbidden) String() string
- type HeadTokensMeGatewayTimeout
- func (o *HeadTokensMeGatewayTimeout) Error() string
- func (o *HeadTokensMeGatewayTimeout) GetPayload() *models.ErrorBody
- func (o *HeadTokensMeGatewayTimeout) IsClientError() bool
- func (o *HeadTokensMeGatewayTimeout) IsCode(code int) bool
- func (o *HeadTokensMeGatewayTimeout) IsRedirect() bool
- func (o *HeadTokensMeGatewayTimeout) IsServerError() bool
- func (o *HeadTokensMeGatewayTimeout) IsSuccess() bool
- func (o *HeadTokensMeGatewayTimeout) String() string
- type HeadTokensMeInternalServerError
- func (o *HeadTokensMeInternalServerError) Error() string
- func (o *HeadTokensMeInternalServerError) GetPayload() *models.ErrorBody
- func (o *HeadTokensMeInternalServerError) IsClientError() bool
- func (o *HeadTokensMeInternalServerError) IsCode(code int) bool
- func (o *HeadTokensMeInternalServerError) IsRedirect() bool
- func (o *HeadTokensMeInternalServerError) IsServerError() bool
- func (o *HeadTokensMeInternalServerError) IsSuccess() bool
- func (o *HeadTokensMeInternalServerError) String() string
- type HeadTokensMeNotFound
- func (o *HeadTokensMeNotFound) Error() string
- func (o *HeadTokensMeNotFound) GetPayload() *models.ErrorBody
- func (o *HeadTokensMeNotFound) IsClientError() bool
- func (o *HeadTokensMeNotFound) IsCode(code int) bool
- func (o *HeadTokensMeNotFound) IsRedirect() bool
- func (o *HeadTokensMeNotFound) IsServerError() bool
- func (o *HeadTokensMeNotFound) IsSuccess() bool
- func (o *HeadTokensMeNotFound) String() string
- type HeadTokensMeParams
- func (o *HeadTokensMeParams) SetContext(ctx context.Context)
- func (o *HeadTokensMeParams) SetDefaults()
- func (o *HeadTokensMeParams) SetHTTPClient(client *http.Client)
- func (o *HeadTokensMeParams) SetTimeout(timeout time.Duration)
- func (o *HeadTokensMeParams) WithContext(ctx context.Context) *HeadTokensMeParams
- func (o *HeadTokensMeParams) WithDefaults() *HeadTokensMeParams
- func (o *HeadTokensMeParams) WithHTTPClient(client *http.Client) *HeadTokensMeParams
- func (o *HeadTokensMeParams) WithTimeout(timeout time.Duration) *HeadTokensMeParams
- func (o *HeadTokensMeParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type HeadTokensMeReader
- type HeadTokensMeRequestEntityTooLarge
- func (o *HeadTokensMeRequestEntityTooLarge) Error() string
- func (o *HeadTokensMeRequestEntityTooLarge) GetPayload() *models.ErrorBody
- func (o *HeadTokensMeRequestEntityTooLarge) IsClientError() bool
- func (o *HeadTokensMeRequestEntityTooLarge) IsCode(code int) bool
- func (o *HeadTokensMeRequestEntityTooLarge) IsRedirect() bool
- func (o *HeadTokensMeRequestEntityTooLarge) IsServerError() bool
- func (o *HeadTokensMeRequestEntityTooLarge) IsSuccess() bool
- func (o *HeadTokensMeRequestEntityTooLarge) String() string
- type HeadTokensMeRequestTimeout
- func (o *HeadTokensMeRequestTimeout) Error() string
- func (o *HeadTokensMeRequestTimeout) GetPayload() *models.ErrorBody
- func (o *HeadTokensMeRequestTimeout) IsClientError() bool
- func (o *HeadTokensMeRequestTimeout) IsCode(code int) bool
- func (o *HeadTokensMeRequestTimeout) IsRedirect() bool
- func (o *HeadTokensMeRequestTimeout) IsServerError() bool
- func (o *HeadTokensMeRequestTimeout) IsSuccess() bool
- func (o *HeadTokensMeRequestTimeout) String() string
- type HeadTokensMeServiceUnavailable
- func (o *HeadTokensMeServiceUnavailable) Error() string
- func (o *HeadTokensMeServiceUnavailable) GetPayload() *models.ErrorBody
- func (o *HeadTokensMeServiceUnavailable) IsClientError() bool
- func (o *HeadTokensMeServiceUnavailable) IsCode(code int) bool
- func (o *HeadTokensMeServiceUnavailable) IsRedirect() bool
- func (o *HeadTokensMeServiceUnavailable) IsServerError() bool
- func (o *HeadTokensMeServiceUnavailable) IsSuccess() bool
- func (o *HeadTokensMeServiceUnavailable) String() string
- type HeadTokensMeTooManyRequests
- func (o *HeadTokensMeTooManyRequests) Error() string
- func (o *HeadTokensMeTooManyRequests) GetPayload() *models.ErrorBody
- func (o *HeadTokensMeTooManyRequests) IsClientError() bool
- func (o *HeadTokensMeTooManyRequests) IsCode(code int) bool
- func (o *HeadTokensMeTooManyRequests) IsRedirect() bool
- func (o *HeadTokensMeTooManyRequests) IsServerError() bool
- func (o *HeadTokensMeTooManyRequests) IsSuccess() bool
- func (o *HeadTokensMeTooManyRequests) String() string
- type HeadTokensMeUnauthorized
- func (o *HeadTokensMeUnauthorized) Error() string
- func (o *HeadTokensMeUnauthorized) GetPayload() *models.ErrorBody
- func (o *HeadTokensMeUnauthorized) IsClientError() bool
- func (o *HeadTokensMeUnauthorized) IsCode(code int) bool
- func (o *HeadTokensMeUnauthorized) IsRedirect() bool
- func (o *HeadTokensMeUnauthorized) IsServerError() bool
- func (o *HeadTokensMeUnauthorized) IsSuccess() bool
- func (o *HeadTokensMeUnauthorized) String() string
- type HeadTokensMeUnsupportedMediaType
- func (o *HeadTokensMeUnsupportedMediaType) Error() string
- func (o *HeadTokensMeUnsupportedMediaType) GetPayload() *models.ErrorBody
- func (o *HeadTokensMeUnsupportedMediaType) IsClientError() bool
- func (o *HeadTokensMeUnsupportedMediaType) IsCode(code int) bool
- func (o *HeadTokensMeUnsupportedMediaType) IsRedirect() bool
- func (o *HeadTokensMeUnsupportedMediaType) IsServerError() bool
- func (o *HeadTokensMeUnsupportedMediaType) IsSuccess() bool
- func (o *HeadTokensMeUnsupportedMediaType) String() string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type API ¶
type API interface { /* DeleteToken deletes all auth tokens for the specified user */ DeleteToken(ctx context.Context, params *DeleteTokenParams) (*DeleteTokenNoContent, error) /* DeleteTokensMe deletes auth token used to make the request */ DeleteTokensMe(ctx context.Context, params *DeleteTokensMeParams) (*DeleteTokensMeOK, error) /* GetTokensMe fetches information about the current token */ GetTokensMe(ctx context.Context, params *GetTokensMeParams) (*GetTokensMeOK, error) /* HeadTokensMe verifies user token */ HeadTokensMe(ctx context.Context, params *HeadTokensMeParams) error }
API is the interface of the tokens client
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client for tokens API
func New ¶
func New(transport runtime.ClientTransport, formats strfmt.Registry, authInfo runtime.ClientAuthInfoWriter) *Client
New creates a new tokens API client.
func (*Client) DeleteToken ¶
func (a *Client) DeleteToken(ctx context.Context, params *DeleteTokenParams) (*DeleteTokenNoContent, error)
DeleteToken deletes all auth tokens for the specified user
func (*Client) DeleteTokensMe ¶
func (a *Client) DeleteTokensMe(ctx context.Context, params *DeleteTokensMeParams) (*DeleteTokensMeOK, error)
DeleteTokensMe deletes auth token used to make the request
func (*Client) GetTokensMe ¶
func (a *Client) GetTokensMe(ctx context.Context, params *GetTokensMeParams) (*GetTokensMeOK, error)
GetTokensMe fetches information about the current token
func (*Client) HeadTokensMe ¶
func (a *Client) HeadTokensMe(ctx context.Context, params *HeadTokensMeParams) error
HeadTokensMe verifies user token
type DeleteTokenBadRequest ¶
DeleteTokenBadRequest describes a response with status code 400, with default header values.
The request could not be understood by the server due to malformed syntax.
func NewDeleteTokenBadRequest ¶
func NewDeleteTokenBadRequest() *DeleteTokenBadRequest
NewDeleteTokenBadRequest creates a DeleteTokenBadRequest with default headers values
func (*DeleteTokenBadRequest) Error ¶
func (o *DeleteTokenBadRequest) Error() string
func (*DeleteTokenBadRequest) GetPayload ¶
func (o *DeleteTokenBadRequest) GetPayload() *models.ErrorBody
func (*DeleteTokenBadRequest) IsClientError ¶
func (o *DeleteTokenBadRequest) IsClientError() bool
IsClientError returns true when this delete token bad request response has a 4xx status code
func (*DeleteTokenBadRequest) IsCode ¶
func (o *DeleteTokenBadRequest) IsCode(code int) bool
IsCode returns true when this delete token bad request response a status code equal to that given
func (*DeleteTokenBadRequest) IsRedirect ¶
func (o *DeleteTokenBadRequest) IsRedirect() bool
IsRedirect returns true when this delete token bad request response has a 3xx status code
func (*DeleteTokenBadRequest) IsServerError ¶
func (o *DeleteTokenBadRequest) IsServerError() bool
IsServerError returns true when this delete token bad request response has a 5xx status code
func (*DeleteTokenBadRequest) IsSuccess ¶
func (o *DeleteTokenBadRequest) IsSuccess() bool
IsSuccess returns true when this delete token bad request response has a 2xx status code
func (*DeleteTokenBadRequest) String ¶
func (o *DeleteTokenBadRequest) String() string
type DeleteTokenForbidden ¶
DeleteTokenForbidden describes a response with status code 403, with default header values.
You are not authorized to perform the requested action.
func NewDeleteTokenForbidden ¶
func NewDeleteTokenForbidden() *DeleteTokenForbidden
NewDeleteTokenForbidden creates a DeleteTokenForbidden with default headers values
func (*DeleteTokenForbidden) Error ¶
func (o *DeleteTokenForbidden) Error() string
func (*DeleteTokenForbidden) GetPayload ¶
func (o *DeleteTokenForbidden) GetPayload() *models.ErrorBody
func (*DeleteTokenForbidden) IsClientError ¶
func (o *DeleteTokenForbidden) IsClientError() bool
IsClientError returns true when this delete token forbidden response has a 4xx status code
func (*DeleteTokenForbidden) IsCode ¶
func (o *DeleteTokenForbidden) IsCode(code int) bool
IsCode returns true when this delete token forbidden response a status code equal to that given
func (*DeleteTokenForbidden) IsRedirect ¶
func (o *DeleteTokenForbidden) IsRedirect() bool
IsRedirect returns true when this delete token forbidden response has a 3xx status code
func (*DeleteTokenForbidden) IsServerError ¶
func (o *DeleteTokenForbidden) IsServerError() bool
IsServerError returns true when this delete token forbidden response has a 5xx status code
func (*DeleteTokenForbidden) IsSuccess ¶
func (o *DeleteTokenForbidden) IsSuccess() bool
IsSuccess returns true when this delete token forbidden response has a 2xx status code
func (*DeleteTokenForbidden) String ¶
func (o *DeleteTokenForbidden) String() string
type DeleteTokenGatewayTimeout ¶
DeleteTokenGatewayTimeout describes a response with status code 504, with default header values.
The request timed out.
func NewDeleteTokenGatewayTimeout ¶
func NewDeleteTokenGatewayTimeout() *DeleteTokenGatewayTimeout
NewDeleteTokenGatewayTimeout creates a DeleteTokenGatewayTimeout with default headers values
func (*DeleteTokenGatewayTimeout) Error ¶
func (o *DeleteTokenGatewayTimeout) Error() string
func (*DeleteTokenGatewayTimeout) GetPayload ¶
func (o *DeleteTokenGatewayTimeout) GetPayload() *models.ErrorBody
func (*DeleteTokenGatewayTimeout) IsClientError ¶
func (o *DeleteTokenGatewayTimeout) IsClientError() bool
IsClientError returns true when this delete token gateway timeout response has a 4xx status code
func (*DeleteTokenGatewayTimeout) IsCode ¶
func (o *DeleteTokenGatewayTimeout) IsCode(code int) bool
IsCode returns true when this delete token gateway timeout response a status code equal to that given
func (*DeleteTokenGatewayTimeout) IsRedirect ¶
func (o *DeleteTokenGatewayTimeout) IsRedirect() bool
IsRedirect returns true when this delete token gateway timeout response has a 3xx status code
func (*DeleteTokenGatewayTimeout) IsServerError ¶
func (o *DeleteTokenGatewayTimeout) IsServerError() bool
IsServerError returns true when this delete token gateway timeout response has a 5xx status code
func (*DeleteTokenGatewayTimeout) IsSuccess ¶
func (o *DeleteTokenGatewayTimeout) IsSuccess() bool
IsSuccess returns true when this delete token gateway timeout response has a 2xx status code
func (*DeleteTokenGatewayTimeout) String ¶
func (o *DeleteTokenGatewayTimeout) String() string
type DeleteTokenInternalServerError ¶
DeleteTokenInternalServerError describes a response with status code 500, with default header values.
The server encountered an unexpected condition which prevented it from fulfilling the request.
func NewDeleteTokenInternalServerError ¶
func NewDeleteTokenInternalServerError() *DeleteTokenInternalServerError
NewDeleteTokenInternalServerError creates a DeleteTokenInternalServerError with default headers values
func (*DeleteTokenInternalServerError) Error ¶
func (o *DeleteTokenInternalServerError) Error() string
func (*DeleteTokenInternalServerError) GetPayload ¶
func (o *DeleteTokenInternalServerError) GetPayload() *models.ErrorBody
func (*DeleteTokenInternalServerError) IsClientError ¶
func (o *DeleteTokenInternalServerError) IsClientError() bool
IsClientError returns true when this delete token internal server error response has a 4xx status code
func (*DeleteTokenInternalServerError) IsCode ¶
func (o *DeleteTokenInternalServerError) IsCode(code int) bool
IsCode returns true when this delete token internal server error response a status code equal to that given
func (*DeleteTokenInternalServerError) IsRedirect ¶
func (o *DeleteTokenInternalServerError) IsRedirect() bool
IsRedirect returns true when this delete token internal server error response has a 3xx status code
func (*DeleteTokenInternalServerError) IsServerError ¶
func (o *DeleteTokenInternalServerError) IsServerError() bool
IsServerError returns true when this delete token internal server error response has a 5xx status code
func (*DeleteTokenInternalServerError) IsSuccess ¶
func (o *DeleteTokenInternalServerError) IsSuccess() bool
IsSuccess returns true when this delete token internal server error response has a 2xx status code
func (*DeleteTokenInternalServerError) String ¶
func (o *DeleteTokenInternalServerError) String() string
type DeleteTokenNoContent ¶
type DeleteTokenNoContent struct { }
DeleteTokenNoContent describes a response with status code 204, with default header values.
Operation was successful.
func NewDeleteTokenNoContent ¶
func NewDeleteTokenNoContent() *DeleteTokenNoContent
NewDeleteTokenNoContent creates a DeleteTokenNoContent with default headers values
func (*DeleteTokenNoContent) Error ¶
func (o *DeleteTokenNoContent) Error() string
func (*DeleteTokenNoContent) IsClientError ¶
func (o *DeleteTokenNoContent) IsClientError() bool
IsClientError returns true when this delete token no content response has a 4xx status code
func (*DeleteTokenNoContent) IsCode ¶
func (o *DeleteTokenNoContent) IsCode(code int) bool
IsCode returns true when this delete token no content response a status code equal to that given
func (*DeleteTokenNoContent) IsRedirect ¶
func (o *DeleteTokenNoContent) IsRedirect() bool
IsRedirect returns true when this delete token no content response has a 3xx status code
func (*DeleteTokenNoContent) IsServerError ¶
func (o *DeleteTokenNoContent) IsServerError() bool
IsServerError returns true when this delete token no content response has a 5xx status code
func (*DeleteTokenNoContent) IsSuccess ¶
func (o *DeleteTokenNoContent) IsSuccess() bool
IsSuccess returns true when this delete token no content response has a 2xx status code
func (*DeleteTokenNoContent) String ¶
func (o *DeleteTokenNoContent) String() string
type DeleteTokenNotFound ¶
DeleteTokenNotFound describes a response with status code 404, with default header values.
The requested resource was not found.
func NewDeleteTokenNotFound ¶
func NewDeleteTokenNotFound() *DeleteTokenNotFound
NewDeleteTokenNotFound creates a DeleteTokenNotFound with default headers values
func (*DeleteTokenNotFound) Error ¶
func (o *DeleteTokenNotFound) Error() string
func (*DeleteTokenNotFound) GetPayload ¶
func (o *DeleteTokenNotFound) GetPayload() *models.ErrorBody
func (*DeleteTokenNotFound) IsClientError ¶
func (o *DeleteTokenNotFound) IsClientError() bool
IsClientError returns true when this delete token not found response has a 4xx status code
func (*DeleteTokenNotFound) IsCode ¶
func (o *DeleteTokenNotFound) IsCode(code int) bool
IsCode returns true when this delete token not found response a status code equal to that given
func (*DeleteTokenNotFound) IsRedirect ¶
func (o *DeleteTokenNotFound) IsRedirect() bool
IsRedirect returns true when this delete token not found response has a 3xx status code
func (*DeleteTokenNotFound) IsServerError ¶
func (o *DeleteTokenNotFound) IsServerError() bool
IsServerError returns true when this delete token not found response has a 5xx status code
func (*DeleteTokenNotFound) IsSuccess ¶
func (o *DeleteTokenNotFound) IsSuccess() bool
IsSuccess returns true when this delete token not found response has a 2xx status code
func (*DeleteTokenNotFound) String ¶
func (o *DeleteTokenNotFound) String() string
type DeleteTokenParams ¶
type DeleteTokenParams struct { /* UserID. User ID */ UserID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
DeleteTokenParams contains all the parameters to send to the API endpoint
for the delete token operation. Typically these are written to a http.Request.
func NewDeleteTokenParams ¶
func NewDeleteTokenParams() *DeleteTokenParams
NewDeleteTokenParams creates a new DeleteTokenParams 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 NewDeleteTokenParamsWithContext ¶
func NewDeleteTokenParamsWithContext(ctx context.Context) *DeleteTokenParams
NewDeleteTokenParamsWithContext creates a new DeleteTokenParams object with the ability to set a context for a request.
func NewDeleteTokenParamsWithHTTPClient ¶
func NewDeleteTokenParamsWithHTTPClient(client *http.Client) *DeleteTokenParams
NewDeleteTokenParamsWithHTTPClient creates a new DeleteTokenParams object with the ability to set a custom HTTPClient for a request.
func NewDeleteTokenParamsWithTimeout ¶
func NewDeleteTokenParamsWithTimeout(timeout time.Duration) *DeleteTokenParams
NewDeleteTokenParamsWithTimeout creates a new DeleteTokenParams object with the ability to set a timeout on a request.
func (*DeleteTokenParams) SetContext ¶
func (o *DeleteTokenParams) SetContext(ctx context.Context)
SetContext adds the context to the delete token params
func (*DeleteTokenParams) SetDefaults ¶
func (o *DeleteTokenParams) SetDefaults()
SetDefaults hydrates default values in the delete token params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteTokenParams) SetHTTPClient ¶
func (o *DeleteTokenParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the delete token params
func (*DeleteTokenParams) SetTimeout ¶
func (o *DeleteTokenParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the delete token params
func (*DeleteTokenParams) SetUserID ¶
func (o *DeleteTokenParams) SetUserID(userID string)
SetUserID adds the userId to the delete token params
func (*DeleteTokenParams) WithContext ¶
func (o *DeleteTokenParams) WithContext(ctx context.Context) *DeleteTokenParams
WithContext adds the context to the delete token params
func (*DeleteTokenParams) WithDefaults ¶
func (o *DeleteTokenParams) WithDefaults() *DeleteTokenParams
WithDefaults hydrates default values in the delete token params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteTokenParams) WithHTTPClient ¶
func (o *DeleteTokenParams) WithHTTPClient(client *http.Client) *DeleteTokenParams
WithHTTPClient adds the HTTPClient to the delete token params
func (*DeleteTokenParams) WithTimeout ¶
func (o *DeleteTokenParams) WithTimeout(timeout time.Duration) *DeleteTokenParams
WithTimeout adds the timeout to the delete token params
func (*DeleteTokenParams) WithUserID ¶
func (o *DeleteTokenParams) WithUserID(userID string) *DeleteTokenParams
WithUserID adds the userID to the delete token params
func (*DeleteTokenParams) WriteToRequest ¶
func (o *DeleteTokenParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DeleteTokenReader ¶
type DeleteTokenReader struct {
// contains filtered or unexported fields
}
DeleteTokenReader is a Reader for the DeleteToken structure.
func (*DeleteTokenReader) ReadResponse ¶
func (o *DeleteTokenReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type DeleteTokenRequestEntityTooLarge ¶
DeleteTokenRequestEntityTooLarge describes a response with status code 413, with default header values.
The request is over the size limit. Maximum bytes: %s
func NewDeleteTokenRequestEntityTooLarge ¶
func NewDeleteTokenRequestEntityTooLarge() *DeleteTokenRequestEntityTooLarge
NewDeleteTokenRequestEntityTooLarge creates a DeleteTokenRequestEntityTooLarge with default headers values
func (*DeleteTokenRequestEntityTooLarge) Error ¶
func (o *DeleteTokenRequestEntityTooLarge) Error() string
func (*DeleteTokenRequestEntityTooLarge) GetPayload ¶
func (o *DeleteTokenRequestEntityTooLarge) GetPayload() *models.ErrorBody
func (*DeleteTokenRequestEntityTooLarge) IsClientError ¶
func (o *DeleteTokenRequestEntityTooLarge) IsClientError() bool
IsClientError returns true when this delete token request entity too large response has a 4xx status code
func (*DeleteTokenRequestEntityTooLarge) IsCode ¶
func (o *DeleteTokenRequestEntityTooLarge) IsCode(code int) bool
IsCode returns true when this delete token request entity too large response a status code equal to that given
func (*DeleteTokenRequestEntityTooLarge) IsRedirect ¶
func (o *DeleteTokenRequestEntityTooLarge) IsRedirect() bool
IsRedirect returns true when this delete token request entity too large response has a 3xx status code
func (*DeleteTokenRequestEntityTooLarge) IsServerError ¶
func (o *DeleteTokenRequestEntityTooLarge) IsServerError() bool
IsServerError returns true when this delete token request entity too large response has a 5xx status code
func (*DeleteTokenRequestEntityTooLarge) IsSuccess ¶
func (o *DeleteTokenRequestEntityTooLarge) IsSuccess() bool
IsSuccess returns true when this delete token request entity too large response has a 2xx status code
func (*DeleteTokenRequestEntityTooLarge) String ¶
func (o *DeleteTokenRequestEntityTooLarge) String() string
type DeleteTokenRequestTimeout ¶
DeleteTokenRequestTimeout describes a response with status code 408, with default header values.
The client did not produce a request within the server timeout limit. This can be caused by a slow network connection and/or large payloads.
func NewDeleteTokenRequestTimeout ¶
func NewDeleteTokenRequestTimeout() *DeleteTokenRequestTimeout
NewDeleteTokenRequestTimeout creates a DeleteTokenRequestTimeout with default headers values
func (*DeleteTokenRequestTimeout) Error ¶
func (o *DeleteTokenRequestTimeout) Error() string
func (*DeleteTokenRequestTimeout) GetPayload ¶
func (o *DeleteTokenRequestTimeout) GetPayload() *models.ErrorBody
func (*DeleteTokenRequestTimeout) IsClientError ¶
func (o *DeleteTokenRequestTimeout) IsClientError() bool
IsClientError returns true when this delete token request timeout response has a 4xx status code
func (*DeleteTokenRequestTimeout) IsCode ¶
func (o *DeleteTokenRequestTimeout) IsCode(code int) bool
IsCode returns true when this delete token request timeout response a status code equal to that given
func (*DeleteTokenRequestTimeout) IsRedirect ¶
func (o *DeleteTokenRequestTimeout) IsRedirect() bool
IsRedirect returns true when this delete token request timeout response has a 3xx status code
func (*DeleteTokenRequestTimeout) IsServerError ¶
func (o *DeleteTokenRequestTimeout) IsServerError() bool
IsServerError returns true when this delete token request timeout response has a 5xx status code
func (*DeleteTokenRequestTimeout) IsSuccess ¶
func (o *DeleteTokenRequestTimeout) IsSuccess() bool
IsSuccess returns true when this delete token request timeout response has a 2xx status code
func (*DeleteTokenRequestTimeout) String ¶
func (o *DeleteTokenRequestTimeout) String() string
type DeleteTokenServiceUnavailable ¶
type DeleteTokenServiceUnavailable struct {
}DeleteTokenServiceUnavailable describes a response with status code 503, with default header values.
Service Unavailable - The server is currently unavailable (because it is overloaded or down for maintenance).
func NewDeleteTokenServiceUnavailable ¶
func NewDeleteTokenServiceUnavailable() *DeleteTokenServiceUnavailable
NewDeleteTokenServiceUnavailable creates a DeleteTokenServiceUnavailable with default headers values
func (*DeleteTokenServiceUnavailable) Error ¶
func (o *DeleteTokenServiceUnavailable) Error() string
func (*DeleteTokenServiceUnavailable) GetPayload ¶
func (o *DeleteTokenServiceUnavailable) GetPayload() *models.ErrorBody
func (*DeleteTokenServiceUnavailable) IsClientError ¶
func (o *DeleteTokenServiceUnavailable) IsClientError() bool
IsClientError returns true when this delete token service unavailable response has a 4xx status code
func (*DeleteTokenServiceUnavailable) IsCode ¶
func (o *DeleteTokenServiceUnavailable) IsCode(code int) bool
IsCode returns true when this delete token service unavailable response a status code equal to that given
func (*DeleteTokenServiceUnavailable) IsRedirect ¶
func (o *DeleteTokenServiceUnavailable) IsRedirect() bool
IsRedirect returns true when this delete token service unavailable response has a 3xx status code
func (*DeleteTokenServiceUnavailable) IsServerError ¶
func (o *DeleteTokenServiceUnavailable) IsServerError() bool
IsServerError returns true when this delete token service unavailable response has a 5xx status code
func (*DeleteTokenServiceUnavailable) IsSuccess ¶
func (o *DeleteTokenServiceUnavailable) IsSuccess() bool
IsSuccess returns true when this delete token service unavailable response has a 2xx status code
func (*DeleteTokenServiceUnavailable) String ¶
func (o *DeleteTokenServiceUnavailable) String() string
type DeleteTokenTooManyRequests ¶
DeleteTokenTooManyRequests describes a response with status code 429, with default header values.
Rate limit exceeded the maximum. Retry the request in [%s] seconds
func NewDeleteTokenTooManyRequests ¶
func NewDeleteTokenTooManyRequests() *DeleteTokenTooManyRequests
NewDeleteTokenTooManyRequests creates a DeleteTokenTooManyRequests with default headers values
func (*DeleteTokenTooManyRequests) Error ¶
func (o *DeleteTokenTooManyRequests) Error() string
func (*DeleteTokenTooManyRequests) GetPayload ¶
func (o *DeleteTokenTooManyRequests) GetPayload() *models.ErrorBody
func (*DeleteTokenTooManyRequests) IsClientError ¶
func (o *DeleteTokenTooManyRequests) IsClientError() bool
IsClientError returns true when this delete token too many requests response has a 4xx status code
func (*DeleteTokenTooManyRequests) IsCode ¶
func (o *DeleteTokenTooManyRequests) IsCode(code int) bool
IsCode returns true when this delete token too many requests response a status code equal to that given
func (*DeleteTokenTooManyRequests) IsRedirect ¶
func (o *DeleteTokenTooManyRequests) IsRedirect() bool
IsRedirect returns true when this delete token too many requests response has a 3xx status code
func (*DeleteTokenTooManyRequests) IsServerError ¶
func (o *DeleteTokenTooManyRequests) IsServerError() bool
IsServerError returns true when this delete token too many requests response has a 5xx status code
func (*DeleteTokenTooManyRequests) IsSuccess ¶
func (o *DeleteTokenTooManyRequests) IsSuccess() bool
IsSuccess returns true when this delete token too many requests response has a 2xx status code
func (*DeleteTokenTooManyRequests) String ¶
func (o *DeleteTokenTooManyRequests) String() string
type DeleteTokenUnauthorized ¶
type DeleteTokenUnauthorized struct {
}DeleteTokenUnauthorized describes a response with status code 401, with default header values.
No authentication bearer token specified in authorization header.
func NewDeleteTokenUnauthorized ¶
func NewDeleteTokenUnauthorized() *DeleteTokenUnauthorized
NewDeleteTokenUnauthorized creates a DeleteTokenUnauthorized with default headers values
func (*DeleteTokenUnauthorized) Error ¶
func (o *DeleteTokenUnauthorized) Error() string
func (*DeleteTokenUnauthorized) GetPayload ¶
func (o *DeleteTokenUnauthorized) GetPayload() *models.ErrorBody
func (*DeleteTokenUnauthorized) IsClientError ¶
func (o *DeleteTokenUnauthorized) IsClientError() bool
IsClientError returns true when this delete token unauthorized response has a 4xx status code
func (*DeleteTokenUnauthorized) IsCode ¶
func (o *DeleteTokenUnauthorized) IsCode(code int) bool
IsCode returns true when this delete token unauthorized response a status code equal to that given
func (*DeleteTokenUnauthorized) IsRedirect ¶
func (o *DeleteTokenUnauthorized) IsRedirect() bool
IsRedirect returns true when this delete token unauthorized response has a 3xx status code
func (*DeleteTokenUnauthorized) IsServerError ¶
func (o *DeleteTokenUnauthorized) IsServerError() bool
IsServerError returns true when this delete token unauthorized response has a 5xx status code
func (*DeleteTokenUnauthorized) IsSuccess ¶
func (o *DeleteTokenUnauthorized) IsSuccess() bool
IsSuccess returns true when this delete token unauthorized response has a 2xx status code
func (*DeleteTokenUnauthorized) String ¶
func (o *DeleteTokenUnauthorized) String() string
type DeleteTokenUnsupportedMediaType ¶
DeleteTokenUnsupportedMediaType describes a response with status code 415, with default header values.
Unsupported Media Type - Unsupported or incorrect media type, such as an incorrect Content-Type value in the header.
func NewDeleteTokenUnsupportedMediaType ¶
func NewDeleteTokenUnsupportedMediaType() *DeleteTokenUnsupportedMediaType
NewDeleteTokenUnsupportedMediaType creates a DeleteTokenUnsupportedMediaType with default headers values
func (*DeleteTokenUnsupportedMediaType) Error ¶
func (o *DeleteTokenUnsupportedMediaType) Error() string
func (*DeleteTokenUnsupportedMediaType) GetPayload ¶
func (o *DeleteTokenUnsupportedMediaType) GetPayload() *models.ErrorBody
func (*DeleteTokenUnsupportedMediaType) IsClientError ¶
func (o *DeleteTokenUnsupportedMediaType) IsClientError() bool
IsClientError returns true when this delete token unsupported media type response has a 4xx status code
func (*DeleteTokenUnsupportedMediaType) IsCode ¶
func (o *DeleteTokenUnsupportedMediaType) IsCode(code int) bool
IsCode returns true when this delete token unsupported media type response a status code equal to that given
func (*DeleteTokenUnsupportedMediaType) IsRedirect ¶
func (o *DeleteTokenUnsupportedMediaType) IsRedirect() bool
IsRedirect returns true when this delete token unsupported media type response has a 3xx status code
func (*DeleteTokenUnsupportedMediaType) IsServerError ¶
func (o *DeleteTokenUnsupportedMediaType) IsServerError() bool
IsServerError returns true when this delete token unsupported media type response has a 5xx status code
func (*DeleteTokenUnsupportedMediaType) IsSuccess ¶
func (o *DeleteTokenUnsupportedMediaType) IsSuccess() bool
IsSuccess returns true when this delete token unsupported media type response has a 2xx status code
func (*DeleteTokenUnsupportedMediaType) String ¶
func (o *DeleteTokenUnsupportedMediaType) String() string
type DeleteTokensMeBadRequest ¶
DeleteTokensMeBadRequest describes a response with status code 400, with default header values.
The request could not be understood by the server due to malformed syntax.
func NewDeleteTokensMeBadRequest ¶
func NewDeleteTokensMeBadRequest() *DeleteTokensMeBadRequest
NewDeleteTokensMeBadRequest creates a DeleteTokensMeBadRequest with default headers values
func (*DeleteTokensMeBadRequest) Error ¶
func (o *DeleteTokensMeBadRequest) Error() string
func (*DeleteTokensMeBadRequest) GetPayload ¶
func (o *DeleteTokensMeBadRequest) GetPayload() *models.ErrorBody
func (*DeleteTokensMeBadRequest) IsClientError ¶
func (o *DeleteTokensMeBadRequest) IsClientError() bool
IsClientError returns true when this delete tokens me bad request response has a 4xx status code
func (*DeleteTokensMeBadRequest) IsCode ¶
func (o *DeleteTokensMeBadRequest) IsCode(code int) bool
IsCode returns true when this delete tokens me bad request response a status code equal to that given
func (*DeleteTokensMeBadRequest) IsRedirect ¶
func (o *DeleteTokensMeBadRequest) IsRedirect() bool
IsRedirect returns true when this delete tokens me bad request response has a 3xx status code
func (*DeleteTokensMeBadRequest) IsServerError ¶
func (o *DeleteTokensMeBadRequest) IsServerError() bool
IsServerError returns true when this delete tokens me bad request response has a 5xx status code
func (*DeleteTokensMeBadRequest) IsSuccess ¶
func (o *DeleteTokensMeBadRequest) IsSuccess() bool
IsSuccess returns true when this delete tokens me bad request response has a 2xx status code
func (*DeleteTokensMeBadRequest) String ¶
func (o *DeleteTokensMeBadRequest) String() string
type DeleteTokensMeForbidden ¶
DeleteTokensMeForbidden describes a response with status code 403, with default header values.
You are not authorized to perform the requested action.
func NewDeleteTokensMeForbidden ¶
func NewDeleteTokensMeForbidden() *DeleteTokensMeForbidden
NewDeleteTokensMeForbidden creates a DeleteTokensMeForbidden with default headers values
func (*DeleteTokensMeForbidden) Error ¶
func (o *DeleteTokensMeForbidden) Error() string
func (*DeleteTokensMeForbidden) GetPayload ¶
func (o *DeleteTokensMeForbidden) GetPayload() *models.ErrorBody
func (*DeleteTokensMeForbidden) IsClientError ¶
func (o *DeleteTokensMeForbidden) IsClientError() bool
IsClientError returns true when this delete tokens me forbidden response has a 4xx status code
func (*DeleteTokensMeForbidden) IsCode ¶
func (o *DeleteTokensMeForbidden) IsCode(code int) bool
IsCode returns true when this delete tokens me forbidden response a status code equal to that given
func (*DeleteTokensMeForbidden) IsRedirect ¶
func (o *DeleteTokensMeForbidden) IsRedirect() bool
IsRedirect returns true when this delete tokens me forbidden response has a 3xx status code
func (*DeleteTokensMeForbidden) IsServerError ¶
func (o *DeleteTokensMeForbidden) IsServerError() bool
IsServerError returns true when this delete tokens me forbidden response has a 5xx status code
func (*DeleteTokensMeForbidden) IsSuccess ¶
func (o *DeleteTokensMeForbidden) IsSuccess() bool
IsSuccess returns true when this delete tokens me forbidden response has a 2xx status code
func (*DeleteTokensMeForbidden) String ¶
func (o *DeleteTokensMeForbidden) String() string
type DeleteTokensMeGatewayTimeout ¶
DeleteTokensMeGatewayTimeout describes a response with status code 504, with default header values.
The request timed out.
func NewDeleteTokensMeGatewayTimeout ¶
func NewDeleteTokensMeGatewayTimeout() *DeleteTokensMeGatewayTimeout
NewDeleteTokensMeGatewayTimeout creates a DeleteTokensMeGatewayTimeout with default headers values
func (*DeleteTokensMeGatewayTimeout) Error ¶
func (o *DeleteTokensMeGatewayTimeout) Error() string
func (*DeleteTokensMeGatewayTimeout) GetPayload ¶
func (o *DeleteTokensMeGatewayTimeout) GetPayload() *models.ErrorBody
func (*DeleteTokensMeGatewayTimeout) IsClientError ¶
func (o *DeleteTokensMeGatewayTimeout) IsClientError() bool
IsClientError returns true when this delete tokens me gateway timeout response has a 4xx status code
func (*DeleteTokensMeGatewayTimeout) IsCode ¶
func (o *DeleteTokensMeGatewayTimeout) IsCode(code int) bool
IsCode returns true when this delete tokens me gateway timeout response a status code equal to that given
func (*DeleteTokensMeGatewayTimeout) IsRedirect ¶
func (o *DeleteTokensMeGatewayTimeout) IsRedirect() bool
IsRedirect returns true when this delete tokens me gateway timeout response has a 3xx status code
func (*DeleteTokensMeGatewayTimeout) IsServerError ¶
func (o *DeleteTokensMeGatewayTimeout) IsServerError() bool
IsServerError returns true when this delete tokens me gateway timeout response has a 5xx status code
func (*DeleteTokensMeGatewayTimeout) IsSuccess ¶
func (o *DeleteTokensMeGatewayTimeout) IsSuccess() bool
IsSuccess returns true when this delete tokens me gateway timeout response has a 2xx status code
func (*DeleteTokensMeGatewayTimeout) String ¶
func (o *DeleteTokensMeGatewayTimeout) String() string
type DeleteTokensMeInternalServerError ¶
DeleteTokensMeInternalServerError describes a response with status code 500, with default header values.
The server encountered an unexpected condition which prevented it from fulfilling the request.
func NewDeleteTokensMeInternalServerError ¶
func NewDeleteTokensMeInternalServerError() *DeleteTokensMeInternalServerError
NewDeleteTokensMeInternalServerError creates a DeleteTokensMeInternalServerError with default headers values
func (*DeleteTokensMeInternalServerError) Error ¶
func (o *DeleteTokensMeInternalServerError) Error() string
func (*DeleteTokensMeInternalServerError) GetPayload ¶
func (o *DeleteTokensMeInternalServerError) GetPayload() *models.ErrorBody
func (*DeleteTokensMeInternalServerError) IsClientError ¶
func (o *DeleteTokensMeInternalServerError) IsClientError() bool
IsClientError returns true when this delete tokens me internal server error response has a 4xx status code
func (*DeleteTokensMeInternalServerError) IsCode ¶
func (o *DeleteTokensMeInternalServerError) IsCode(code int) bool
IsCode returns true when this delete tokens me internal server error response a status code equal to that given
func (*DeleteTokensMeInternalServerError) IsRedirect ¶
func (o *DeleteTokensMeInternalServerError) IsRedirect() bool
IsRedirect returns true when this delete tokens me internal server error response has a 3xx status code
func (*DeleteTokensMeInternalServerError) IsServerError ¶
func (o *DeleteTokensMeInternalServerError) IsServerError() bool
IsServerError returns true when this delete tokens me internal server error response has a 5xx status code
func (*DeleteTokensMeInternalServerError) IsSuccess ¶
func (o *DeleteTokensMeInternalServerError) IsSuccess() bool
IsSuccess returns true when this delete tokens me internal server error response has a 2xx status code
func (*DeleteTokensMeInternalServerError) String ¶
func (o *DeleteTokensMeInternalServerError) String() string
type DeleteTokensMeNotFound ¶
DeleteTokensMeNotFound describes a response with status code 404, with default header values.
The requested resource was not found.
func NewDeleteTokensMeNotFound ¶
func NewDeleteTokensMeNotFound() *DeleteTokensMeNotFound
NewDeleteTokensMeNotFound creates a DeleteTokensMeNotFound with default headers values
func (*DeleteTokensMeNotFound) Error ¶
func (o *DeleteTokensMeNotFound) Error() string
func (*DeleteTokensMeNotFound) GetPayload ¶
func (o *DeleteTokensMeNotFound) GetPayload() *models.ErrorBody
func (*DeleteTokensMeNotFound) IsClientError ¶
func (o *DeleteTokensMeNotFound) IsClientError() bool
IsClientError returns true when this delete tokens me not found response has a 4xx status code
func (*DeleteTokensMeNotFound) IsCode ¶
func (o *DeleteTokensMeNotFound) IsCode(code int) bool
IsCode returns true when this delete tokens me not found response a status code equal to that given
func (*DeleteTokensMeNotFound) IsRedirect ¶
func (o *DeleteTokensMeNotFound) IsRedirect() bool
IsRedirect returns true when this delete tokens me not found response has a 3xx status code
func (*DeleteTokensMeNotFound) IsServerError ¶
func (o *DeleteTokensMeNotFound) IsServerError() bool
IsServerError returns true when this delete tokens me not found response has a 5xx status code
func (*DeleteTokensMeNotFound) IsSuccess ¶
func (o *DeleteTokensMeNotFound) IsSuccess() bool
IsSuccess returns true when this delete tokens me not found response has a 2xx status code
func (*DeleteTokensMeNotFound) String ¶
func (o *DeleteTokensMeNotFound) String() string
type DeleteTokensMeOK ¶
type DeleteTokensMeOK struct { }
DeleteTokensMeOK describes a response with status code 200, with default header values.
Operation was successful.
func NewDeleteTokensMeOK ¶
func NewDeleteTokensMeOK() *DeleteTokensMeOK
NewDeleteTokensMeOK creates a DeleteTokensMeOK with default headers values
func (*DeleteTokensMeOK) Error ¶
func (o *DeleteTokensMeOK) Error() string
func (*DeleteTokensMeOK) IsClientError ¶
func (o *DeleteTokensMeOK) IsClientError() bool
IsClientError returns true when this delete tokens me o k response has a 4xx status code
func (*DeleteTokensMeOK) IsCode ¶
func (o *DeleteTokensMeOK) IsCode(code int) bool
IsCode returns true when this delete tokens me o k response a status code equal to that given
func (*DeleteTokensMeOK) IsRedirect ¶
func (o *DeleteTokensMeOK) IsRedirect() bool
IsRedirect returns true when this delete tokens me o k response has a 3xx status code
func (*DeleteTokensMeOK) IsServerError ¶
func (o *DeleteTokensMeOK) IsServerError() bool
IsServerError returns true when this delete tokens me o k response has a 5xx status code
func (*DeleteTokensMeOK) IsSuccess ¶
func (o *DeleteTokensMeOK) IsSuccess() bool
IsSuccess returns true when this delete tokens me o k response has a 2xx status code
func (*DeleteTokensMeOK) String ¶
func (o *DeleteTokensMeOK) String() string
type DeleteTokensMeParams ¶
type DeleteTokensMeParams struct { Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
DeleteTokensMeParams contains all the parameters to send to the API endpoint
for the delete tokens me operation. Typically these are written to a http.Request.
func NewDeleteTokensMeParams ¶
func NewDeleteTokensMeParams() *DeleteTokensMeParams
NewDeleteTokensMeParams creates a new DeleteTokensMeParams 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 NewDeleteTokensMeParamsWithContext ¶
func NewDeleteTokensMeParamsWithContext(ctx context.Context) *DeleteTokensMeParams
NewDeleteTokensMeParamsWithContext creates a new DeleteTokensMeParams object with the ability to set a context for a request.
func NewDeleteTokensMeParamsWithHTTPClient ¶
func NewDeleteTokensMeParamsWithHTTPClient(client *http.Client) *DeleteTokensMeParams
NewDeleteTokensMeParamsWithHTTPClient creates a new DeleteTokensMeParams object with the ability to set a custom HTTPClient for a request.
func NewDeleteTokensMeParamsWithTimeout ¶
func NewDeleteTokensMeParamsWithTimeout(timeout time.Duration) *DeleteTokensMeParams
NewDeleteTokensMeParamsWithTimeout creates a new DeleteTokensMeParams object with the ability to set a timeout on a request.
func (*DeleteTokensMeParams) SetContext ¶
func (o *DeleteTokensMeParams) SetContext(ctx context.Context)
SetContext adds the context to the delete tokens me params
func (*DeleteTokensMeParams) SetDefaults ¶
func (o *DeleteTokensMeParams) SetDefaults()
SetDefaults hydrates default values in the delete tokens me params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteTokensMeParams) SetHTTPClient ¶
func (o *DeleteTokensMeParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the delete tokens me params
func (*DeleteTokensMeParams) SetTimeout ¶
func (o *DeleteTokensMeParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the delete tokens me params
func (*DeleteTokensMeParams) WithContext ¶
func (o *DeleteTokensMeParams) WithContext(ctx context.Context) *DeleteTokensMeParams
WithContext adds the context to the delete tokens me params
func (*DeleteTokensMeParams) WithDefaults ¶
func (o *DeleteTokensMeParams) WithDefaults() *DeleteTokensMeParams
WithDefaults hydrates default values in the delete tokens me params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteTokensMeParams) WithHTTPClient ¶
func (o *DeleteTokensMeParams) WithHTTPClient(client *http.Client) *DeleteTokensMeParams
WithHTTPClient adds the HTTPClient to the delete tokens me params
func (*DeleteTokensMeParams) WithTimeout ¶
func (o *DeleteTokensMeParams) WithTimeout(timeout time.Duration) *DeleteTokensMeParams
WithTimeout adds the timeout to the delete tokens me params
func (*DeleteTokensMeParams) WriteToRequest ¶
func (o *DeleteTokensMeParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DeleteTokensMeReader ¶
type DeleteTokensMeReader struct {
// contains filtered or unexported fields
}
DeleteTokensMeReader is a Reader for the DeleteTokensMe structure.
func (*DeleteTokensMeReader) ReadResponse ¶
func (o *DeleteTokensMeReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type DeleteTokensMeRequestEntityTooLarge ¶
DeleteTokensMeRequestEntityTooLarge describes a response with status code 413, with default header values.
The request is over the size limit. Maximum bytes: %s
func NewDeleteTokensMeRequestEntityTooLarge ¶
func NewDeleteTokensMeRequestEntityTooLarge() *DeleteTokensMeRequestEntityTooLarge
NewDeleteTokensMeRequestEntityTooLarge creates a DeleteTokensMeRequestEntityTooLarge with default headers values
func (*DeleteTokensMeRequestEntityTooLarge) Error ¶
func (o *DeleteTokensMeRequestEntityTooLarge) Error() string
func (*DeleteTokensMeRequestEntityTooLarge) GetPayload ¶
func (o *DeleteTokensMeRequestEntityTooLarge) GetPayload() *models.ErrorBody
func (*DeleteTokensMeRequestEntityTooLarge) IsClientError ¶
func (o *DeleteTokensMeRequestEntityTooLarge) IsClientError() bool
IsClientError returns true when this delete tokens me request entity too large response has a 4xx status code
func (*DeleteTokensMeRequestEntityTooLarge) IsCode ¶
func (o *DeleteTokensMeRequestEntityTooLarge) IsCode(code int) bool
IsCode returns true when this delete tokens me request entity too large response a status code equal to that given
func (*DeleteTokensMeRequestEntityTooLarge) IsRedirect ¶
func (o *DeleteTokensMeRequestEntityTooLarge) IsRedirect() bool
IsRedirect returns true when this delete tokens me request entity too large response has a 3xx status code
func (*DeleteTokensMeRequestEntityTooLarge) IsServerError ¶
func (o *DeleteTokensMeRequestEntityTooLarge) IsServerError() bool
IsServerError returns true when this delete tokens me request entity too large response has a 5xx status code
func (*DeleteTokensMeRequestEntityTooLarge) IsSuccess ¶
func (o *DeleteTokensMeRequestEntityTooLarge) IsSuccess() bool
IsSuccess returns true when this delete tokens me request entity too large response has a 2xx status code
func (*DeleteTokensMeRequestEntityTooLarge) String ¶
func (o *DeleteTokensMeRequestEntityTooLarge) String() string
type DeleteTokensMeRequestTimeout ¶
DeleteTokensMeRequestTimeout describes a response with status code 408, with default header values.
The client did not produce a request within the server timeout limit. This can be caused by a slow network connection and/or large payloads.
func NewDeleteTokensMeRequestTimeout ¶
func NewDeleteTokensMeRequestTimeout() *DeleteTokensMeRequestTimeout
NewDeleteTokensMeRequestTimeout creates a DeleteTokensMeRequestTimeout with default headers values
func (*DeleteTokensMeRequestTimeout) Error ¶
func (o *DeleteTokensMeRequestTimeout) Error() string
func (*DeleteTokensMeRequestTimeout) GetPayload ¶
func (o *DeleteTokensMeRequestTimeout) GetPayload() *models.ErrorBody
func (*DeleteTokensMeRequestTimeout) IsClientError ¶
func (o *DeleteTokensMeRequestTimeout) IsClientError() bool
IsClientError returns true when this delete tokens me request timeout response has a 4xx status code
func (*DeleteTokensMeRequestTimeout) IsCode ¶
func (o *DeleteTokensMeRequestTimeout) IsCode(code int) bool
IsCode returns true when this delete tokens me request timeout response a status code equal to that given
func (*DeleteTokensMeRequestTimeout) IsRedirect ¶
func (o *DeleteTokensMeRequestTimeout) IsRedirect() bool
IsRedirect returns true when this delete tokens me request timeout response has a 3xx status code
func (*DeleteTokensMeRequestTimeout) IsServerError ¶
func (o *DeleteTokensMeRequestTimeout) IsServerError() bool
IsServerError returns true when this delete tokens me request timeout response has a 5xx status code
func (*DeleteTokensMeRequestTimeout) IsSuccess ¶
func (o *DeleteTokensMeRequestTimeout) IsSuccess() bool
IsSuccess returns true when this delete tokens me request timeout response has a 2xx status code
func (*DeleteTokensMeRequestTimeout) String ¶
func (o *DeleteTokensMeRequestTimeout) String() string
type DeleteTokensMeServiceUnavailable ¶
type DeleteTokensMeServiceUnavailable struct {
}DeleteTokensMeServiceUnavailable describes a response with status code 503, with default header values.
Service Unavailable - The server is currently unavailable (because it is overloaded or down for maintenance).
func NewDeleteTokensMeServiceUnavailable ¶
func NewDeleteTokensMeServiceUnavailable() *DeleteTokensMeServiceUnavailable
NewDeleteTokensMeServiceUnavailable creates a DeleteTokensMeServiceUnavailable with default headers values
func (*DeleteTokensMeServiceUnavailable) Error ¶
func (o *DeleteTokensMeServiceUnavailable) Error() string
func (*DeleteTokensMeServiceUnavailable) GetPayload ¶
func (o *DeleteTokensMeServiceUnavailable) GetPayload() *models.ErrorBody
func (*DeleteTokensMeServiceUnavailable) IsClientError ¶
func (o *DeleteTokensMeServiceUnavailable) IsClientError() bool
IsClientError returns true when this delete tokens me service unavailable response has a 4xx status code
func (*DeleteTokensMeServiceUnavailable) IsCode ¶
func (o *DeleteTokensMeServiceUnavailable) IsCode(code int) bool
IsCode returns true when this delete tokens me service unavailable response a status code equal to that given
func (*DeleteTokensMeServiceUnavailable) IsRedirect ¶
func (o *DeleteTokensMeServiceUnavailable) IsRedirect() bool
IsRedirect returns true when this delete tokens me service unavailable response has a 3xx status code
func (*DeleteTokensMeServiceUnavailable) IsServerError ¶
func (o *DeleteTokensMeServiceUnavailable) IsServerError() bool
IsServerError returns true when this delete tokens me service unavailable response has a 5xx status code
func (*DeleteTokensMeServiceUnavailable) IsSuccess ¶
func (o *DeleteTokensMeServiceUnavailable) IsSuccess() bool
IsSuccess returns true when this delete tokens me service unavailable response has a 2xx status code
func (*DeleteTokensMeServiceUnavailable) String ¶
func (o *DeleteTokensMeServiceUnavailable) String() string
type DeleteTokensMeTooManyRequests ¶
DeleteTokensMeTooManyRequests describes a response with status code 429, with default header values.
Rate limit exceeded the maximum. Retry the request in [%s] seconds
func NewDeleteTokensMeTooManyRequests ¶
func NewDeleteTokensMeTooManyRequests() *DeleteTokensMeTooManyRequests
NewDeleteTokensMeTooManyRequests creates a DeleteTokensMeTooManyRequests with default headers values
func (*DeleteTokensMeTooManyRequests) Error ¶
func (o *DeleteTokensMeTooManyRequests) Error() string
func (*DeleteTokensMeTooManyRequests) GetPayload ¶
func (o *DeleteTokensMeTooManyRequests) GetPayload() *models.ErrorBody
func (*DeleteTokensMeTooManyRequests) IsClientError ¶
func (o *DeleteTokensMeTooManyRequests) IsClientError() bool
IsClientError returns true when this delete tokens me too many requests response has a 4xx status code
func (*DeleteTokensMeTooManyRequests) IsCode ¶
func (o *DeleteTokensMeTooManyRequests) IsCode(code int) bool
IsCode returns true when this delete tokens me too many requests response a status code equal to that given
func (*DeleteTokensMeTooManyRequests) IsRedirect ¶
func (o *DeleteTokensMeTooManyRequests) IsRedirect() bool
IsRedirect returns true when this delete tokens me too many requests response has a 3xx status code
func (*DeleteTokensMeTooManyRequests) IsServerError ¶
func (o *DeleteTokensMeTooManyRequests) IsServerError() bool
IsServerError returns true when this delete tokens me too many requests response has a 5xx status code
func (*DeleteTokensMeTooManyRequests) IsSuccess ¶
func (o *DeleteTokensMeTooManyRequests) IsSuccess() bool
IsSuccess returns true when this delete tokens me too many requests response has a 2xx status code
func (*DeleteTokensMeTooManyRequests) String ¶
func (o *DeleteTokensMeTooManyRequests) String() string
type DeleteTokensMeUnauthorized ¶
type DeleteTokensMeUnauthorized struct {
}DeleteTokensMeUnauthorized describes a response with status code 401, with default header values.
No authentication bearer token specified in authorization header.
func NewDeleteTokensMeUnauthorized ¶
func NewDeleteTokensMeUnauthorized() *DeleteTokensMeUnauthorized
NewDeleteTokensMeUnauthorized creates a DeleteTokensMeUnauthorized with default headers values
func (*DeleteTokensMeUnauthorized) Error ¶
func (o *DeleteTokensMeUnauthorized) Error() string
func (*DeleteTokensMeUnauthorized) GetPayload ¶
func (o *DeleteTokensMeUnauthorized) GetPayload() *models.ErrorBody
func (*DeleteTokensMeUnauthorized) IsClientError ¶
func (o *DeleteTokensMeUnauthorized) IsClientError() bool
IsClientError returns true when this delete tokens me unauthorized response has a 4xx status code
func (*DeleteTokensMeUnauthorized) IsCode ¶
func (o *DeleteTokensMeUnauthorized) IsCode(code int) bool
IsCode returns true when this delete tokens me unauthorized response a status code equal to that given
func (*DeleteTokensMeUnauthorized) IsRedirect ¶
func (o *DeleteTokensMeUnauthorized) IsRedirect() bool
IsRedirect returns true when this delete tokens me unauthorized response has a 3xx status code
func (*DeleteTokensMeUnauthorized) IsServerError ¶
func (o *DeleteTokensMeUnauthorized) IsServerError() bool
IsServerError returns true when this delete tokens me unauthorized response has a 5xx status code
func (*DeleteTokensMeUnauthorized) IsSuccess ¶
func (o *DeleteTokensMeUnauthorized) IsSuccess() bool
IsSuccess returns true when this delete tokens me unauthorized response has a 2xx status code
func (*DeleteTokensMeUnauthorized) String ¶
func (o *DeleteTokensMeUnauthorized) String() string
type DeleteTokensMeUnsupportedMediaType ¶
DeleteTokensMeUnsupportedMediaType describes a response with status code 415, with default header values.
Unsupported Media Type - Unsupported or incorrect media type, such as an incorrect Content-Type value in the header.
func NewDeleteTokensMeUnsupportedMediaType ¶
func NewDeleteTokensMeUnsupportedMediaType() *DeleteTokensMeUnsupportedMediaType
NewDeleteTokensMeUnsupportedMediaType creates a DeleteTokensMeUnsupportedMediaType with default headers values
func (*DeleteTokensMeUnsupportedMediaType) Error ¶
func (o *DeleteTokensMeUnsupportedMediaType) Error() string
func (*DeleteTokensMeUnsupportedMediaType) GetPayload ¶
func (o *DeleteTokensMeUnsupportedMediaType) GetPayload() *models.ErrorBody
func (*DeleteTokensMeUnsupportedMediaType) IsClientError ¶
func (o *DeleteTokensMeUnsupportedMediaType) IsClientError() bool
IsClientError returns true when this delete tokens me unsupported media type response has a 4xx status code
func (*DeleteTokensMeUnsupportedMediaType) IsCode ¶
func (o *DeleteTokensMeUnsupportedMediaType) IsCode(code int) bool
IsCode returns true when this delete tokens me unsupported media type response a status code equal to that given
func (*DeleteTokensMeUnsupportedMediaType) IsRedirect ¶
func (o *DeleteTokensMeUnsupportedMediaType) IsRedirect() bool
IsRedirect returns true when this delete tokens me unsupported media type response has a 3xx status code
func (*DeleteTokensMeUnsupportedMediaType) IsServerError ¶
func (o *DeleteTokensMeUnsupportedMediaType) IsServerError() bool
IsServerError returns true when this delete tokens me unsupported media type response has a 5xx status code
func (*DeleteTokensMeUnsupportedMediaType) IsSuccess ¶
func (o *DeleteTokensMeUnsupportedMediaType) IsSuccess() bool
IsSuccess returns true when this delete tokens me unsupported media type response has a 2xx status code
func (*DeleteTokensMeUnsupportedMediaType) String ¶
func (o *DeleteTokensMeUnsupportedMediaType) String() string
type GetTokensMeBadRequest ¶
GetTokensMeBadRequest describes a response with status code 400, with default header values.
The request could not be understood by the server due to malformed syntax.
func NewGetTokensMeBadRequest ¶
func NewGetTokensMeBadRequest() *GetTokensMeBadRequest
NewGetTokensMeBadRequest creates a GetTokensMeBadRequest with default headers values
func (*GetTokensMeBadRequest) Error ¶
func (o *GetTokensMeBadRequest) Error() string
func (*GetTokensMeBadRequest) GetPayload ¶
func (o *GetTokensMeBadRequest) GetPayload() *models.ErrorBody
func (*GetTokensMeBadRequest) IsClientError ¶
func (o *GetTokensMeBadRequest) IsClientError() bool
IsClientError returns true when this get tokens me bad request response has a 4xx status code
func (*GetTokensMeBadRequest) IsCode ¶
func (o *GetTokensMeBadRequest) IsCode(code int) bool
IsCode returns true when this get tokens me bad request response a status code equal to that given
func (*GetTokensMeBadRequest) IsRedirect ¶
func (o *GetTokensMeBadRequest) IsRedirect() bool
IsRedirect returns true when this get tokens me bad request response has a 3xx status code
func (*GetTokensMeBadRequest) IsServerError ¶
func (o *GetTokensMeBadRequest) IsServerError() bool
IsServerError returns true when this get tokens me bad request response has a 5xx status code
func (*GetTokensMeBadRequest) IsSuccess ¶
func (o *GetTokensMeBadRequest) IsSuccess() bool
IsSuccess returns true when this get tokens me bad request response has a 2xx status code
func (*GetTokensMeBadRequest) String ¶
func (o *GetTokensMeBadRequest) String() string
type GetTokensMeForbidden ¶
GetTokensMeForbidden describes a response with status code 403, with default header values.
You are not authorized to perform the requested action.
func NewGetTokensMeForbidden ¶
func NewGetTokensMeForbidden() *GetTokensMeForbidden
NewGetTokensMeForbidden creates a GetTokensMeForbidden with default headers values
func (*GetTokensMeForbidden) Error ¶
func (o *GetTokensMeForbidden) Error() string
func (*GetTokensMeForbidden) GetPayload ¶
func (o *GetTokensMeForbidden) GetPayload() *models.ErrorBody
func (*GetTokensMeForbidden) IsClientError ¶
func (o *GetTokensMeForbidden) IsClientError() bool
IsClientError returns true when this get tokens me forbidden response has a 4xx status code
func (*GetTokensMeForbidden) IsCode ¶
func (o *GetTokensMeForbidden) IsCode(code int) bool
IsCode returns true when this get tokens me forbidden response a status code equal to that given
func (*GetTokensMeForbidden) IsRedirect ¶
func (o *GetTokensMeForbidden) IsRedirect() bool
IsRedirect returns true when this get tokens me forbidden response has a 3xx status code
func (*GetTokensMeForbidden) IsServerError ¶
func (o *GetTokensMeForbidden) IsServerError() bool
IsServerError returns true when this get tokens me forbidden response has a 5xx status code
func (*GetTokensMeForbidden) IsSuccess ¶
func (o *GetTokensMeForbidden) IsSuccess() bool
IsSuccess returns true when this get tokens me forbidden response has a 2xx status code
func (*GetTokensMeForbidden) String ¶
func (o *GetTokensMeForbidden) String() string
type GetTokensMeGatewayTimeout ¶
GetTokensMeGatewayTimeout describes a response with status code 504, with default header values.
The request timed out.
func NewGetTokensMeGatewayTimeout ¶
func NewGetTokensMeGatewayTimeout() *GetTokensMeGatewayTimeout
NewGetTokensMeGatewayTimeout creates a GetTokensMeGatewayTimeout with default headers values
func (*GetTokensMeGatewayTimeout) Error ¶
func (o *GetTokensMeGatewayTimeout) Error() string
func (*GetTokensMeGatewayTimeout) GetPayload ¶
func (o *GetTokensMeGatewayTimeout) GetPayload() *models.ErrorBody
func (*GetTokensMeGatewayTimeout) IsClientError ¶
func (o *GetTokensMeGatewayTimeout) IsClientError() bool
IsClientError returns true when this get tokens me gateway timeout response has a 4xx status code
func (*GetTokensMeGatewayTimeout) IsCode ¶
func (o *GetTokensMeGatewayTimeout) IsCode(code int) bool
IsCode returns true when this get tokens me gateway timeout response a status code equal to that given
func (*GetTokensMeGatewayTimeout) IsRedirect ¶
func (o *GetTokensMeGatewayTimeout) IsRedirect() bool
IsRedirect returns true when this get tokens me gateway timeout response has a 3xx status code
func (*GetTokensMeGatewayTimeout) IsServerError ¶
func (o *GetTokensMeGatewayTimeout) IsServerError() bool
IsServerError returns true when this get tokens me gateway timeout response has a 5xx status code
func (*GetTokensMeGatewayTimeout) IsSuccess ¶
func (o *GetTokensMeGatewayTimeout) IsSuccess() bool
IsSuccess returns true when this get tokens me gateway timeout response has a 2xx status code
func (*GetTokensMeGatewayTimeout) String ¶
func (o *GetTokensMeGatewayTimeout) String() string
type GetTokensMeInternalServerError ¶
GetTokensMeInternalServerError describes a response with status code 500, with default header values.
The server encountered an unexpected condition which prevented it from fulfilling the request.
func NewGetTokensMeInternalServerError ¶
func NewGetTokensMeInternalServerError() *GetTokensMeInternalServerError
NewGetTokensMeInternalServerError creates a GetTokensMeInternalServerError with default headers values
func (*GetTokensMeInternalServerError) Error ¶
func (o *GetTokensMeInternalServerError) Error() string
func (*GetTokensMeInternalServerError) GetPayload ¶
func (o *GetTokensMeInternalServerError) GetPayload() *models.ErrorBody
func (*GetTokensMeInternalServerError) IsClientError ¶
func (o *GetTokensMeInternalServerError) IsClientError() bool
IsClientError returns true when this get tokens me internal server error response has a 4xx status code
func (*GetTokensMeInternalServerError) IsCode ¶
func (o *GetTokensMeInternalServerError) IsCode(code int) bool
IsCode returns true when this get tokens me internal server error response a status code equal to that given
func (*GetTokensMeInternalServerError) IsRedirect ¶
func (o *GetTokensMeInternalServerError) IsRedirect() bool
IsRedirect returns true when this get tokens me internal server error response has a 3xx status code
func (*GetTokensMeInternalServerError) IsServerError ¶
func (o *GetTokensMeInternalServerError) IsServerError() bool
IsServerError returns true when this get tokens me internal server error response has a 5xx status code
func (*GetTokensMeInternalServerError) IsSuccess ¶
func (o *GetTokensMeInternalServerError) IsSuccess() bool
IsSuccess returns true when this get tokens me internal server error response has a 2xx status code
func (*GetTokensMeInternalServerError) String ¶
func (o *GetTokensMeInternalServerError) String() string
type GetTokensMeNotFound ¶
GetTokensMeNotFound describes a response with status code 404, with default header values.
The requested resource was not found.
func NewGetTokensMeNotFound ¶
func NewGetTokensMeNotFound() *GetTokensMeNotFound
NewGetTokensMeNotFound creates a GetTokensMeNotFound with default headers values
func (*GetTokensMeNotFound) Error ¶
func (o *GetTokensMeNotFound) Error() string
func (*GetTokensMeNotFound) GetPayload ¶
func (o *GetTokensMeNotFound) GetPayload() *models.ErrorBody
func (*GetTokensMeNotFound) IsClientError ¶
func (o *GetTokensMeNotFound) IsClientError() bool
IsClientError returns true when this get tokens me not found response has a 4xx status code
func (*GetTokensMeNotFound) IsCode ¶
func (o *GetTokensMeNotFound) IsCode(code int) bool
IsCode returns true when this get tokens me not found response a status code equal to that given
func (*GetTokensMeNotFound) IsRedirect ¶
func (o *GetTokensMeNotFound) IsRedirect() bool
IsRedirect returns true when this get tokens me not found response has a 3xx status code
func (*GetTokensMeNotFound) IsServerError ¶
func (o *GetTokensMeNotFound) IsServerError() bool
IsServerError returns true when this get tokens me not found response has a 5xx status code
func (*GetTokensMeNotFound) IsSuccess ¶
func (o *GetTokensMeNotFound) IsSuccess() bool
IsSuccess returns true when this get tokens me not found response has a 2xx status code
func (*GetTokensMeNotFound) String ¶
func (o *GetTokensMeNotFound) String() string
type GetTokensMeOK ¶
GetTokensMeOK describes a response with status code 200, with default header values.
successful operation
func NewGetTokensMeOK ¶
func NewGetTokensMeOK() *GetTokensMeOK
NewGetTokensMeOK creates a GetTokensMeOK with default headers values
func (*GetTokensMeOK) Error ¶
func (o *GetTokensMeOK) Error() string
func (*GetTokensMeOK) GetPayload ¶
func (o *GetTokensMeOK) GetPayload() *models.TokenInfo
func (*GetTokensMeOK) IsClientError ¶
func (o *GetTokensMeOK) IsClientError() bool
IsClientError returns true when this get tokens me o k response has a 4xx status code
func (*GetTokensMeOK) IsCode ¶
func (o *GetTokensMeOK) IsCode(code int) bool
IsCode returns true when this get tokens me o k response a status code equal to that given
func (*GetTokensMeOK) IsRedirect ¶
func (o *GetTokensMeOK) IsRedirect() bool
IsRedirect returns true when this get tokens me o k response has a 3xx status code
func (*GetTokensMeOK) IsServerError ¶
func (o *GetTokensMeOK) IsServerError() bool
IsServerError returns true when this get tokens me o k response has a 5xx status code
func (*GetTokensMeOK) IsSuccess ¶
func (o *GetTokensMeOK) IsSuccess() bool
IsSuccess returns true when this get tokens me o k response has a 2xx status code
func (*GetTokensMeOK) String ¶
func (o *GetTokensMeOK) String() string
type GetTokensMeParams ¶
type GetTokensMeParams struct { Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetTokensMeParams contains all the parameters to send to the API endpoint
for the get tokens me operation. Typically these are written to a http.Request.
func NewGetTokensMeParams ¶
func NewGetTokensMeParams() *GetTokensMeParams
NewGetTokensMeParams creates a new GetTokensMeParams 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 NewGetTokensMeParamsWithContext ¶
func NewGetTokensMeParamsWithContext(ctx context.Context) *GetTokensMeParams
NewGetTokensMeParamsWithContext creates a new GetTokensMeParams object with the ability to set a context for a request.
func NewGetTokensMeParamsWithHTTPClient ¶
func NewGetTokensMeParamsWithHTTPClient(client *http.Client) *GetTokensMeParams
NewGetTokensMeParamsWithHTTPClient creates a new GetTokensMeParams object with the ability to set a custom HTTPClient for a request.
func NewGetTokensMeParamsWithTimeout ¶
func NewGetTokensMeParamsWithTimeout(timeout time.Duration) *GetTokensMeParams
NewGetTokensMeParamsWithTimeout creates a new GetTokensMeParams object with the ability to set a timeout on a request.
func (*GetTokensMeParams) SetContext ¶
func (o *GetTokensMeParams) SetContext(ctx context.Context)
SetContext adds the context to the get tokens me params
func (*GetTokensMeParams) SetDefaults ¶
func (o *GetTokensMeParams) SetDefaults()
SetDefaults hydrates default values in the get tokens me params (not the query body).
All values with no default are reset to their zero value.
func (*GetTokensMeParams) SetHTTPClient ¶
func (o *GetTokensMeParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get tokens me params
func (*GetTokensMeParams) SetTimeout ¶
func (o *GetTokensMeParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get tokens me params
func (*GetTokensMeParams) WithContext ¶
func (o *GetTokensMeParams) WithContext(ctx context.Context) *GetTokensMeParams
WithContext adds the context to the get tokens me params
func (*GetTokensMeParams) WithDefaults ¶
func (o *GetTokensMeParams) WithDefaults() *GetTokensMeParams
WithDefaults hydrates default values in the get tokens me params (not the query body).
All values with no default are reset to their zero value.
func (*GetTokensMeParams) WithHTTPClient ¶
func (o *GetTokensMeParams) WithHTTPClient(client *http.Client) *GetTokensMeParams
WithHTTPClient adds the HTTPClient to the get tokens me params
func (*GetTokensMeParams) WithTimeout ¶
func (o *GetTokensMeParams) WithTimeout(timeout time.Duration) *GetTokensMeParams
WithTimeout adds the timeout to the get tokens me params
func (*GetTokensMeParams) WriteToRequest ¶
func (o *GetTokensMeParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetTokensMeReader ¶
type GetTokensMeReader struct {
// contains filtered or unexported fields
}
GetTokensMeReader is a Reader for the GetTokensMe structure.
func (*GetTokensMeReader) ReadResponse ¶
func (o *GetTokensMeReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetTokensMeRequestEntityTooLarge ¶
GetTokensMeRequestEntityTooLarge describes a response with status code 413, with default header values.
The request is over the size limit. Maximum bytes: %s
func NewGetTokensMeRequestEntityTooLarge ¶
func NewGetTokensMeRequestEntityTooLarge() *GetTokensMeRequestEntityTooLarge
NewGetTokensMeRequestEntityTooLarge creates a GetTokensMeRequestEntityTooLarge with default headers values
func (*GetTokensMeRequestEntityTooLarge) Error ¶
func (o *GetTokensMeRequestEntityTooLarge) Error() string
func (*GetTokensMeRequestEntityTooLarge) GetPayload ¶
func (o *GetTokensMeRequestEntityTooLarge) GetPayload() *models.ErrorBody
func (*GetTokensMeRequestEntityTooLarge) IsClientError ¶
func (o *GetTokensMeRequestEntityTooLarge) IsClientError() bool
IsClientError returns true when this get tokens me request entity too large response has a 4xx status code
func (*GetTokensMeRequestEntityTooLarge) IsCode ¶
func (o *GetTokensMeRequestEntityTooLarge) IsCode(code int) bool
IsCode returns true when this get tokens me request entity too large response a status code equal to that given
func (*GetTokensMeRequestEntityTooLarge) IsRedirect ¶
func (o *GetTokensMeRequestEntityTooLarge) IsRedirect() bool
IsRedirect returns true when this get tokens me request entity too large response has a 3xx status code
func (*GetTokensMeRequestEntityTooLarge) IsServerError ¶
func (o *GetTokensMeRequestEntityTooLarge) IsServerError() bool
IsServerError returns true when this get tokens me request entity too large response has a 5xx status code
func (*GetTokensMeRequestEntityTooLarge) IsSuccess ¶
func (o *GetTokensMeRequestEntityTooLarge) IsSuccess() bool
IsSuccess returns true when this get tokens me request entity too large response has a 2xx status code
func (*GetTokensMeRequestEntityTooLarge) String ¶
func (o *GetTokensMeRequestEntityTooLarge) String() string
type GetTokensMeRequestTimeout ¶
GetTokensMeRequestTimeout describes a response with status code 408, with default header values.
The client did not produce a request within the server timeout limit. This can be caused by a slow network connection and/or large payloads.
func NewGetTokensMeRequestTimeout ¶
func NewGetTokensMeRequestTimeout() *GetTokensMeRequestTimeout
NewGetTokensMeRequestTimeout creates a GetTokensMeRequestTimeout with default headers values
func (*GetTokensMeRequestTimeout) Error ¶
func (o *GetTokensMeRequestTimeout) Error() string
func (*GetTokensMeRequestTimeout) GetPayload ¶
func (o *GetTokensMeRequestTimeout) GetPayload() *models.ErrorBody
func (*GetTokensMeRequestTimeout) IsClientError ¶
func (o *GetTokensMeRequestTimeout) IsClientError() bool
IsClientError returns true when this get tokens me request timeout response has a 4xx status code
func (*GetTokensMeRequestTimeout) IsCode ¶
func (o *GetTokensMeRequestTimeout) IsCode(code int) bool
IsCode returns true when this get tokens me request timeout response a status code equal to that given
func (*GetTokensMeRequestTimeout) IsRedirect ¶
func (o *GetTokensMeRequestTimeout) IsRedirect() bool
IsRedirect returns true when this get tokens me request timeout response has a 3xx status code
func (*GetTokensMeRequestTimeout) IsServerError ¶
func (o *GetTokensMeRequestTimeout) IsServerError() bool
IsServerError returns true when this get tokens me request timeout response has a 5xx status code
func (*GetTokensMeRequestTimeout) IsSuccess ¶
func (o *GetTokensMeRequestTimeout) IsSuccess() bool
IsSuccess returns true when this get tokens me request timeout response has a 2xx status code
func (*GetTokensMeRequestTimeout) String ¶
func (o *GetTokensMeRequestTimeout) String() string
type GetTokensMeServiceUnavailable ¶
type GetTokensMeServiceUnavailable struct {
}GetTokensMeServiceUnavailable describes a response with status code 503, with default header values.
Service Unavailable - The server is currently unavailable (because it is overloaded or down for maintenance).
func NewGetTokensMeServiceUnavailable ¶
func NewGetTokensMeServiceUnavailable() *GetTokensMeServiceUnavailable
NewGetTokensMeServiceUnavailable creates a GetTokensMeServiceUnavailable with default headers values
func (*GetTokensMeServiceUnavailable) Error ¶
func (o *GetTokensMeServiceUnavailable) Error() string
func (*GetTokensMeServiceUnavailable) GetPayload ¶
func (o *GetTokensMeServiceUnavailable) GetPayload() *models.ErrorBody
func (*GetTokensMeServiceUnavailable) IsClientError ¶
func (o *GetTokensMeServiceUnavailable) IsClientError() bool
IsClientError returns true when this get tokens me service unavailable response has a 4xx status code
func (*GetTokensMeServiceUnavailable) IsCode ¶
func (o *GetTokensMeServiceUnavailable) IsCode(code int) bool
IsCode returns true when this get tokens me service unavailable response a status code equal to that given
func (*GetTokensMeServiceUnavailable) IsRedirect ¶
func (o *GetTokensMeServiceUnavailable) IsRedirect() bool
IsRedirect returns true when this get tokens me service unavailable response has a 3xx status code
func (*GetTokensMeServiceUnavailable) IsServerError ¶
func (o *GetTokensMeServiceUnavailable) IsServerError() bool
IsServerError returns true when this get tokens me service unavailable response has a 5xx status code
func (*GetTokensMeServiceUnavailable) IsSuccess ¶
func (o *GetTokensMeServiceUnavailable) IsSuccess() bool
IsSuccess returns true when this get tokens me service unavailable response has a 2xx status code
func (*GetTokensMeServiceUnavailable) String ¶
func (o *GetTokensMeServiceUnavailable) String() string
type GetTokensMeTooManyRequests ¶
GetTokensMeTooManyRequests describes a response with status code 429, with default header values.
Rate limit exceeded the maximum. Retry the request in [%s] seconds
func NewGetTokensMeTooManyRequests ¶
func NewGetTokensMeTooManyRequests() *GetTokensMeTooManyRequests
NewGetTokensMeTooManyRequests creates a GetTokensMeTooManyRequests with default headers values
func (*GetTokensMeTooManyRequests) Error ¶
func (o *GetTokensMeTooManyRequests) Error() string
func (*GetTokensMeTooManyRequests) GetPayload ¶
func (o *GetTokensMeTooManyRequests) GetPayload() *models.ErrorBody
func (*GetTokensMeTooManyRequests) IsClientError ¶
func (o *GetTokensMeTooManyRequests) IsClientError() bool
IsClientError returns true when this get tokens me too many requests response has a 4xx status code
func (*GetTokensMeTooManyRequests) IsCode ¶
func (o *GetTokensMeTooManyRequests) IsCode(code int) bool
IsCode returns true when this get tokens me too many requests response a status code equal to that given
func (*GetTokensMeTooManyRequests) IsRedirect ¶
func (o *GetTokensMeTooManyRequests) IsRedirect() bool
IsRedirect returns true when this get tokens me too many requests response has a 3xx status code
func (*GetTokensMeTooManyRequests) IsServerError ¶
func (o *GetTokensMeTooManyRequests) IsServerError() bool
IsServerError returns true when this get tokens me too many requests response has a 5xx status code
func (*GetTokensMeTooManyRequests) IsSuccess ¶
func (o *GetTokensMeTooManyRequests) IsSuccess() bool
IsSuccess returns true when this get tokens me too many requests response has a 2xx status code
func (*GetTokensMeTooManyRequests) String ¶
func (o *GetTokensMeTooManyRequests) String() string
type GetTokensMeUnauthorized ¶
type GetTokensMeUnauthorized struct {
}GetTokensMeUnauthorized describes a response with status code 401, with default header values.
No authentication bearer token specified in authorization header.
func NewGetTokensMeUnauthorized ¶
func NewGetTokensMeUnauthorized() *GetTokensMeUnauthorized
NewGetTokensMeUnauthorized creates a GetTokensMeUnauthorized with default headers values
func (*GetTokensMeUnauthorized) Error ¶
func (o *GetTokensMeUnauthorized) Error() string
func (*GetTokensMeUnauthorized) GetPayload ¶
func (o *GetTokensMeUnauthorized) GetPayload() *models.ErrorBody
func (*GetTokensMeUnauthorized) IsClientError ¶
func (o *GetTokensMeUnauthorized) IsClientError() bool
IsClientError returns true when this get tokens me unauthorized response has a 4xx status code
func (*GetTokensMeUnauthorized) IsCode ¶
func (o *GetTokensMeUnauthorized) IsCode(code int) bool
IsCode returns true when this get tokens me unauthorized response a status code equal to that given
func (*GetTokensMeUnauthorized) IsRedirect ¶
func (o *GetTokensMeUnauthorized) IsRedirect() bool
IsRedirect returns true when this get tokens me unauthorized response has a 3xx status code
func (*GetTokensMeUnauthorized) IsServerError ¶
func (o *GetTokensMeUnauthorized) IsServerError() bool
IsServerError returns true when this get tokens me unauthorized response has a 5xx status code
func (*GetTokensMeUnauthorized) IsSuccess ¶
func (o *GetTokensMeUnauthorized) IsSuccess() bool
IsSuccess returns true when this get tokens me unauthorized response has a 2xx status code
func (*GetTokensMeUnauthorized) String ¶
func (o *GetTokensMeUnauthorized) String() string
type GetTokensMeUnsupportedMediaType ¶
GetTokensMeUnsupportedMediaType describes a response with status code 415, with default header values.
Unsupported Media Type - Unsupported or incorrect media type, such as an incorrect Content-Type value in the header.
func NewGetTokensMeUnsupportedMediaType ¶
func NewGetTokensMeUnsupportedMediaType() *GetTokensMeUnsupportedMediaType
NewGetTokensMeUnsupportedMediaType creates a GetTokensMeUnsupportedMediaType with default headers values
func (*GetTokensMeUnsupportedMediaType) Error ¶
func (o *GetTokensMeUnsupportedMediaType) Error() string
func (*GetTokensMeUnsupportedMediaType) GetPayload ¶
func (o *GetTokensMeUnsupportedMediaType) GetPayload() *models.ErrorBody
func (*GetTokensMeUnsupportedMediaType) IsClientError ¶
func (o *GetTokensMeUnsupportedMediaType) IsClientError() bool
IsClientError returns true when this get tokens me unsupported media type response has a 4xx status code
func (*GetTokensMeUnsupportedMediaType) IsCode ¶
func (o *GetTokensMeUnsupportedMediaType) IsCode(code int) bool
IsCode returns true when this get tokens me unsupported media type response a status code equal to that given
func (*GetTokensMeUnsupportedMediaType) IsRedirect ¶
func (o *GetTokensMeUnsupportedMediaType) IsRedirect() bool
IsRedirect returns true when this get tokens me unsupported media type response has a 3xx status code
func (*GetTokensMeUnsupportedMediaType) IsServerError ¶
func (o *GetTokensMeUnsupportedMediaType) IsServerError() bool
IsServerError returns true when this get tokens me unsupported media type response has a 5xx status code
func (*GetTokensMeUnsupportedMediaType) IsSuccess ¶
func (o *GetTokensMeUnsupportedMediaType) IsSuccess() bool
IsSuccess returns true when this get tokens me unsupported media type response has a 2xx status code
func (*GetTokensMeUnsupportedMediaType) String ¶
func (o *GetTokensMeUnsupportedMediaType) String() string
type HeadTokensMeBadRequest ¶
HeadTokensMeBadRequest describes a response with status code 400, with default header values.
The request could not be understood by the server due to malformed syntax.
func NewHeadTokensMeBadRequest ¶
func NewHeadTokensMeBadRequest() *HeadTokensMeBadRequest
NewHeadTokensMeBadRequest creates a HeadTokensMeBadRequest with default headers values
func (*HeadTokensMeBadRequest) Error ¶
func (o *HeadTokensMeBadRequest) Error() string
func (*HeadTokensMeBadRequest) GetPayload ¶
func (o *HeadTokensMeBadRequest) GetPayload() *models.ErrorBody
func (*HeadTokensMeBadRequest) IsClientError ¶
func (o *HeadTokensMeBadRequest) IsClientError() bool
IsClientError returns true when this head tokens me bad request response has a 4xx status code
func (*HeadTokensMeBadRequest) IsCode ¶
func (o *HeadTokensMeBadRequest) IsCode(code int) bool
IsCode returns true when this head tokens me bad request response a status code equal to that given
func (*HeadTokensMeBadRequest) IsRedirect ¶
func (o *HeadTokensMeBadRequest) IsRedirect() bool
IsRedirect returns true when this head tokens me bad request response has a 3xx status code
func (*HeadTokensMeBadRequest) IsServerError ¶
func (o *HeadTokensMeBadRequest) IsServerError() bool
IsServerError returns true when this head tokens me bad request response has a 5xx status code
func (*HeadTokensMeBadRequest) IsSuccess ¶
func (o *HeadTokensMeBadRequest) IsSuccess() bool
IsSuccess returns true when this head tokens me bad request response has a 2xx status code
func (*HeadTokensMeBadRequest) String ¶
func (o *HeadTokensMeBadRequest) String() string
type HeadTokensMeDefault ¶
type HeadTokensMeDefault struct {
// contains filtered or unexported fields
}
HeadTokensMeDefault describes a response with status code -1, with default header values.
successful operation
func NewHeadTokensMeDefault ¶
func NewHeadTokensMeDefault(code int) *HeadTokensMeDefault
NewHeadTokensMeDefault creates a HeadTokensMeDefault with default headers values
func (*HeadTokensMeDefault) Code ¶
func (o *HeadTokensMeDefault) Code() int
Code gets the status code for the head tokens me default response
func (*HeadTokensMeDefault) Error ¶
func (o *HeadTokensMeDefault) Error() string
func (*HeadTokensMeDefault) IsClientError ¶
func (o *HeadTokensMeDefault) IsClientError() bool
IsClientError returns true when this head tokens me default response has a 4xx status code
func (*HeadTokensMeDefault) IsCode ¶
func (o *HeadTokensMeDefault) IsCode(code int) bool
IsCode returns true when this head tokens me default response a status code equal to that given
func (*HeadTokensMeDefault) IsRedirect ¶
func (o *HeadTokensMeDefault) IsRedirect() bool
IsRedirect returns true when this head tokens me default response has a 3xx status code
func (*HeadTokensMeDefault) IsServerError ¶
func (o *HeadTokensMeDefault) IsServerError() bool
IsServerError returns true when this head tokens me default response has a 5xx status code
func (*HeadTokensMeDefault) IsSuccess ¶
func (o *HeadTokensMeDefault) IsSuccess() bool
IsSuccess returns true when this head tokens me default response has a 2xx status code
func (*HeadTokensMeDefault) String ¶
func (o *HeadTokensMeDefault) String() string
type HeadTokensMeForbidden ¶
HeadTokensMeForbidden describes a response with status code 403, with default header values.
You are not authorized to perform the requested action.
func NewHeadTokensMeForbidden ¶
func NewHeadTokensMeForbidden() *HeadTokensMeForbidden
NewHeadTokensMeForbidden creates a HeadTokensMeForbidden with default headers values
func (*HeadTokensMeForbidden) Error ¶
func (o *HeadTokensMeForbidden) Error() string
func (*HeadTokensMeForbidden) GetPayload ¶
func (o *HeadTokensMeForbidden) GetPayload() *models.ErrorBody
func (*HeadTokensMeForbidden) IsClientError ¶
func (o *HeadTokensMeForbidden) IsClientError() bool
IsClientError returns true when this head tokens me forbidden response has a 4xx status code
func (*HeadTokensMeForbidden) IsCode ¶
func (o *HeadTokensMeForbidden) IsCode(code int) bool
IsCode returns true when this head tokens me forbidden response a status code equal to that given
func (*HeadTokensMeForbidden) IsRedirect ¶
func (o *HeadTokensMeForbidden) IsRedirect() bool
IsRedirect returns true when this head tokens me forbidden response has a 3xx status code
func (*HeadTokensMeForbidden) IsServerError ¶
func (o *HeadTokensMeForbidden) IsServerError() bool
IsServerError returns true when this head tokens me forbidden response has a 5xx status code
func (*HeadTokensMeForbidden) IsSuccess ¶
func (o *HeadTokensMeForbidden) IsSuccess() bool
IsSuccess returns true when this head tokens me forbidden response has a 2xx status code
func (*HeadTokensMeForbidden) String ¶
func (o *HeadTokensMeForbidden) String() string
type HeadTokensMeGatewayTimeout ¶
HeadTokensMeGatewayTimeout describes a response with status code 504, with default header values.
The request timed out.
func NewHeadTokensMeGatewayTimeout ¶
func NewHeadTokensMeGatewayTimeout() *HeadTokensMeGatewayTimeout
NewHeadTokensMeGatewayTimeout creates a HeadTokensMeGatewayTimeout with default headers values
func (*HeadTokensMeGatewayTimeout) Error ¶
func (o *HeadTokensMeGatewayTimeout) Error() string
func (*HeadTokensMeGatewayTimeout) GetPayload ¶
func (o *HeadTokensMeGatewayTimeout) GetPayload() *models.ErrorBody
func (*HeadTokensMeGatewayTimeout) IsClientError ¶
func (o *HeadTokensMeGatewayTimeout) IsClientError() bool
IsClientError returns true when this head tokens me gateway timeout response has a 4xx status code
func (*HeadTokensMeGatewayTimeout) IsCode ¶
func (o *HeadTokensMeGatewayTimeout) IsCode(code int) bool
IsCode returns true when this head tokens me gateway timeout response a status code equal to that given
func (*HeadTokensMeGatewayTimeout) IsRedirect ¶
func (o *HeadTokensMeGatewayTimeout) IsRedirect() bool
IsRedirect returns true when this head tokens me gateway timeout response has a 3xx status code
func (*HeadTokensMeGatewayTimeout) IsServerError ¶
func (o *HeadTokensMeGatewayTimeout) IsServerError() bool
IsServerError returns true when this head tokens me gateway timeout response has a 5xx status code
func (*HeadTokensMeGatewayTimeout) IsSuccess ¶
func (o *HeadTokensMeGatewayTimeout) IsSuccess() bool
IsSuccess returns true when this head tokens me gateway timeout response has a 2xx status code
func (*HeadTokensMeGatewayTimeout) String ¶
func (o *HeadTokensMeGatewayTimeout) String() string
type HeadTokensMeInternalServerError ¶
HeadTokensMeInternalServerError describes a response with status code 500, with default header values.
The server encountered an unexpected condition which prevented it from fulfilling the request.
func NewHeadTokensMeInternalServerError ¶
func NewHeadTokensMeInternalServerError() *HeadTokensMeInternalServerError
NewHeadTokensMeInternalServerError creates a HeadTokensMeInternalServerError with default headers values
func (*HeadTokensMeInternalServerError) Error ¶
func (o *HeadTokensMeInternalServerError) Error() string
func (*HeadTokensMeInternalServerError) GetPayload ¶
func (o *HeadTokensMeInternalServerError) GetPayload() *models.ErrorBody
func (*HeadTokensMeInternalServerError) IsClientError ¶
func (o *HeadTokensMeInternalServerError) IsClientError() bool
IsClientError returns true when this head tokens me internal server error response has a 4xx status code
func (*HeadTokensMeInternalServerError) IsCode ¶
func (o *HeadTokensMeInternalServerError) IsCode(code int) bool
IsCode returns true when this head tokens me internal server error response a status code equal to that given
func (*HeadTokensMeInternalServerError) IsRedirect ¶
func (o *HeadTokensMeInternalServerError) IsRedirect() bool
IsRedirect returns true when this head tokens me internal server error response has a 3xx status code
func (*HeadTokensMeInternalServerError) IsServerError ¶
func (o *HeadTokensMeInternalServerError) IsServerError() bool
IsServerError returns true when this head tokens me internal server error response has a 5xx status code
func (*HeadTokensMeInternalServerError) IsSuccess ¶
func (o *HeadTokensMeInternalServerError) IsSuccess() bool
IsSuccess returns true when this head tokens me internal server error response has a 2xx status code
func (*HeadTokensMeInternalServerError) String ¶
func (o *HeadTokensMeInternalServerError) String() string
type HeadTokensMeNotFound ¶
HeadTokensMeNotFound describes a response with status code 404, with default header values.
The requested resource was not found.
func NewHeadTokensMeNotFound ¶
func NewHeadTokensMeNotFound() *HeadTokensMeNotFound
NewHeadTokensMeNotFound creates a HeadTokensMeNotFound with default headers values
func (*HeadTokensMeNotFound) Error ¶
func (o *HeadTokensMeNotFound) Error() string
func (*HeadTokensMeNotFound) GetPayload ¶
func (o *HeadTokensMeNotFound) GetPayload() *models.ErrorBody
func (*HeadTokensMeNotFound) IsClientError ¶
func (o *HeadTokensMeNotFound) IsClientError() bool
IsClientError returns true when this head tokens me not found response has a 4xx status code
func (*HeadTokensMeNotFound) IsCode ¶
func (o *HeadTokensMeNotFound) IsCode(code int) bool
IsCode returns true when this head tokens me not found response a status code equal to that given
func (*HeadTokensMeNotFound) IsRedirect ¶
func (o *HeadTokensMeNotFound) IsRedirect() bool
IsRedirect returns true when this head tokens me not found response has a 3xx status code
func (*HeadTokensMeNotFound) IsServerError ¶
func (o *HeadTokensMeNotFound) IsServerError() bool
IsServerError returns true when this head tokens me not found response has a 5xx status code
func (*HeadTokensMeNotFound) IsSuccess ¶
func (o *HeadTokensMeNotFound) IsSuccess() bool
IsSuccess returns true when this head tokens me not found response has a 2xx status code
func (*HeadTokensMeNotFound) String ¶
func (o *HeadTokensMeNotFound) String() string
type HeadTokensMeParams ¶
type HeadTokensMeParams struct { Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
HeadTokensMeParams contains all the parameters to send to the API endpoint
for the head tokens me operation. Typically these are written to a http.Request.
func NewHeadTokensMeParams ¶
func NewHeadTokensMeParams() *HeadTokensMeParams
NewHeadTokensMeParams creates a new HeadTokensMeParams 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 NewHeadTokensMeParamsWithContext ¶
func NewHeadTokensMeParamsWithContext(ctx context.Context) *HeadTokensMeParams
NewHeadTokensMeParamsWithContext creates a new HeadTokensMeParams object with the ability to set a context for a request.
func NewHeadTokensMeParamsWithHTTPClient ¶
func NewHeadTokensMeParamsWithHTTPClient(client *http.Client) *HeadTokensMeParams
NewHeadTokensMeParamsWithHTTPClient creates a new HeadTokensMeParams object with the ability to set a custom HTTPClient for a request.
func NewHeadTokensMeParamsWithTimeout ¶
func NewHeadTokensMeParamsWithTimeout(timeout time.Duration) *HeadTokensMeParams
NewHeadTokensMeParamsWithTimeout creates a new HeadTokensMeParams object with the ability to set a timeout on a request.
func (*HeadTokensMeParams) SetContext ¶
func (o *HeadTokensMeParams) SetContext(ctx context.Context)
SetContext adds the context to the head tokens me params
func (*HeadTokensMeParams) SetDefaults ¶
func (o *HeadTokensMeParams) SetDefaults()
SetDefaults hydrates default values in the head tokens me params (not the query body).
All values with no default are reset to their zero value.
func (*HeadTokensMeParams) SetHTTPClient ¶
func (o *HeadTokensMeParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the head tokens me params
func (*HeadTokensMeParams) SetTimeout ¶
func (o *HeadTokensMeParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the head tokens me params
func (*HeadTokensMeParams) WithContext ¶
func (o *HeadTokensMeParams) WithContext(ctx context.Context) *HeadTokensMeParams
WithContext adds the context to the head tokens me params
func (*HeadTokensMeParams) WithDefaults ¶
func (o *HeadTokensMeParams) WithDefaults() *HeadTokensMeParams
WithDefaults hydrates default values in the head tokens me params (not the query body).
All values with no default are reset to their zero value.
func (*HeadTokensMeParams) WithHTTPClient ¶
func (o *HeadTokensMeParams) WithHTTPClient(client *http.Client) *HeadTokensMeParams
WithHTTPClient adds the HTTPClient to the head tokens me params
func (*HeadTokensMeParams) WithTimeout ¶
func (o *HeadTokensMeParams) WithTimeout(timeout time.Duration) *HeadTokensMeParams
WithTimeout adds the timeout to the head tokens me params
func (*HeadTokensMeParams) WriteToRequest ¶
func (o *HeadTokensMeParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type HeadTokensMeReader ¶
type HeadTokensMeReader struct {
// contains filtered or unexported fields
}
HeadTokensMeReader is a Reader for the HeadTokensMe structure.
func (*HeadTokensMeReader) ReadResponse ¶
func (o *HeadTokensMeReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type HeadTokensMeRequestEntityTooLarge ¶
HeadTokensMeRequestEntityTooLarge describes a response with status code 413, with default header values.
The request is over the size limit. Maximum bytes: %s
func NewHeadTokensMeRequestEntityTooLarge ¶
func NewHeadTokensMeRequestEntityTooLarge() *HeadTokensMeRequestEntityTooLarge
NewHeadTokensMeRequestEntityTooLarge creates a HeadTokensMeRequestEntityTooLarge with default headers values
func (*HeadTokensMeRequestEntityTooLarge) Error ¶
func (o *HeadTokensMeRequestEntityTooLarge) Error() string
func (*HeadTokensMeRequestEntityTooLarge) GetPayload ¶
func (o *HeadTokensMeRequestEntityTooLarge) GetPayload() *models.ErrorBody
func (*HeadTokensMeRequestEntityTooLarge) IsClientError ¶
func (o *HeadTokensMeRequestEntityTooLarge) IsClientError() bool
IsClientError returns true when this head tokens me request entity too large response has a 4xx status code
func (*HeadTokensMeRequestEntityTooLarge) IsCode ¶
func (o *HeadTokensMeRequestEntityTooLarge) IsCode(code int) bool
IsCode returns true when this head tokens me request entity too large response a status code equal to that given
func (*HeadTokensMeRequestEntityTooLarge) IsRedirect ¶
func (o *HeadTokensMeRequestEntityTooLarge) IsRedirect() bool
IsRedirect returns true when this head tokens me request entity too large response has a 3xx status code
func (*HeadTokensMeRequestEntityTooLarge) IsServerError ¶
func (o *HeadTokensMeRequestEntityTooLarge) IsServerError() bool
IsServerError returns true when this head tokens me request entity too large response has a 5xx status code
func (*HeadTokensMeRequestEntityTooLarge) IsSuccess ¶
func (o *HeadTokensMeRequestEntityTooLarge) IsSuccess() bool
IsSuccess returns true when this head tokens me request entity too large response has a 2xx status code
func (*HeadTokensMeRequestEntityTooLarge) String ¶
func (o *HeadTokensMeRequestEntityTooLarge) String() string
type HeadTokensMeRequestTimeout ¶
HeadTokensMeRequestTimeout describes a response with status code 408, with default header values.
The client did not produce a request within the server timeout limit. This can be caused by a slow network connection and/or large payloads.
func NewHeadTokensMeRequestTimeout ¶
func NewHeadTokensMeRequestTimeout() *HeadTokensMeRequestTimeout
NewHeadTokensMeRequestTimeout creates a HeadTokensMeRequestTimeout with default headers values
func (*HeadTokensMeRequestTimeout) Error ¶
func (o *HeadTokensMeRequestTimeout) Error() string
func (*HeadTokensMeRequestTimeout) GetPayload ¶
func (o *HeadTokensMeRequestTimeout) GetPayload() *models.ErrorBody
func (*HeadTokensMeRequestTimeout) IsClientError ¶
func (o *HeadTokensMeRequestTimeout) IsClientError() bool
IsClientError returns true when this head tokens me request timeout response has a 4xx status code
func (*HeadTokensMeRequestTimeout) IsCode ¶
func (o *HeadTokensMeRequestTimeout) IsCode(code int) bool
IsCode returns true when this head tokens me request timeout response a status code equal to that given
func (*HeadTokensMeRequestTimeout) IsRedirect ¶
func (o *HeadTokensMeRequestTimeout) IsRedirect() bool
IsRedirect returns true when this head tokens me request timeout response has a 3xx status code
func (*HeadTokensMeRequestTimeout) IsServerError ¶
func (o *HeadTokensMeRequestTimeout) IsServerError() bool
IsServerError returns true when this head tokens me request timeout response has a 5xx status code
func (*HeadTokensMeRequestTimeout) IsSuccess ¶
func (o *HeadTokensMeRequestTimeout) IsSuccess() bool
IsSuccess returns true when this head tokens me request timeout response has a 2xx status code
func (*HeadTokensMeRequestTimeout) String ¶
func (o *HeadTokensMeRequestTimeout) String() string
type HeadTokensMeServiceUnavailable ¶
type HeadTokensMeServiceUnavailable struct {
}HeadTokensMeServiceUnavailable describes a response with status code 503, with default header values.
Service Unavailable - The server is currently unavailable (because it is overloaded or down for maintenance).
func NewHeadTokensMeServiceUnavailable ¶
func NewHeadTokensMeServiceUnavailable() *HeadTokensMeServiceUnavailable
NewHeadTokensMeServiceUnavailable creates a HeadTokensMeServiceUnavailable with default headers values
func (*HeadTokensMeServiceUnavailable) Error ¶
func (o *HeadTokensMeServiceUnavailable) Error() string
func (*HeadTokensMeServiceUnavailable) GetPayload ¶
func (o *HeadTokensMeServiceUnavailable) GetPayload() *models.ErrorBody
func (*HeadTokensMeServiceUnavailable) IsClientError ¶
func (o *HeadTokensMeServiceUnavailable) IsClientError() bool
IsClientError returns true when this head tokens me service unavailable response has a 4xx status code
func (*HeadTokensMeServiceUnavailable) IsCode ¶
func (o *HeadTokensMeServiceUnavailable) IsCode(code int) bool
IsCode returns true when this head tokens me service unavailable response a status code equal to that given
func (*HeadTokensMeServiceUnavailable) IsRedirect ¶
func (o *HeadTokensMeServiceUnavailable) IsRedirect() bool
IsRedirect returns true when this head tokens me service unavailable response has a 3xx status code
func (*HeadTokensMeServiceUnavailable) IsServerError ¶
func (o *HeadTokensMeServiceUnavailable) IsServerError() bool
IsServerError returns true when this head tokens me service unavailable response has a 5xx status code
func (*HeadTokensMeServiceUnavailable) IsSuccess ¶
func (o *HeadTokensMeServiceUnavailable) IsSuccess() bool
IsSuccess returns true when this head tokens me service unavailable response has a 2xx status code
func (*HeadTokensMeServiceUnavailable) String ¶
func (o *HeadTokensMeServiceUnavailable) String() string
type HeadTokensMeTooManyRequests ¶
HeadTokensMeTooManyRequests describes a response with status code 429, with default header values.
Rate limit exceeded the maximum. Retry the request in [%s] seconds
func NewHeadTokensMeTooManyRequests ¶
func NewHeadTokensMeTooManyRequests() *HeadTokensMeTooManyRequests
NewHeadTokensMeTooManyRequests creates a HeadTokensMeTooManyRequests with default headers values
func (*HeadTokensMeTooManyRequests) Error ¶
func (o *HeadTokensMeTooManyRequests) Error() string
func (*HeadTokensMeTooManyRequests) GetPayload ¶
func (o *HeadTokensMeTooManyRequests) GetPayload() *models.ErrorBody
func (*HeadTokensMeTooManyRequests) IsClientError ¶
func (o *HeadTokensMeTooManyRequests) IsClientError() bool
IsClientError returns true when this head tokens me too many requests response has a 4xx status code
func (*HeadTokensMeTooManyRequests) IsCode ¶
func (o *HeadTokensMeTooManyRequests) IsCode(code int) bool
IsCode returns true when this head tokens me too many requests response a status code equal to that given
func (*HeadTokensMeTooManyRequests) IsRedirect ¶
func (o *HeadTokensMeTooManyRequests) IsRedirect() bool
IsRedirect returns true when this head tokens me too many requests response has a 3xx status code
func (*HeadTokensMeTooManyRequests) IsServerError ¶
func (o *HeadTokensMeTooManyRequests) IsServerError() bool
IsServerError returns true when this head tokens me too many requests response has a 5xx status code
func (*HeadTokensMeTooManyRequests) IsSuccess ¶
func (o *HeadTokensMeTooManyRequests) IsSuccess() bool
IsSuccess returns true when this head tokens me too many requests response has a 2xx status code
func (*HeadTokensMeTooManyRequests) String ¶
func (o *HeadTokensMeTooManyRequests) String() string
type HeadTokensMeUnauthorized ¶
type HeadTokensMeUnauthorized struct {
}HeadTokensMeUnauthorized describes a response with status code 401, with default header values.
No authentication bearer token specified in authorization header.
func NewHeadTokensMeUnauthorized ¶
func NewHeadTokensMeUnauthorized() *HeadTokensMeUnauthorized
NewHeadTokensMeUnauthorized creates a HeadTokensMeUnauthorized with default headers values
func (*HeadTokensMeUnauthorized) Error ¶
func (o *HeadTokensMeUnauthorized) Error() string
func (*HeadTokensMeUnauthorized) GetPayload ¶
func (o *HeadTokensMeUnauthorized) GetPayload() *models.ErrorBody
func (*HeadTokensMeUnauthorized) IsClientError ¶
func (o *HeadTokensMeUnauthorized) IsClientError() bool
IsClientError returns true when this head tokens me unauthorized response has a 4xx status code
func (*HeadTokensMeUnauthorized) IsCode ¶
func (o *HeadTokensMeUnauthorized) IsCode(code int) bool
IsCode returns true when this head tokens me unauthorized response a status code equal to that given
func (*HeadTokensMeUnauthorized) IsRedirect ¶
func (o *HeadTokensMeUnauthorized) IsRedirect() bool
IsRedirect returns true when this head tokens me unauthorized response has a 3xx status code
func (*HeadTokensMeUnauthorized) IsServerError ¶
func (o *HeadTokensMeUnauthorized) IsServerError() bool
IsServerError returns true when this head tokens me unauthorized response has a 5xx status code
func (*HeadTokensMeUnauthorized) IsSuccess ¶
func (o *HeadTokensMeUnauthorized) IsSuccess() bool
IsSuccess returns true when this head tokens me unauthorized response has a 2xx status code
func (*HeadTokensMeUnauthorized) String ¶
func (o *HeadTokensMeUnauthorized) String() string
type HeadTokensMeUnsupportedMediaType ¶
HeadTokensMeUnsupportedMediaType describes a response with status code 415, with default header values.
Unsupported Media Type - Unsupported or incorrect media type, such as an incorrect Content-Type value in the header.
func NewHeadTokensMeUnsupportedMediaType ¶
func NewHeadTokensMeUnsupportedMediaType() *HeadTokensMeUnsupportedMediaType
NewHeadTokensMeUnsupportedMediaType creates a HeadTokensMeUnsupportedMediaType with default headers values
func (*HeadTokensMeUnsupportedMediaType) Error ¶
func (o *HeadTokensMeUnsupportedMediaType) Error() string
func (*HeadTokensMeUnsupportedMediaType) GetPayload ¶
func (o *HeadTokensMeUnsupportedMediaType) GetPayload() *models.ErrorBody
func (*HeadTokensMeUnsupportedMediaType) IsClientError ¶
func (o *HeadTokensMeUnsupportedMediaType) IsClientError() bool
IsClientError returns true when this head tokens me unsupported media type response has a 4xx status code
func (*HeadTokensMeUnsupportedMediaType) IsCode ¶
func (o *HeadTokensMeUnsupportedMediaType) IsCode(code int) bool
IsCode returns true when this head tokens me unsupported media type response a status code equal to that given
func (*HeadTokensMeUnsupportedMediaType) IsRedirect ¶
func (o *HeadTokensMeUnsupportedMediaType) IsRedirect() bool
IsRedirect returns true when this head tokens me unsupported media type response has a 3xx status code
func (*HeadTokensMeUnsupportedMediaType) IsServerError ¶
func (o *HeadTokensMeUnsupportedMediaType) IsServerError() bool
IsServerError returns true when this head tokens me unsupported media type response has a 5xx status code
func (*HeadTokensMeUnsupportedMediaType) IsSuccess ¶
func (o *HeadTokensMeUnsupportedMediaType) IsSuccess() bool
IsSuccess returns true when this head tokens me unsupported media type response has a 2xx status code
func (*HeadTokensMeUnsupportedMediaType) String ¶
func (o *HeadTokensMeUnsupportedMediaType) String() string