Documentation ¶
Index ¶
- type Client
- func (a *Client) CreateMFAMethod(params *CreateMFAMethodParams, authInfo runtime.ClientAuthInfoWriter, ...) (*CreateMFAMethodCreated, error)
- func (a *Client) DeleteMFAMethod(params *DeleteMFAMethodParams, authInfo runtime.ClientAuthInfoWriter, ...) (*DeleteMFAMethodNoContent, error)
- func (a *Client) GetMFAMethod(params *GetMFAMethodParams, authInfo runtime.ClientAuthInfoWriter, ...) (*GetMFAMethodOK, error)
- func (a *Client) ListMFAMethods(params *ListMFAMethodsParams, authInfo runtime.ClientAuthInfoWriter, ...) (*ListMFAMethodsOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- func (a *Client) TestMFAMethod(params *TestMFAMethodParams, authInfo runtime.ClientAuthInfoWriter, ...) (*TestMFAMethodOK, error)
- func (a *Client) UpdateMFAMethod(params *UpdateMFAMethodParams, authInfo runtime.ClientAuthInfoWriter, ...) (*UpdateMFAMethodOK, error)
- type ClientOption
- type ClientService
- type CreateMFAMethodBadRequest
- func (o *CreateMFAMethodBadRequest) Code() int
- func (o *CreateMFAMethodBadRequest) Error() string
- func (o *CreateMFAMethodBadRequest) GetPayload() *models.Error
- func (o *CreateMFAMethodBadRequest) IsClientError() bool
- func (o *CreateMFAMethodBadRequest) IsCode(code int) bool
- func (o *CreateMFAMethodBadRequest) IsRedirect() bool
- func (o *CreateMFAMethodBadRequest) IsServerError() bool
- func (o *CreateMFAMethodBadRequest) IsSuccess() bool
- func (o *CreateMFAMethodBadRequest) String() string
- type CreateMFAMethodConflict
- func (o *CreateMFAMethodConflict) Code() int
- func (o *CreateMFAMethodConflict) Error() string
- func (o *CreateMFAMethodConflict) GetPayload() *models.Error
- func (o *CreateMFAMethodConflict) IsClientError() bool
- func (o *CreateMFAMethodConflict) IsCode(code int) bool
- func (o *CreateMFAMethodConflict) IsRedirect() bool
- func (o *CreateMFAMethodConflict) IsServerError() bool
- func (o *CreateMFAMethodConflict) IsSuccess() bool
- func (o *CreateMFAMethodConflict) String() string
- type CreateMFAMethodCreated
- func (o *CreateMFAMethodCreated) Code() int
- func (o *CreateMFAMethodCreated) Error() string
- func (o *CreateMFAMethodCreated) GetPayload() *models.MFAMethod
- func (o *CreateMFAMethodCreated) IsClientError() bool
- func (o *CreateMFAMethodCreated) IsCode(code int) bool
- func (o *CreateMFAMethodCreated) IsRedirect() bool
- func (o *CreateMFAMethodCreated) IsServerError() bool
- func (o *CreateMFAMethodCreated) IsSuccess() bool
- func (o *CreateMFAMethodCreated) String() string
- type CreateMFAMethodForbidden
- func (o *CreateMFAMethodForbidden) Code() int
- func (o *CreateMFAMethodForbidden) Error() string
- func (o *CreateMFAMethodForbidden) GetPayload() *models.Error
- func (o *CreateMFAMethodForbidden) IsClientError() bool
- func (o *CreateMFAMethodForbidden) IsCode(code int) bool
- func (o *CreateMFAMethodForbidden) IsRedirect() bool
- func (o *CreateMFAMethodForbidden) IsServerError() bool
- func (o *CreateMFAMethodForbidden) IsSuccess() bool
- func (o *CreateMFAMethodForbidden) String() string
- type CreateMFAMethodNotFound
- func (o *CreateMFAMethodNotFound) Code() int
- func (o *CreateMFAMethodNotFound) Error() string
- func (o *CreateMFAMethodNotFound) GetPayload() *models.Error
- func (o *CreateMFAMethodNotFound) IsClientError() bool
- func (o *CreateMFAMethodNotFound) IsCode(code int) bool
- func (o *CreateMFAMethodNotFound) IsRedirect() bool
- func (o *CreateMFAMethodNotFound) IsServerError() bool
- func (o *CreateMFAMethodNotFound) IsSuccess() bool
- func (o *CreateMFAMethodNotFound) String() string
- type CreateMFAMethodParams
- func NewCreateMFAMethodParams() *CreateMFAMethodParams
- func NewCreateMFAMethodParamsWithContext(ctx context.Context) *CreateMFAMethodParams
- func NewCreateMFAMethodParamsWithHTTPClient(client *http.Client) *CreateMFAMethodParams
- func NewCreateMFAMethodParamsWithTimeout(timeout time.Duration) *CreateMFAMethodParams
- func (o *CreateMFAMethodParams) SetContext(ctx context.Context)
- func (o *CreateMFAMethodParams) SetDefaults()
- func (o *CreateMFAMethodParams) SetHTTPClient(client *http.Client)
- func (o *CreateMFAMethodParams) SetIfMatch(ifMatch *string)
- func (o *CreateMFAMethodParams) SetMFAMethod(mFAMethod *models.MFAMethod)
- func (o *CreateMFAMethodParams) SetTimeout(timeout time.Duration)
- func (o *CreateMFAMethodParams) WithContext(ctx context.Context) *CreateMFAMethodParams
- func (o *CreateMFAMethodParams) WithDefaults() *CreateMFAMethodParams
- func (o *CreateMFAMethodParams) WithHTTPClient(client *http.Client) *CreateMFAMethodParams
- func (o *CreateMFAMethodParams) WithIfMatch(ifMatch *string) *CreateMFAMethodParams
- func (o *CreateMFAMethodParams) WithMFAMethod(mFAMethod *models.MFAMethod) *CreateMFAMethodParams
- func (o *CreateMFAMethodParams) WithTimeout(timeout time.Duration) *CreateMFAMethodParams
- func (o *CreateMFAMethodParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CreateMFAMethodReader
- type CreateMFAMethodTooManyRequests
- func (o *CreateMFAMethodTooManyRequests) Code() int
- func (o *CreateMFAMethodTooManyRequests) Error() string
- func (o *CreateMFAMethodTooManyRequests) GetPayload() *models.Error
- func (o *CreateMFAMethodTooManyRequests) IsClientError() bool
- func (o *CreateMFAMethodTooManyRequests) IsCode(code int) bool
- func (o *CreateMFAMethodTooManyRequests) IsRedirect() bool
- func (o *CreateMFAMethodTooManyRequests) IsServerError() bool
- func (o *CreateMFAMethodTooManyRequests) IsSuccess() bool
- func (o *CreateMFAMethodTooManyRequests) String() string
- type CreateMFAMethodUnauthorized
- func (o *CreateMFAMethodUnauthorized) Code() int
- func (o *CreateMFAMethodUnauthorized) Error() string
- func (o *CreateMFAMethodUnauthorized) GetPayload() *models.Error
- func (o *CreateMFAMethodUnauthorized) IsClientError() bool
- func (o *CreateMFAMethodUnauthorized) IsCode(code int) bool
- func (o *CreateMFAMethodUnauthorized) IsRedirect() bool
- func (o *CreateMFAMethodUnauthorized) IsServerError() bool
- func (o *CreateMFAMethodUnauthorized) IsSuccess() bool
- func (o *CreateMFAMethodUnauthorized) String() string
- type CreateMFAMethodUnprocessableEntity
- func (o *CreateMFAMethodUnprocessableEntity) Code() int
- func (o *CreateMFAMethodUnprocessableEntity) Error() string
- func (o *CreateMFAMethodUnprocessableEntity) GetPayload() *models.Error
- func (o *CreateMFAMethodUnprocessableEntity) IsClientError() bool
- func (o *CreateMFAMethodUnprocessableEntity) IsCode(code int) bool
- func (o *CreateMFAMethodUnprocessableEntity) IsRedirect() bool
- func (o *CreateMFAMethodUnprocessableEntity) IsServerError() bool
- func (o *CreateMFAMethodUnprocessableEntity) IsSuccess() bool
- func (o *CreateMFAMethodUnprocessableEntity) String() string
- type DeleteMFAMethodForbidden
- func (o *DeleteMFAMethodForbidden) Code() int
- func (o *DeleteMFAMethodForbidden) Error() string
- func (o *DeleteMFAMethodForbidden) GetPayload() *models.Error
- func (o *DeleteMFAMethodForbidden) IsClientError() bool
- func (o *DeleteMFAMethodForbidden) IsCode(code int) bool
- func (o *DeleteMFAMethodForbidden) IsRedirect() bool
- func (o *DeleteMFAMethodForbidden) IsServerError() bool
- func (o *DeleteMFAMethodForbidden) IsSuccess() bool
- func (o *DeleteMFAMethodForbidden) String() string
- type DeleteMFAMethodNoContent
- func (o *DeleteMFAMethodNoContent) Code() int
- func (o *DeleteMFAMethodNoContent) Error() string
- func (o *DeleteMFAMethodNoContent) IsClientError() bool
- func (o *DeleteMFAMethodNoContent) IsCode(code int) bool
- func (o *DeleteMFAMethodNoContent) IsRedirect() bool
- func (o *DeleteMFAMethodNoContent) IsServerError() bool
- func (o *DeleteMFAMethodNoContent) IsSuccess() bool
- func (o *DeleteMFAMethodNoContent) String() string
- type DeleteMFAMethodNotFound
- func (o *DeleteMFAMethodNotFound) Code() int
- func (o *DeleteMFAMethodNotFound) Error() string
- func (o *DeleteMFAMethodNotFound) GetPayload() *models.Error
- func (o *DeleteMFAMethodNotFound) IsClientError() bool
- func (o *DeleteMFAMethodNotFound) IsCode(code int) bool
- func (o *DeleteMFAMethodNotFound) IsRedirect() bool
- func (o *DeleteMFAMethodNotFound) IsServerError() bool
- func (o *DeleteMFAMethodNotFound) IsSuccess() bool
- func (o *DeleteMFAMethodNotFound) String() string
- type DeleteMFAMethodParams
- func NewDeleteMFAMethodParams() *DeleteMFAMethodParams
- func NewDeleteMFAMethodParamsWithContext(ctx context.Context) *DeleteMFAMethodParams
- func NewDeleteMFAMethodParamsWithHTTPClient(client *http.Client) *DeleteMFAMethodParams
- func NewDeleteMFAMethodParamsWithTimeout(timeout time.Duration) *DeleteMFAMethodParams
- func (o *DeleteMFAMethodParams) SetContext(ctx context.Context)
- func (o *DeleteMFAMethodParams) SetDefaults()
- func (o *DeleteMFAMethodParams) SetHTTPClient(client *http.Client)
- func (o *DeleteMFAMethodParams) SetIfMatch(ifMatch *string)
- func (o *DeleteMFAMethodParams) SetMfaID(mfaID string)
- func (o *DeleteMFAMethodParams) SetTimeout(timeout time.Duration)
- func (o *DeleteMFAMethodParams) WithContext(ctx context.Context) *DeleteMFAMethodParams
- func (o *DeleteMFAMethodParams) WithDefaults() *DeleteMFAMethodParams
- func (o *DeleteMFAMethodParams) WithHTTPClient(client *http.Client) *DeleteMFAMethodParams
- func (o *DeleteMFAMethodParams) WithIfMatch(ifMatch *string) *DeleteMFAMethodParams
- func (o *DeleteMFAMethodParams) WithMfaID(mfaID string) *DeleteMFAMethodParams
- func (o *DeleteMFAMethodParams) WithTimeout(timeout time.Duration) *DeleteMFAMethodParams
- func (o *DeleteMFAMethodParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteMFAMethodReader
- type DeleteMFAMethodTooManyRequests
- func (o *DeleteMFAMethodTooManyRequests) Code() int
- func (o *DeleteMFAMethodTooManyRequests) Error() string
- func (o *DeleteMFAMethodTooManyRequests) GetPayload() *models.Error
- func (o *DeleteMFAMethodTooManyRequests) IsClientError() bool
- func (o *DeleteMFAMethodTooManyRequests) IsCode(code int) bool
- func (o *DeleteMFAMethodTooManyRequests) IsRedirect() bool
- func (o *DeleteMFAMethodTooManyRequests) IsServerError() bool
- func (o *DeleteMFAMethodTooManyRequests) IsSuccess() bool
- func (o *DeleteMFAMethodTooManyRequests) String() string
- type DeleteMFAMethodUnauthorized
- func (o *DeleteMFAMethodUnauthorized) Code() int
- func (o *DeleteMFAMethodUnauthorized) Error() string
- func (o *DeleteMFAMethodUnauthorized) GetPayload() *models.Error
- func (o *DeleteMFAMethodUnauthorized) IsClientError() bool
- func (o *DeleteMFAMethodUnauthorized) IsCode(code int) bool
- func (o *DeleteMFAMethodUnauthorized) IsRedirect() bool
- func (o *DeleteMFAMethodUnauthorized) IsServerError() bool
- func (o *DeleteMFAMethodUnauthorized) IsSuccess() bool
- func (o *DeleteMFAMethodUnauthorized) String() string
- type GetMFAMethodForbidden
- func (o *GetMFAMethodForbidden) Code() int
- func (o *GetMFAMethodForbidden) Error() string
- func (o *GetMFAMethodForbidden) GetPayload() *models.Error
- func (o *GetMFAMethodForbidden) IsClientError() bool
- func (o *GetMFAMethodForbidden) IsCode(code int) bool
- func (o *GetMFAMethodForbidden) IsRedirect() bool
- func (o *GetMFAMethodForbidden) IsServerError() bool
- func (o *GetMFAMethodForbidden) IsSuccess() bool
- func (o *GetMFAMethodForbidden) String() string
- type GetMFAMethodNotFound
- func (o *GetMFAMethodNotFound) Code() int
- func (o *GetMFAMethodNotFound) Error() string
- func (o *GetMFAMethodNotFound) GetPayload() *models.Error
- func (o *GetMFAMethodNotFound) IsClientError() bool
- func (o *GetMFAMethodNotFound) IsCode(code int) bool
- func (o *GetMFAMethodNotFound) IsRedirect() bool
- func (o *GetMFAMethodNotFound) IsServerError() bool
- func (o *GetMFAMethodNotFound) IsSuccess() bool
- func (o *GetMFAMethodNotFound) String() string
- type GetMFAMethodOK
- func (o *GetMFAMethodOK) Code() int
- func (o *GetMFAMethodOK) Error() string
- func (o *GetMFAMethodOK) GetPayload() *models.MFAMethodResponse
- func (o *GetMFAMethodOK) IsClientError() bool
- func (o *GetMFAMethodOK) IsCode(code int) bool
- func (o *GetMFAMethodOK) IsRedirect() bool
- func (o *GetMFAMethodOK) IsServerError() bool
- func (o *GetMFAMethodOK) IsSuccess() bool
- func (o *GetMFAMethodOK) String() string
- type GetMFAMethodParams
- func (o *GetMFAMethodParams) SetContext(ctx context.Context)
- func (o *GetMFAMethodParams) SetDefaults()
- func (o *GetMFAMethodParams) SetHTTPClient(client *http.Client)
- func (o *GetMFAMethodParams) SetIfMatch(ifMatch *string)
- func (o *GetMFAMethodParams) SetMfaID(mfaID string)
- func (o *GetMFAMethodParams) SetTimeout(timeout time.Duration)
- func (o *GetMFAMethodParams) WithContext(ctx context.Context) *GetMFAMethodParams
- func (o *GetMFAMethodParams) WithDefaults() *GetMFAMethodParams
- func (o *GetMFAMethodParams) WithHTTPClient(client *http.Client) *GetMFAMethodParams
- func (o *GetMFAMethodParams) WithIfMatch(ifMatch *string) *GetMFAMethodParams
- func (o *GetMFAMethodParams) WithMfaID(mfaID string) *GetMFAMethodParams
- func (o *GetMFAMethodParams) WithTimeout(timeout time.Duration) *GetMFAMethodParams
- func (o *GetMFAMethodParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetMFAMethodReader
- type GetMFAMethodTooManyRequests
- func (o *GetMFAMethodTooManyRequests) Code() int
- func (o *GetMFAMethodTooManyRequests) Error() string
- func (o *GetMFAMethodTooManyRequests) GetPayload() *models.Error
- func (o *GetMFAMethodTooManyRequests) IsClientError() bool
- func (o *GetMFAMethodTooManyRequests) IsCode(code int) bool
- func (o *GetMFAMethodTooManyRequests) IsRedirect() bool
- func (o *GetMFAMethodTooManyRequests) IsServerError() bool
- func (o *GetMFAMethodTooManyRequests) IsSuccess() bool
- func (o *GetMFAMethodTooManyRequests) String() string
- type GetMFAMethodUnauthorized
- func (o *GetMFAMethodUnauthorized) Code() int
- func (o *GetMFAMethodUnauthorized) Error() string
- func (o *GetMFAMethodUnauthorized) GetPayload() *models.Error
- func (o *GetMFAMethodUnauthorized) IsClientError() bool
- func (o *GetMFAMethodUnauthorized) IsCode(code int) bool
- func (o *GetMFAMethodUnauthorized) IsRedirect() bool
- func (o *GetMFAMethodUnauthorized) IsServerError() bool
- func (o *GetMFAMethodUnauthorized) IsSuccess() bool
- func (o *GetMFAMethodUnauthorized) String() string
- type ListMFAMethodsForbidden
- func (o *ListMFAMethodsForbidden) Code() int
- func (o *ListMFAMethodsForbidden) Error() string
- func (o *ListMFAMethodsForbidden) GetPayload() *models.Error
- func (o *ListMFAMethodsForbidden) IsClientError() bool
- func (o *ListMFAMethodsForbidden) IsCode(code int) bool
- func (o *ListMFAMethodsForbidden) IsRedirect() bool
- func (o *ListMFAMethodsForbidden) IsServerError() bool
- func (o *ListMFAMethodsForbidden) IsSuccess() bool
- func (o *ListMFAMethodsForbidden) String() string
- type ListMFAMethodsOK
- func (o *ListMFAMethodsOK) Code() int
- func (o *ListMFAMethodsOK) Error() string
- func (o *ListMFAMethodsOK) GetPayload() *models.MFAMethods
- func (o *ListMFAMethodsOK) IsClientError() bool
- func (o *ListMFAMethodsOK) IsCode(code int) bool
- func (o *ListMFAMethodsOK) IsRedirect() bool
- func (o *ListMFAMethodsOK) IsServerError() bool
- func (o *ListMFAMethodsOK) IsSuccess() bool
- func (o *ListMFAMethodsOK) String() string
- type ListMFAMethodsParams
- func NewListMFAMethodsParams() *ListMFAMethodsParams
- func NewListMFAMethodsParamsWithContext(ctx context.Context) *ListMFAMethodsParams
- func NewListMFAMethodsParamsWithHTTPClient(client *http.Client) *ListMFAMethodsParams
- func NewListMFAMethodsParamsWithTimeout(timeout time.Duration) *ListMFAMethodsParams
- func (o *ListMFAMethodsParams) SetContext(ctx context.Context)
- func (o *ListMFAMethodsParams) SetDefaults()
- func (o *ListMFAMethodsParams) SetHTTPClient(client *http.Client)
- func (o *ListMFAMethodsParams) SetIfMatch(ifMatch *string)
- func (o *ListMFAMethodsParams) SetTimeout(timeout time.Duration)
- func (o *ListMFAMethodsParams) WithContext(ctx context.Context) *ListMFAMethodsParams
- func (o *ListMFAMethodsParams) WithDefaults() *ListMFAMethodsParams
- func (o *ListMFAMethodsParams) WithHTTPClient(client *http.Client) *ListMFAMethodsParams
- func (o *ListMFAMethodsParams) WithIfMatch(ifMatch *string) *ListMFAMethodsParams
- func (o *ListMFAMethodsParams) WithTimeout(timeout time.Duration) *ListMFAMethodsParams
- func (o *ListMFAMethodsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ListMFAMethodsReader
- type ListMFAMethodsTooManyRequests
- func (o *ListMFAMethodsTooManyRequests) Code() int
- func (o *ListMFAMethodsTooManyRequests) Error() string
- func (o *ListMFAMethodsTooManyRequests) GetPayload() *models.Error
- func (o *ListMFAMethodsTooManyRequests) IsClientError() bool
- func (o *ListMFAMethodsTooManyRequests) IsCode(code int) bool
- func (o *ListMFAMethodsTooManyRequests) IsRedirect() bool
- func (o *ListMFAMethodsTooManyRequests) IsServerError() bool
- func (o *ListMFAMethodsTooManyRequests) IsSuccess() bool
- func (o *ListMFAMethodsTooManyRequests) String() string
- type ListMFAMethodsUnauthorized
- func (o *ListMFAMethodsUnauthorized) Code() int
- func (o *ListMFAMethodsUnauthorized) Error() string
- func (o *ListMFAMethodsUnauthorized) GetPayload() *models.Error
- func (o *ListMFAMethodsUnauthorized) IsClientError() bool
- func (o *ListMFAMethodsUnauthorized) IsCode(code int) bool
- func (o *ListMFAMethodsUnauthorized) IsRedirect() bool
- func (o *ListMFAMethodsUnauthorized) IsServerError() bool
- func (o *ListMFAMethodsUnauthorized) IsSuccess() bool
- func (o *ListMFAMethodsUnauthorized) String() string
- type TestMFAMethodBadRequest
- func (o *TestMFAMethodBadRequest) Code() int
- func (o *TestMFAMethodBadRequest) Error() string
- func (o *TestMFAMethodBadRequest) GetPayload() *models.Error
- func (o *TestMFAMethodBadRequest) IsClientError() bool
- func (o *TestMFAMethodBadRequest) IsCode(code int) bool
- func (o *TestMFAMethodBadRequest) IsRedirect() bool
- func (o *TestMFAMethodBadRequest) IsServerError() bool
- func (o *TestMFAMethodBadRequest) IsSuccess() bool
- func (o *TestMFAMethodBadRequest) String() string
- type TestMFAMethodForbidden
- func (o *TestMFAMethodForbidden) Code() int
- func (o *TestMFAMethodForbidden) Error() string
- func (o *TestMFAMethodForbidden) GetPayload() *models.Error
- func (o *TestMFAMethodForbidden) IsClientError() bool
- func (o *TestMFAMethodForbidden) IsCode(code int) bool
- func (o *TestMFAMethodForbidden) IsRedirect() bool
- func (o *TestMFAMethodForbidden) IsServerError() bool
- func (o *TestMFAMethodForbidden) IsSuccess() bool
- func (o *TestMFAMethodForbidden) String() string
- type TestMFAMethodNotFound
- func (o *TestMFAMethodNotFound) Code() int
- func (o *TestMFAMethodNotFound) Error() string
- func (o *TestMFAMethodNotFound) GetPayload() *models.Error
- func (o *TestMFAMethodNotFound) IsClientError() bool
- func (o *TestMFAMethodNotFound) IsCode(code int) bool
- func (o *TestMFAMethodNotFound) IsRedirect() bool
- func (o *TestMFAMethodNotFound) IsServerError() bool
- func (o *TestMFAMethodNotFound) IsSuccess() bool
- func (o *TestMFAMethodNotFound) String() string
- type TestMFAMethodOK
- func (o *TestMFAMethodOK) Code() int
- func (o *TestMFAMethodOK) Error() string
- func (o *TestMFAMethodOK) IsClientError() bool
- func (o *TestMFAMethodOK) IsCode(code int) bool
- func (o *TestMFAMethodOK) IsRedirect() bool
- func (o *TestMFAMethodOK) IsServerError() bool
- func (o *TestMFAMethodOK) IsSuccess() bool
- func (o *TestMFAMethodOK) String() string
- type TestMFAMethodParams
- func (o *TestMFAMethodParams) SetContext(ctx context.Context)
- func (o *TestMFAMethodParams) SetDefaults()
- func (o *TestMFAMethodParams) SetHTTPClient(client *http.Client)
- func (o *TestMFAMethodParams) SetIfMatch(ifMatch *string)
- func (o *TestMFAMethodParams) SetMFAMethodTest(mFAMethodTest *models.TestMFAMethodRequest)
- func (o *TestMFAMethodParams) SetMfaID(mfaID string)
- func (o *TestMFAMethodParams) SetTimeout(timeout time.Duration)
- func (o *TestMFAMethodParams) WithContext(ctx context.Context) *TestMFAMethodParams
- func (o *TestMFAMethodParams) WithDefaults() *TestMFAMethodParams
- func (o *TestMFAMethodParams) WithHTTPClient(client *http.Client) *TestMFAMethodParams
- func (o *TestMFAMethodParams) WithIfMatch(ifMatch *string) *TestMFAMethodParams
- func (o *TestMFAMethodParams) WithMFAMethodTest(mFAMethodTest *models.TestMFAMethodRequest) *TestMFAMethodParams
- func (o *TestMFAMethodParams) WithMfaID(mfaID string) *TestMFAMethodParams
- func (o *TestMFAMethodParams) WithTimeout(timeout time.Duration) *TestMFAMethodParams
- func (o *TestMFAMethodParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type TestMFAMethodReader
- type TestMFAMethodTooManyRequests
- func (o *TestMFAMethodTooManyRequests) Code() int
- func (o *TestMFAMethodTooManyRequests) Error() string
- func (o *TestMFAMethodTooManyRequests) GetPayload() *models.Error
- func (o *TestMFAMethodTooManyRequests) IsClientError() bool
- func (o *TestMFAMethodTooManyRequests) IsCode(code int) bool
- func (o *TestMFAMethodTooManyRequests) IsRedirect() bool
- func (o *TestMFAMethodTooManyRequests) IsServerError() bool
- func (o *TestMFAMethodTooManyRequests) IsSuccess() bool
- func (o *TestMFAMethodTooManyRequests) String() string
- type TestMFAMethodUnauthorized
- func (o *TestMFAMethodUnauthorized) Code() int
- func (o *TestMFAMethodUnauthorized) Error() string
- func (o *TestMFAMethodUnauthorized) GetPayload() *models.Error
- func (o *TestMFAMethodUnauthorized) IsClientError() bool
- func (o *TestMFAMethodUnauthorized) IsCode(code int) bool
- func (o *TestMFAMethodUnauthorized) IsRedirect() bool
- func (o *TestMFAMethodUnauthorized) IsServerError() bool
- func (o *TestMFAMethodUnauthorized) IsSuccess() bool
- func (o *TestMFAMethodUnauthorized) String() string
- type UpdateMFAMethodBadRequest
- func (o *UpdateMFAMethodBadRequest) Code() int
- func (o *UpdateMFAMethodBadRequest) Error() string
- func (o *UpdateMFAMethodBadRequest) GetPayload() *models.Error
- func (o *UpdateMFAMethodBadRequest) IsClientError() bool
- func (o *UpdateMFAMethodBadRequest) IsCode(code int) bool
- func (o *UpdateMFAMethodBadRequest) IsRedirect() bool
- func (o *UpdateMFAMethodBadRequest) IsServerError() bool
- func (o *UpdateMFAMethodBadRequest) IsSuccess() bool
- func (o *UpdateMFAMethodBadRequest) String() string
- type UpdateMFAMethodConflict
- func (o *UpdateMFAMethodConflict) Code() int
- func (o *UpdateMFAMethodConflict) Error() string
- func (o *UpdateMFAMethodConflict) GetPayload() *models.Error
- func (o *UpdateMFAMethodConflict) IsClientError() bool
- func (o *UpdateMFAMethodConflict) IsCode(code int) bool
- func (o *UpdateMFAMethodConflict) IsRedirect() bool
- func (o *UpdateMFAMethodConflict) IsServerError() bool
- func (o *UpdateMFAMethodConflict) IsSuccess() bool
- func (o *UpdateMFAMethodConflict) String() string
- type UpdateMFAMethodForbidden
- func (o *UpdateMFAMethodForbidden) Code() int
- func (o *UpdateMFAMethodForbidden) Error() string
- func (o *UpdateMFAMethodForbidden) GetPayload() *models.Error
- func (o *UpdateMFAMethodForbidden) IsClientError() bool
- func (o *UpdateMFAMethodForbidden) IsCode(code int) bool
- func (o *UpdateMFAMethodForbidden) IsRedirect() bool
- func (o *UpdateMFAMethodForbidden) IsServerError() bool
- func (o *UpdateMFAMethodForbidden) IsSuccess() bool
- func (o *UpdateMFAMethodForbidden) String() string
- type UpdateMFAMethodNotFound
- func (o *UpdateMFAMethodNotFound) Code() int
- func (o *UpdateMFAMethodNotFound) Error() string
- func (o *UpdateMFAMethodNotFound) GetPayload() *models.Error
- func (o *UpdateMFAMethodNotFound) IsClientError() bool
- func (o *UpdateMFAMethodNotFound) IsCode(code int) bool
- func (o *UpdateMFAMethodNotFound) IsRedirect() bool
- func (o *UpdateMFAMethodNotFound) IsServerError() bool
- func (o *UpdateMFAMethodNotFound) IsSuccess() bool
- func (o *UpdateMFAMethodNotFound) String() string
- type UpdateMFAMethodOK
- func (o *UpdateMFAMethodOK) Code() int
- func (o *UpdateMFAMethodOK) Error() string
- func (o *UpdateMFAMethodOK) GetPayload() *models.MFAMethod
- func (o *UpdateMFAMethodOK) IsClientError() bool
- func (o *UpdateMFAMethodOK) IsCode(code int) bool
- func (o *UpdateMFAMethodOK) IsRedirect() bool
- func (o *UpdateMFAMethodOK) IsServerError() bool
- func (o *UpdateMFAMethodOK) IsSuccess() bool
- func (o *UpdateMFAMethodOK) String() string
- type UpdateMFAMethodParams
- func NewUpdateMFAMethodParams() *UpdateMFAMethodParams
- func NewUpdateMFAMethodParamsWithContext(ctx context.Context) *UpdateMFAMethodParams
- func NewUpdateMFAMethodParamsWithHTTPClient(client *http.Client) *UpdateMFAMethodParams
- func NewUpdateMFAMethodParamsWithTimeout(timeout time.Duration) *UpdateMFAMethodParams
- func (o *UpdateMFAMethodParams) SetContext(ctx context.Context)
- func (o *UpdateMFAMethodParams) SetDefaults()
- func (o *UpdateMFAMethodParams) SetHTTPClient(client *http.Client)
- func (o *UpdateMFAMethodParams) SetIfMatch(ifMatch *string)
- func (o *UpdateMFAMethodParams) SetMFAMethod(mFAMethod *models.MFAMethod)
- func (o *UpdateMFAMethodParams) SetMfaID(mfaID string)
- func (o *UpdateMFAMethodParams) SetTimeout(timeout time.Duration)
- func (o *UpdateMFAMethodParams) WithContext(ctx context.Context) *UpdateMFAMethodParams
- func (o *UpdateMFAMethodParams) WithDefaults() *UpdateMFAMethodParams
- func (o *UpdateMFAMethodParams) WithHTTPClient(client *http.Client) *UpdateMFAMethodParams
- func (o *UpdateMFAMethodParams) WithIfMatch(ifMatch *string) *UpdateMFAMethodParams
- func (o *UpdateMFAMethodParams) WithMFAMethod(mFAMethod *models.MFAMethod) *UpdateMFAMethodParams
- func (o *UpdateMFAMethodParams) WithMfaID(mfaID string) *UpdateMFAMethodParams
- func (o *UpdateMFAMethodParams) WithTimeout(timeout time.Duration) *UpdateMFAMethodParams
- func (o *UpdateMFAMethodParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UpdateMFAMethodReader
- type UpdateMFAMethodTooManyRequests
- func (o *UpdateMFAMethodTooManyRequests) Code() int
- func (o *UpdateMFAMethodTooManyRequests) Error() string
- func (o *UpdateMFAMethodTooManyRequests) GetPayload() *models.Error
- func (o *UpdateMFAMethodTooManyRequests) IsClientError() bool
- func (o *UpdateMFAMethodTooManyRequests) IsCode(code int) bool
- func (o *UpdateMFAMethodTooManyRequests) IsRedirect() bool
- func (o *UpdateMFAMethodTooManyRequests) IsServerError() bool
- func (o *UpdateMFAMethodTooManyRequests) IsSuccess() bool
- func (o *UpdateMFAMethodTooManyRequests) String() string
- type UpdateMFAMethodUnauthorized
- func (o *UpdateMFAMethodUnauthorized) Code() int
- func (o *UpdateMFAMethodUnauthorized) Error() string
- func (o *UpdateMFAMethodUnauthorized) GetPayload() *models.Error
- func (o *UpdateMFAMethodUnauthorized) IsClientError() bool
- func (o *UpdateMFAMethodUnauthorized) IsCode(code int) bool
- func (o *UpdateMFAMethodUnauthorized) IsRedirect() bool
- func (o *UpdateMFAMethodUnauthorized) IsServerError() bool
- func (o *UpdateMFAMethodUnauthorized) IsSuccess() bool
- func (o *UpdateMFAMethodUnauthorized) String() string
- type UpdateMFAMethodUnprocessableEntity
- func (o *UpdateMFAMethodUnprocessableEntity) Code() int
- func (o *UpdateMFAMethodUnprocessableEntity) Error() string
- func (o *UpdateMFAMethodUnprocessableEntity) GetPayload() *models.Error
- func (o *UpdateMFAMethodUnprocessableEntity) IsClientError() bool
- func (o *UpdateMFAMethodUnprocessableEntity) IsCode(code int) bool
- func (o *UpdateMFAMethodUnprocessableEntity) IsRedirect() bool
- func (o *UpdateMFAMethodUnprocessableEntity) IsServerError() bool
- func (o *UpdateMFAMethodUnprocessableEntity) IsSuccess() bool
- func (o *UpdateMFAMethodUnprocessableEntity) String() string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client for mfa methods API
func (*Client) CreateMFAMethod ¶
func (a *Client) CreateMFAMethod(params *CreateMFAMethodParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateMFAMethodCreated, error)
CreateMFAMethod creates m f a method
Create MFA method.
func (*Client) DeleteMFAMethod ¶
func (a *Client) DeleteMFAMethod(params *DeleteMFAMethodParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteMFAMethodNoContent, error)
DeleteMFAMethod deletes m f a method
Delete MFA method.
func (*Client) GetMFAMethod ¶
func (a *Client) GetMFAMethod(params *GetMFAMethodParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetMFAMethodOK, error)
GetMFAMethod gets m f a method
Get MFA method.
func (*Client) ListMFAMethods ¶
func (a *Client) ListMFAMethods(params *ListMFAMethodsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListMFAMethodsOK, error)
ListMFAMethods lists m f a methods
List MFA methods.
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
func (*Client) TestMFAMethod ¶
func (a *Client) TestMFAMethod(params *TestMFAMethodParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*TestMFAMethodOK, error)
TestMFAMethod sends test o t p message
Send test OTP message.
func (*Client) UpdateMFAMethod ¶
func (a *Client) UpdateMFAMethod(params *UpdateMFAMethodParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateMFAMethodOK, error)
UpdateMFAMethod updates mfa method
Update mfaMethod.
type ClientOption ¶
type ClientOption func(*runtime.ClientOperation)
ClientOption is the option for Client methods
type ClientService ¶
type ClientService interface { CreateMFAMethod(params *CreateMFAMethodParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateMFAMethodCreated, error) DeleteMFAMethod(params *DeleteMFAMethodParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteMFAMethodNoContent, error) GetMFAMethod(params *GetMFAMethodParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetMFAMethodOK, error) ListMFAMethods(params *ListMFAMethodsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListMFAMethodsOK, error) TestMFAMethod(params *TestMFAMethodParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*TestMFAMethodOK, error) UpdateMFAMethod(params *UpdateMFAMethodParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateMFAMethodOK, error) SetTransport(transport runtime.ClientTransport) }
ClientService is the interface for Client methods
func New ¶
func New(transport runtime.ClientTransport, formats strfmt.Registry) ClientService
New creates a new mfa methods API client.
type CreateMFAMethodBadRequest ¶
CreateMFAMethodBadRequest describes a response with status code 400, with default header values.
Bad request
func NewCreateMFAMethodBadRequest ¶
func NewCreateMFAMethodBadRequest() *CreateMFAMethodBadRequest
NewCreateMFAMethodBadRequest creates a CreateMFAMethodBadRequest with default headers values
func (*CreateMFAMethodBadRequest) Code ¶
func (o *CreateMFAMethodBadRequest) Code() int
Code gets the status code for the create m f a method bad request response
func (*CreateMFAMethodBadRequest) Error ¶
func (o *CreateMFAMethodBadRequest) Error() string
func (*CreateMFAMethodBadRequest) GetPayload ¶
func (o *CreateMFAMethodBadRequest) GetPayload() *models.Error
func (*CreateMFAMethodBadRequest) IsClientError ¶
func (o *CreateMFAMethodBadRequest) IsClientError() bool
IsClientError returns true when this create m f a method bad request response has a 4xx status code
func (*CreateMFAMethodBadRequest) IsCode ¶
func (o *CreateMFAMethodBadRequest) IsCode(code int) bool
IsCode returns true when this create m f a method bad request response a status code equal to that given
func (*CreateMFAMethodBadRequest) IsRedirect ¶
func (o *CreateMFAMethodBadRequest) IsRedirect() bool
IsRedirect returns true when this create m f a method bad request response has a 3xx status code
func (*CreateMFAMethodBadRequest) IsServerError ¶
func (o *CreateMFAMethodBadRequest) IsServerError() bool
IsServerError returns true when this create m f a method bad request response has a 5xx status code
func (*CreateMFAMethodBadRequest) IsSuccess ¶
func (o *CreateMFAMethodBadRequest) IsSuccess() bool
IsSuccess returns true when this create m f a method bad request response has a 2xx status code
func (*CreateMFAMethodBadRequest) String ¶
func (o *CreateMFAMethodBadRequest) String() string
type CreateMFAMethodConflict ¶
CreateMFAMethodConflict describes a response with status code 409, with default header values.
Conflict
func NewCreateMFAMethodConflict ¶
func NewCreateMFAMethodConflict() *CreateMFAMethodConflict
NewCreateMFAMethodConflict creates a CreateMFAMethodConflict with default headers values
func (*CreateMFAMethodConflict) Code ¶
func (o *CreateMFAMethodConflict) Code() int
Code gets the status code for the create m f a method conflict response
func (*CreateMFAMethodConflict) Error ¶
func (o *CreateMFAMethodConflict) Error() string
func (*CreateMFAMethodConflict) GetPayload ¶
func (o *CreateMFAMethodConflict) GetPayload() *models.Error
func (*CreateMFAMethodConflict) IsClientError ¶
func (o *CreateMFAMethodConflict) IsClientError() bool
IsClientError returns true when this create m f a method conflict response has a 4xx status code
func (*CreateMFAMethodConflict) IsCode ¶
func (o *CreateMFAMethodConflict) IsCode(code int) bool
IsCode returns true when this create m f a method conflict response a status code equal to that given
func (*CreateMFAMethodConflict) IsRedirect ¶
func (o *CreateMFAMethodConflict) IsRedirect() bool
IsRedirect returns true when this create m f a method conflict response has a 3xx status code
func (*CreateMFAMethodConflict) IsServerError ¶
func (o *CreateMFAMethodConflict) IsServerError() bool
IsServerError returns true when this create m f a method conflict response has a 5xx status code
func (*CreateMFAMethodConflict) IsSuccess ¶
func (o *CreateMFAMethodConflict) IsSuccess() bool
IsSuccess returns true when this create m f a method conflict response has a 2xx status code
func (*CreateMFAMethodConflict) String ¶
func (o *CreateMFAMethodConflict) String() string
type CreateMFAMethodCreated ¶
CreateMFAMethodCreated describes a response with status code 201, with default header values.
MFAMethod
func NewCreateMFAMethodCreated ¶
func NewCreateMFAMethodCreated() *CreateMFAMethodCreated
NewCreateMFAMethodCreated creates a CreateMFAMethodCreated with default headers values
func (*CreateMFAMethodCreated) Code ¶
func (o *CreateMFAMethodCreated) Code() int
Code gets the status code for the create m f a method created response
func (*CreateMFAMethodCreated) Error ¶
func (o *CreateMFAMethodCreated) Error() string
func (*CreateMFAMethodCreated) GetPayload ¶
func (o *CreateMFAMethodCreated) GetPayload() *models.MFAMethod
func (*CreateMFAMethodCreated) IsClientError ¶
func (o *CreateMFAMethodCreated) IsClientError() bool
IsClientError returns true when this create m f a method created response has a 4xx status code
func (*CreateMFAMethodCreated) IsCode ¶
func (o *CreateMFAMethodCreated) IsCode(code int) bool
IsCode returns true when this create m f a method created response a status code equal to that given
func (*CreateMFAMethodCreated) IsRedirect ¶
func (o *CreateMFAMethodCreated) IsRedirect() bool
IsRedirect returns true when this create m f a method created response has a 3xx status code
func (*CreateMFAMethodCreated) IsServerError ¶
func (o *CreateMFAMethodCreated) IsServerError() bool
IsServerError returns true when this create m f a method created response has a 5xx status code
func (*CreateMFAMethodCreated) IsSuccess ¶
func (o *CreateMFAMethodCreated) IsSuccess() bool
IsSuccess returns true when this create m f a method created response has a 2xx status code
func (*CreateMFAMethodCreated) String ¶
func (o *CreateMFAMethodCreated) String() string
type CreateMFAMethodForbidden ¶
CreateMFAMethodForbidden describes a response with status code 403, with default header values.
Forbidden
func NewCreateMFAMethodForbidden ¶
func NewCreateMFAMethodForbidden() *CreateMFAMethodForbidden
NewCreateMFAMethodForbidden creates a CreateMFAMethodForbidden with default headers values
func (*CreateMFAMethodForbidden) Code ¶
func (o *CreateMFAMethodForbidden) Code() int
Code gets the status code for the create m f a method forbidden response
func (*CreateMFAMethodForbidden) Error ¶
func (o *CreateMFAMethodForbidden) Error() string
func (*CreateMFAMethodForbidden) GetPayload ¶
func (o *CreateMFAMethodForbidden) GetPayload() *models.Error
func (*CreateMFAMethodForbidden) IsClientError ¶
func (o *CreateMFAMethodForbidden) IsClientError() bool
IsClientError returns true when this create m f a method forbidden response has a 4xx status code
func (*CreateMFAMethodForbidden) IsCode ¶
func (o *CreateMFAMethodForbidden) IsCode(code int) bool
IsCode returns true when this create m f a method forbidden response a status code equal to that given
func (*CreateMFAMethodForbidden) IsRedirect ¶
func (o *CreateMFAMethodForbidden) IsRedirect() bool
IsRedirect returns true when this create m f a method forbidden response has a 3xx status code
func (*CreateMFAMethodForbidden) IsServerError ¶
func (o *CreateMFAMethodForbidden) IsServerError() bool
IsServerError returns true when this create m f a method forbidden response has a 5xx status code
func (*CreateMFAMethodForbidden) IsSuccess ¶
func (o *CreateMFAMethodForbidden) IsSuccess() bool
IsSuccess returns true when this create m f a method forbidden response has a 2xx status code
func (*CreateMFAMethodForbidden) String ¶
func (o *CreateMFAMethodForbidden) String() string
type CreateMFAMethodNotFound ¶
CreateMFAMethodNotFound describes a response with status code 404, with default header values.
Not found
func NewCreateMFAMethodNotFound ¶
func NewCreateMFAMethodNotFound() *CreateMFAMethodNotFound
NewCreateMFAMethodNotFound creates a CreateMFAMethodNotFound with default headers values
func (*CreateMFAMethodNotFound) Code ¶
func (o *CreateMFAMethodNotFound) Code() int
Code gets the status code for the create m f a method not found response
func (*CreateMFAMethodNotFound) Error ¶
func (o *CreateMFAMethodNotFound) Error() string
func (*CreateMFAMethodNotFound) GetPayload ¶
func (o *CreateMFAMethodNotFound) GetPayload() *models.Error
func (*CreateMFAMethodNotFound) IsClientError ¶
func (o *CreateMFAMethodNotFound) IsClientError() bool
IsClientError returns true when this create m f a method not found response has a 4xx status code
func (*CreateMFAMethodNotFound) IsCode ¶
func (o *CreateMFAMethodNotFound) IsCode(code int) bool
IsCode returns true when this create m f a method not found response a status code equal to that given
func (*CreateMFAMethodNotFound) IsRedirect ¶
func (o *CreateMFAMethodNotFound) IsRedirect() bool
IsRedirect returns true when this create m f a method not found response has a 3xx status code
func (*CreateMFAMethodNotFound) IsServerError ¶
func (o *CreateMFAMethodNotFound) IsServerError() bool
IsServerError returns true when this create m f a method not found response has a 5xx status code
func (*CreateMFAMethodNotFound) IsSuccess ¶
func (o *CreateMFAMethodNotFound) IsSuccess() bool
IsSuccess returns true when this create m f a method not found response has a 2xx status code
func (*CreateMFAMethodNotFound) String ¶
func (o *CreateMFAMethodNotFound) String() string
type CreateMFAMethodParams ¶
type CreateMFAMethodParams struct { // MFAMethod. MFAMethod *models.MFAMethod /* IfMatch. A server will only return requested resources if the resource matches one of the listed ETag value Format: etag */ IfMatch *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
CreateMFAMethodParams contains all the parameters to send to the API endpoint
for the create m f a method operation. Typically these are written to a http.Request.
func NewCreateMFAMethodParams ¶
func NewCreateMFAMethodParams() *CreateMFAMethodParams
NewCreateMFAMethodParams creates a new CreateMFAMethodParams 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 NewCreateMFAMethodParamsWithContext ¶
func NewCreateMFAMethodParamsWithContext(ctx context.Context) *CreateMFAMethodParams
NewCreateMFAMethodParamsWithContext creates a new CreateMFAMethodParams object with the ability to set a context for a request.
func NewCreateMFAMethodParamsWithHTTPClient ¶
func NewCreateMFAMethodParamsWithHTTPClient(client *http.Client) *CreateMFAMethodParams
NewCreateMFAMethodParamsWithHTTPClient creates a new CreateMFAMethodParams object with the ability to set a custom HTTPClient for a request.
func NewCreateMFAMethodParamsWithTimeout ¶
func NewCreateMFAMethodParamsWithTimeout(timeout time.Duration) *CreateMFAMethodParams
NewCreateMFAMethodParamsWithTimeout creates a new CreateMFAMethodParams object with the ability to set a timeout on a request.
func (*CreateMFAMethodParams) SetContext ¶
func (o *CreateMFAMethodParams) SetContext(ctx context.Context)
SetContext adds the context to the create m f a method params
func (*CreateMFAMethodParams) SetDefaults ¶
func (o *CreateMFAMethodParams) SetDefaults()
SetDefaults hydrates default values in the create m f a method params (not the query body).
All values with no default are reset to their zero value.
func (*CreateMFAMethodParams) SetHTTPClient ¶
func (o *CreateMFAMethodParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the create m f a method params
func (*CreateMFAMethodParams) SetIfMatch ¶
func (o *CreateMFAMethodParams) SetIfMatch(ifMatch *string)
SetIfMatch adds the ifMatch to the create m f a method params
func (*CreateMFAMethodParams) SetMFAMethod ¶
func (o *CreateMFAMethodParams) SetMFAMethod(mFAMethod *models.MFAMethod)
SetMFAMethod adds the mFAMethod to the create m f a method params
func (*CreateMFAMethodParams) SetTimeout ¶
func (o *CreateMFAMethodParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the create m f a method params
func (*CreateMFAMethodParams) WithContext ¶
func (o *CreateMFAMethodParams) WithContext(ctx context.Context) *CreateMFAMethodParams
WithContext adds the context to the create m f a method params
func (*CreateMFAMethodParams) WithDefaults ¶
func (o *CreateMFAMethodParams) WithDefaults() *CreateMFAMethodParams
WithDefaults hydrates default values in the create m f a method params (not the query body).
All values with no default are reset to their zero value.
func (*CreateMFAMethodParams) WithHTTPClient ¶
func (o *CreateMFAMethodParams) WithHTTPClient(client *http.Client) *CreateMFAMethodParams
WithHTTPClient adds the HTTPClient to the create m f a method params
func (*CreateMFAMethodParams) WithIfMatch ¶
func (o *CreateMFAMethodParams) WithIfMatch(ifMatch *string) *CreateMFAMethodParams
WithIfMatch adds the ifMatch to the create m f a method params
func (*CreateMFAMethodParams) WithMFAMethod ¶
func (o *CreateMFAMethodParams) WithMFAMethod(mFAMethod *models.MFAMethod) *CreateMFAMethodParams
WithMFAMethod adds the mFAMethod to the create m f a method params
func (*CreateMFAMethodParams) WithTimeout ¶
func (o *CreateMFAMethodParams) WithTimeout(timeout time.Duration) *CreateMFAMethodParams
WithTimeout adds the timeout to the create m f a method params
func (*CreateMFAMethodParams) WriteToRequest ¶
func (o *CreateMFAMethodParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type CreateMFAMethodReader ¶
type CreateMFAMethodReader struct {
// contains filtered or unexported fields
}
CreateMFAMethodReader is a Reader for the CreateMFAMethod structure.
func (*CreateMFAMethodReader) ReadResponse ¶
func (o *CreateMFAMethodReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type CreateMFAMethodTooManyRequests ¶
CreateMFAMethodTooManyRequests describes a response with status code 429, with default header values.
Too many requests
func NewCreateMFAMethodTooManyRequests ¶
func NewCreateMFAMethodTooManyRequests() *CreateMFAMethodTooManyRequests
NewCreateMFAMethodTooManyRequests creates a CreateMFAMethodTooManyRequests with default headers values
func (*CreateMFAMethodTooManyRequests) Code ¶
func (o *CreateMFAMethodTooManyRequests) Code() int
Code gets the status code for the create m f a method too many requests response
func (*CreateMFAMethodTooManyRequests) Error ¶
func (o *CreateMFAMethodTooManyRequests) Error() string
func (*CreateMFAMethodTooManyRequests) GetPayload ¶
func (o *CreateMFAMethodTooManyRequests) GetPayload() *models.Error
func (*CreateMFAMethodTooManyRequests) IsClientError ¶
func (o *CreateMFAMethodTooManyRequests) IsClientError() bool
IsClientError returns true when this create m f a method too many requests response has a 4xx status code
func (*CreateMFAMethodTooManyRequests) IsCode ¶
func (o *CreateMFAMethodTooManyRequests) IsCode(code int) bool
IsCode returns true when this create m f a method too many requests response a status code equal to that given
func (*CreateMFAMethodTooManyRequests) IsRedirect ¶
func (o *CreateMFAMethodTooManyRequests) IsRedirect() bool
IsRedirect returns true when this create m f a method too many requests response has a 3xx status code
func (*CreateMFAMethodTooManyRequests) IsServerError ¶
func (o *CreateMFAMethodTooManyRequests) IsServerError() bool
IsServerError returns true when this create m f a method too many requests response has a 5xx status code
func (*CreateMFAMethodTooManyRequests) IsSuccess ¶
func (o *CreateMFAMethodTooManyRequests) IsSuccess() bool
IsSuccess returns true when this create m f a method too many requests response has a 2xx status code
func (*CreateMFAMethodTooManyRequests) String ¶
func (o *CreateMFAMethodTooManyRequests) String() string
type CreateMFAMethodUnauthorized ¶
type CreateMFAMethodUnauthorized struct {
}CreateMFAMethodUnauthorized describes a response with status code 401, with default header values.
Unauthorized
func NewCreateMFAMethodUnauthorized ¶
func NewCreateMFAMethodUnauthorized() *CreateMFAMethodUnauthorized
NewCreateMFAMethodUnauthorized creates a CreateMFAMethodUnauthorized with default headers values
func (*CreateMFAMethodUnauthorized) Code ¶
func (o *CreateMFAMethodUnauthorized) Code() int
Code gets the status code for the create m f a method unauthorized response
func (*CreateMFAMethodUnauthorized) Error ¶
func (o *CreateMFAMethodUnauthorized) Error() string
func (*CreateMFAMethodUnauthorized) GetPayload ¶
func (o *CreateMFAMethodUnauthorized) GetPayload() *models.Error
func (*CreateMFAMethodUnauthorized) IsClientError ¶
func (o *CreateMFAMethodUnauthorized) IsClientError() bool
IsClientError returns true when this create m f a method unauthorized response has a 4xx status code
func (*CreateMFAMethodUnauthorized) IsCode ¶
func (o *CreateMFAMethodUnauthorized) IsCode(code int) bool
IsCode returns true when this create m f a method unauthorized response a status code equal to that given
func (*CreateMFAMethodUnauthorized) IsRedirect ¶
func (o *CreateMFAMethodUnauthorized) IsRedirect() bool
IsRedirect returns true when this create m f a method unauthorized response has a 3xx status code
func (*CreateMFAMethodUnauthorized) IsServerError ¶
func (o *CreateMFAMethodUnauthorized) IsServerError() bool
IsServerError returns true when this create m f a method unauthorized response has a 5xx status code
func (*CreateMFAMethodUnauthorized) IsSuccess ¶
func (o *CreateMFAMethodUnauthorized) IsSuccess() bool
IsSuccess returns true when this create m f a method unauthorized response has a 2xx status code
func (*CreateMFAMethodUnauthorized) String ¶
func (o *CreateMFAMethodUnauthorized) String() string
type CreateMFAMethodUnprocessableEntity ¶
CreateMFAMethodUnprocessableEntity describes a response with status code 422, with default header values.
Unprocessable entity
func NewCreateMFAMethodUnprocessableEntity ¶
func NewCreateMFAMethodUnprocessableEntity() *CreateMFAMethodUnprocessableEntity
NewCreateMFAMethodUnprocessableEntity creates a CreateMFAMethodUnprocessableEntity with default headers values
func (*CreateMFAMethodUnprocessableEntity) Code ¶
func (o *CreateMFAMethodUnprocessableEntity) Code() int
Code gets the status code for the create m f a method unprocessable entity response
func (*CreateMFAMethodUnprocessableEntity) Error ¶
func (o *CreateMFAMethodUnprocessableEntity) Error() string
func (*CreateMFAMethodUnprocessableEntity) GetPayload ¶
func (o *CreateMFAMethodUnprocessableEntity) GetPayload() *models.Error
func (*CreateMFAMethodUnprocessableEntity) IsClientError ¶
func (o *CreateMFAMethodUnprocessableEntity) IsClientError() bool
IsClientError returns true when this create m f a method unprocessable entity response has a 4xx status code
func (*CreateMFAMethodUnprocessableEntity) IsCode ¶
func (o *CreateMFAMethodUnprocessableEntity) IsCode(code int) bool
IsCode returns true when this create m f a method unprocessable entity response a status code equal to that given
func (*CreateMFAMethodUnprocessableEntity) IsRedirect ¶
func (o *CreateMFAMethodUnprocessableEntity) IsRedirect() bool
IsRedirect returns true when this create m f a method unprocessable entity response has a 3xx status code
func (*CreateMFAMethodUnprocessableEntity) IsServerError ¶
func (o *CreateMFAMethodUnprocessableEntity) IsServerError() bool
IsServerError returns true when this create m f a method unprocessable entity response has a 5xx status code
func (*CreateMFAMethodUnprocessableEntity) IsSuccess ¶
func (o *CreateMFAMethodUnprocessableEntity) IsSuccess() bool
IsSuccess returns true when this create m f a method unprocessable entity response has a 2xx status code
func (*CreateMFAMethodUnprocessableEntity) String ¶
func (o *CreateMFAMethodUnprocessableEntity) String() string
type DeleteMFAMethodForbidden ¶
DeleteMFAMethodForbidden describes a response with status code 403, with default header values.
Forbidden
func NewDeleteMFAMethodForbidden ¶
func NewDeleteMFAMethodForbidden() *DeleteMFAMethodForbidden
NewDeleteMFAMethodForbidden creates a DeleteMFAMethodForbidden with default headers values
func (*DeleteMFAMethodForbidden) Code ¶
func (o *DeleteMFAMethodForbidden) Code() int
Code gets the status code for the delete m f a method forbidden response
func (*DeleteMFAMethodForbidden) Error ¶
func (o *DeleteMFAMethodForbidden) Error() string
func (*DeleteMFAMethodForbidden) GetPayload ¶
func (o *DeleteMFAMethodForbidden) GetPayload() *models.Error
func (*DeleteMFAMethodForbidden) IsClientError ¶
func (o *DeleteMFAMethodForbidden) IsClientError() bool
IsClientError returns true when this delete m f a method forbidden response has a 4xx status code
func (*DeleteMFAMethodForbidden) IsCode ¶
func (o *DeleteMFAMethodForbidden) IsCode(code int) bool
IsCode returns true when this delete m f a method forbidden response a status code equal to that given
func (*DeleteMFAMethodForbidden) IsRedirect ¶
func (o *DeleteMFAMethodForbidden) IsRedirect() bool
IsRedirect returns true when this delete m f a method forbidden response has a 3xx status code
func (*DeleteMFAMethodForbidden) IsServerError ¶
func (o *DeleteMFAMethodForbidden) IsServerError() bool
IsServerError returns true when this delete m f a method forbidden response has a 5xx status code
func (*DeleteMFAMethodForbidden) IsSuccess ¶
func (o *DeleteMFAMethodForbidden) IsSuccess() bool
IsSuccess returns true when this delete m f a method forbidden response has a 2xx status code
func (*DeleteMFAMethodForbidden) String ¶
func (o *DeleteMFAMethodForbidden) String() string
type DeleteMFAMethodNoContent ¶
type DeleteMFAMethodNoContent struct { }
DeleteMFAMethodNoContent describes a response with status code 204, with default header values.
MFA method has been deleted
func NewDeleteMFAMethodNoContent ¶
func NewDeleteMFAMethodNoContent() *DeleteMFAMethodNoContent
NewDeleteMFAMethodNoContent creates a DeleteMFAMethodNoContent with default headers values
func (*DeleteMFAMethodNoContent) Code ¶
func (o *DeleteMFAMethodNoContent) Code() int
Code gets the status code for the delete m f a method no content response
func (*DeleteMFAMethodNoContent) Error ¶
func (o *DeleteMFAMethodNoContent) Error() string
func (*DeleteMFAMethodNoContent) IsClientError ¶
func (o *DeleteMFAMethodNoContent) IsClientError() bool
IsClientError returns true when this delete m f a method no content response has a 4xx status code
func (*DeleteMFAMethodNoContent) IsCode ¶
func (o *DeleteMFAMethodNoContent) IsCode(code int) bool
IsCode returns true when this delete m f a method no content response a status code equal to that given
func (*DeleteMFAMethodNoContent) IsRedirect ¶
func (o *DeleteMFAMethodNoContent) IsRedirect() bool
IsRedirect returns true when this delete m f a method no content response has a 3xx status code
func (*DeleteMFAMethodNoContent) IsServerError ¶
func (o *DeleteMFAMethodNoContent) IsServerError() bool
IsServerError returns true when this delete m f a method no content response has a 5xx status code
func (*DeleteMFAMethodNoContent) IsSuccess ¶
func (o *DeleteMFAMethodNoContent) IsSuccess() bool
IsSuccess returns true when this delete m f a method no content response has a 2xx status code
func (*DeleteMFAMethodNoContent) String ¶
func (o *DeleteMFAMethodNoContent) String() string
type DeleteMFAMethodNotFound ¶
DeleteMFAMethodNotFound describes a response with status code 404, with default header values.
Not found
func NewDeleteMFAMethodNotFound ¶
func NewDeleteMFAMethodNotFound() *DeleteMFAMethodNotFound
NewDeleteMFAMethodNotFound creates a DeleteMFAMethodNotFound with default headers values
func (*DeleteMFAMethodNotFound) Code ¶
func (o *DeleteMFAMethodNotFound) Code() int
Code gets the status code for the delete m f a method not found response
func (*DeleteMFAMethodNotFound) Error ¶
func (o *DeleteMFAMethodNotFound) Error() string
func (*DeleteMFAMethodNotFound) GetPayload ¶
func (o *DeleteMFAMethodNotFound) GetPayload() *models.Error
func (*DeleteMFAMethodNotFound) IsClientError ¶
func (o *DeleteMFAMethodNotFound) IsClientError() bool
IsClientError returns true when this delete m f a method not found response has a 4xx status code
func (*DeleteMFAMethodNotFound) IsCode ¶
func (o *DeleteMFAMethodNotFound) IsCode(code int) bool
IsCode returns true when this delete m f a method not found response a status code equal to that given
func (*DeleteMFAMethodNotFound) IsRedirect ¶
func (o *DeleteMFAMethodNotFound) IsRedirect() bool
IsRedirect returns true when this delete m f a method not found response has a 3xx status code
func (*DeleteMFAMethodNotFound) IsServerError ¶
func (o *DeleteMFAMethodNotFound) IsServerError() bool
IsServerError returns true when this delete m f a method not found response has a 5xx status code
func (*DeleteMFAMethodNotFound) IsSuccess ¶
func (o *DeleteMFAMethodNotFound) IsSuccess() bool
IsSuccess returns true when this delete m f a method not found response has a 2xx status code
func (*DeleteMFAMethodNotFound) String ¶
func (o *DeleteMFAMethodNotFound) String() string
type DeleteMFAMethodParams ¶
type DeleteMFAMethodParams struct { /* IfMatch. A server will only return requested resources if the resource matches one of the listed ETag value Format: etag */ IfMatch *string // MfaID. MfaID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
DeleteMFAMethodParams contains all the parameters to send to the API endpoint
for the delete m f a method operation. Typically these are written to a http.Request.
func NewDeleteMFAMethodParams ¶
func NewDeleteMFAMethodParams() *DeleteMFAMethodParams
NewDeleteMFAMethodParams creates a new DeleteMFAMethodParams 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 NewDeleteMFAMethodParamsWithContext ¶
func NewDeleteMFAMethodParamsWithContext(ctx context.Context) *DeleteMFAMethodParams
NewDeleteMFAMethodParamsWithContext creates a new DeleteMFAMethodParams object with the ability to set a context for a request.
func NewDeleteMFAMethodParamsWithHTTPClient ¶
func NewDeleteMFAMethodParamsWithHTTPClient(client *http.Client) *DeleteMFAMethodParams
NewDeleteMFAMethodParamsWithHTTPClient creates a new DeleteMFAMethodParams object with the ability to set a custom HTTPClient for a request.
func NewDeleteMFAMethodParamsWithTimeout ¶
func NewDeleteMFAMethodParamsWithTimeout(timeout time.Duration) *DeleteMFAMethodParams
NewDeleteMFAMethodParamsWithTimeout creates a new DeleteMFAMethodParams object with the ability to set a timeout on a request.
func (*DeleteMFAMethodParams) SetContext ¶
func (o *DeleteMFAMethodParams) SetContext(ctx context.Context)
SetContext adds the context to the delete m f a method params
func (*DeleteMFAMethodParams) SetDefaults ¶
func (o *DeleteMFAMethodParams) SetDefaults()
SetDefaults hydrates default values in the delete m f a method params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteMFAMethodParams) SetHTTPClient ¶
func (o *DeleteMFAMethodParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the delete m f a method params
func (*DeleteMFAMethodParams) SetIfMatch ¶
func (o *DeleteMFAMethodParams) SetIfMatch(ifMatch *string)
SetIfMatch adds the ifMatch to the delete m f a method params
func (*DeleteMFAMethodParams) SetMfaID ¶
func (o *DeleteMFAMethodParams) SetMfaID(mfaID string)
SetMfaID adds the mfaId to the delete m f a method params
func (*DeleteMFAMethodParams) SetTimeout ¶
func (o *DeleteMFAMethodParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the delete m f a method params
func (*DeleteMFAMethodParams) WithContext ¶
func (o *DeleteMFAMethodParams) WithContext(ctx context.Context) *DeleteMFAMethodParams
WithContext adds the context to the delete m f a method params
func (*DeleteMFAMethodParams) WithDefaults ¶
func (o *DeleteMFAMethodParams) WithDefaults() *DeleteMFAMethodParams
WithDefaults hydrates default values in the delete m f a method params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteMFAMethodParams) WithHTTPClient ¶
func (o *DeleteMFAMethodParams) WithHTTPClient(client *http.Client) *DeleteMFAMethodParams
WithHTTPClient adds the HTTPClient to the delete m f a method params
func (*DeleteMFAMethodParams) WithIfMatch ¶
func (o *DeleteMFAMethodParams) WithIfMatch(ifMatch *string) *DeleteMFAMethodParams
WithIfMatch adds the ifMatch to the delete m f a method params
func (*DeleteMFAMethodParams) WithMfaID ¶
func (o *DeleteMFAMethodParams) WithMfaID(mfaID string) *DeleteMFAMethodParams
WithMfaID adds the mfaID to the delete m f a method params
func (*DeleteMFAMethodParams) WithTimeout ¶
func (o *DeleteMFAMethodParams) WithTimeout(timeout time.Duration) *DeleteMFAMethodParams
WithTimeout adds the timeout to the delete m f a method params
func (*DeleteMFAMethodParams) WriteToRequest ¶
func (o *DeleteMFAMethodParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DeleteMFAMethodReader ¶
type DeleteMFAMethodReader struct {
// contains filtered or unexported fields
}
DeleteMFAMethodReader is a Reader for the DeleteMFAMethod structure.
func (*DeleteMFAMethodReader) ReadResponse ¶
func (o *DeleteMFAMethodReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type DeleteMFAMethodTooManyRequests ¶
DeleteMFAMethodTooManyRequests describes a response with status code 429, with default header values.
Too many requests
func NewDeleteMFAMethodTooManyRequests ¶
func NewDeleteMFAMethodTooManyRequests() *DeleteMFAMethodTooManyRequests
NewDeleteMFAMethodTooManyRequests creates a DeleteMFAMethodTooManyRequests with default headers values
func (*DeleteMFAMethodTooManyRequests) Code ¶
func (o *DeleteMFAMethodTooManyRequests) Code() int
Code gets the status code for the delete m f a method too many requests response
func (*DeleteMFAMethodTooManyRequests) Error ¶
func (o *DeleteMFAMethodTooManyRequests) Error() string
func (*DeleteMFAMethodTooManyRequests) GetPayload ¶
func (o *DeleteMFAMethodTooManyRequests) GetPayload() *models.Error
func (*DeleteMFAMethodTooManyRequests) IsClientError ¶
func (o *DeleteMFAMethodTooManyRequests) IsClientError() bool
IsClientError returns true when this delete m f a method too many requests response has a 4xx status code
func (*DeleteMFAMethodTooManyRequests) IsCode ¶
func (o *DeleteMFAMethodTooManyRequests) IsCode(code int) bool
IsCode returns true when this delete m f a method too many requests response a status code equal to that given
func (*DeleteMFAMethodTooManyRequests) IsRedirect ¶
func (o *DeleteMFAMethodTooManyRequests) IsRedirect() bool
IsRedirect returns true when this delete m f a method too many requests response has a 3xx status code
func (*DeleteMFAMethodTooManyRequests) IsServerError ¶
func (o *DeleteMFAMethodTooManyRequests) IsServerError() bool
IsServerError returns true when this delete m f a method too many requests response has a 5xx status code
func (*DeleteMFAMethodTooManyRequests) IsSuccess ¶
func (o *DeleteMFAMethodTooManyRequests) IsSuccess() bool
IsSuccess returns true when this delete m f a method too many requests response has a 2xx status code
func (*DeleteMFAMethodTooManyRequests) String ¶
func (o *DeleteMFAMethodTooManyRequests) String() string
type DeleteMFAMethodUnauthorized ¶
type DeleteMFAMethodUnauthorized struct {
}DeleteMFAMethodUnauthorized describes a response with status code 401, with default header values.
Unauthorized
func NewDeleteMFAMethodUnauthorized ¶
func NewDeleteMFAMethodUnauthorized() *DeleteMFAMethodUnauthorized
NewDeleteMFAMethodUnauthorized creates a DeleteMFAMethodUnauthorized with default headers values
func (*DeleteMFAMethodUnauthorized) Code ¶
func (o *DeleteMFAMethodUnauthorized) Code() int
Code gets the status code for the delete m f a method unauthorized response
func (*DeleteMFAMethodUnauthorized) Error ¶
func (o *DeleteMFAMethodUnauthorized) Error() string
func (*DeleteMFAMethodUnauthorized) GetPayload ¶
func (o *DeleteMFAMethodUnauthorized) GetPayload() *models.Error
func (*DeleteMFAMethodUnauthorized) IsClientError ¶
func (o *DeleteMFAMethodUnauthorized) IsClientError() bool
IsClientError returns true when this delete m f a method unauthorized response has a 4xx status code
func (*DeleteMFAMethodUnauthorized) IsCode ¶
func (o *DeleteMFAMethodUnauthorized) IsCode(code int) bool
IsCode returns true when this delete m f a method unauthorized response a status code equal to that given
func (*DeleteMFAMethodUnauthorized) IsRedirect ¶
func (o *DeleteMFAMethodUnauthorized) IsRedirect() bool
IsRedirect returns true when this delete m f a method unauthorized response has a 3xx status code
func (*DeleteMFAMethodUnauthorized) IsServerError ¶
func (o *DeleteMFAMethodUnauthorized) IsServerError() bool
IsServerError returns true when this delete m f a method unauthorized response has a 5xx status code
func (*DeleteMFAMethodUnauthorized) IsSuccess ¶
func (o *DeleteMFAMethodUnauthorized) IsSuccess() bool
IsSuccess returns true when this delete m f a method unauthorized response has a 2xx status code
func (*DeleteMFAMethodUnauthorized) String ¶
func (o *DeleteMFAMethodUnauthorized) String() string
type GetMFAMethodForbidden ¶
GetMFAMethodForbidden describes a response with status code 403, with default header values.
Forbidden
func NewGetMFAMethodForbidden ¶
func NewGetMFAMethodForbidden() *GetMFAMethodForbidden
NewGetMFAMethodForbidden creates a GetMFAMethodForbidden with default headers values
func (*GetMFAMethodForbidden) Code ¶
func (o *GetMFAMethodForbidden) Code() int
Code gets the status code for the get m f a method forbidden response
func (*GetMFAMethodForbidden) Error ¶
func (o *GetMFAMethodForbidden) Error() string
func (*GetMFAMethodForbidden) GetPayload ¶
func (o *GetMFAMethodForbidden) GetPayload() *models.Error
func (*GetMFAMethodForbidden) IsClientError ¶
func (o *GetMFAMethodForbidden) IsClientError() bool
IsClientError returns true when this get m f a method forbidden response has a 4xx status code
func (*GetMFAMethodForbidden) IsCode ¶
func (o *GetMFAMethodForbidden) IsCode(code int) bool
IsCode returns true when this get m f a method forbidden response a status code equal to that given
func (*GetMFAMethodForbidden) IsRedirect ¶
func (o *GetMFAMethodForbidden) IsRedirect() bool
IsRedirect returns true when this get m f a method forbidden response has a 3xx status code
func (*GetMFAMethodForbidden) IsServerError ¶
func (o *GetMFAMethodForbidden) IsServerError() bool
IsServerError returns true when this get m f a method forbidden response has a 5xx status code
func (*GetMFAMethodForbidden) IsSuccess ¶
func (o *GetMFAMethodForbidden) IsSuccess() bool
IsSuccess returns true when this get m f a method forbidden response has a 2xx status code
func (*GetMFAMethodForbidden) String ¶
func (o *GetMFAMethodForbidden) String() string
type GetMFAMethodNotFound ¶
GetMFAMethodNotFound describes a response with status code 404, with default header values.
Not found
func NewGetMFAMethodNotFound ¶
func NewGetMFAMethodNotFound() *GetMFAMethodNotFound
NewGetMFAMethodNotFound creates a GetMFAMethodNotFound with default headers values
func (*GetMFAMethodNotFound) Code ¶
func (o *GetMFAMethodNotFound) Code() int
Code gets the status code for the get m f a method not found response
func (*GetMFAMethodNotFound) Error ¶
func (o *GetMFAMethodNotFound) Error() string
func (*GetMFAMethodNotFound) GetPayload ¶
func (o *GetMFAMethodNotFound) GetPayload() *models.Error
func (*GetMFAMethodNotFound) IsClientError ¶
func (o *GetMFAMethodNotFound) IsClientError() bool
IsClientError returns true when this get m f a method not found response has a 4xx status code
func (*GetMFAMethodNotFound) IsCode ¶
func (o *GetMFAMethodNotFound) IsCode(code int) bool
IsCode returns true when this get m f a method not found response a status code equal to that given
func (*GetMFAMethodNotFound) IsRedirect ¶
func (o *GetMFAMethodNotFound) IsRedirect() bool
IsRedirect returns true when this get m f a method not found response has a 3xx status code
func (*GetMFAMethodNotFound) IsServerError ¶
func (o *GetMFAMethodNotFound) IsServerError() bool
IsServerError returns true when this get m f a method not found response has a 5xx status code
func (*GetMFAMethodNotFound) IsSuccess ¶
func (o *GetMFAMethodNotFound) IsSuccess() bool
IsSuccess returns true when this get m f a method not found response has a 2xx status code
func (*GetMFAMethodNotFound) String ¶
func (o *GetMFAMethodNotFound) String() string
type GetMFAMethodOK ¶
type GetMFAMethodOK struct { /* The ETag HTTP header is an identifier for a specific version of a resource in:header Format: etag */ Etag string Payload *models.MFAMethodResponse }
GetMFAMethodOK describes a response with status code 200, with default header values.
MFA method
func NewGetMFAMethodOK ¶
func NewGetMFAMethodOK() *GetMFAMethodOK
NewGetMFAMethodOK creates a GetMFAMethodOK with default headers values
func (*GetMFAMethodOK) Code ¶
func (o *GetMFAMethodOK) Code() int
Code gets the status code for the get m f a method o k response
func (*GetMFAMethodOK) Error ¶
func (o *GetMFAMethodOK) Error() string
func (*GetMFAMethodOK) GetPayload ¶
func (o *GetMFAMethodOK) GetPayload() *models.MFAMethodResponse
func (*GetMFAMethodOK) IsClientError ¶
func (o *GetMFAMethodOK) IsClientError() bool
IsClientError returns true when this get m f a method o k response has a 4xx status code
func (*GetMFAMethodOK) IsCode ¶
func (o *GetMFAMethodOK) IsCode(code int) bool
IsCode returns true when this get m f a method o k response a status code equal to that given
func (*GetMFAMethodOK) IsRedirect ¶
func (o *GetMFAMethodOK) IsRedirect() bool
IsRedirect returns true when this get m f a method o k response has a 3xx status code
func (*GetMFAMethodOK) IsServerError ¶
func (o *GetMFAMethodOK) IsServerError() bool
IsServerError returns true when this get m f a method o k response has a 5xx status code
func (*GetMFAMethodOK) IsSuccess ¶
func (o *GetMFAMethodOK) IsSuccess() bool
IsSuccess returns true when this get m f a method o k response has a 2xx status code
func (*GetMFAMethodOK) String ¶
func (o *GetMFAMethodOK) String() string
type GetMFAMethodParams ¶
type GetMFAMethodParams struct { /* IfMatch. A server will only return requested resources if the resource matches one of the listed ETag value Format: etag */ IfMatch *string // MfaID. MfaID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetMFAMethodParams contains all the parameters to send to the API endpoint
for the get m f a method operation. Typically these are written to a http.Request.
func NewGetMFAMethodParams ¶
func NewGetMFAMethodParams() *GetMFAMethodParams
NewGetMFAMethodParams creates a new GetMFAMethodParams 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 NewGetMFAMethodParamsWithContext ¶
func NewGetMFAMethodParamsWithContext(ctx context.Context) *GetMFAMethodParams
NewGetMFAMethodParamsWithContext creates a new GetMFAMethodParams object with the ability to set a context for a request.
func NewGetMFAMethodParamsWithHTTPClient ¶
func NewGetMFAMethodParamsWithHTTPClient(client *http.Client) *GetMFAMethodParams
NewGetMFAMethodParamsWithHTTPClient creates a new GetMFAMethodParams object with the ability to set a custom HTTPClient for a request.
func NewGetMFAMethodParamsWithTimeout ¶
func NewGetMFAMethodParamsWithTimeout(timeout time.Duration) *GetMFAMethodParams
NewGetMFAMethodParamsWithTimeout creates a new GetMFAMethodParams object with the ability to set a timeout on a request.
func (*GetMFAMethodParams) SetContext ¶
func (o *GetMFAMethodParams) SetContext(ctx context.Context)
SetContext adds the context to the get m f a method params
func (*GetMFAMethodParams) SetDefaults ¶
func (o *GetMFAMethodParams) SetDefaults()
SetDefaults hydrates default values in the get m f a method params (not the query body).
All values with no default are reset to their zero value.
func (*GetMFAMethodParams) SetHTTPClient ¶
func (o *GetMFAMethodParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get m f a method params
func (*GetMFAMethodParams) SetIfMatch ¶
func (o *GetMFAMethodParams) SetIfMatch(ifMatch *string)
SetIfMatch adds the ifMatch to the get m f a method params
func (*GetMFAMethodParams) SetMfaID ¶
func (o *GetMFAMethodParams) SetMfaID(mfaID string)
SetMfaID adds the mfaId to the get m f a method params
func (*GetMFAMethodParams) SetTimeout ¶
func (o *GetMFAMethodParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get m f a method params
func (*GetMFAMethodParams) WithContext ¶
func (o *GetMFAMethodParams) WithContext(ctx context.Context) *GetMFAMethodParams
WithContext adds the context to the get m f a method params
func (*GetMFAMethodParams) WithDefaults ¶
func (o *GetMFAMethodParams) WithDefaults() *GetMFAMethodParams
WithDefaults hydrates default values in the get m f a method params (not the query body).
All values with no default are reset to their zero value.
func (*GetMFAMethodParams) WithHTTPClient ¶
func (o *GetMFAMethodParams) WithHTTPClient(client *http.Client) *GetMFAMethodParams
WithHTTPClient adds the HTTPClient to the get m f a method params
func (*GetMFAMethodParams) WithIfMatch ¶
func (o *GetMFAMethodParams) WithIfMatch(ifMatch *string) *GetMFAMethodParams
WithIfMatch adds the ifMatch to the get m f a method params
func (*GetMFAMethodParams) WithMfaID ¶
func (o *GetMFAMethodParams) WithMfaID(mfaID string) *GetMFAMethodParams
WithMfaID adds the mfaID to the get m f a method params
func (*GetMFAMethodParams) WithTimeout ¶
func (o *GetMFAMethodParams) WithTimeout(timeout time.Duration) *GetMFAMethodParams
WithTimeout adds the timeout to the get m f a method params
func (*GetMFAMethodParams) WriteToRequest ¶
func (o *GetMFAMethodParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetMFAMethodReader ¶
type GetMFAMethodReader struct {
// contains filtered or unexported fields
}
GetMFAMethodReader is a Reader for the GetMFAMethod structure.
func (*GetMFAMethodReader) ReadResponse ¶
func (o *GetMFAMethodReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetMFAMethodTooManyRequests ¶
GetMFAMethodTooManyRequests describes a response with status code 429, with default header values.
Too many requests
func NewGetMFAMethodTooManyRequests ¶
func NewGetMFAMethodTooManyRequests() *GetMFAMethodTooManyRequests
NewGetMFAMethodTooManyRequests creates a GetMFAMethodTooManyRequests with default headers values
func (*GetMFAMethodTooManyRequests) Code ¶
func (o *GetMFAMethodTooManyRequests) Code() int
Code gets the status code for the get m f a method too many requests response
func (*GetMFAMethodTooManyRequests) Error ¶
func (o *GetMFAMethodTooManyRequests) Error() string
func (*GetMFAMethodTooManyRequests) GetPayload ¶
func (o *GetMFAMethodTooManyRequests) GetPayload() *models.Error
func (*GetMFAMethodTooManyRequests) IsClientError ¶
func (o *GetMFAMethodTooManyRequests) IsClientError() bool
IsClientError returns true when this get m f a method too many requests response has a 4xx status code
func (*GetMFAMethodTooManyRequests) IsCode ¶
func (o *GetMFAMethodTooManyRequests) IsCode(code int) bool
IsCode returns true when this get m f a method too many requests response a status code equal to that given
func (*GetMFAMethodTooManyRequests) IsRedirect ¶
func (o *GetMFAMethodTooManyRequests) IsRedirect() bool
IsRedirect returns true when this get m f a method too many requests response has a 3xx status code
func (*GetMFAMethodTooManyRequests) IsServerError ¶
func (o *GetMFAMethodTooManyRequests) IsServerError() bool
IsServerError returns true when this get m f a method too many requests response has a 5xx status code
func (*GetMFAMethodTooManyRequests) IsSuccess ¶
func (o *GetMFAMethodTooManyRequests) IsSuccess() bool
IsSuccess returns true when this get m f a method too many requests response has a 2xx status code
func (*GetMFAMethodTooManyRequests) String ¶
func (o *GetMFAMethodTooManyRequests) String() string
type GetMFAMethodUnauthorized ¶
type GetMFAMethodUnauthorized struct {
}GetMFAMethodUnauthorized describes a response with status code 401, with default header values.
Unauthorized
func NewGetMFAMethodUnauthorized ¶
func NewGetMFAMethodUnauthorized() *GetMFAMethodUnauthorized
NewGetMFAMethodUnauthorized creates a GetMFAMethodUnauthorized with default headers values
func (*GetMFAMethodUnauthorized) Code ¶
func (o *GetMFAMethodUnauthorized) Code() int
Code gets the status code for the get m f a method unauthorized response
func (*GetMFAMethodUnauthorized) Error ¶
func (o *GetMFAMethodUnauthorized) Error() string
func (*GetMFAMethodUnauthorized) GetPayload ¶
func (o *GetMFAMethodUnauthorized) GetPayload() *models.Error
func (*GetMFAMethodUnauthorized) IsClientError ¶
func (o *GetMFAMethodUnauthorized) IsClientError() bool
IsClientError returns true when this get m f a method unauthorized response has a 4xx status code
func (*GetMFAMethodUnauthorized) IsCode ¶
func (o *GetMFAMethodUnauthorized) IsCode(code int) bool
IsCode returns true when this get m f a method unauthorized response a status code equal to that given
func (*GetMFAMethodUnauthorized) IsRedirect ¶
func (o *GetMFAMethodUnauthorized) IsRedirect() bool
IsRedirect returns true when this get m f a method unauthorized response has a 3xx status code
func (*GetMFAMethodUnauthorized) IsServerError ¶
func (o *GetMFAMethodUnauthorized) IsServerError() bool
IsServerError returns true when this get m f a method unauthorized response has a 5xx status code
func (*GetMFAMethodUnauthorized) IsSuccess ¶
func (o *GetMFAMethodUnauthorized) IsSuccess() bool
IsSuccess returns true when this get m f a method unauthorized response has a 2xx status code
func (*GetMFAMethodUnauthorized) String ¶
func (o *GetMFAMethodUnauthorized) String() string
type ListMFAMethodsForbidden ¶
ListMFAMethodsForbidden describes a response with status code 403, with default header values.
Forbidden
func NewListMFAMethodsForbidden ¶
func NewListMFAMethodsForbidden() *ListMFAMethodsForbidden
NewListMFAMethodsForbidden creates a ListMFAMethodsForbidden with default headers values
func (*ListMFAMethodsForbidden) Code ¶
func (o *ListMFAMethodsForbidden) Code() int
Code gets the status code for the list m f a methods forbidden response
func (*ListMFAMethodsForbidden) Error ¶
func (o *ListMFAMethodsForbidden) Error() string
func (*ListMFAMethodsForbidden) GetPayload ¶
func (o *ListMFAMethodsForbidden) GetPayload() *models.Error
func (*ListMFAMethodsForbidden) IsClientError ¶
func (o *ListMFAMethodsForbidden) IsClientError() bool
IsClientError returns true when this list m f a methods forbidden response has a 4xx status code
func (*ListMFAMethodsForbidden) IsCode ¶
func (o *ListMFAMethodsForbidden) IsCode(code int) bool
IsCode returns true when this list m f a methods forbidden response a status code equal to that given
func (*ListMFAMethodsForbidden) IsRedirect ¶
func (o *ListMFAMethodsForbidden) IsRedirect() bool
IsRedirect returns true when this list m f a methods forbidden response has a 3xx status code
func (*ListMFAMethodsForbidden) IsServerError ¶
func (o *ListMFAMethodsForbidden) IsServerError() bool
IsServerError returns true when this list m f a methods forbidden response has a 5xx status code
func (*ListMFAMethodsForbidden) IsSuccess ¶
func (o *ListMFAMethodsForbidden) IsSuccess() bool
IsSuccess returns true when this list m f a methods forbidden response has a 2xx status code
func (*ListMFAMethodsForbidden) String ¶
func (o *ListMFAMethodsForbidden) String() string
type ListMFAMethodsOK ¶
type ListMFAMethodsOK struct { /* The ETag HTTP header is an identifier for a specific version of a resource in:header Format: etag */ Etag string Payload *models.MFAMethods }
ListMFAMethodsOK describes a response with status code 200, with default header values.
MFA methods
func NewListMFAMethodsOK ¶
func NewListMFAMethodsOK() *ListMFAMethodsOK
NewListMFAMethodsOK creates a ListMFAMethodsOK with default headers values
func (*ListMFAMethodsOK) Code ¶
func (o *ListMFAMethodsOK) Code() int
Code gets the status code for the list m f a methods o k response
func (*ListMFAMethodsOK) Error ¶
func (o *ListMFAMethodsOK) Error() string
func (*ListMFAMethodsOK) GetPayload ¶
func (o *ListMFAMethodsOK) GetPayload() *models.MFAMethods
func (*ListMFAMethodsOK) IsClientError ¶
func (o *ListMFAMethodsOK) IsClientError() bool
IsClientError returns true when this list m f a methods o k response has a 4xx status code
func (*ListMFAMethodsOK) IsCode ¶
func (o *ListMFAMethodsOK) IsCode(code int) bool
IsCode returns true when this list m f a methods o k response a status code equal to that given
func (*ListMFAMethodsOK) IsRedirect ¶
func (o *ListMFAMethodsOK) IsRedirect() bool
IsRedirect returns true when this list m f a methods o k response has a 3xx status code
func (*ListMFAMethodsOK) IsServerError ¶
func (o *ListMFAMethodsOK) IsServerError() bool
IsServerError returns true when this list m f a methods o k response has a 5xx status code
func (*ListMFAMethodsOK) IsSuccess ¶
func (o *ListMFAMethodsOK) IsSuccess() bool
IsSuccess returns true when this list m f a methods o k response has a 2xx status code
func (*ListMFAMethodsOK) String ¶
func (o *ListMFAMethodsOK) String() string
type ListMFAMethodsParams ¶
type ListMFAMethodsParams struct { /* IfMatch. A server will only return requested resources if the resource matches one of the listed ETag value Format: etag */ IfMatch *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ListMFAMethodsParams contains all the parameters to send to the API endpoint
for the list m f a methods operation. Typically these are written to a http.Request.
func NewListMFAMethodsParams ¶
func NewListMFAMethodsParams() *ListMFAMethodsParams
NewListMFAMethodsParams creates a new ListMFAMethodsParams 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 NewListMFAMethodsParamsWithContext ¶
func NewListMFAMethodsParamsWithContext(ctx context.Context) *ListMFAMethodsParams
NewListMFAMethodsParamsWithContext creates a new ListMFAMethodsParams object with the ability to set a context for a request.
func NewListMFAMethodsParamsWithHTTPClient ¶
func NewListMFAMethodsParamsWithHTTPClient(client *http.Client) *ListMFAMethodsParams
NewListMFAMethodsParamsWithHTTPClient creates a new ListMFAMethodsParams object with the ability to set a custom HTTPClient for a request.
func NewListMFAMethodsParamsWithTimeout ¶
func NewListMFAMethodsParamsWithTimeout(timeout time.Duration) *ListMFAMethodsParams
NewListMFAMethodsParamsWithTimeout creates a new ListMFAMethodsParams object with the ability to set a timeout on a request.
func (*ListMFAMethodsParams) SetContext ¶
func (o *ListMFAMethodsParams) SetContext(ctx context.Context)
SetContext adds the context to the list m f a methods params
func (*ListMFAMethodsParams) SetDefaults ¶
func (o *ListMFAMethodsParams) SetDefaults()
SetDefaults hydrates default values in the list m f a methods params (not the query body).
All values with no default are reset to their zero value.
func (*ListMFAMethodsParams) SetHTTPClient ¶
func (o *ListMFAMethodsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the list m f a methods params
func (*ListMFAMethodsParams) SetIfMatch ¶
func (o *ListMFAMethodsParams) SetIfMatch(ifMatch *string)
SetIfMatch adds the ifMatch to the list m f a methods params
func (*ListMFAMethodsParams) SetTimeout ¶
func (o *ListMFAMethodsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the list m f a methods params
func (*ListMFAMethodsParams) WithContext ¶
func (o *ListMFAMethodsParams) WithContext(ctx context.Context) *ListMFAMethodsParams
WithContext adds the context to the list m f a methods params
func (*ListMFAMethodsParams) WithDefaults ¶
func (o *ListMFAMethodsParams) WithDefaults() *ListMFAMethodsParams
WithDefaults hydrates default values in the list m f a methods params (not the query body).
All values with no default are reset to their zero value.
func (*ListMFAMethodsParams) WithHTTPClient ¶
func (o *ListMFAMethodsParams) WithHTTPClient(client *http.Client) *ListMFAMethodsParams
WithHTTPClient adds the HTTPClient to the list m f a methods params
func (*ListMFAMethodsParams) WithIfMatch ¶
func (o *ListMFAMethodsParams) WithIfMatch(ifMatch *string) *ListMFAMethodsParams
WithIfMatch adds the ifMatch to the list m f a methods params
func (*ListMFAMethodsParams) WithTimeout ¶
func (o *ListMFAMethodsParams) WithTimeout(timeout time.Duration) *ListMFAMethodsParams
WithTimeout adds the timeout to the list m f a methods params
func (*ListMFAMethodsParams) WriteToRequest ¶
func (o *ListMFAMethodsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ListMFAMethodsReader ¶
type ListMFAMethodsReader struct {
// contains filtered or unexported fields
}
ListMFAMethodsReader is a Reader for the ListMFAMethods structure.
func (*ListMFAMethodsReader) ReadResponse ¶
func (o *ListMFAMethodsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ListMFAMethodsTooManyRequests ¶
ListMFAMethodsTooManyRequests describes a response with status code 429, with default header values.
Too many requests
func NewListMFAMethodsTooManyRequests ¶
func NewListMFAMethodsTooManyRequests() *ListMFAMethodsTooManyRequests
NewListMFAMethodsTooManyRequests creates a ListMFAMethodsTooManyRequests with default headers values
func (*ListMFAMethodsTooManyRequests) Code ¶
func (o *ListMFAMethodsTooManyRequests) Code() int
Code gets the status code for the list m f a methods too many requests response
func (*ListMFAMethodsTooManyRequests) Error ¶
func (o *ListMFAMethodsTooManyRequests) Error() string
func (*ListMFAMethodsTooManyRequests) GetPayload ¶
func (o *ListMFAMethodsTooManyRequests) GetPayload() *models.Error
func (*ListMFAMethodsTooManyRequests) IsClientError ¶
func (o *ListMFAMethodsTooManyRequests) IsClientError() bool
IsClientError returns true when this list m f a methods too many requests response has a 4xx status code
func (*ListMFAMethodsTooManyRequests) IsCode ¶
func (o *ListMFAMethodsTooManyRequests) IsCode(code int) bool
IsCode returns true when this list m f a methods too many requests response a status code equal to that given
func (*ListMFAMethodsTooManyRequests) IsRedirect ¶
func (o *ListMFAMethodsTooManyRequests) IsRedirect() bool
IsRedirect returns true when this list m f a methods too many requests response has a 3xx status code
func (*ListMFAMethodsTooManyRequests) IsServerError ¶
func (o *ListMFAMethodsTooManyRequests) IsServerError() bool
IsServerError returns true when this list m f a methods too many requests response has a 5xx status code
func (*ListMFAMethodsTooManyRequests) IsSuccess ¶
func (o *ListMFAMethodsTooManyRequests) IsSuccess() bool
IsSuccess returns true when this list m f a methods too many requests response has a 2xx status code
func (*ListMFAMethodsTooManyRequests) String ¶
func (o *ListMFAMethodsTooManyRequests) String() string
type ListMFAMethodsUnauthorized ¶
type ListMFAMethodsUnauthorized struct {
}ListMFAMethodsUnauthorized describes a response with status code 401, with default header values.
Unauthorized
func NewListMFAMethodsUnauthorized ¶
func NewListMFAMethodsUnauthorized() *ListMFAMethodsUnauthorized
NewListMFAMethodsUnauthorized creates a ListMFAMethodsUnauthorized with default headers values
func (*ListMFAMethodsUnauthorized) Code ¶
func (o *ListMFAMethodsUnauthorized) Code() int
Code gets the status code for the list m f a methods unauthorized response
func (*ListMFAMethodsUnauthorized) Error ¶
func (o *ListMFAMethodsUnauthorized) Error() string
func (*ListMFAMethodsUnauthorized) GetPayload ¶
func (o *ListMFAMethodsUnauthorized) GetPayload() *models.Error
func (*ListMFAMethodsUnauthorized) IsClientError ¶
func (o *ListMFAMethodsUnauthorized) IsClientError() bool
IsClientError returns true when this list m f a methods unauthorized response has a 4xx status code
func (*ListMFAMethodsUnauthorized) IsCode ¶
func (o *ListMFAMethodsUnauthorized) IsCode(code int) bool
IsCode returns true when this list m f a methods unauthorized response a status code equal to that given
func (*ListMFAMethodsUnauthorized) IsRedirect ¶
func (o *ListMFAMethodsUnauthorized) IsRedirect() bool
IsRedirect returns true when this list m f a methods unauthorized response has a 3xx status code
func (*ListMFAMethodsUnauthorized) IsServerError ¶
func (o *ListMFAMethodsUnauthorized) IsServerError() bool
IsServerError returns true when this list m f a methods unauthorized response has a 5xx status code
func (*ListMFAMethodsUnauthorized) IsSuccess ¶
func (o *ListMFAMethodsUnauthorized) IsSuccess() bool
IsSuccess returns true when this list m f a methods unauthorized response has a 2xx status code
func (*ListMFAMethodsUnauthorized) String ¶
func (o *ListMFAMethodsUnauthorized) String() string
type TestMFAMethodBadRequest ¶
TestMFAMethodBadRequest describes a response with status code 400, with default header values.
Bad request
func NewTestMFAMethodBadRequest ¶
func NewTestMFAMethodBadRequest() *TestMFAMethodBadRequest
NewTestMFAMethodBadRequest creates a TestMFAMethodBadRequest with default headers values
func (*TestMFAMethodBadRequest) Code ¶
func (o *TestMFAMethodBadRequest) Code() int
Code gets the status code for the test m f a method bad request response
func (*TestMFAMethodBadRequest) Error ¶
func (o *TestMFAMethodBadRequest) Error() string
func (*TestMFAMethodBadRequest) GetPayload ¶
func (o *TestMFAMethodBadRequest) GetPayload() *models.Error
func (*TestMFAMethodBadRequest) IsClientError ¶
func (o *TestMFAMethodBadRequest) IsClientError() bool
IsClientError returns true when this test m f a method bad request response has a 4xx status code
func (*TestMFAMethodBadRequest) IsCode ¶
func (o *TestMFAMethodBadRequest) IsCode(code int) bool
IsCode returns true when this test m f a method bad request response a status code equal to that given
func (*TestMFAMethodBadRequest) IsRedirect ¶
func (o *TestMFAMethodBadRequest) IsRedirect() bool
IsRedirect returns true when this test m f a method bad request response has a 3xx status code
func (*TestMFAMethodBadRequest) IsServerError ¶
func (o *TestMFAMethodBadRequest) IsServerError() bool
IsServerError returns true when this test m f a method bad request response has a 5xx status code
func (*TestMFAMethodBadRequest) IsSuccess ¶
func (o *TestMFAMethodBadRequest) IsSuccess() bool
IsSuccess returns true when this test m f a method bad request response has a 2xx status code
func (*TestMFAMethodBadRequest) String ¶
func (o *TestMFAMethodBadRequest) String() string
type TestMFAMethodForbidden ¶
TestMFAMethodForbidden describes a response with status code 403, with default header values.
Forbidden
func NewTestMFAMethodForbidden ¶
func NewTestMFAMethodForbidden() *TestMFAMethodForbidden
NewTestMFAMethodForbidden creates a TestMFAMethodForbidden with default headers values
func (*TestMFAMethodForbidden) Code ¶
func (o *TestMFAMethodForbidden) Code() int
Code gets the status code for the test m f a method forbidden response
func (*TestMFAMethodForbidden) Error ¶
func (o *TestMFAMethodForbidden) Error() string
func (*TestMFAMethodForbidden) GetPayload ¶
func (o *TestMFAMethodForbidden) GetPayload() *models.Error
func (*TestMFAMethodForbidden) IsClientError ¶
func (o *TestMFAMethodForbidden) IsClientError() bool
IsClientError returns true when this test m f a method forbidden response has a 4xx status code
func (*TestMFAMethodForbidden) IsCode ¶
func (o *TestMFAMethodForbidden) IsCode(code int) bool
IsCode returns true when this test m f a method forbidden response a status code equal to that given
func (*TestMFAMethodForbidden) IsRedirect ¶
func (o *TestMFAMethodForbidden) IsRedirect() bool
IsRedirect returns true when this test m f a method forbidden response has a 3xx status code
func (*TestMFAMethodForbidden) IsServerError ¶
func (o *TestMFAMethodForbidden) IsServerError() bool
IsServerError returns true when this test m f a method forbidden response has a 5xx status code
func (*TestMFAMethodForbidden) IsSuccess ¶
func (o *TestMFAMethodForbidden) IsSuccess() bool
IsSuccess returns true when this test m f a method forbidden response has a 2xx status code
func (*TestMFAMethodForbidden) String ¶
func (o *TestMFAMethodForbidden) String() string
type TestMFAMethodNotFound ¶
TestMFAMethodNotFound describes a response with status code 404, with default header values.
Not found
func NewTestMFAMethodNotFound ¶
func NewTestMFAMethodNotFound() *TestMFAMethodNotFound
NewTestMFAMethodNotFound creates a TestMFAMethodNotFound with default headers values
func (*TestMFAMethodNotFound) Code ¶
func (o *TestMFAMethodNotFound) Code() int
Code gets the status code for the test m f a method not found response
func (*TestMFAMethodNotFound) Error ¶
func (o *TestMFAMethodNotFound) Error() string
func (*TestMFAMethodNotFound) GetPayload ¶
func (o *TestMFAMethodNotFound) GetPayload() *models.Error
func (*TestMFAMethodNotFound) IsClientError ¶
func (o *TestMFAMethodNotFound) IsClientError() bool
IsClientError returns true when this test m f a method not found response has a 4xx status code
func (*TestMFAMethodNotFound) IsCode ¶
func (o *TestMFAMethodNotFound) IsCode(code int) bool
IsCode returns true when this test m f a method not found response a status code equal to that given
func (*TestMFAMethodNotFound) IsRedirect ¶
func (o *TestMFAMethodNotFound) IsRedirect() bool
IsRedirect returns true when this test m f a method not found response has a 3xx status code
func (*TestMFAMethodNotFound) IsServerError ¶
func (o *TestMFAMethodNotFound) IsServerError() bool
IsServerError returns true when this test m f a method not found response has a 5xx status code
func (*TestMFAMethodNotFound) IsSuccess ¶
func (o *TestMFAMethodNotFound) IsSuccess() bool
IsSuccess returns true when this test m f a method not found response has a 2xx status code
func (*TestMFAMethodNotFound) String ¶
func (o *TestMFAMethodNotFound) String() string
type TestMFAMethodOK ¶
type TestMFAMethodOK struct { }
TestMFAMethodOK describes a response with status code 200, with default header values.
MFA OTP message sent
func NewTestMFAMethodOK ¶
func NewTestMFAMethodOK() *TestMFAMethodOK
NewTestMFAMethodOK creates a TestMFAMethodOK with default headers values
func (*TestMFAMethodOK) Code ¶
func (o *TestMFAMethodOK) Code() int
Code gets the status code for the test m f a method o k response
func (*TestMFAMethodOK) Error ¶
func (o *TestMFAMethodOK) Error() string
func (*TestMFAMethodOK) IsClientError ¶
func (o *TestMFAMethodOK) IsClientError() bool
IsClientError returns true when this test m f a method o k response has a 4xx status code
func (*TestMFAMethodOK) IsCode ¶
func (o *TestMFAMethodOK) IsCode(code int) bool
IsCode returns true when this test m f a method o k response a status code equal to that given
func (*TestMFAMethodOK) IsRedirect ¶
func (o *TestMFAMethodOK) IsRedirect() bool
IsRedirect returns true when this test m f a method o k response has a 3xx status code
func (*TestMFAMethodOK) IsServerError ¶
func (o *TestMFAMethodOK) IsServerError() bool
IsServerError returns true when this test m f a method o k response has a 5xx status code
func (*TestMFAMethodOK) IsSuccess ¶
func (o *TestMFAMethodOK) IsSuccess() bool
IsSuccess returns true when this test m f a method o k response has a 2xx status code
func (*TestMFAMethodOK) String ¶
func (o *TestMFAMethodOK) String() string
type TestMFAMethodParams ¶
type TestMFAMethodParams struct { // MFAMethodTest. MFAMethodTest *models.TestMFAMethodRequest /* IfMatch. A server will only return requested resources if the resource matches one of the listed ETag value Format: etag */ IfMatch *string /* MfaID. MFA id */ MfaID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
TestMFAMethodParams contains all the parameters to send to the API endpoint
for the test m f a method operation. Typically these are written to a http.Request.
func NewTestMFAMethodParams ¶
func NewTestMFAMethodParams() *TestMFAMethodParams
NewTestMFAMethodParams creates a new TestMFAMethodParams 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 NewTestMFAMethodParamsWithContext ¶
func NewTestMFAMethodParamsWithContext(ctx context.Context) *TestMFAMethodParams
NewTestMFAMethodParamsWithContext creates a new TestMFAMethodParams object with the ability to set a context for a request.
func NewTestMFAMethodParamsWithHTTPClient ¶
func NewTestMFAMethodParamsWithHTTPClient(client *http.Client) *TestMFAMethodParams
NewTestMFAMethodParamsWithHTTPClient creates a new TestMFAMethodParams object with the ability to set a custom HTTPClient for a request.
func NewTestMFAMethodParamsWithTimeout ¶
func NewTestMFAMethodParamsWithTimeout(timeout time.Duration) *TestMFAMethodParams
NewTestMFAMethodParamsWithTimeout creates a new TestMFAMethodParams object with the ability to set a timeout on a request.
func (*TestMFAMethodParams) SetContext ¶
func (o *TestMFAMethodParams) SetContext(ctx context.Context)
SetContext adds the context to the test m f a method params
func (*TestMFAMethodParams) SetDefaults ¶
func (o *TestMFAMethodParams) SetDefaults()
SetDefaults hydrates default values in the test m f a method params (not the query body).
All values with no default are reset to their zero value.
func (*TestMFAMethodParams) SetHTTPClient ¶
func (o *TestMFAMethodParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the test m f a method params
func (*TestMFAMethodParams) SetIfMatch ¶
func (o *TestMFAMethodParams) SetIfMatch(ifMatch *string)
SetIfMatch adds the ifMatch to the test m f a method params
func (*TestMFAMethodParams) SetMFAMethodTest ¶
func (o *TestMFAMethodParams) SetMFAMethodTest(mFAMethodTest *models.TestMFAMethodRequest)
SetMFAMethodTest adds the mFAMethodTest to the test m f a method params
func (*TestMFAMethodParams) SetMfaID ¶
func (o *TestMFAMethodParams) SetMfaID(mfaID string)
SetMfaID adds the mfaId to the test m f a method params
func (*TestMFAMethodParams) SetTimeout ¶
func (o *TestMFAMethodParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the test m f a method params
func (*TestMFAMethodParams) WithContext ¶
func (o *TestMFAMethodParams) WithContext(ctx context.Context) *TestMFAMethodParams
WithContext adds the context to the test m f a method params
func (*TestMFAMethodParams) WithDefaults ¶
func (o *TestMFAMethodParams) WithDefaults() *TestMFAMethodParams
WithDefaults hydrates default values in the test m f a method params (not the query body).
All values with no default are reset to their zero value.
func (*TestMFAMethodParams) WithHTTPClient ¶
func (o *TestMFAMethodParams) WithHTTPClient(client *http.Client) *TestMFAMethodParams
WithHTTPClient adds the HTTPClient to the test m f a method params
func (*TestMFAMethodParams) WithIfMatch ¶
func (o *TestMFAMethodParams) WithIfMatch(ifMatch *string) *TestMFAMethodParams
WithIfMatch adds the ifMatch to the test m f a method params
func (*TestMFAMethodParams) WithMFAMethodTest ¶
func (o *TestMFAMethodParams) WithMFAMethodTest(mFAMethodTest *models.TestMFAMethodRequest) *TestMFAMethodParams
WithMFAMethodTest adds the mFAMethodTest to the test m f a method params
func (*TestMFAMethodParams) WithMfaID ¶
func (o *TestMFAMethodParams) WithMfaID(mfaID string) *TestMFAMethodParams
WithMfaID adds the mfaID to the test m f a method params
func (*TestMFAMethodParams) WithTimeout ¶
func (o *TestMFAMethodParams) WithTimeout(timeout time.Duration) *TestMFAMethodParams
WithTimeout adds the timeout to the test m f a method params
func (*TestMFAMethodParams) WriteToRequest ¶
func (o *TestMFAMethodParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type TestMFAMethodReader ¶
type TestMFAMethodReader struct {
// contains filtered or unexported fields
}
TestMFAMethodReader is a Reader for the TestMFAMethod structure.
func (*TestMFAMethodReader) ReadResponse ¶
func (o *TestMFAMethodReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type TestMFAMethodTooManyRequests ¶
TestMFAMethodTooManyRequests describes a response with status code 429, with default header values.
Too many requests
func NewTestMFAMethodTooManyRequests ¶
func NewTestMFAMethodTooManyRequests() *TestMFAMethodTooManyRequests
NewTestMFAMethodTooManyRequests creates a TestMFAMethodTooManyRequests with default headers values
func (*TestMFAMethodTooManyRequests) Code ¶
func (o *TestMFAMethodTooManyRequests) Code() int
Code gets the status code for the test m f a method too many requests response
func (*TestMFAMethodTooManyRequests) Error ¶
func (o *TestMFAMethodTooManyRequests) Error() string
func (*TestMFAMethodTooManyRequests) GetPayload ¶
func (o *TestMFAMethodTooManyRequests) GetPayload() *models.Error
func (*TestMFAMethodTooManyRequests) IsClientError ¶
func (o *TestMFAMethodTooManyRequests) IsClientError() bool
IsClientError returns true when this test m f a method too many requests response has a 4xx status code
func (*TestMFAMethodTooManyRequests) IsCode ¶
func (o *TestMFAMethodTooManyRequests) IsCode(code int) bool
IsCode returns true when this test m f a method too many requests response a status code equal to that given
func (*TestMFAMethodTooManyRequests) IsRedirect ¶
func (o *TestMFAMethodTooManyRequests) IsRedirect() bool
IsRedirect returns true when this test m f a method too many requests response has a 3xx status code
func (*TestMFAMethodTooManyRequests) IsServerError ¶
func (o *TestMFAMethodTooManyRequests) IsServerError() bool
IsServerError returns true when this test m f a method too many requests response has a 5xx status code
func (*TestMFAMethodTooManyRequests) IsSuccess ¶
func (o *TestMFAMethodTooManyRequests) IsSuccess() bool
IsSuccess returns true when this test m f a method too many requests response has a 2xx status code
func (*TestMFAMethodTooManyRequests) String ¶
func (o *TestMFAMethodTooManyRequests) String() string
type TestMFAMethodUnauthorized ¶
type TestMFAMethodUnauthorized struct {
}TestMFAMethodUnauthorized describes a response with status code 401, with default header values.
Unauthorized
func NewTestMFAMethodUnauthorized ¶
func NewTestMFAMethodUnauthorized() *TestMFAMethodUnauthorized
NewTestMFAMethodUnauthorized creates a TestMFAMethodUnauthorized with default headers values
func (*TestMFAMethodUnauthorized) Code ¶
func (o *TestMFAMethodUnauthorized) Code() int
Code gets the status code for the test m f a method unauthorized response
func (*TestMFAMethodUnauthorized) Error ¶
func (o *TestMFAMethodUnauthorized) Error() string
func (*TestMFAMethodUnauthorized) GetPayload ¶
func (o *TestMFAMethodUnauthorized) GetPayload() *models.Error
func (*TestMFAMethodUnauthorized) IsClientError ¶
func (o *TestMFAMethodUnauthorized) IsClientError() bool
IsClientError returns true when this test m f a method unauthorized response has a 4xx status code
func (*TestMFAMethodUnauthorized) IsCode ¶
func (o *TestMFAMethodUnauthorized) IsCode(code int) bool
IsCode returns true when this test m f a method unauthorized response a status code equal to that given
func (*TestMFAMethodUnauthorized) IsRedirect ¶
func (o *TestMFAMethodUnauthorized) IsRedirect() bool
IsRedirect returns true when this test m f a method unauthorized response has a 3xx status code
func (*TestMFAMethodUnauthorized) IsServerError ¶
func (o *TestMFAMethodUnauthorized) IsServerError() bool
IsServerError returns true when this test m f a method unauthorized response has a 5xx status code
func (*TestMFAMethodUnauthorized) IsSuccess ¶
func (o *TestMFAMethodUnauthorized) IsSuccess() bool
IsSuccess returns true when this test m f a method unauthorized response has a 2xx status code
func (*TestMFAMethodUnauthorized) String ¶
func (o *TestMFAMethodUnauthorized) String() string
type UpdateMFAMethodBadRequest ¶
UpdateMFAMethodBadRequest describes a response with status code 400, with default header values.
Bad request
func NewUpdateMFAMethodBadRequest ¶
func NewUpdateMFAMethodBadRequest() *UpdateMFAMethodBadRequest
NewUpdateMFAMethodBadRequest creates a UpdateMFAMethodBadRequest with default headers values
func (*UpdateMFAMethodBadRequest) Code ¶
func (o *UpdateMFAMethodBadRequest) Code() int
Code gets the status code for the update m f a method bad request response
func (*UpdateMFAMethodBadRequest) Error ¶
func (o *UpdateMFAMethodBadRequest) Error() string
func (*UpdateMFAMethodBadRequest) GetPayload ¶
func (o *UpdateMFAMethodBadRequest) GetPayload() *models.Error
func (*UpdateMFAMethodBadRequest) IsClientError ¶
func (o *UpdateMFAMethodBadRequest) IsClientError() bool
IsClientError returns true when this update m f a method bad request response has a 4xx status code
func (*UpdateMFAMethodBadRequest) IsCode ¶
func (o *UpdateMFAMethodBadRequest) IsCode(code int) bool
IsCode returns true when this update m f a method bad request response a status code equal to that given
func (*UpdateMFAMethodBadRequest) IsRedirect ¶
func (o *UpdateMFAMethodBadRequest) IsRedirect() bool
IsRedirect returns true when this update m f a method bad request response has a 3xx status code
func (*UpdateMFAMethodBadRequest) IsServerError ¶
func (o *UpdateMFAMethodBadRequest) IsServerError() bool
IsServerError returns true when this update m f a method bad request response has a 5xx status code
func (*UpdateMFAMethodBadRequest) IsSuccess ¶
func (o *UpdateMFAMethodBadRequest) IsSuccess() bool
IsSuccess returns true when this update m f a method bad request response has a 2xx status code
func (*UpdateMFAMethodBadRequest) String ¶
func (o *UpdateMFAMethodBadRequest) String() string
type UpdateMFAMethodConflict ¶
UpdateMFAMethodConflict describes a response with status code 409, with default header values.
Conflict
func NewUpdateMFAMethodConflict ¶
func NewUpdateMFAMethodConflict() *UpdateMFAMethodConflict
NewUpdateMFAMethodConflict creates a UpdateMFAMethodConflict with default headers values
func (*UpdateMFAMethodConflict) Code ¶
func (o *UpdateMFAMethodConflict) Code() int
Code gets the status code for the update m f a method conflict response
func (*UpdateMFAMethodConflict) Error ¶
func (o *UpdateMFAMethodConflict) Error() string
func (*UpdateMFAMethodConflict) GetPayload ¶
func (o *UpdateMFAMethodConflict) GetPayload() *models.Error
func (*UpdateMFAMethodConflict) IsClientError ¶
func (o *UpdateMFAMethodConflict) IsClientError() bool
IsClientError returns true when this update m f a method conflict response has a 4xx status code
func (*UpdateMFAMethodConflict) IsCode ¶
func (o *UpdateMFAMethodConflict) IsCode(code int) bool
IsCode returns true when this update m f a method conflict response a status code equal to that given
func (*UpdateMFAMethodConflict) IsRedirect ¶
func (o *UpdateMFAMethodConflict) IsRedirect() bool
IsRedirect returns true when this update m f a method conflict response has a 3xx status code
func (*UpdateMFAMethodConflict) IsServerError ¶
func (o *UpdateMFAMethodConflict) IsServerError() bool
IsServerError returns true when this update m f a method conflict response has a 5xx status code
func (*UpdateMFAMethodConflict) IsSuccess ¶
func (o *UpdateMFAMethodConflict) IsSuccess() bool
IsSuccess returns true when this update m f a method conflict response has a 2xx status code
func (*UpdateMFAMethodConflict) String ¶
func (o *UpdateMFAMethodConflict) String() string
type UpdateMFAMethodForbidden ¶
UpdateMFAMethodForbidden describes a response with status code 403, with default header values.
Forbidden
func NewUpdateMFAMethodForbidden ¶
func NewUpdateMFAMethodForbidden() *UpdateMFAMethodForbidden
NewUpdateMFAMethodForbidden creates a UpdateMFAMethodForbidden with default headers values
func (*UpdateMFAMethodForbidden) Code ¶
func (o *UpdateMFAMethodForbidden) Code() int
Code gets the status code for the update m f a method forbidden response
func (*UpdateMFAMethodForbidden) Error ¶
func (o *UpdateMFAMethodForbidden) Error() string
func (*UpdateMFAMethodForbidden) GetPayload ¶
func (o *UpdateMFAMethodForbidden) GetPayload() *models.Error
func (*UpdateMFAMethodForbidden) IsClientError ¶
func (o *UpdateMFAMethodForbidden) IsClientError() bool
IsClientError returns true when this update m f a method forbidden response has a 4xx status code
func (*UpdateMFAMethodForbidden) IsCode ¶
func (o *UpdateMFAMethodForbidden) IsCode(code int) bool
IsCode returns true when this update m f a method forbidden response a status code equal to that given
func (*UpdateMFAMethodForbidden) IsRedirect ¶
func (o *UpdateMFAMethodForbidden) IsRedirect() bool
IsRedirect returns true when this update m f a method forbidden response has a 3xx status code
func (*UpdateMFAMethodForbidden) IsServerError ¶
func (o *UpdateMFAMethodForbidden) IsServerError() bool
IsServerError returns true when this update m f a method forbidden response has a 5xx status code
func (*UpdateMFAMethodForbidden) IsSuccess ¶
func (o *UpdateMFAMethodForbidden) IsSuccess() bool
IsSuccess returns true when this update m f a method forbidden response has a 2xx status code
func (*UpdateMFAMethodForbidden) String ¶
func (o *UpdateMFAMethodForbidden) String() string
type UpdateMFAMethodNotFound ¶
UpdateMFAMethodNotFound describes a response with status code 404, with default header values.
Not found
func NewUpdateMFAMethodNotFound ¶
func NewUpdateMFAMethodNotFound() *UpdateMFAMethodNotFound
NewUpdateMFAMethodNotFound creates a UpdateMFAMethodNotFound with default headers values
func (*UpdateMFAMethodNotFound) Code ¶
func (o *UpdateMFAMethodNotFound) Code() int
Code gets the status code for the update m f a method not found response
func (*UpdateMFAMethodNotFound) Error ¶
func (o *UpdateMFAMethodNotFound) Error() string
func (*UpdateMFAMethodNotFound) GetPayload ¶
func (o *UpdateMFAMethodNotFound) GetPayload() *models.Error
func (*UpdateMFAMethodNotFound) IsClientError ¶
func (o *UpdateMFAMethodNotFound) IsClientError() bool
IsClientError returns true when this update m f a method not found response has a 4xx status code
func (*UpdateMFAMethodNotFound) IsCode ¶
func (o *UpdateMFAMethodNotFound) IsCode(code int) bool
IsCode returns true when this update m f a method not found response a status code equal to that given
func (*UpdateMFAMethodNotFound) IsRedirect ¶
func (o *UpdateMFAMethodNotFound) IsRedirect() bool
IsRedirect returns true when this update m f a method not found response has a 3xx status code
func (*UpdateMFAMethodNotFound) IsServerError ¶
func (o *UpdateMFAMethodNotFound) IsServerError() bool
IsServerError returns true when this update m f a method not found response has a 5xx status code
func (*UpdateMFAMethodNotFound) IsSuccess ¶
func (o *UpdateMFAMethodNotFound) IsSuccess() bool
IsSuccess returns true when this update m f a method not found response has a 2xx status code
func (*UpdateMFAMethodNotFound) String ¶
func (o *UpdateMFAMethodNotFound) String() string
type UpdateMFAMethodOK ¶
UpdateMFAMethodOK describes a response with status code 200, with default header values.
MFAMethod
func NewUpdateMFAMethodOK ¶
func NewUpdateMFAMethodOK() *UpdateMFAMethodOK
NewUpdateMFAMethodOK creates a UpdateMFAMethodOK with default headers values
func (*UpdateMFAMethodOK) Code ¶
func (o *UpdateMFAMethodOK) Code() int
Code gets the status code for the update m f a method o k response
func (*UpdateMFAMethodOK) Error ¶
func (o *UpdateMFAMethodOK) Error() string
func (*UpdateMFAMethodOK) GetPayload ¶
func (o *UpdateMFAMethodOK) GetPayload() *models.MFAMethod
func (*UpdateMFAMethodOK) IsClientError ¶
func (o *UpdateMFAMethodOK) IsClientError() bool
IsClientError returns true when this update m f a method o k response has a 4xx status code
func (*UpdateMFAMethodOK) IsCode ¶
func (o *UpdateMFAMethodOK) IsCode(code int) bool
IsCode returns true when this update m f a method o k response a status code equal to that given
func (*UpdateMFAMethodOK) IsRedirect ¶
func (o *UpdateMFAMethodOK) IsRedirect() bool
IsRedirect returns true when this update m f a method o k response has a 3xx status code
func (*UpdateMFAMethodOK) IsServerError ¶
func (o *UpdateMFAMethodOK) IsServerError() bool
IsServerError returns true when this update m f a method o k response has a 5xx status code
func (*UpdateMFAMethodOK) IsSuccess ¶
func (o *UpdateMFAMethodOK) IsSuccess() bool
IsSuccess returns true when this update m f a method o k response has a 2xx status code
func (*UpdateMFAMethodOK) String ¶
func (o *UpdateMFAMethodOK) String() string
type UpdateMFAMethodParams ¶
type UpdateMFAMethodParams struct { // MFAMethod. MFAMethod *models.MFAMethod /* IfMatch. A server will only return requested resources if the resource matches one of the listed ETag value Format: etag */ IfMatch *string // MfaID. MfaID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
UpdateMFAMethodParams contains all the parameters to send to the API endpoint
for the update m f a method operation. Typically these are written to a http.Request.
func NewUpdateMFAMethodParams ¶
func NewUpdateMFAMethodParams() *UpdateMFAMethodParams
NewUpdateMFAMethodParams creates a new UpdateMFAMethodParams 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 NewUpdateMFAMethodParamsWithContext ¶
func NewUpdateMFAMethodParamsWithContext(ctx context.Context) *UpdateMFAMethodParams
NewUpdateMFAMethodParamsWithContext creates a new UpdateMFAMethodParams object with the ability to set a context for a request.
func NewUpdateMFAMethodParamsWithHTTPClient ¶
func NewUpdateMFAMethodParamsWithHTTPClient(client *http.Client) *UpdateMFAMethodParams
NewUpdateMFAMethodParamsWithHTTPClient creates a new UpdateMFAMethodParams object with the ability to set a custom HTTPClient for a request.
func NewUpdateMFAMethodParamsWithTimeout ¶
func NewUpdateMFAMethodParamsWithTimeout(timeout time.Duration) *UpdateMFAMethodParams
NewUpdateMFAMethodParamsWithTimeout creates a new UpdateMFAMethodParams object with the ability to set a timeout on a request.
func (*UpdateMFAMethodParams) SetContext ¶
func (o *UpdateMFAMethodParams) SetContext(ctx context.Context)
SetContext adds the context to the update m f a method params
func (*UpdateMFAMethodParams) SetDefaults ¶
func (o *UpdateMFAMethodParams) SetDefaults()
SetDefaults hydrates default values in the update m f a method params (not the query body).
All values with no default are reset to their zero value.
func (*UpdateMFAMethodParams) SetHTTPClient ¶
func (o *UpdateMFAMethodParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the update m f a method params
func (*UpdateMFAMethodParams) SetIfMatch ¶
func (o *UpdateMFAMethodParams) SetIfMatch(ifMatch *string)
SetIfMatch adds the ifMatch to the update m f a method params
func (*UpdateMFAMethodParams) SetMFAMethod ¶
func (o *UpdateMFAMethodParams) SetMFAMethod(mFAMethod *models.MFAMethod)
SetMFAMethod adds the mFAMethod to the update m f a method params
func (*UpdateMFAMethodParams) SetMfaID ¶
func (o *UpdateMFAMethodParams) SetMfaID(mfaID string)
SetMfaID adds the mfaId to the update m f a method params
func (*UpdateMFAMethodParams) SetTimeout ¶
func (o *UpdateMFAMethodParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the update m f a method params
func (*UpdateMFAMethodParams) WithContext ¶
func (o *UpdateMFAMethodParams) WithContext(ctx context.Context) *UpdateMFAMethodParams
WithContext adds the context to the update m f a method params
func (*UpdateMFAMethodParams) WithDefaults ¶
func (o *UpdateMFAMethodParams) WithDefaults() *UpdateMFAMethodParams
WithDefaults hydrates default values in the update m f a method params (not the query body).
All values with no default are reset to their zero value.
func (*UpdateMFAMethodParams) WithHTTPClient ¶
func (o *UpdateMFAMethodParams) WithHTTPClient(client *http.Client) *UpdateMFAMethodParams
WithHTTPClient adds the HTTPClient to the update m f a method params
func (*UpdateMFAMethodParams) WithIfMatch ¶
func (o *UpdateMFAMethodParams) WithIfMatch(ifMatch *string) *UpdateMFAMethodParams
WithIfMatch adds the ifMatch to the update m f a method params
func (*UpdateMFAMethodParams) WithMFAMethod ¶
func (o *UpdateMFAMethodParams) WithMFAMethod(mFAMethod *models.MFAMethod) *UpdateMFAMethodParams
WithMFAMethod adds the mFAMethod to the update m f a method params
func (*UpdateMFAMethodParams) WithMfaID ¶
func (o *UpdateMFAMethodParams) WithMfaID(mfaID string) *UpdateMFAMethodParams
WithMfaID adds the mfaID to the update m f a method params
func (*UpdateMFAMethodParams) WithTimeout ¶
func (o *UpdateMFAMethodParams) WithTimeout(timeout time.Duration) *UpdateMFAMethodParams
WithTimeout adds the timeout to the update m f a method params
func (*UpdateMFAMethodParams) WriteToRequest ¶
func (o *UpdateMFAMethodParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type UpdateMFAMethodReader ¶
type UpdateMFAMethodReader struct {
// contains filtered or unexported fields
}
UpdateMFAMethodReader is a Reader for the UpdateMFAMethod structure.
func (*UpdateMFAMethodReader) ReadResponse ¶
func (o *UpdateMFAMethodReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type UpdateMFAMethodTooManyRequests ¶
UpdateMFAMethodTooManyRequests describes a response with status code 429, with default header values.
Too many requests
func NewUpdateMFAMethodTooManyRequests ¶
func NewUpdateMFAMethodTooManyRequests() *UpdateMFAMethodTooManyRequests
NewUpdateMFAMethodTooManyRequests creates a UpdateMFAMethodTooManyRequests with default headers values
func (*UpdateMFAMethodTooManyRequests) Code ¶
func (o *UpdateMFAMethodTooManyRequests) Code() int
Code gets the status code for the update m f a method too many requests response
func (*UpdateMFAMethodTooManyRequests) Error ¶
func (o *UpdateMFAMethodTooManyRequests) Error() string
func (*UpdateMFAMethodTooManyRequests) GetPayload ¶
func (o *UpdateMFAMethodTooManyRequests) GetPayload() *models.Error
func (*UpdateMFAMethodTooManyRequests) IsClientError ¶
func (o *UpdateMFAMethodTooManyRequests) IsClientError() bool
IsClientError returns true when this update m f a method too many requests response has a 4xx status code
func (*UpdateMFAMethodTooManyRequests) IsCode ¶
func (o *UpdateMFAMethodTooManyRequests) IsCode(code int) bool
IsCode returns true when this update m f a method too many requests response a status code equal to that given
func (*UpdateMFAMethodTooManyRequests) IsRedirect ¶
func (o *UpdateMFAMethodTooManyRequests) IsRedirect() bool
IsRedirect returns true when this update m f a method too many requests response has a 3xx status code
func (*UpdateMFAMethodTooManyRequests) IsServerError ¶
func (o *UpdateMFAMethodTooManyRequests) IsServerError() bool
IsServerError returns true when this update m f a method too many requests response has a 5xx status code
func (*UpdateMFAMethodTooManyRequests) IsSuccess ¶
func (o *UpdateMFAMethodTooManyRequests) IsSuccess() bool
IsSuccess returns true when this update m f a method too many requests response has a 2xx status code
func (*UpdateMFAMethodTooManyRequests) String ¶
func (o *UpdateMFAMethodTooManyRequests) String() string
type UpdateMFAMethodUnauthorized ¶
type UpdateMFAMethodUnauthorized struct {
}UpdateMFAMethodUnauthorized describes a response with status code 401, with default header values.
Unauthorized
func NewUpdateMFAMethodUnauthorized ¶
func NewUpdateMFAMethodUnauthorized() *UpdateMFAMethodUnauthorized
NewUpdateMFAMethodUnauthorized creates a UpdateMFAMethodUnauthorized with default headers values
func (*UpdateMFAMethodUnauthorized) Code ¶
func (o *UpdateMFAMethodUnauthorized) Code() int
Code gets the status code for the update m f a method unauthorized response
func (*UpdateMFAMethodUnauthorized) Error ¶
func (o *UpdateMFAMethodUnauthorized) Error() string
func (*UpdateMFAMethodUnauthorized) GetPayload ¶
func (o *UpdateMFAMethodUnauthorized) GetPayload() *models.Error
func (*UpdateMFAMethodUnauthorized) IsClientError ¶
func (o *UpdateMFAMethodUnauthorized) IsClientError() bool
IsClientError returns true when this update m f a method unauthorized response has a 4xx status code
func (*UpdateMFAMethodUnauthorized) IsCode ¶
func (o *UpdateMFAMethodUnauthorized) IsCode(code int) bool
IsCode returns true when this update m f a method unauthorized response a status code equal to that given
func (*UpdateMFAMethodUnauthorized) IsRedirect ¶
func (o *UpdateMFAMethodUnauthorized) IsRedirect() bool
IsRedirect returns true when this update m f a method unauthorized response has a 3xx status code
func (*UpdateMFAMethodUnauthorized) IsServerError ¶
func (o *UpdateMFAMethodUnauthorized) IsServerError() bool
IsServerError returns true when this update m f a method unauthorized response has a 5xx status code
func (*UpdateMFAMethodUnauthorized) IsSuccess ¶
func (o *UpdateMFAMethodUnauthorized) IsSuccess() bool
IsSuccess returns true when this update m f a method unauthorized response has a 2xx status code
func (*UpdateMFAMethodUnauthorized) String ¶
func (o *UpdateMFAMethodUnauthorized) String() string
type UpdateMFAMethodUnprocessableEntity ¶
UpdateMFAMethodUnprocessableEntity describes a response with status code 422, with default header values.
Unprocessable entity
func NewUpdateMFAMethodUnprocessableEntity ¶
func NewUpdateMFAMethodUnprocessableEntity() *UpdateMFAMethodUnprocessableEntity
NewUpdateMFAMethodUnprocessableEntity creates a UpdateMFAMethodUnprocessableEntity with default headers values
func (*UpdateMFAMethodUnprocessableEntity) Code ¶
func (o *UpdateMFAMethodUnprocessableEntity) Code() int
Code gets the status code for the update m f a method unprocessable entity response
func (*UpdateMFAMethodUnprocessableEntity) Error ¶
func (o *UpdateMFAMethodUnprocessableEntity) Error() string
func (*UpdateMFAMethodUnprocessableEntity) GetPayload ¶
func (o *UpdateMFAMethodUnprocessableEntity) GetPayload() *models.Error
func (*UpdateMFAMethodUnprocessableEntity) IsClientError ¶
func (o *UpdateMFAMethodUnprocessableEntity) IsClientError() bool
IsClientError returns true when this update m f a method unprocessable entity response has a 4xx status code
func (*UpdateMFAMethodUnprocessableEntity) IsCode ¶
func (o *UpdateMFAMethodUnprocessableEntity) IsCode(code int) bool
IsCode returns true when this update m f a method unprocessable entity response a status code equal to that given
func (*UpdateMFAMethodUnprocessableEntity) IsRedirect ¶
func (o *UpdateMFAMethodUnprocessableEntity) IsRedirect() bool
IsRedirect returns true when this update m f a method unprocessable entity response has a 3xx status code
func (*UpdateMFAMethodUnprocessableEntity) IsServerError ¶
func (o *UpdateMFAMethodUnprocessableEntity) IsServerError() bool
IsServerError returns true when this update m f a method unprocessable entity response has a 5xx status code
func (*UpdateMFAMethodUnprocessableEntity) IsSuccess ¶
func (o *UpdateMFAMethodUnprocessableEntity) IsSuccess() bool
IsSuccess returns true when this update m f a method unprocessable entity response has a 2xx status code
func (*UpdateMFAMethodUnprocessableEntity) String ¶
func (o *UpdateMFAMethodUnprocessableEntity) String() string
Source Files ¶
- create_m_f_a_method_parameters.go
- create_m_f_a_method_responses.go
- delete_m_f_a_method_parameters.go
- delete_m_f_a_method_responses.go
- get_m_f_a_method_parameters.go
- get_m_f_a_method_responses.go
- list_m_f_a_methods_parameters.go
- list_m_f_a_methods_responses.go
- mfa_methods_client.go
- test_m_f_a_method_parameters.go
- test_m_f_a_method_responses.go
- update_m_f_a_method_parameters.go
- update_m_f_a_method_responses.go