Documentation
¶
Index ¶
- type Client
- func (a *Client) CurrentUserEndpointAuthorizationsInspect(params *CurrentUserEndpointAuthorizationsInspectParams, ...) (*CurrentUserEndpointAuthorizationsInspectOK, error)
- func (a *Client) CurrentUserInspect(params *CurrentUserInspectParams, authInfo runtime.ClientAuthInfoWriter, ...) (*CurrentUserInspectOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- func (a *Client) UserAdminCheck(params *UserAdminCheckParams, opts ...ClientOption) (*UserAdminCheckNoContent, error)
- func (a *Client) UserAdminInit(params *UserAdminInitParams, opts ...ClientOption) (*UserAdminInitOK, error)
- func (a *Client) UserCreate(params *UserCreateParams, authInfo runtime.ClientAuthInfoWriter, ...) (*UserCreateOK, error)
- func (a *Client) UserCreateGitCredential(params *UserCreateGitCredentialParams, authInfo runtime.ClientAuthInfoWriter, ...) (*UserCreateGitCredentialCreated, error)
- func (a *Client) UserDelete(params *UserDeleteParams, authInfo runtime.ClientAuthInfoWriter, ...) (*UserDeleteNoContent, error)
- func (a *Client) UserGenerateAPIKey(params *UserGenerateAPIKeyParams, authInfo runtime.ClientAuthInfoWriter, ...) (*UserGenerateAPIKeyOK, error)
- func (a *Client) UserGetAPIKeys(params *UserGetAPIKeysParams, authInfo runtime.ClientAuthInfoWriter, ...) (*UserGetAPIKeysOK, error)
- func (a *Client) UserGetGitCredential(params *UserGetGitCredentialParams, authInfo runtime.ClientAuthInfoWriter, ...) (*UserGetGitCredentialOK, error)
- func (a *Client) UserGetGitCredentials(params *UserGetGitCredentialsParams, authInfo runtime.ClientAuthInfoWriter, ...) (*UserGetGitCredentialsOK, error)
- func (a *Client) UserInspect(params *UserInspectParams, authInfo runtime.ClientAuthInfoWriter, ...) (*UserInspectOK, error)
- func (a *Client) UserList(params *UserListParams, authInfo runtime.ClientAuthInfoWriter, ...) (*UserListOK, error)
- func (a *Client) UserMembershipsInspect(params *UserMembershipsInspectParams, authInfo runtime.ClientAuthInfoWriter, ...) (*UserMembershipsInspectOK, error)
- func (a *Client) UserNamespaces(params *UserNamespacesParams, authInfo runtime.ClientAuthInfoWriter, ...) (*UserNamespacesOK, error)
- func (a *Client) UserRemoveAPIKey(params *UserRemoveAPIKeyParams, authInfo runtime.ClientAuthInfoWriter, ...) (*UserRemoveAPIKeyNoContent, error)
- func (a *Client) UserRemoveGitCredential(params *UserRemoveGitCredentialParams, authInfo runtime.ClientAuthInfoWriter, ...) (*UserRemoveGitCredentialNoContent, error)
- func (a *Client) UserUpdate(params *UserUpdateParams, authInfo runtime.ClientAuthInfoWriter, ...) (*UserUpdateOK, error)
- func (a *Client) UserUpdateGitCredential(params *UserUpdateGitCredentialParams, authInfo runtime.ClientAuthInfoWriter, ...) (*UserUpdateGitCredentialNoContent, error)
- func (a *Client) UserUpdateOpenAIConfig(params *UserUpdateOpenAIConfigParams, authInfo runtime.ClientAuthInfoWriter, ...) (*UserUpdateOpenAIConfigNoContent, error)
- func (a *Client) UserUpdatePassword(params *UserUpdatePasswordParams, authInfo runtime.ClientAuthInfoWriter, ...) (*UserUpdatePasswordNoContent, error)
- type ClientOption
- type ClientService
- type CurrentUserEndpointAuthorizationsInspectBadRequest
- func (o *CurrentUserEndpointAuthorizationsInspectBadRequest) Code() int
- func (o *CurrentUserEndpointAuthorizationsInspectBadRequest) Error() string
- func (o *CurrentUserEndpointAuthorizationsInspectBadRequest) IsClientError() bool
- func (o *CurrentUserEndpointAuthorizationsInspectBadRequest) IsCode(code int) bool
- func (o *CurrentUserEndpointAuthorizationsInspectBadRequest) IsRedirect() bool
- func (o *CurrentUserEndpointAuthorizationsInspectBadRequest) IsServerError() bool
- func (o *CurrentUserEndpointAuthorizationsInspectBadRequest) IsSuccess() bool
- func (o *CurrentUserEndpointAuthorizationsInspectBadRequest) String() string
- type CurrentUserEndpointAuthorizationsInspectForbidden
- func (o *CurrentUserEndpointAuthorizationsInspectForbidden) Code() int
- func (o *CurrentUserEndpointAuthorizationsInspectForbidden) Error() string
- func (o *CurrentUserEndpointAuthorizationsInspectForbidden) IsClientError() bool
- func (o *CurrentUserEndpointAuthorizationsInspectForbidden) IsCode(code int) bool
- func (o *CurrentUserEndpointAuthorizationsInspectForbidden) IsRedirect() bool
- func (o *CurrentUserEndpointAuthorizationsInspectForbidden) IsServerError() bool
- func (o *CurrentUserEndpointAuthorizationsInspectForbidden) IsSuccess() bool
- func (o *CurrentUserEndpointAuthorizationsInspectForbidden) String() string
- type CurrentUserEndpointAuthorizationsInspectInternalServerError
- func (o *CurrentUserEndpointAuthorizationsInspectInternalServerError) Code() int
- func (o *CurrentUserEndpointAuthorizationsInspectInternalServerError) Error() string
- func (o *CurrentUserEndpointAuthorizationsInspectInternalServerError) IsClientError() bool
- func (o *CurrentUserEndpointAuthorizationsInspectInternalServerError) IsCode(code int) bool
- func (o *CurrentUserEndpointAuthorizationsInspectInternalServerError) IsRedirect() bool
- func (o *CurrentUserEndpointAuthorizationsInspectInternalServerError) IsServerError() bool
- func (o *CurrentUserEndpointAuthorizationsInspectInternalServerError) IsSuccess() bool
- func (o *CurrentUserEndpointAuthorizationsInspectInternalServerError) String() string
- type CurrentUserEndpointAuthorizationsInspectNotFound
- func (o *CurrentUserEndpointAuthorizationsInspectNotFound) Code() int
- func (o *CurrentUserEndpointAuthorizationsInspectNotFound) Error() string
- func (o *CurrentUserEndpointAuthorizationsInspectNotFound) IsClientError() bool
- func (o *CurrentUserEndpointAuthorizationsInspectNotFound) IsCode(code int) bool
- func (o *CurrentUserEndpointAuthorizationsInspectNotFound) IsRedirect() bool
- func (o *CurrentUserEndpointAuthorizationsInspectNotFound) IsServerError() bool
- func (o *CurrentUserEndpointAuthorizationsInspectNotFound) IsSuccess() bool
- func (o *CurrentUserEndpointAuthorizationsInspectNotFound) String() string
- type CurrentUserEndpointAuthorizationsInspectOK
- func (o *CurrentUserEndpointAuthorizationsInspectOK) Code() int
- func (o *CurrentUserEndpointAuthorizationsInspectOK) Error() string
- func (o *CurrentUserEndpointAuthorizationsInspectOK) GetPayload() *models.UsersCurrentUserEndpointAuthResponse
- func (o *CurrentUserEndpointAuthorizationsInspectOK) IsClientError() bool
- func (o *CurrentUserEndpointAuthorizationsInspectOK) IsCode(code int) bool
- func (o *CurrentUserEndpointAuthorizationsInspectOK) IsRedirect() bool
- func (o *CurrentUserEndpointAuthorizationsInspectOK) IsServerError() bool
- func (o *CurrentUserEndpointAuthorizationsInspectOK) IsSuccess() bool
- func (o *CurrentUserEndpointAuthorizationsInspectOK) String() string
- type CurrentUserEndpointAuthorizationsInspectParams
- func NewCurrentUserEndpointAuthorizationsInspectParams() *CurrentUserEndpointAuthorizationsInspectParams
- func NewCurrentUserEndpointAuthorizationsInspectParamsWithContext(ctx context.Context) *CurrentUserEndpointAuthorizationsInspectParams
- func NewCurrentUserEndpointAuthorizationsInspectParamsWithHTTPClient(client *http.Client) *CurrentUserEndpointAuthorizationsInspectParams
- func NewCurrentUserEndpointAuthorizationsInspectParamsWithTimeout(timeout time.Duration) *CurrentUserEndpointAuthorizationsInspectParams
- func (o *CurrentUserEndpointAuthorizationsInspectParams) SetContext(ctx context.Context)
- func (o *CurrentUserEndpointAuthorizationsInspectParams) SetDefaults()
- func (o *CurrentUserEndpointAuthorizationsInspectParams) SetEndpointID(endpointID int64)
- func (o *CurrentUserEndpointAuthorizationsInspectParams) SetHTTPClient(client *http.Client)
- func (o *CurrentUserEndpointAuthorizationsInspectParams) SetTimeout(timeout time.Duration)
- func (o *CurrentUserEndpointAuthorizationsInspectParams) WithContext(ctx context.Context) *CurrentUserEndpointAuthorizationsInspectParams
- func (o *CurrentUserEndpointAuthorizationsInspectParams) WithDefaults() *CurrentUserEndpointAuthorizationsInspectParams
- func (o *CurrentUserEndpointAuthorizationsInspectParams) WithEndpointID(endpointID int64) *CurrentUserEndpointAuthorizationsInspectParams
- func (o *CurrentUserEndpointAuthorizationsInspectParams) WithHTTPClient(client *http.Client) *CurrentUserEndpointAuthorizationsInspectParams
- func (o *CurrentUserEndpointAuthorizationsInspectParams) WithTimeout(timeout time.Duration) *CurrentUserEndpointAuthorizationsInspectParams
- func (o *CurrentUserEndpointAuthorizationsInspectParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CurrentUserEndpointAuthorizationsInspectReader
- type CurrentUserInspectBadRequest
- func (o *CurrentUserInspectBadRequest) Code() int
- func (o *CurrentUserInspectBadRequest) Error() string
- func (o *CurrentUserInspectBadRequest) IsClientError() bool
- func (o *CurrentUserInspectBadRequest) IsCode(code int) bool
- func (o *CurrentUserInspectBadRequest) IsRedirect() bool
- func (o *CurrentUserInspectBadRequest) IsServerError() bool
- func (o *CurrentUserInspectBadRequest) IsSuccess() bool
- func (o *CurrentUserInspectBadRequest) String() string
- type CurrentUserInspectForbidden
- func (o *CurrentUserInspectForbidden) Code() int
- func (o *CurrentUserInspectForbidden) Error() string
- func (o *CurrentUserInspectForbidden) IsClientError() bool
- func (o *CurrentUserInspectForbidden) IsCode(code int) bool
- func (o *CurrentUserInspectForbidden) IsRedirect() bool
- func (o *CurrentUserInspectForbidden) IsServerError() bool
- func (o *CurrentUserInspectForbidden) IsSuccess() bool
- func (o *CurrentUserInspectForbidden) String() string
- type CurrentUserInspectInternalServerError
- func (o *CurrentUserInspectInternalServerError) Code() int
- func (o *CurrentUserInspectInternalServerError) Error() string
- func (o *CurrentUserInspectInternalServerError) IsClientError() bool
- func (o *CurrentUserInspectInternalServerError) IsCode(code int) bool
- func (o *CurrentUserInspectInternalServerError) IsRedirect() bool
- func (o *CurrentUserInspectInternalServerError) IsServerError() bool
- func (o *CurrentUserInspectInternalServerError) IsSuccess() bool
- func (o *CurrentUserInspectInternalServerError) String() string
- type CurrentUserInspectNotFound
- func (o *CurrentUserInspectNotFound) Code() int
- func (o *CurrentUserInspectNotFound) Error() string
- func (o *CurrentUserInspectNotFound) IsClientError() bool
- func (o *CurrentUserInspectNotFound) IsCode(code int) bool
- func (o *CurrentUserInspectNotFound) IsRedirect() bool
- func (o *CurrentUserInspectNotFound) IsServerError() bool
- func (o *CurrentUserInspectNotFound) IsSuccess() bool
- func (o *CurrentUserInspectNotFound) String() string
- type CurrentUserInspectOK
- func (o *CurrentUserInspectOK) Code() int
- func (o *CurrentUserInspectOK) Error() string
- func (o *CurrentUserInspectOK) GetPayload() *models.PortainereeUser
- func (o *CurrentUserInspectOK) IsClientError() bool
- func (o *CurrentUserInspectOK) IsCode(code int) bool
- func (o *CurrentUserInspectOK) IsRedirect() bool
- func (o *CurrentUserInspectOK) IsServerError() bool
- func (o *CurrentUserInspectOK) IsSuccess() bool
- func (o *CurrentUserInspectOK) String() string
- type CurrentUserInspectParams
- func NewCurrentUserInspectParams() *CurrentUserInspectParams
- func NewCurrentUserInspectParamsWithContext(ctx context.Context) *CurrentUserInspectParams
- func NewCurrentUserInspectParamsWithHTTPClient(client *http.Client) *CurrentUserInspectParams
- func NewCurrentUserInspectParamsWithTimeout(timeout time.Duration) *CurrentUserInspectParams
- func (o *CurrentUserInspectParams) SetContext(ctx context.Context)
- func (o *CurrentUserInspectParams) SetDefaults()
- func (o *CurrentUserInspectParams) SetHTTPClient(client *http.Client)
- func (o *CurrentUserInspectParams) SetNoEndpointAuthorizations(noEndpointAuthorizations bool)
- func (o *CurrentUserInspectParams) SetTimeout(timeout time.Duration)
- func (o *CurrentUserInspectParams) WithContext(ctx context.Context) *CurrentUserInspectParams
- func (o *CurrentUserInspectParams) WithDefaults() *CurrentUserInspectParams
- func (o *CurrentUserInspectParams) WithHTTPClient(client *http.Client) *CurrentUserInspectParams
- func (o *CurrentUserInspectParams) WithNoEndpointAuthorizations(noEndpointAuthorizations bool) *CurrentUserInspectParams
- func (o *CurrentUserInspectParams) WithTimeout(timeout time.Duration) *CurrentUserInspectParams
- func (o *CurrentUserInspectParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CurrentUserInspectReader
- type UserAdminCheckNoContent
- func (o *UserAdminCheckNoContent) Code() int
- func (o *UserAdminCheckNoContent) Error() string
- func (o *UserAdminCheckNoContent) IsClientError() bool
- func (o *UserAdminCheckNoContent) IsCode(code int) bool
- func (o *UserAdminCheckNoContent) IsRedirect() bool
- func (o *UserAdminCheckNoContent) IsServerError() bool
- func (o *UserAdminCheckNoContent) IsSuccess() bool
- func (o *UserAdminCheckNoContent) String() string
- type UserAdminCheckNotFound
- func (o *UserAdminCheckNotFound) Code() int
- func (o *UserAdminCheckNotFound) Error() string
- func (o *UserAdminCheckNotFound) IsClientError() bool
- func (o *UserAdminCheckNotFound) IsCode(code int) bool
- func (o *UserAdminCheckNotFound) IsRedirect() bool
- func (o *UserAdminCheckNotFound) IsServerError() bool
- func (o *UserAdminCheckNotFound) IsSuccess() bool
- func (o *UserAdminCheckNotFound) String() string
- type UserAdminCheckParams
- func NewUserAdminCheckParams() *UserAdminCheckParams
- func NewUserAdminCheckParamsWithContext(ctx context.Context) *UserAdminCheckParams
- func NewUserAdminCheckParamsWithHTTPClient(client *http.Client) *UserAdminCheckParams
- func NewUserAdminCheckParamsWithTimeout(timeout time.Duration) *UserAdminCheckParams
- func (o *UserAdminCheckParams) SetContext(ctx context.Context)
- func (o *UserAdminCheckParams) SetDefaults()
- func (o *UserAdminCheckParams) SetHTTPClient(client *http.Client)
- func (o *UserAdminCheckParams) SetTimeout(timeout time.Duration)
- func (o *UserAdminCheckParams) WithContext(ctx context.Context) *UserAdminCheckParams
- func (o *UserAdminCheckParams) WithDefaults() *UserAdminCheckParams
- func (o *UserAdminCheckParams) WithHTTPClient(client *http.Client) *UserAdminCheckParams
- func (o *UserAdminCheckParams) WithTimeout(timeout time.Duration) *UserAdminCheckParams
- func (o *UserAdminCheckParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UserAdminCheckReader
- type UserAdminInitBadRequest
- func (o *UserAdminInitBadRequest) Code() int
- func (o *UserAdminInitBadRequest) Error() string
- func (o *UserAdminInitBadRequest) IsClientError() bool
- func (o *UserAdminInitBadRequest) IsCode(code int) bool
- func (o *UserAdminInitBadRequest) IsRedirect() bool
- func (o *UserAdminInitBadRequest) IsServerError() bool
- func (o *UserAdminInitBadRequest) IsSuccess() bool
- func (o *UserAdminInitBadRequest) String() string
- type UserAdminInitConflict
- func (o *UserAdminInitConflict) Code() int
- func (o *UserAdminInitConflict) Error() string
- func (o *UserAdminInitConflict) IsClientError() bool
- func (o *UserAdminInitConflict) IsCode(code int) bool
- func (o *UserAdminInitConflict) IsRedirect() bool
- func (o *UserAdminInitConflict) IsServerError() bool
- func (o *UserAdminInitConflict) IsSuccess() bool
- func (o *UserAdminInitConflict) String() string
- type UserAdminInitInternalServerError
- func (o *UserAdminInitInternalServerError) Code() int
- func (o *UserAdminInitInternalServerError) Error() string
- func (o *UserAdminInitInternalServerError) IsClientError() bool
- func (o *UserAdminInitInternalServerError) IsCode(code int) bool
- func (o *UserAdminInitInternalServerError) IsRedirect() bool
- func (o *UserAdminInitInternalServerError) IsServerError() bool
- func (o *UserAdminInitInternalServerError) IsSuccess() bool
- func (o *UserAdminInitInternalServerError) String() string
- type UserAdminInitOK
- func (o *UserAdminInitOK) Code() int
- func (o *UserAdminInitOK) Error() string
- func (o *UserAdminInitOK) GetPayload() *models.PortainereeUser
- func (o *UserAdminInitOK) IsClientError() bool
- func (o *UserAdminInitOK) IsCode(code int) bool
- func (o *UserAdminInitOK) IsRedirect() bool
- func (o *UserAdminInitOK) IsServerError() bool
- func (o *UserAdminInitOK) IsSuccess() bool
- func (o *UserAdminInitOK) String() string
- type UserAdminInitParams
- func (o *UserAdminInitParams) SetBody(body *models.UsersAdminInitPayload)
- func (o *UserAdminInitParams) SetContext(ctx context.Context)
- func (o *UserAdminInitParams) SetDefaults()
- func (o *UserAdminInitParams) SetHTTPClient(client *http.Client)
- func (o *UserAdminInitParams) SetTimeout(timeout time.Duration)
- func (o *UserAdminInitParams) WithBody(body *models.UsersAdminInitPayload) *UserAdminInitParams
- func (o *UserAdminInitParams) WithContext(ctx context.Context) *UserAdminInitParams
- func (o *UserAdminInitParams) WithDefaults() *UserAdminInitParams
- func (o *UserAdminInitParams) WithHTTPClient(client *http.Client) *UserAdminInitParams
- func (o *UserAdminInitParams) WithTimeout(timeout time.Duration) *UserAdminInitParams
- func (o *UserAdminInitParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UserAdminInitReader
- type UserCreateBadRequest
- func (o *UserCreateBadRequest) Code() int
- func (o *UserCreateBadRequest) Error() string
- func (o *UserCreateBadRequest) IsClientError() bool
- func (o *UserCreateBadRequest) IsCode(code int) bool
- func (o *UserCreateBadRequest) IsRedirect() bool
- func (o *UserCreateBadRequest) IsServerError() bool
- func (o *UserCreateBadRequest) IsSuccess() bool
- func (o *UserCreateBadRequest) String() string
- type UserCreateConflict
- func (o *UserCreateConflict) Code() int
- func (o *UserCreateConflict) Error() string
- func (o *UserCreateConflict) IsClientError() bool
- func (o *UserCreateConflict) IsCode(code int) bool
- func (o *UserCreateConflict) IsRedirect() bool
- func (o *UserCreateConflict) IsServerError() bool
- func (o *UserCreateConflict) IsSuccess() bool
- func (o *UserCreateConflict) String() string
- type UserCreateForbidden
- func (o *UserCreateForbidden) Code() int
- func (o *UserCreateForbidden) Error() string
- func (o *UserCreateForbidden) IsClientError() bool
- func (o *UserCreateForbidden) IsCode(code int) bool
- func (o *UserCreateForbidden) IsRedirect() bool
- func (o *UserCreateForbidden) IsServerError() bool
- func (o *UserCreateForbidden) IsSuccess() bool
- func (o *UserCreateForbidden) String() string
- type UserCreateGitCredentialBadRequest
- func (o *UserCreateGitCredentialBadRequest) Code() int
- func (o *UserCreateGitCredentialBadRequest) Error() string
- func (o *UserCreateGitCredentialBadRequest) IsClientError() bool
- func (o *UserCreateGitCredentialBadRequest) IsCode(code int) bool
- func (o *UserCreateGitCredentialBadRequest) IsRedirect() bool
- func (o *UserCreateGitCredentialBadRequest) IsServerError() bool
- func (o *UserCreateGitCredentialBadRequest) IsSuccess() bool
- func (o *UserCreateGitCredentialBadRequest) String() string
- type UserCreateGitCredentialCreated
- func (o *UserCreateGitCredentialCreated) Code() int
- func (o *UserCreateGitCredentialCreated) Error() string
- func (o *UserCreateGitCredentialCreated) GetPayload() *models.UsersGitCredentialResponse
- func (o *UserCreateGitCredentialCreated) IsClientError() bool
- func (o *UserCreateGitCredentialCreated) IsCode(code int) bool
- func (o *UserCreateGitCredentialCreated) IsRedirect() bool
- func (o *UserCreateGitCredentialCreated) IsServerError() bool
- func (o *UserCreateGitCredentialCreated) IsSuccess() bool
- func (o *UserCreateGitCredentialCreated) String() string
- type UserCreateGitCredentialForbidden
- func (o *UserCreateGitCredentialForbidden) Code() int
- func (o *UserCreateGitCredentialForbidden) Error() string
- func (o *UserCreateGitCredentialForbidden) IsClientError() bool
- func (o *UserCreateGitCredentialForbidden) IsCode(code int) bool
- func (o *UserCreateGitCredentialForbidden) IsRedirect() bool
- func (o *UserCreateGitCredentialForbidden) IsServerError() bool
- func (o *UserCreateGitCredentialForbidden) IsSuccess() bool
- func (o *UserCreateGitCredentialForbidden) String() string
- type UserCreateGitCredentialInternalServerError
- func (o *UserCreateGitCredentialInternalServerError) Code() int
- func (o *UserCreateGitCredentialInternalServerError) Error() string
- func (o *UserCreateGitCredentialInternalServerError) IsClientError() bool
- func (o *UserCreateGitCredentialInternalServerError) IsCode(code int) bool
- func (o *UserCreateGitCredentialInternalServerError) IsRedirect() bool
- func (o *UserCreateGitCredentialInternalServerError) IsServerError() bool
- func (o *UserCreateGitCredentialInternalServerError) IsSuccess() bool
- func (o *UserCreateGitCredentialInternalServerError) String() string
- type UserCreateGitCredentialParams
- func NewUserCreateGitCredentialParams() *UserCreateGitCredentialParams
- func NewUserCreateGitCredentialParamsWithContext(ctx context.Context) *UserCreateGitCredentialParams
- func NewUserCreateGitCredentialParamsWithHTTPClient(client *http.Client) *UserCreateGitCredentialParams
- func NewUserCreateGitCredentialParamsWithTimeout(timeout time.Duration) *UserCreateGitCredentialParams
- func (o *UserCreateGitCredentialParams) SetBody(body *models.UsersUserGitCredentialCreatePayload)
- func (o *UserCreateGitCredentialParams) SetContext(ctx context.Context)
- func (o *UserCreateGitCredentialParams) SetDefaults()
- func (o *UserCreateGitCredentialParams) SetHTTPClient(client *http.Client)
- func (o *UserCreateGitCredentialParams) SetID(id int64)
- func (o *UserCreateGitCredentialParams) SetTimeout(timeout time.Duration)
- func (o *UserCreateGitCredentialParams) WithBody(body *models.UsersUserGitCredentialCreatePayload) *UserCreateGitCredentialParams
- func (o *UserCreateGitCredentialParams) WithContext(ctx context.Context) *UserCreateGitCredentialParams
- func (o *UserCreateGitCredentialParams) WithDefaults() *UserCreateGitCredentialParams
- func (o *UserCreateGitCredentialParams) WithHTTPClient(client *http.Client) *UserCreateGitCredentialParams
- func (o *UserCreateGitCredentialParams) WithID(id int64) *UserCreateGitCredentialParams
- func (o *UserCreateGitCredentialParams) WithTimeout(timeout time.Duration) *UserCreateGitCredentialParams
- func (o *UserCreateGitCredentialParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UserCreateGitCredentialReader
- type UserCreateGitCredentialUnauthorized
- func (o *UserCreateGitCredentialUnauthorized) Code() int
- func (o *UserCreateGitCredentialUnauthorized) Error() string
- func (o *UserCreateGitCredentialUnauthorized) IsClientError() bool
- func (o *UserCreateGitCredentialUnauthorized) IsCode(code int) bool
- func (o *UserCreateGitCredentialUnauthorized) IsRedirect() bool
- func (o *UserCreateGitCredentialUnauthorized) IsServerError() bool
- func (o *UserCreateGitCredentialUnauthorized) IsSuccess() bool
- func (o *UserCreateGitCredentialUnauthorized) String() string
- type UserCreateInternalServerError
- func (o *UserCreateInternalServerError) Code() int
- func (o *UserCreateInternalServerError) Error() string
- func (o *UserCreateInternalServerError) IsClientError() bool
- func (o *UserCreateInternalServerError) IsCode(code int) bool
- func (o *UserCreateInternalServerError) IsRedirect() bool
- func (o *UserCreateInternalServerError) IsServerError() bool
- func (o *UserCreateInternalServerError) IsSuccess() bool
- func (o *UserCreateInternalServerError) String() string
- type UserCreateOK
- func (o *UserCreateOK) Code() int
- func (o *UserCreateOK) Error() string
- func (o *UserCreateOK) GetPayload() *models.PortainereeUser
- func (o *UserCreateOK) IsClientError() bool
- func (o *UserCreateOK) IsCode(code int) bool
- func (o *UserCreateOK) IsRedirect() bool
- func (o *UserCreateOK) IsServerError() bool
- func (o *UserCreateOK) IsSuccess() bool
- func (o *UserCreateOK) String() string
- type UserCreateParams
- func (o *UserCreateParams) SetBody(body *models.UsersUserCreatePayload)
- func (o *UserCreateParams) SetContext(ctx context.Context)
- func (o *UserCreateParams) SetDefaults()
- func (o *UserCreateParams) SetHTTPClient(client *http.Client)
- func (o *UserCreateParams) SetTimeout(timeout time.Duration)
- func (o *UserCreateParams) WithBody(body *models.UsersUserCreatePayload) *UserCreateParams
- func (o *UserCreateParams) WithContext(ctx context.Context) *UserCreateParams
- func (o *UserCreateParams) WithDefaults() *UserCreateParams
- func (o *UserCreateParams) WithHTTPClient(client *http.Client) *UserCreateParams
- func (o *UserCreateParams) WithTimeout(timeout time.Duration) *UserCreateParams
- func (o *UserCreateParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UserCreateReader
- type UserDeleteBadRequest
- func (o *UserDeleteBadRequest) Code() int
- func (o *UserDeleteBadRequest) Error() string
- func (o *UserDeleteBadRequest) IsClientError() bool
- func (o *UserDeleteBadRequest) IsCode(code int) bool
- func (o *UserDeleteBadRequest) IsRedirect() bool
- func (o *UserDeleteBadRequest) IsServerError() bool
- func (o *UserDeleteBadRequest) IsSuccess() bool
- func (o *UserDeleteBadRequest) String() string
- type UserDeleteForbidden
- func (o *UserDeleteForbidden) Code() int
- func (o *UserDeleteForbidden) Error() string
- func (o *UserDeleteForbidden) IsClientError() bool
- func (o *UserDeleteForbidden) IsCode(code int) bool
- func (o *UserDeleteForbidden) IsRedirect() bool
- func (o *UserDeleteForbidden) IsServerError() bool
- func (o *UserDeleteForbidden) IsSuccess() bool
- func (o *UserDeleteForbidden) String() string
- type UserDeleteInternalServerError
- func (o *UserDeleteInternalServerError) Code() int
- func (o *UserDeleteInternalServerError) Error() string
- func (o *UserDeleteInternalServerError) IsClientError() bool
- func (o *UserDeleteInternalServerError) IsCode(code int) bool
- func (o *UserDeleteInternalServerError) IsRedirect() bool
- func (o *UserDeleteInternalServerError) IsServerError() bool
- func (o *UserDeleteInternalServerError) IsSuccess() bool
- func (o *UserDeleteInternalServerError) String() string
- type UserDeleteNoContent
- func (o *UserDeleteNoContent) Code() int
- func (o *UserDeleteNoContent) Error() string
- func (o *UserDeleteNoContent) IsClientError() bool
- func (o *UserDeleteNoContent) IsCode(code int) bool
- func (o *UserDeleteNoContent) IsRedirect() bool
- func (o *UserDeleteNoContent) IsServerError() bool
- func (o *UserDeleteNoContent) IsSuccess() bool
- func (o *UserDeleteNoContent) String() string
- type UserDeleteNotFound
- func (o *UserDeleteNotFound) Code() int
- func (o *UserDeleteNotFound) Error() string
- func (o *UserDeleteNotFound) IsClientError() bool
- func (o *UserDeleteNotFound) IsCode(code int) bool
- func (o *UserDeleteNotFound) IsRedirect() bool
- func (o *UserDeleteNotFound) IsServerError() bool
- func (o *UserDeleteNotFound) IsSuccess() bool
- func (o *UserDeleteNotFound) String() string
- type UserDeleteParams
- func (o *UserDeleteParams) SetContext(ctx context.Context)
- func (o *UserDeleteParams) SetDefaults()
- func (o *UserDeleteParams) SetHTTPClient(client *http.Client)
- func (o *UserDeleteParams) SetID(id int64)
- func (o *UserDeleteParams) SetTimeout(timeout time.Duration)
- func (o *UserDeleteParams) WithContext(ctx context.Context) *UserDeleteParams
- func (o *UserDeleteParams) WithDefaults() *UserDeleteParams
- func (o *UserDeleteParams) WithHTTPClient(client *http.Client) *UserDeleteParams
- func (o *UserDeleteParams) WithID(id int64) *UserDeleteParams
- func (o *UserDeleteParams) WithTimeout(timeout time.Duration) *UserDeleteParams
- func (o *UserDeleteParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UserDeleteReader
- type UserGenerateAPIKeyBadRequest
- func (o *UserGenerateAPIKeyBadRequest) Code() int
- func (o *UserGenerateAPIKeyBadRequest) Error() string
- func (o *UserGenerateAPIKeyBadRequest) IsClientError() bool
- func (o *UserGenerateAPIKeyBadRequest) IsCode(code int) bool
- func (o *UserGenerateAPIKeyBadRequest) IsRedirect() bool
- func (o *UserGenerateAPIKeyBadRequest) IsServerError() bool
- func (o *UserGenerateAPIKeyBadRequest) IsSuccess() bool
- func (o *UserGenerateAPIKeyBadRequest) String() string
- type UserGenerateAPIKeyForbidden
- func (o *UserGenerateAPIKeyForbidden) Code() int
- func (o *UserGenerateAPIKeyForbidden) Error() string
- func (o *UserGenerateAPIKeyForbidden) IsClientError() bool
- func (o *UserGenerateAPIKeyForbidden) IsCode(code int) bool
- func (o *UserGenerateAPIKeyForbidden) IsRedirect() bool
- func (o *UserGenerateAPIKeyForbidden) IsServerError() bool
- func (o *UserGenerateAPIKeyForbidden) IsSuccess() bool
- func (o *UserGenerateAPIKeyForbidden) String() string
- type UserGenerateAPIKeyInternalServerError
- func (o *UserGenerateAPIKeyInternalServerError) Code() int
- func (o *UserGenerateAPIKeyInternalServerError) Error() string
- func (o *UserGenerateAPIKeyInternalServerError) IsClientError() bool
- func (o *UserGenerateAPIKeyInternalServerError) IsCode(code int) bool
- func (o *UserGenerateAPIKeyInternalServerError) IsRedirect() bool
- func (o *UserGenerateAPIKeyInternalServerError) IsServerError() bool
- func (o *UserGenerateAPIKeyInternalServerError) IsSuccess() bool
- func (o *UserGenerateAPIKeyInternalServerError) String() string
- type UserGenerateAPIKeyNotFound
- func (o *UserGenerateAPIKeyNotFound) Code() int
- func (o *UserGenerateAPIKeyNotFound) Error() string
- func (o *UserGenerateAPIKeyNotFound) IsClientError() bool
- func (o *UserGenerateAPIKeyNotFound) IsCode(code int) bool
- func (o *UserGenerateAPIKeyNotFound) IsRedirect() bool
- func (o *UserGenerateAPIKeyNotFound) IsServerError() bool
- func (o *UserGenerateAPIKeyNotFound) IsSuccess() bool
- func (o *UserGenerateAPIKeyNotFound) String() string
- type UserGenerateAPIKeyOK
- func (o *UserGenerateAPIKeyOK) Code() int
- func (o *UserGenerateAPIKeyOK) Error() string
- func (o *UserGenerateAPIKeyOK) GetPayload() *models.UsersAccessTokenResponse
- func (o *UserGenerateAPIKeyOK) IsClientError() bool
- func (o *UserGenerateAPIKeyOK) IsCode(code int) bool
- func (o *UserGenerateAPIKeyOK) IsRedirect() bool
- func (o *UserGenerateAPIKeyOK) IsServerError() bool
- func (o *UserGenerateAPIKeyOK) IsSuccess() bool
- func (o *UserGenerateAPIKeyOK) String() string
- type UserGenerateAPIKeyParams
- func NewUserGenerateAPIKeyParams() *UserGenerateAPIKeyParams
- func NewUserGenerateAPIKeyParamsWithContext(ctx context.Context) *UserGenerateAPIKeyParams
- func NewUserGenerateAPIKeyParamsWithHTTPClient(client *http.Client) *UserGenerateAPIKeyParams
- func NewUserGenerateAPIKeyParamsWithTimeout(timeout time.Duration) *UserGenerateAPIKeyParams
- func (o *UserGenerateAPIKeyParams) SetBody(body *models.UsersUserAccessTokenCreatePayload)
- func (o *UserGenerateAPIKeyParams) SetContext(ctx context.Context)
- func (o *UserGenerateAPIKeyParams) SetDefaults()
- func (o *UserGenerateAPIKeyParams) SetHTTPClient(client *http.Client)
- func (o *UserGenerateAPIKeyParams) SetID(id int64)
- func (o *UserGenerateAPIKeyParams) SetTimeout(timeout time.Duration)
- func (o *UserGenerateAPIKeyParams) WithBody(body *models.UsersUserAccessTokenCreatePayload) *UserGenerateAPIKeyParams
- func (o *UserGenerateAPIKeyParams) WithContext(ctx context.Context) *UserGenerateAPIKeyParams
- func (o *UserGenerateAPIKeyParams) WithDefaults() *UserGenerateAPIKeyParams
- func (o *UserGenerateAPIKeyParams) WithHTTPClient(client *http.Client) *UserGenerateAPIKeyParams
- func (o *UserGenerateAPIKeyParams) WithID(id int64) *UserGenerateAPIKeyParams
- func (o *UserGenerateAPIKeyParams) WithTimeout(timeout time.Duration) *UserGenerateAPIKeyParams
- func (o *UserGenerateAPIKeyParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UserGenerateAPIKeyReader
- type UserGenerateAPIKeyUnauthorized
- func (o *UserGenerateAPIKeyUnauthorized) Code() int
- func (o *UserGenerateAPIKeyUnauthorized) Error() string
- func (o *UserGenerateAPIKeyUnauthorized) IsClientError() bool
- func (o *UserGenerateAPIKeyUnauthorized) IsCode(code int) bool
- func (o *UserGenerateAPIKeyUnauthorized) IsRedirect() bool
- func (o *UserGenerateAPIKeyUnauthorized) IsServerError() bool
- func (o *UserGenerateAPIKeyUnauthorized) IsSuccess() bool
- func (o *UserGenerateAPIKeyUnauthorized) String() string
- type UserGetAPIKeysBadRequest
- func (o *UserGetAPIKeysBadRequest) Code() int
- func (o *UserGetAPIKeysBadRequest) Error() string
- func (o *UserGetAPIKeysBadRequest) IsClientError() bool
- func (o *UserGetAPIKeysBadRequest) IsCode(code int) bool
- func (o *UserGetAPIKeysBadRequest) IsRedirect() bool
- func (o *UserGetAPIKeysBadRequest) IsServerError() bool
- func (o *UserGetAPIKeysBadRequest) IsSuccess() bool
- func (o *UserGetAPIKeysBadRequest) String() string
- type UserGetAPIKeysForbidden
- func (o *UserGetAPIKeysForbidden) Code() int
- func (o *UserGetAPIKeysForbidden) Error() string
- func (o *UserGetAPIKeysForbidden) IsClientError() bool
- func (o *UserGetAPIKeysForbidden) IsCode(code int) bool
- func (o *UserGetAPIKeysForbidden) IsRedirect() bool
- func (o *UserGetAPIKeysForbidden) IsServerError() bool
- func (o *UserGetAPIKeysForbidden) IsSuccess() bool
- func (o *UserGetAPIKeysForbidden) String() string
- type UserGetAPIKeysInternalServerError
- func (o *UserGetAPIKeysInternalServerError) Code() int
- func (o *UserGetAPIKeysInternalServerError) Error() string
- func (o *UserGetAPIKeysInternalServerError) IsClientError() bool
- func (o *UserGetAPIKeysInternalServerError) IsCode(code int) bool
- func (o *UserGetAPIKeysInternalServerError) IsRedirect() bool
- func (o *UserGetAPIKeysInternalServerError) IsServerError() bool
- func (o *UserGetAPIKeysInternalServerError) IsSuccess() bool
- func (o *UserGetAPIKeysInternalServerError) String() string
- type UserGetAPIKeysNotFound
- func (o *UserGetAPIKeysNotFound) Code() int
- func (o *UserGetAPIKeysNotFound) Error() string
- func (o *UserGetAPIKeysNotFound) IsClientError() bool
- func (o *UserGetAPIKeysNotFound) IsCode(code int) bool
- func (o *UserGetAPIKeysNotFound) IsRedirect() bool
- func (o *UserGetAPIKeysNotFound) IsServerError() bool
- func (o *UserGetAPIKeysNotFound) IsSuccess() bool
- func (o *UserGetAPIKeysNotFound) String() string
- type UserGetAPIKeysOK
- func (o *UserGetAPIKeysOK) Code() int
- func (o *UserGetAPIKeysOK) Error() string
- func (o *UserGetAPIKeysOK) GetPayload() []*models.PortainerAPIKey
- func (o *UserGetAPIKeysOK) IsClientError() bool
- func (o *UserGetAPIKeysOK) IsCode(code int) bool
- func (o *UserGetAPIKeysOK) IsRedirect() bool
- func (o *UserGetAPIKeysOK) IsServerError() bool
- func (o *UserGetAPIKeysOK) IsSuccess() bool
- func (o *UserGetAPIKeysOK) String() string
- type UserGetAPIKeysParams
- func NewUserGetAPIKeysParams() *UserGetAPIKeysParams
- func NewUserGetAPIKeysParamsWithContext(ctx context.Context) *UserGetAPIKeysParams
- func NewUserGetAPIKeysParamsWithHTTPClient(client *http.Client) *UserGetAPIKeysParams
- func NewUserGetAPIKeysParamsWithTimeout(timeout time.Duration) *UserGetAPIKeysParams
- func (o *UserGetAPIKeysParams) SetContext(ctx context.Context)
- func (o *UserGetAPIKeysParams) SetDefaults()
- func (o *UserGetAPIKeysParams) SetHTTPClient(client *http.Client)
- func (o *UserGetAPIKeysParams) SetID(id int64)
- func (o *UserGetAPIKeysParams) SetTimeout(timeout time.Duration)
- func (o *UserGetAPIKeysParams) WithContext(ctx context.Context) *UserGetAPIKeysParams
- func (o *UserGetAPIKeysParams) WithDefaults() *UserGetAPIKeysParams
- func (o *UserGetAPIKeysParams) WithHTTPClient(client *http.Client) *UserGetAPIKeysParams
- func (o *UserGetAPIKeysParams) WithID(id int64) *UserGetAPIKeysParams
- func (o *UserGetAPIKeysParams) WithTimeout(timeout time.Duration) *UserGetAPIKeysParams
- func (o *UserGetAPIKeysParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UserGetAPIKeysReader
- type UserGetGitCredentialBadRequest
- func (o *UserGetGitCredentialBadRequest) Code() int
- func (o *UserGetGitCredentialBadRequest) Error() string
- func (o *UserGetGitCredentialBadRequest) IsClientError() bool
- func (o *UserGetGitCredentialBadRequest) IsCode(code int) bool
- func (o *UserGetGitCredentialBadRequest) IsRedirect() bool
- func (o *UserGetGitCredentialBadRequest) IsServerError() bool
- func (o *UserGetGitCredentialBadRequest) IsSuccess() bool
- func (o *UserGetGitCredentialBadRequest) String() string
- type UserGetGitCredentialForbidden
- func (o *UserGetGitCredentialForbidden) Code() int
- func (o *UserGetGitCredentialForbidden) Error() string
- func (o *UserGetGitCredentialForbidden) IsClientError() bool
- func (o *UserGetGitCredentialForbidden) IsCode(code int) bool
- func (o *UserGetGitCredentialForbidden) IsRedirect() bool
- func (o *UserGetGitCredentialForbidden) IsServerError() bool
- func (o *UserGetGitCredentialForbidden) IsSuccess() bool
- func (o *UserGetGitCredentialForbidden) String() string
- type UserGetGitCredentialInternalServerError
- func (o *UserGetGitCredentialInternalServerError) Code() int
- func (o *UserGetGitCredentialInternalServerError) Error() string
- func (o *UserGetGitCredentialInternalServerError) IsClientError() bool
- func (o *UserGetGitCredentialInternalServerError) IsCode(code int) bool
- func (o *UserGetGitCredentialInternalServerError) IsRedirect() bool
- func (o *UserGetGitCredentialInternalServerError) IsServerError() bool
- func (o *UserGetGitCredentialInternalServerError) IsSuccess() bool
- func (o *UserGetGitCredentialInternalServerError) String() string
- type UserGetGitCredentialNotFound
- func (o *UserGetGitCredentialNotFound) Code() int
- func (o *UserGetGitCredentialNotFound) Error() string
- func (o *UserGetGitCredentialNotFound) IsClientError() bool
- func (o *UserGetGitCredentialNotFound) IsCode(code int) bool
- func (o *UserGetGitCredentialNotFound) IsRedirect() bool
- func (o *UserGetGitCredentialNotFound) IsServerError() bool
- func (o *UserGetGitCredentialNotFound) IsSuccess() bool
- func (o *UserGetGitCredentialNotFound) String() string
- type UserGetGitCredentialOK
- func (o *UserGetGitCredentialOK) Code() int
- func (o *UserGetGitCredentialOK) Error() string
- func (o *UserGetGitCredentialOK) GetPayload() *models.PortainereeGitCredential
- func (o *UserGetGitCredentialOK) IsClientError() bool
- func (o *UserGetGitCredentialOK) IsCode(code int) bool
- func (o *UserGetGitCredentialOK) IsRedirect() bool
- func (o *UserGetGitCredentialOK) IsServerError() bool
- func (o *UserGetGitCredentialOK) IsSuccess() bool
- func (o *UserGetGitCredentialOK) String() string
- type UserGetGitCredentialParams
- func NewUserGetGitCredentialParams() *UserGetGitCredentialParams
- func NewUserGetGitCredentialParamsWithContext(ctx context.Context) *UserGetGitCredentialParams
- func NewUserGetGitCredentialParamsWithHTTPClient(client *http.Client) *UserGetGitCredentialParams
- func NewUserGetGitCredentialParamsWithTimeout(timeout time.Duration) *UserGetGitCredentialParams
- func (o *UserGetGitCredentialParams) SetContext(ctx context.Context)
- func (o *UserGetGitCredentialParams) SetCredentialID(credentialID int64)
- func (o *UserGetGitCredentialParams) SetDefaults()
- func (o *UserGetGitCredentialParams) SetHTTPClient(client *http.Client)
- func (o *UserGetGitCredentialParams) SetID(id int64)
- func (o *UserGetGitCredentialParams) SetTimeout(timeout time.Duration)
- func (o *UserGetGitCredentialParams) WithContext(ctx context.Context) *UserGetGitCredentialParams
- func (o *UserGetGitCredentialParams) WithCredentialID(credentialID int64) *UserGetGitCredentialParams
- func (o *UserGetGitCredentialParams) WithDefaults() *UserGetGitCredentialParams
- func (o *UserGetGitCredentialParams) WithHTTPClient(client *http.Client) *UserGetGitCredentialParams
- func (o *UserGetGitCredentialParams) WithID(id int64) *UserGetGitCredentialParams
- func (o *UserGetGitCredentialParams) WithTimeout(timeout time.Duration) *UserGetGitCredentialParams
- func (o *UserGetGitCredentialParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UserGetGitCredentialReader
- type UserGetGitCredentialsBadRequest
- func (o *UserGetGitCredentialsBadRequest) Code() int
- func (o *UserGetGitCredentialsBadRequest) Error() string
- func (o *UserGetGitCredentialsBadRequest) IsClientError() bool
- func (o *UserGetGitCredentialsBadRequest) IsCode(code int) bool
- func (o *UserGetGitCredentialsBadRequest) IsRedirect() bool
- func (o *UserGetGitCredentialsBadRequest) IsServerError() bool
- func (o *UserGetGitCredentialsBadRequest) IsSuccess() bool
- func (o *UserGetGitCredentialsBadRequest) String() string
- type UserGetGitCredentialsForbidden
- func (o *UserGetGitCredentialsForbidden) Code() int
- func (o *UserGetGitCredentialsForbidden) Error() string
- func (o *UserGetGitCredentialsForbidden) IsClientError() bool
- func (o *UserGetGitCredentialsForbidden) IsCode(code int) bool
- func (o *UserGetGitCredentialsForbidden) IsRedirect() bool
- func (o *UserGetGitCredentialsForbidden) IsServerError() bool
- func (o *UserGetGitCredentialsForbidden) IsSuccess() bool
- func (o *UserGetGitCredentialsForbidden) String() string
- type UserGetGitCredentialsInternalServerError
- func (o *UserGetGitCredentialsInternalServerError) Code() int
- func (o *UserGetGitCredentialsInternalServerError) Error() string
- func (o *UserGetGitCredentialsInternalServerError) IsClientError() bool
- func (o *UserGetGitCredentialsInternalServerError) IsCode(code int) bool
- func (o *UserGetGitCredentialsInternalServerError) IsRedirect() bool
- func (o *UserGetGitCredentialsInternalServerError) IsServerError() bool
- func (o *UserGetGitCredentialsInternalServerError) IsSuccess() bool
- func (o *UserGetGitCredentialsInternalServerError) String() string
- type UserGetGitCredentialsNotFound
- func (o *UserGetGitCredentialsNotFound) Code() int
- func (o *UserGetGitCredentialsNotFound) Error() string
- func (o *UserGetGitCredentialsNotFound) IsClientError() bool
- func (o *UserGetGitCredentialsNotFound) IsCode(code int) bool
- func (o *UserGetGitCredentialsNotFound) IsRedirect() bool
- func (o *UserGetGitCredentialsNotFound) IsServerError() bool
- func (o *UserGetGitCredentialsNotFound) IsSuccess() bool
- func (o *UserGetGitCredentialsNotFound) String() string
- type UserGetGitCredentialsOK
- func (o *UserGetGitCredentialsOK) Code() int
- func (o *UserGetGitCredentialsOK) Error() string
- func (o *UserGetGitCredentialsOK) GetPayload() []*models.PortainereeGitCredential
- func (o *UserGetGitCredentialsOK) IsClientError() bool
- func (o *UserGetGitCredentialsOK) IsCode(code int) bool
- func (o *UserGetGitCredentialsOK) IsRedirect() bool
- func (o *UserGetGitCredentialsOK) IsServerError() bool
- func (o *UserGetGitCredentialsOK) IsSuccess() bool
- func (o *UserGetGitCredentialsOK) String() string
- type UserGetGitCredentialsParams
- func NewUserGetGitCredentialsParams() *UserGetGitCredentialsParams
- func NewUserGetGitCredentialsParamsWithContext(ctx context.Context) *UserGetGitCredentialsParams
- func NewUserGetGitCredentialsParamsWithHTTPClient(client *http.Client) *UserGetGitCredentialsParams
- func NewUserGetGitCredentialsParamsWithTimeout(timeout time.Duration) *UserGetGitCredentialsParams
- func (o *UserGetGitCredentialsParams) SetContext(ctx context.Context)
- func (o *UserGetGitCredentialsParams) SetDefaults()
- func (o *UserGetGitCredentialsParams) SetHTTPClient(client *http.Client)
- func (o *UserGetGitCredentialsParams) SetID(id int64)
- func (o *UserGetGitCredentialsParams) SetTimeout(timeout time.Duration)
- func (o *UserGetGitCredentialsParams) WithContext(ctx context.Context) *UserGetGitCredentialsParams
- func (o *UserGetGitCredentialsParams) WithDefaults() *UserGetGitCredentialsParams
- func (o *UserGetGitCredentialsParams) WithHTTPClient(client *http.Client) *UserGetGitCredentialsParams
- func (o *UserGetGitCredentialsParams) WithID(id int64) *UserGetGitCredentialsParams
- func (o *UserGetGitCredentialsParams) WithTimeout(timeout time.Duration) *UserGetGitCredentialsParams
- func (o *UserGetGitCredentialsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UserGetGitCredentialsReader
- type UserInspectBadRequest
- func (o *UserInspectBadRequest) Code() int
- func (o *UserInspectBadRequest) Error() string
- func (o *UserInspectBadRequest) IsClientError() bool
- func (o *UserInspectBadRequest) IsCode(code int) bool
- func (o *UserInspectBadRequest) IsRedirect() bool
- func (o *UserInspectBadRequest) IsServerError() bool
- func (o *UserInspectBadRequest) IsSuccess() bool
- func (o *UserInspectBadRequest) String() string
- type UserInspectForbidden
- func (o *UserInspectForbidden) Code() int
- func (o *UserInspectForbidden) Error() string
- func (o *UserInspectForbidden) IsClientError() bool
- func (o *UserInspectForbidden) IsCode(code int) bool
- func (o *UserInspectForbidden) IsRedirect() bool
- func (o *UserInspectForbidden) IsServerError() bool
- func (o *UserInspectForbidden) IsSuccess() bool
- func (o *UserInspectForbidden) String() string
- type UserInspectInternalServerError
- func (o *UserInspectInternalServerError) Code() int
- func (o *UserInspectInternalServerError) Error() string
- func (o *UserInspectInternalServerError) IsClientError() bool
- func (o *UserInspectInternalServerError) IsCode(code int) bool
- func (o *UserInspectInternalServerError) IsRedirect() bool
- func (o *UserInspectInternalServerError) IsServerError() bool
- func (o *UserInspectInternalServerError) IsSuccess() bool
- func (o *UserInspectInternalServerError) String() string
- type UserInspectNotFound
- func (o *UserInspectNotFound) Code() int
- func (o *UserInspectNotFound) Error() string
- func (o *UserInspectNotFound) IsClientError() bool
- func (o *UserInspectNotFound) IsCode(code int) bool
- func (o *UserInspectNotFound) IsRedirect() bool
- func (o *UserInspectNotFound) IsServerError() bool
- func (o *UserInspectNotFound) IsSuccess() bool
- func (o *UserInspectNotFound) String() string
- type UserInspectOK
- func (o *UserInspectOK) Code() int
- func (o *UserInspectOK) Error() string
- func (o *UserInspectOK) GetPayload() *models.PortainereeUser
- func (o *UserInspectOK) IsClientError() bool
- func (o *UserInspectOK) IsCode(code int) bool
- func (o *UserInspectOK) IsRedirect() bool
- func (o *UserInspectOK) IsServerError() bool
- func (o *UserInspectOK) IsSuccess() bool
- func (o *UserInspectOK) String() string
- type UserInspectParams
- func (o *UserInspectParams) SetContext(ctx context.Context)
- func (o *UserInspectParams) SetDefaults()
- func (o *UserInspectParams) SetHTTPClient(client *http.Client)
- func (o *UserInspectParams) SetID(id int64)
- func (o *UserInspectParams) SetTimeout(timeout time.Duration)
- func (o *UserInspectParams) WithContext(ctx context.Context) *UserInspectParams
- func (o *UserInspectParams) WithDefaults() *UserInspectParams
- func (o *UserInspectParams) WithHTTPClient(client *http.Client) *UserInspectParams
- func (o *UserInspectParams) WithID(id int64) *UserInspectParams
- func (o *UserInspectParams) WithTimeout(timeout time.Duration) *UserInspectParams
- func (o *UserInspectParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UserInspectReader
- type UserListBadRequest
- func (o *UserListBadRequest) Code() int
- func (o *UserListBadRequest) Error() string
- func (o *UserListBadRequest) IsClientError() bool
- func (o *UserListBadRequest) IsCode(code int) bool
- func (o *UserListBadRequest) IsRedirect() bool
- func (o *UserListBadRequest) IsServerError() bool
- func (o *UserListBadRequest) IsSuccess() bool
- func (o *UserListBadRequest) String() string
- type UserListInternalServerError
- func (o *UserListInternalServerError) Code() int
- func (o *UserListInternalServerError) Error() string
- func (o *UserListInternalServerError) IsClientError() bool
- func (o *UserListInternalServerError) IsCode(code int) bool
- func (o *UserListInternalServerError) IsRedirect() bool
- func (o *UserListInternalServerError) IsServerError() bool
- func (o *UserListInternalServerError) IsSuccess() bool
- func (o *UserListInternalServerError) String() string
- type UserListOK
- func (o *UserListOK) Code() int
- func (o *UserListOK) Error() string
- func (o *UserListOK) GetPayload() []*models.PortainereeUser
- func (o *UserListOK) IsClientError() bool
- func (o *UserListOK) IsCode(code int) bool
- func (o *UserListOK) IsRedirect() bool
- func (o *UserListOK) IsServerError() bool
- func (o *UserListOK) IsSuccess() bool
- func (o *UserListOK) String() string
- type UserListParams
- func (o *UserListParams) SetContext(ctx context.Context)
- func (o *UserListParams) SetDefaults()
- func (o *UserListParams) SetEnvironmentID(environmentID *int64)
- func (o *UserListParams) SetHTTPClient(client *http.Client)
- func (o *UserListParams) SetTimeout(timeout time.Duration)
- func (o *UserListParams) WithContext(ctx context.Context) *UserListParams
- func (o *UserListParams) WithDefaults() *UserListParams
- func (o *UserListParams) WithEnvironmentID(environmentID *int64) *UserListParams
- func (o *UserListParams) WithHTTPClient(client *http.Client) *UserListParams
- func (o *UserListParams) WithTimeout(timeout time.Duration) *UserListParams
- func (o *UserListParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UserListReader
- type UserMembershipsInspectBadRequest
- func (o *UserMembershipsInspectBadRequest) Code() int
- func (o *UserMembershipsInspectBadRequest) Error() string
- func (o *UserMembershipsInspectBadRequest) IsClientError() bool
- func (o *UserMembershipsInspectBadRequest) IsCode(code int) bool
- func (o *UserMembershipsInspectBadRequest) IsRedirect() bool
- func (o *UserMembershipsInspectBadRequest) IsServerError() bool
- func (o *UserMembershipsInspectBadRequest) IsSuccess() bool
- func (o *UserMembershipsInspectBadRequest) String() string
- type UserMembershipsInspectForbidden
- func (o *UserMembershipsInspectForbidden) Code() int
- func (o *UserMembershipsInspectForbidden) Error() string
- func (o *UserMembershipsInspectForbidden) IsClientError() bool
- func (o *UserMembershipsInspectForbidden) IsCode(code int) bool
- func (o *UserMembershipsInspectForbidden) IsRedirect() bool
- func (o *UserMembershipsInspectForbidden) IsServerError() bool
- func (o *UserMembershipsInspectForbidden) IsSuccess() bool
- func (o *UserMembershipsInspectForbidden) String() string
- type UserMembershipsInspectInternalServerError
- func (o *UserMembershipsInspectInternalServerError) Code() int
- func (o *UserMembershipsInspectInternalServerError) Error() string
- func (o *UserMembershipsInspectInternalServerError) IsClientError() bool
- func (o *UserMembershipsInspectInternalServerError) IsCode(code int) bool
- func (o *UserMembershipsInspectInternalServerError) IsRedirect() bool
- func (o *UserMembershipsInspectInternalServerError) IsServerError() bool
- func (o *UserMembershipsInspectInternalServerError) IsSuccess() bool
- func (o *UserMembershipsInspectInternalServerError) String() string
- type UserMembershipsInspectOK
- func (o *UserMembershipsInspectOK) Code() int
- func (o *UserMembershipsInspectOK) Error() string
- func (o *UserMembershipsInspectOK) GetPayload() *models.PortainerTeamMembership
- func (o *UserMembershipsInspectOK) IsClientError() bool
- func (o *UserMembershipsInspectOK) IsCode(code int) bool
- func (o *UserMembershipsInspectOK) IsRedirect() bool
- func (o *UserMembershipsInspectOK) IsServerError() bool
- func (o *UserMembershipsInspectOK) IsSuccess() bool
- func (o *UserMembershipsInspectOK) String() string
- type UserMembershipsInspectParams
- func NewUserMembershipsInspectParams() *UserMembershipsInspectParams
- func NewUserMembershipsInspectParamsWithContext(ctx context.Context) *UserMembershipsInspectParams
- func NewUserMembershipsInspectParamsWithHTTPClient(client *http.Client) *UserMembershipsInspectParams
- func NewUserMembershipsInspectParamsWithTimeout(timeout time.Duration) *UserMembershipsInspectParams
- func (o *UserMembershipsInspectParams) SetContext(ctx context.Context)
- func (o *UserMembershipsInspectParams) SetDefaults()
- func (o *UserMembershipsInspectParams) SetHTTPClient(client *http.Client)
- func (o *UserMembershipsInspectParams) SetID(id int64)
- func (o *UserMembershipsInspectParams) SetTimeout(timeout time.Duration)
- func (o *UserMembershipsInspectParams) WithContext(ctx context.Context) *UserMembershipsInspectParams
- func (o *UserMembershipsInspectParams) WithDefaults() *UserMembershipsInspectParams
- func (o *UserMembershipsInspectParams) WithHTTPClient(client *http.Client) *UserMembershipsInspectParams
- func (o *UserMembershipsInspectParams) WithID(id int64) *UserMembershipsInspectParams
- func (o *UserMembershipsInspectParams) WithTimeout(timeout time.Duration) *UserMembershipsInspectParams
- func (o *UserMembershipsInspectParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UserMembershipsInspectReader
- type UserNamespacesBadRequest
- func (o *UserNamespacesBadRequest) Code() int
- func (o *UserNamespacesBadRequest) Error() string
- func (o *UserNamespacesBadRequest) IsClientError() bool
- func (o *UserNamespacesBadRequest) IsCode(code int) bool
- func (o *UserNamespacesBadRequest) IsRedirect() bool
- func (o *UserNamespacesBadRequest) IsServerError() bool
- func (o *UserNamespacesBadRequest) IsSuccess() bool
- func (o *UserNamespacesBadRequest) String() string
- type UserNamespacesForbidden
- func (o *UserNamespacesForbidden) Code() int
- func (o *UserNamespacesForbidden) Error() string
- func (o *UserNamespacesForbidden) IsClientError() bool
- func (o *UserNamespacesForbidden) IsCode(code int) bool
- func (o *UserNamespacesForbidden) IsRedirect() bool
- func (o *UserNamespacesForbidden) IsServerError() bool
- func (o *UserNamespacesForbidden) IsSuccess() bool
- func (o *UserNamespacesForbidden) String() string
- type UserNamespacesInternalServerError
- func (o *UserNamespacesInternalServerError) Code() int
- func (o *UserNamespacesInternalServerError) Error() string
- func (o *UserNamespacesInternalServerError) IsClientError() bool
- func (o *UserNamespacesInternalServerError) IsCode(code int) bool
- func (o *UserNamespacesInternalServerError) IsRedirect() bool
- func (o *UserNamespacesInternalServerError) IsServerError() bool
- func (o *UserNamespacesInternalServerError) IsSuccess() bool
- func (o *UserNamespacesInternalServerError) String() string
- type UserNamespacesNotFound
- func (o *UserNamespacesNotFound) Code() int
- func (o *UserNamespacesNotFound) Error() string
- func (o *UserNamespacesNotFound) IsClientError() bool
- func (o *UserNamespacesNotFound) IsCode(code int) bool
- func (o *UserNamespacesNotFound) IsRedirect() bool
- func (o *UserNamespacesNotFound) IsServerError() bool
- func (o *UserNamespacesNotFound) IsSuccess() bool
- func (o *UserNamespacesNotFound) String() string
- type UserNamespacesOK
- func (o *UserNamespacesOK) Code() int
- func (o *UserNamespacesOK) Error() string
- func (o *UserNamespacesOK) GetPayload() models.UsersNamespaceMapping
- func (o *UserNamespacesOK) IsClientError() bool
- func (o *UserNamespacesOK) IsCode(code int) bool
- func (o *UserNamespacesOK) IsRedirect() bool
- func (o *UserNamespacesOK) IsServerError() bool
- func (o *UserNamespacesOK) IsSuccess() bool
- func (o *UserNamespacesOK) String() string
- type UserNamespacesParams
- func NewUserNamespacesParams() *UserNamespacesParams
- func NewUserNamespacesParamsWithContext(ctx context.Context) *UserNamespacesParams
- func NewUserNamespacesParamsWithHTTPClient(client *http.Client) *UserNamespacesParams
- func NewUserNamespacesParamsWithTimeout(timeout time.Duration) *UserNamespacesParams
- func (o *UserNamespacesParams) SetContext(ctx context.Context)
- func (o *UserNamespacesParams) SetDefaults()
- func (o *UserNamespacesParams) SetHTTPClient(client *http.Client)
- func (o *UserNamespacesParams) SetID(id int64)
- func (o *UserNamespacesParams) SetTimeout(timeout time.Duration)
- func (o *UserNamespacesParams) WithContext(ctx context.Context) *UserNamespacesParams
- func (o *UserNamespacesParams) WithDefaults() *UserNamespacesParams
- func (o *UserNamespacesParams) WithHTTPClient(client *http.Client) *UserNamespacesParams
- func (o *UserNamespacesParams) WithID(id int64) *UserNamespacesParams
- func (o *UserNamespacesParams) WithTimeout(timeout time.Duration) *UserNamespacesParams
- func (o *UserNamespacesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UserNamespacesReader
- type UserRemoveAPIKeyBadRequest
- func (o *UserRemoveAPIKeyBadRequest) Code() int
- func (o *UserRemoveAPIKeyBadRequest) Error() string
- func (o *UserRemoveAPIKeyBadRequest) IsClientError() bool
- func (o *UserRemoveAPIKeyBadRequest) IsCode(code int) bool
- func (o *UserRemoveAPIKeyBadRequest) IsRedirect() bool
- func (o *UserRemoveAPIKeyBadRequest) IsServerError() bool
- func (o *UserRemoveAPIKeyBadRequest) IsSuccess() bool
- func (o *UserRemoveAPIKeyBadRequest) String() string
- type UserRemoveAPIKeyForbidden
- func (o *UserRemoveAPIKeyForbidden) Code() int
- func (o *UserRemoveAPIKeyForbidden) Error() string
- func (o *UserRemoveAPIKeyForbidden) IsClientError() bool
- func (o *UserRemoveAPIKeyForbidden) IsCode(code int) bool
- func (o *UserRemoveAPIKeyForbidden) IsRedirect() bool
- func (o *UserRemoveAPIKeyForbidden) IsServerError() bool
- func (o *UserRemoveAPIKeyForbidden) IsSuccess() bool
- func (o *UserRemoveAPIKeyForbidden) String() string
- type UserRemoveAPIKeyInternalServerError
- func (o *UserRemoveAPIKeyInternalServerError) Code() int
- func (o *UserRemoveAPIKeyInternalServerError) Error() string
- func (o *UserRemoveAPIKeyInternalServerError) IsClientError() bool
- func (o *UserRemoveAPIKeyInternalServerError) IsCode(code int) bool
- func (o *UserRemoveAPIKeyInternalServerError) IsRedirect() bool
- func (o *UserRemoveAPIKeyInternalServerError) IsServerError() bool
- func (o *UserRemoveAPIKeyInternalServerError) IsSuccess() bool
- func (o *UserRemoveAPIKeyInternalServerError) String() string
- type UserRemoveAPIKeyNoContent
- func (o *UserRemoveAPIKeyNoContent) Code() int
- func (o *UserRemoveAPIKeyNoContent) Error() string
- func (o *UserRemoveAPIKeyNoContent) IsClientError() bool
- func (o *UserRemoveAPIKeyNoContent) IsCode(code int) bool
- func (o *UserRemoveAPIKeyNoContent) IsRedirect() bool
- func (o *UserRemoveAPIKeyNoContent) IsServerError() bool
- func (o *UserRemoveAPIKeyNoContent) IsSuccess() bool
- func (o *UserRemoveAPIKeyNoContent) String() string
- type UserRemoveAPIKeyNotFound
- func (o *UserRemoveAPIKeyNotFound) Code() int
- func (o *UserRemoveAPIKeyNotFound) Error() string
- func (o *UserRemoveAPIKeyNotFound) IsClientError() bool
- func (o *UserRemoveAPIKeyNotFound) IsCode(code int) bool
- func (o *UserRemoveAPIKeyNotFound) IsRedirect() bool
- func (o *UserRemoveAPIKeyNotFound) IsServerError() bool
- func (o *UserRemoveAPIKeyNotFound) IsSuccess() bool
- func (o *UserRemoveAPIKeyNotFound) String() string
- type UserRemoveAPIKeyParams
- func NewUserRemoveAPIKeyParams() *UserRemoveAPIKeyParams
- func NewUserRemoveAPIKeyParamsWithContext(ctx context.Context) *UserRemoveAPIKeyParams
- func NewUserRemoveAPIKeyParamsWithHTTPClient(client *http.Client) *UserRemoveAPIKeyParams
- func NewUserRemoveAPIKeyParamsWithTimeout(timeout time.Duration) *UserRemoveAPIKeyParams
- func (o *UserRemoveAPIKeyParams) SetContext(ctx context.Context)
- func (o *UserRemoveAPIKeyParams) SetDefaults()
- func (o *UserRemoveAPIKeyParams) SetHTTPClient(client *http.Client)
- func (o *UserRemoveAPIKeyParams) SetID(id int64)
- func (o *UserRemoveAPIKeyParams) SetKeyID(keyID int64)
- func (o *UserRemoveAPIKeyParams) SetTimeout(timeout time.Duration)
- func (o *UserRemoveAPIKeyParams) WithContext(ctx context.Context) *UserRemoveAPIKeyParams
- func (o *UserRemoveAPIKeyParams) WithDefaults() *UserRemoveAPIKeyParams
- func (o *UserRemoveAPIKeyParams) WithHTTPClient(client *http.Client) *UserRemoveAPIKeyParams
- func (o *UserRemoveAPIKeyParams) WithID(id int64) *UserRemoveAPIKeyParams
- func (o *UserRemoveAPIKeyParams) WithKeyID(keyID int64) *UserRemoveAPIKeyParams
- func (o *UserRemoveAPIKeyParams) WithTimeout(timeout time.Duration) *UserRemoveAPIKeyParams
- func (o *UserRemoveAPIKeyParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UserRemoveAPIKeyReader
- type UserRemoveGitCredentialBadRequest
- func (o *UserRemoveGitCredentialBadRequest) Code() int
- func (o *UserRemoveGitCredentialBadRequest) Error() string
- func (o *UserRemoveGitCredentialBadRequest) IsClientError() bool
- func (o *UserRemoveGitCredentialBadRequest) IsCode(code int) bool
- func (o *UserRemoveGitCredentialBadRequest) IsRedirect() bool
- func (o *UserRemoveGitCredentialBadRequest) IsServerError() bool
- func (o *UserRemoveGitCredentialBadRequest) IsSuccess() bool
- func (o *UserRemoveGitCredentialBadRequest) String() string
- type UserRemoveGitCredentialForbidden
- func (o *UserRemoveGitCredentialForbidden) Code() int
- func (o *UserRemoveGitCredentialForbidden) Error() string
- func (o *UserRemoveGitCredentialForbidden) IsClientError() bool
- func (o *UserRemoveGitCredentialForbidden) IsCode(code int) bool
- func (o *UserRemoveGitCredentialForbidden) IsRedirect() bool
- func (o *UserRemoveGitCredentialForbidden) IsServerError() bool
- func (o *UserRemoveGitCredentialForbidden) IsSuccess() bool
- func (o *UserRemoveGitCredentialForbidden) String() string
- type UserRemoveGitCredentialInternalServerError
- func (o *UserRemoveGitCredentialInternalServerError) Code() int
- func (o *UserRemoveGitCredentialInternalServerError) Error() string
- func (o *UserRemoveGitCredentialInternalServerError) IsClientError() bool
- func (o *UserRemoveGitCredentialInternalServerError) IsCode(code int) bool
- func (o *UserRemoveGitCredentialInternalServerError) IsRedirect() bool
- func (o *UserRemoveGitCredentialInternalServerError) IsServerError() bool
- func (o *UserRemoveGitCredentialInternalServerError) IsSuccess() bool
- func (o *UserRemoveGitCredentialInternalServerError) String() string
- type UserRemoveGitCredentialNoContent
- func (o *UserRemoveGitCredentialNoContent) Code() int
- func (o *UserRemoveGitCredentialNoContent) Error() string
- func (o *UserRemoveGitCredentialNoContent) IsClientError() bool
- func (o *UserRemoveGitCredentialNoContent) IsCode(code int) bool
- func (o *UserRemoveGitCredentialNoContent) IsRedirect() bool
- func (o *UserRemoveGitCredentialNoContent) IsServerError() bool
- func (o *UserRemoveGitCredentialNoContent) IsSuccess() bool
- func (o *UserRemoveGitCredentialNoContent) String() string
- type UserRemoveGitCredentialNotFound
- func (o *UserRemoveGitCredentialNotFound) Code() int
- func (o *UserRemoveGitCredentialNotFound) Error() string
- func (o *UserRemoveGitCredentialNotFound) IsClientError() bool
- func (o *UserRemoveGitCredentialNotFound) IsCode(code int) bool
- func (o *UserRemoveGitCredentialNotFound) IsRedirect() bool
- func (o *UserRemoveGitCredentialNotFound) IsServerError() bool
- func (o *UserRemoveGitCredentialNotFound) IsSuccess() bool
- func (o *UserRemoveGitCredentialNotFound) String() string
- type UserRemoveGitCredentialParams
- func NewUserRemoveGitCredentialParams() *UserRemoveGitCredentialParams
- func NewUserRemoveGitCredentialParamsWithContext(ctx context.Context) *UserRemoveGitCredentialParams
- func NewUserRemoveGitCredentialParamsWithHTTPClient(client *http.Client) *UserRemoveGitCredentialParams
- func NewUserRemoveGitCredentialParamsWithTimeout(timeout time.Duration) *UserRemoveGitCredentialParams
- func (o *UserRemoveGitCredentialParams) SetContext(ctx context.Context)
- func (o *UserRemoveGitCredentialParams) SetCredentialID(credentialID int64)
- func (o *UserRemoveGitCredentialParams) SetDefaults()
- func (o *UserRemoveGitCredentialParams) SetHTTPClient(client *http.Client)
- func (o *UserRemoveGitCredentialParams) SetID(id int64)
- func (o *UserRemoveGitCredentialParams) SetTimeout(timeout time.Duration)
- func (o *UserRemoveGitCredentialParams) WithContext(ctx context.Context) *UserRemoveGitCredentialParams
- func (o *UserRemoveGitCredentialParams) WithCredentialID(credentialID int64) *UserRemoveGitCredentialParams
- func (o *UserRemoveGitCredentialParams) WithDefaults() *UserRemoveGitCredentialParams
- func (o *UserRemoveGitCredentialParams) WithHTTPClient(client *http.Client) *UserRemoveGitCredentialParams
- func (o *UserRemoveGitCredentialParams) WithID(id int64) *UserRemoveGitCredentialParams
- func (o *UserRemoveGitCredentialParams) WithTimeout(timeout time.Duration) *UserRemoveGitCredentialParams
- func (o *UserRemoveGitCredentialParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UserRemoveGitCredentialReader
- type UserUpdateBadRequest
- func (o *UserUpdateBadRequest) Code() int
- func (o *UserUpdateBadRequest) Error() string
- func (o *UserUpdateBadRequest) IsClientError() bool
- func (o *UserUpdateBadRequest) IsCode(code int) bool
- func (o *UserUpdateBadRequest) IsRedirect() bool
- func (o *UserUpdateBadRequest) IsServerError() bool
- func (o *UserUpdateBadRequest) IsSuccess() bool
- func (o *UserUpdateBadRequest) String() string
- type UserUpdateConflict
- func (o *UserUpdateConflict) Code() int
- func (o *UserUpdateConflict) Error() string
- func (o *UserUpdateConflict) IsClientError() bool
- func (o *UserUpdateConflict) IsCode(code int) bool
- func (o *UserUpdateConflict) IsRedirect() bool
- func (o *UserUpdateConflict) IsServerError() bool
- func (o *UserUpdateConflict) IsSuccess() bool
- func (o *UserUpdateConflict) String() string
- type UserUpdateForbidden
- func (o *UserUpdateForbidden) Code() int
- func (o *UserUpdateForbidden) Error() string
- func (o *UserUpdateForbidden) IsClientError() bool
- func (o *UserUpdateForbidden) IsCode(code int) bool
- func (o *UserUpdateForbidden) IsRedirect() bool
- func (o *UserUpdateForbidden) IsServerError() bool
- func (o *UserUpdateForbidden) IsSuccess() bool
- func (o *UserUpdateForbidden) String() string
- type UserUpdateGitCredentialBadRequest
- func (o *UserUpdateGitCredentialBadRequest) Code() int
- func (o *UserUpdateGitCredentialBadRequest) Error() string
- func (o *UserUpdateGitCredentialBadRequest) IsClientError() bool
- func (o *UserUpdateGitCredentialBadRequest) IsCode(code int) bool
- func (o *UserUpdateGitCredentialBadRequest) IsRedirect() bool
- func (o *UserUpdateGitCredentialBadRequest) IsServerError() bool
- func (o *UserUpdateGitCredentialBadRequest) IsSuccess() bool
- func (o *UserUpdateGitCredentialBadRequest) String() string
- type UserUpdateGitCredentialForbidden
- func (o *UserUpdateGitCredentialForbidden) Code() int
- func (o *UserUpdateGitCredentialForbidden) Error() string
- func (o *UserUpdateGitCredentialForbidden) IsClientError() bool
- func (o *UserUpdateGitCredentialForbidden) IsCode(code int) bool
- func (o *UserUpdateGitCredentialForbidden) IsRedirect() bool
- func (o *UserUpdateGitCredentialForbidden) IsServerError() bool
- func (o *UserUpdateGitCredentialForbidden) IsSuccess() bool
- func (o *UserUpdateGitCredentialForbidden) String() string
- type UserUpdateGitCredentialInternalServerError
- func (o *UserUpdateGitCredentialInternalServerError) Code() int
- func (o *UserUpdateGitCredentialInternalServerError) Error() string
- func (o *UserUpdateGitCredentialInternalServerError) IsClientError() bool
- func (o *UserUpdateGitCredentialInternalServerError) IsCode(code int) bool
- func (o *UserUpdateGitCredentialInternalServerError) IsRedirect() bool
- func (o *UserUpdateGitCredentialInternalServerError) IsServerError() bool
- func (o *UserUpdateGitCredentialInternalServerError) IsSuccess() bool
- func (o *UserUpdateGitCredentialInternalServerError) String() string
- type UserUpdateGitCredentialNoContent
- func (o *UserUpdateGitCredentialNoContent) Code() int
- func (o *UserUpdateGitCredentialNoContent) Error() string
- func (o *UserUpdateGitCredentialNoContent) IsClientError() bool
- func (o *UserUpdateGitCredentialNoContent) IsCode(code int) bool
- func (o *UserUpdateGitCredentialNoContent) IsRedirect() bool
- func (o *UserUpdateGitCredentialNoContent) IsServerError() bool
- func (o *UserUpdateGitCredentialNoContent) IsSuccess() bool
- func (o *UserUpdateGitCredentialNoContent) String() string
- type UserUpdateGitCredentialNotFound
- func (o *UserUpdateGitCredentialNotFound) Code() int
- func (o *UserUpdateGitCredentialNotFound) Error() string
- func (o *UserUpdateGitCredentialNotFound) IsClientError() bool
- func (o *UserUpdateGitCredentialNotFound) IsCode(code int) bool
- func (o *UserUpdateGitCredentialNotFound) IsRedirect() bool
- func (o *UserUpdateGitCredentialNotFound) IsServerError() bool
- func (o *UserUpdateGitCredentialNotFound) IsSuccess() bool
- func (o *UserUpdateGitCredentialNotFound) String() string
- type UserUpdateGitCredentialParams
- func NewUserUpdateGitCredentialParams() *UserUpdateGitCredentialParams
- func NewUserUpdateGitCredentialParamsWithContext(ctx context.Context) *UserUpdateGitCredentialParams
- func NewUserUpdateGitCredentialParamsWithHTTPClient(client *http.Client) *UserUpdateGitCredentialParams
- func NewUserUpdateGitCredentialParamsWithTimeout(timeout time.Duration) *UserUpdateGitCredentialParams
- func (o *UserUpdateGitCredentialParams) SetContext(ctx context.Context)
- func (o *UserUpdateGitCredentialParams) SetCredentialID(credentialID int64)
- func (o *UserUpdateGitCredentialParams) SetDefaults()
- func (o *UserUpdateGitCredentialParams) SetHTTPClient(client *http.Client)
- func (o *UserUpdateGitCredentialParams) SetID(id int64)
- func (o *UserUpdateGitCredentialParams) SetTimeout(timeout time.Duration)
- func (o *UserUpdateGitCredentialParams) WithContext(ctx context.Context) *UserUpdateGitCredentialParams
- func (o *UserUpdateGitCredentialParams) WithCredentialID(credentialID int64) *UserUpdateGitCredentialParams
- func (o *UserUpdateGitCredentialParams) WithDefaults() *UserUpdateGitCredentialParams
- func (o *UserUpdateGitCredentialParams) WithHTTPClient(client *http.Client) *UserUpdateGitCredentialParams
- func (o *UserUpdateGitCredentialParams) WithID(id int64) *UserUpdateGitCredentialParams
- func (o *UserUpdateGitCredentialParams) WithTimeout(timeout time.Duration) *UserUpdateGitCredentialParams
- func (o *UserUpdateGitCredentialParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UserUpdateGitCredentialReader
- type UserUpdateInternalServerError
- func (o *UserUpdateInternalServerError) Code() int
- func (o *UserUpdateInternalServerError) Error() string
- func (o *UserUpdateInternalServerError) IsClientError() bool
- func (o *UserUpdateInternalServerError) IsCode(code int) bool
- func (o *UserUpdateInternalServerError) IsRedirect() bool
- func (o *UserUpdateInternalServerError) IsServerError() bool
- func (o *UserUpdateInternalServerError) IsSuccess() bool
- func (o *UserUpdateInternalServerError) String() string
- type UserUpdateNotFound
- func (o *UserUpdateNotFound) Code() int
- func (o *UserUpdateNotFound) Error() string
- func (o *UserUpdateNotFound) IsClientError() bool
- func (o *UserUpdateNotFound) IsCode(code int) bool
- func (o *UserUpdateNotFound) IsRedirect() bool
- func (o *UserUpdateNotFound) IsServerError() bool
- func (o *UserUpdateNotFound) IsSuccess() bool
- func (o *UserUpdateNotFound) String() string
- type UserUpdateOK
- func (o *UserUpdateOK) Code() int
- func (o *UserUpdateOK) Error() string
- func (o *UserUpdateOK) GetPayload() *models.PortainereeUser
- func (o *UserUpdateOK) IsClientError() bool
- func (o *UserUpdateOK) IsCode(code int) bool
- func (o *UserUpdateOK) IsRedirect() bool
- func (o *UserUpdateOK) IsServerError() bool
- func (o *UserUpdateOK) IsSuccess() bool
- func (o *UserUpdateOK) String() string
- type UserUpdateOpenAIConfigBadRequest
- func (o *UserUpdateOpenAIConfigBadRequest) Code() int
- func (o *UserUpdateOpenAIConfigBadRequest) Error() string
- func (o *UserUpdateOpenAIConfigBadRequest) IsClientError() bool
- func (o *UserUpdateOpenAIConfigBadRequest) IsCode(code int) bool
- func (o *UserUpdateOpenAIConfigBadRequest) IsRedirect() bool
- func (o *UserUpdateOpenAIConfigBadRequest) IsServerError() bool
- func (o *UserUpdateOpenAIConfigBadRequest) IsSuccess() bool
- func (o *UserUpdateOpenAIConfigBadRequest) String() string
- type UserUpdateOpenAIConfigForbidden
- func (o *UserUpdateOpenAIConfigForbidden) Code() int
- func (o *UserUpdateOpenAIConfigForbidden) Error() string
- func (o *UserUpdateOpenAIConfigForbidden) IsClientError() bool
- func (o *UserUpdateOpenAIConfigForbidden) IsCode(code int) bool
- func (o *UserUpdateOpenAIConfigForbidden) IsRedirect() bool
- func (o *UserUpdateOpenAIConfigForbidden) IsServerError() bool
- func (o *UserUpdateOpenAIConfigForbidden) IsSuccess() bool
- func (o *UserUpdateOpenAIConfigForbidden) String() string
- type UserUpdateOpenAIConfigInternalServerError
- func (o *UserUpdateOpenAIConfigInternalServerError) Code() int
- func (o *UserUpdateOpenAIConfigInternalServerError) Error() string
- func (o *UserUpdateOpenAIConfigInternalServerError) IsClientError() bool
- func (o *UserUpdateOpenAIConfigInternalServerError) IsCode(code int) bool
- func (o *UserUpdateOpenAIConfigInternalServerError) IsRedirect() bool
- func (o *UserUpdateOpenAIConfigInternalServerError) IsServerError() bool
- func (o *UserUpdateOpenAIConfigInternalServerError) IsSuccess() bool
- func (o *UserUpdateOpenAIConfigInternalServerError) String() string
- type UserUpdateOpenAIConfigNoContent
- func (o *UserUpdateOpenAIConfigNoContent) Code() int
- func (o *UserUpdateOpenAIConfigNoContent) Error() string
- func (o *UserUpdateOpenAIConfigNoContent) IsClientError() bool
- func (o *UserUpdateOpenAIConfigNoContent) IsCode(code int) bool
- func (o *UserUpdateOpenAIConfigNoContent) IsRedirect() bool
- func (o *UserUpdateOpenAIConfigNoContent) IsServerError() bool
- func (o *UserUpdateOpenAIConfigNoContent) IsSuccess() bool
- func (o *UserUpdateOpenAIConfigNoContent) String() string
- type UserUpdateOpenAIConfigNotFound
- func (o *UserUpdateOpenAIConfigNotFound) Code() int
- func (o *UserUpdateOpenAIConfigNotFound) Error() string
- func (o *UserUpdateOpenAIConfigNotFound) IsClientError() bool
- func (o *UserUpdateOpenAIConfigNotFound) IsCode(code int) bool
- func (o *UserUpdateOpenAIConfigNotFound) IsRedirect() bool
- func (o *UserUpdateOpenAIConfigNotFound) IsServerError() bool
- func (o *UserUpdateOpenAIConfigNotFound) IsSuccess() bool
- func (o *UserUpdateOpenAIConfigNotFound) String() string
- type UserUpdateOpenAIConfigParams
- func NewUserUpdateOpenAIConfigParams() *UserUpdateOpenAIConfigParams
- func NewUserUpdateOpenAIConfigParamsWithContext(ctx context.Context) *UserUpdateOpenAIConfigParams
- func NewUserUpdateOpenAIConfigParamsWithHTTPClient(client *http.Client) *UserUpdateOpenAIConfigParams
- func NewUserUpdateOpenAIConfigParamsWithTimeout(timeout time.Duration) *UserUpdateOpenAIConfigParams
- func (o *UserUpdateOpenAIConfigParams) SetBody(body *models.UsersUserUpdateOpenAIConfigPayload)
- func (o *UserUpdateOpenAIConfigParams) SetContext(ctx context.Context)
- func (o *UserUpdateOpenAIConfigParams) SetDefaults()
- func (o *UserUpdateOpenAIConfigParams) SetHTTPClient(client *http.Client)
- func (o *UserUpdateOpenAIConfigParams) SetID(id int64)
- func (o *UserUpdateOpenAIConfigParams) SetTimeout(timeout time.Duration)
- func (o *UserUpdateOpenAIConfigParams) WithBody(body *models.UsersUserUpdateOpenAIConfigPayload) *UserUpdateOpenAIConfigParams
- func (o *UserUpdateOpenAIConfigParams) WithContext(ctx context.Context) *UserUpdateOpenAIConfigParams
- func (o *UserUpdateOpenAIConfigParams) WithDefaults() *UserUpdateOpenAIConfigParams
- func (o *UserUpdateOpenAIConfigParams) WithHTTPClient(client *http.Client) *UserUpdateOpenAIConfigParams
- func (o *UserUpdateOpenAIConfigParams) WithID(id int64) *UserUpdateOpenAIConfigParams
- func (o *UserUpdateOpenAIConfigParams) WithTimeout(timeout time.Duration) *UserUpdateOpenAIConfigParams
- func (o *UserUpdateOpenAIConfigParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UserUpdateOpenAIConfigReader
- type UserUpdateParams
- func (o *UserUpdateParams) SetBody(body *models.UsersUserUpdatePayload)
- func (o *UserUpdateParams) SetContext(ctx context.Context)
- func (o *UserUpdateParams) SetDefaults()
- func (o *UserUpdateParams) SetHTTPClient(client *http.Client)
- func (o *UserUpdateParams) SetID(id int64)
- func (o *UserUpdateParams) SetTimeout(timeout time.Duration)
- func (o *UserUpdateParams) WithBody(body *models.UsersUserUpdatePayload) *UserUpdateParams
- func (o *UserUpdateParams) WithContext(ctx context.Context) *UserUpdateParams
- func (o *UserUpdateParams) WithDefaults() *UserUpdateParams
- func (o *UserUpdateParams) WithHTTPClient(client *http.Client) *UserUpdateParams
- func (o *UserUpdateParams) WithID(id int64) *UserUpdateParams
- func (o *UserUpdateParams) WithTimeout(timeout time.Duration) *UserUpdateParams
- func (o *UserUpdateParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UserUpdatePasswordBadRequest
- func (o *UserUpdatePasswordBadRequest) Code() int
- func (o *UserUpdatePasswordBadRequest) Error() string
- func (o *UserUpdatePasswordBadRequest) IsClientError() bool
- func (o *UserUpdatePasswordBadRequest) IsCode(code int) bool
- func (o *UserUpdatePasswordBadRequest) IsRedirect() bool
- func (o *UserUpdatePasswordBadRequest) IsServerError() bool
- func (o *UserUpdatePasswordBadRequest) IsSuccess() bool
- func (o *UserUpdatePasswordBadRequest) String() string
- type UserUpdatePasswordForbidden
- func (o *UserUpdatePasswordForbidden) Code() int
- func (o *UserUpdatePasswordForbidden) Error() string
- func (o *UserUpdatePasswordForbidden) IsClientError() bool
- func (o *UserUpdatePasswordForbidden) IsCode(code int) bool
- func (o *UserUpdatePasswordForbidden) IsRedirect() bool
- func (o *UserUpdatePasswordForbidden) IsServerError() bool
- func (o *UserUpdatePasswordForbidden) IsSuccess() bool
- func (o *UserUpdatePasswordForbidden) String() string
- type UserUpdatePasswordInternalServerError
- func (o *UserUpdatePasswordInternalServerError) Code() int
- func (o *UserUpdatePasswordInternalServerError) Error() string
- func (o *UserUpdatePasswordInternalServerError) IsClientError() bool
- func (o *UserUpdatePasswordInternalServerError) IsCode(code int) bool
- func (o *UserUpdatePasswordInternalServerError) IsRedirect() bool
- func (o *UserUpdatePasswordInternalServerError) IsServerError() bool
- func (o *UserUpdatePasswordInternalServerError) IsSuccess() bool
- func (o *UserUpdatePasswordInternalServerError) String() string
- type UserUpdatePasswordNoContent
- func (o *UserUpdatePasswordNoContent) Code() int
- func (o *UserUpdatePasswordNoContent) Error() string
- func (o *UserUpdatePasswordNoContent) IsClientError() bool
- func (o *UserUpdatePasswordNoContent) IsCode(code int) bool
- func (o *UserUpdatePasswordNoContent) IsRedirect() bool
- func (o *UserUpdatePasswordNoContent) IsServerError() bool
- func (o *UserUpdatePasswordNoContent) IsSuccess() bool
- func (o *UserUpdatePasswordNoContent) String() string
- type UserUpdatePasswordNotFound
- func (o *UserUpdatePasswordNotFound) Code() int
- func (o *UserUpdatePasswordNotFound) Error() string
- func (o *UserUpdatePasswordNotFound) IsClientError() bool
- func (o *UserUpdatePasswordNotFound) IsCode(code int) bool
- func (o *UserUpdatePasswordNotFound) IsRedirect() bool
- func (o *UserUpdatePasswordNotFound) IsServerError() bool
- func (o *UserUpdatePasswordNotFound) IsSuccess() bool
- func (o *UserUpdatePasswordNotFound) String() string
- type UserUpdatePasswordParams
- func NewUserUpdatePasswordParams() *UserUpdatePasswordParams
- func NewUserUpdatePasswordParamsWithContext(ctx context.Context) *UserUpdatePasswordParams
- func NewUserUpdatePasswordParamsWithHTTPClient(client *http.Client) *UserUpdatePasswordParams
- func NewUserUpdatePasswordParamsWithTimeout(timeout time.Duration) *UserUpdatePasswordParams
- func (o *UserUpdatePasswordParams) SetBody(body *models.UsersUserUpdatePasswordPayload)
- func (o *UserUpdatePasswordParams) SetContext(ctx context.Context)
- func (o *UserUpdatePasswordParams) SetDefaults()
- func (o *UserUpdatePasswordParams) SetHTTPClient(client *http.Client)
- func (o *UserUpdatePasswordParams) SetID(id int64)
- func (o *UserUpdatePasswordParams) SetTimeout(timeout time.Duration)
- func (o *UserUpdatePasswordParams) WithBody(body *models.UsersUserUpdatePasswordPayload) *UserUpdatePasswordParams
- func (o *UserUpdatePasswordParams) WithContext(ctx context.Context) *UserUpdatePasswordParams
- func (o *UserUpdatePasswordParams) WithDefaults() *UserUpdatePasswordParams
- func (o *UserUpdatePasswordParams) WithHTTPClient(client *http.Client) *UserUpdatePasswordParams
- func (o *UserUpdatePasswordParams) WithID(id int64) *UserUpdatePasswordParams
- func (o *UserUpdatePasswordParams) WithTimeout(timeout time.Duration) *UserUpdatePasswordParams
- func (o *UserUpdatePasswordParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UserUpdatePasswordReader
- type UserUpdateReader
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 users API
func (*Client) CurrentUserEndpointAuthorizationsInspect ¶
func (a *Client) CurrentUserEndpointAuthorizationsInspect(params *CurrentUserEndpointAuthorizationsInspectParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CurrentUserEndpointAuthorizationsInspectOK, error)
CurrentUserEndpointAuthorizationsInspect inspects environment authorizations for the current user Retrieve environment authorizations for the current user.
**Access policy**: authenticated
func (*Client) CurrentUserInspect ¶
func (a *Client) CurrentUserInspect(params *CurrentUserInspectParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CurrentUserInspectOK, error)
CurrentUserInspect inspects the current user Retrieve details about the current user.
User passwords are filtered out, and should never be accessible. **Access policy**: authenticated
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
func (*Client) UserAdminCheck ¶
func (a *Client) UserAdminCheck(params *UserAdminCheckParams, opts ...ClientOption) (*UserAdminCheckNoContent, error)
UserAdminCheck checks administrator account existence Check if an administrator account exists in the database.
**Access policy**: public
func (*Client) UserAdminInit ¶
func (a *Client) UserAdminInit(params *UserAdminInitParams, opts ...ClientOption) (*UserAdminInitOK, error)
UserAdminInit initializes administrator account Initialize the 'admin' user account.
**Access policy**: public
func (*Client) UserCreate ¶
func (a *Client) UserCreate(params *UserCreateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UserCreateOK, error)
UserCreate creates a new user Create a new Portainer user.
Only administrators can create users. **Access policy**: restricted
func (*Client) UserCreateGitCredential ¶
func (a *Client) UserCreateGitCredential(params *UserCreateGitCredentialParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UserCreateGitCredentialCreated, error)
UserCreateGitCredential stores a git credential for a user Store a Git Credential for a user.
Only the calling user can store a git credential for themselves. **Access policy**: restricted
func (*Client) UserDelete ¶
func (a *Client) UserDelete(params *UserDeleteParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UserDeleteNoContent, error)
UserDelete removes a user Remove a user.
**Access policy**: administrator
func (*Client) UserGenerateAPIKey ¶
func (a *Client) UserGenerateAPIKey(params *UserGenerateAPIKeyParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UserGenerateAPIKeyOK, error)
UserGenerateAPIKey generates an API key for a user Generates an API key for a user.
Only the calling user can generate a token for themselves. Password is required only for internal authentication. **Access policy**: restricted
func (*Client) UserGetAPIKeys ¶
func (a *Client) UserGetAPIKeys(params *UserGetAPIKeysParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UserGetAPIKeysOK, error)
UserGetAPIKeys gets all API keys for a user Gets all API keys for a user.
Only the calling user or admin can retrieve api-keys. **Access policy**: authenticated
func (*Client) UserGetGitCredential ¶
func (a *Client) UserGetGitCredential(params *UserGetGitCredentialParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UserGetGitCredentialOK, error)
UserGetGitCredential gets the specific saved git credential for a user Gets the specific saved git credential for a user.
Only the calling user can retrieve git credential **Access policy**: authenticated
func (*Client) UserGetGitCredentials ¶
func (a *Client) UserGetGitCredentials(params *UserGetGitCredentialsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UserGetGitCredentialsOK, error)
UserGetGitCredentials gets all saved git credentials for a user Gets all saved git credentials for a user.
Only the calling user can retrieve git credentials **Access policy**: authenticated
func (*Client) UserInspect ¶
func (a *Client) UserInspect(params *UserInspectParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UserInspectOK, error)
UserInspect inspects a user Retrieve details about a user.
User passwords are filtered out, and should never be accessible. **Access policy**: authenticated
func (*Client) UserList ¶
func (a *Client) UserList(params *UserListParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UserListOK, error)
UserList lists users List Portainer users.
Non-administrator users will only be able to list other non-administrator user accounts. User passwords are filtered out, and should never be accessible. **Access policy**: restricted
func (*Client) UserMembershipsInspect ¶
func (a *Client) UserMembershipsInspect(params *UserMembershipsInspectParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UserMembershipsInspectOK, error)
UserMembershipsInspect inspects a user memberships Inspect a user memberships.
**Access policy**: restricted
func (*Client) UserNamespaces ¶
func (a *Client) UserNamespaces(params *UserNamespacesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UserNamespacesOK, error)
UserNamespaces retrieves all k8s namespaces for an user Retrieves user's role authorizations of all namespaces in all k8s environments(endpoints)
**Access policy**: restricted
func (*Client) UserRemoveAPIKey ¶
func (a *Client) UserRemoveAPIKey(params *UserRemoveAPIKeyParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UserRemoveAPIKeyNoContent, error)
UserRemoveAPIKey removes an api key associated to a user Remove an api-key associated to a user..
Only the calling user or admin can remove api-key. **Access policy**: authenticated
func (*Client) UserRemoveGitCredential ¶
func (a *Client) UserRemoveGitCredential(params *UserRemoveGitCredentialParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UserRemoveGitCredentialNoContent, error)
UserRemoveGitCredential removes a git credential associated to a user Remove a git-credential associated to a user..
Only the calling user can remove git-credential **Access policy**: authenticated
func (*Client) UserUpdate ¶
func (a *Client) UserUpdate(params *UserUpdateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UserUpdateOK, error)
UserUpdate updates a user Update user details. A regular user account can only update his details.
A regular user account cannot change their username or role. **Access policy**: authenticated
func (*Client) UserUpdateGitCredential ¶
func (a *Client) UserUpdateGitCredential(params *UserUpdateGitCredentialParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UserUpdateGitCredentialNoContent, error)
UserUpdateGitCredential updates a git credential associated to a user Update a git-credential associated to a user..
Only the calling user can update git-credential **Access policy**: authenticated
func (*Client) UserUpdateOpenAIConfig ¶
func (a *Client) UserUpdateOpenAIConfig(params *UserUpdateOpenAIConfigParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UserUpdateOpenAIConfigNoContent, error)
UserUpdateOpenAIConfig updates the open a i API configuration associated to a user Update the OpenAI API key and OpenAI model associated to a user. Requires the OpenAI experimental feature setting to be enabled.
This configuration will be used when interacting with the OpenAI chat. Only an administrator user or the user itself can update the OpenAI API key. **Access policy**: restricted
func (*Client) UserUpdatePassword ¶
func (a *Client) UserUpdatePassword(params *UserUpdatePasswordParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UserUpdatePasswordNoContent, error)
UserUpdatePassword updates password for a user Update password for the specified user.
**Access policy**: authenticated
type ClientOption ¶
type ClientOption func(*runtime.ClientOperation)
ClientOption may be used to customize the behavior of Client methods.
type ClientService ¶
type ClientService interface {
CurrentUserEndpointAuthorizationsInspect(params *CurrentUserEndpointAuthorizationsInspectParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CurrentUserEndpointAuthorizationsInspectOK, error)
CurrentUserInspect(params *CurrentUserInspectParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CurrentUserInspectOK, error)
UserAdminCheck(params *UserAdminCheckParams, opts ...ClientOption) (*UserAdminCheckNoContent, error)
UserAdminInit(params *UserAdminInitParams, opts ...ClientOption) (*UserAdminInitOK, error)
UserCreate(params *UserCreateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UserCreateOK, error)
UserCreateGitCredential(params *UserCreateGitCredentialParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UserCreateGitCredentialCreated, error)
UserDelete(params *UserDeleteParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UserDeleteNoContent, error)
UserGenerateAPIKey(params *UserGenerateAPIKeyParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UserGenerateAPIKeyOK, error)
UserGetAPIKeys(params *UserGetAPIKeysParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UserGetAPIKeysOK, error)
UserGetGitCredential(params *UserGetGitCredentialParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UserGetGitCredentialOK, error)
UserGetGitCredentials(params *UserGetGitCredentialsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UserGetGitCredentialsOK, error)
UserInspect(params *UserInspectParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UserInspectOK, error)
UserList(params *UserListParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UserListOK, error)
UserMembershipsInspect(params *UserMembershipsInspectParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UserMembershipsInspectOK, error)
UserNamespaces(params *UserNamespacesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UserNamespacesOK, error)
UserRemoveAPIKey(params *UserRemoveAPIKeyParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UserRemoveAPIKeyNoContent, error)
UserRemoveGitCredential(params *UserRemoveGitCredentialParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UserRemoveGitCredentialNoContent, error)
UserUpdate(params *UserUpdateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UserUpdateOK, error)
UserUpdateGitCredential(params *UserUpdateGitCredentialParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UserUpdateGitCredentialNoContent, error)
UserUpdateOpenAIConfig(params *UserUpdateOpenAIConfigParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UserUpdateOpenAIConfigNoContent, error)
UserUpdatePassword(params *UserUpdatePasswordParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UserUpdatePasswordNoContent, 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 users API client.
func NewClientWithBasicAuth ¶
func NewClientWithBasicAuth(host, basePath, scheme, user, password string) ClientService
New creates a new users API client with basic auth credentials. It takes the following parameters: - host: http host (github.com). - basePath: any base path for the API client ("/v1", "/v3"). - scheme: http scheme ("http", "https"). - user: user for basic authentication header. - password: password for basic authentication header.
func NewClientWithBearerToken ¶
func NewClientWithBearerToken(host, basePath, scheme, bearerToken string) ClientService
New creates a new users API client with a bearer token for authentication. It takes the following parameters: - host: http host (github.com). - basePath: any base path for the API client ("/v1", "/v3"). - scheme: http scheme ("http", "https"). - bearerToken: bearer token for Bearer authentication header.
type CurrentUserEndpointAuthorizationsInspectBadRequest ¶
type CurrentUserEndpointAuthorizationsInspectBadRequest struct {
}
CurrentUserEndpointAuthorizationsInspectBadRequest describes a response with status code 400, with default header values.
Invalid request
func NewCurrentUserEndpointAuthorizationsInspectBadRequest ¶
func NewCurrentUserEndpointAuthorizationsInspectBadRequest() *CurrentUserEndpointAuthorizationsInspectBadRequest
NewCurrentUserEndpointAuthorizationsInspectBadRequest creates a CurrentUserEndpointAuthorizationsInspectBadRequest with default headers values
func (*CurrentUserEndpointAuthorizationsInspectBadRequest) Code ¶
func (o *CurrentUserEndpointAuthorizationsInspectBadRequest) Code() int
Code gets the status code for the current user endpoint authorizations inspect bad request response
func (*CurrentUserEndpointAuthorizationsInspectBadRequest) Error ¶
func (o *CurrentUserEndpointAuthorizationsInspectBadRequest) Error() string
func (*CurrentUserEndpointAuthorizationsInspectBadRequest) IsClientError ¶
func (o *CurrentUserEndpointAuthorizationsInspectBadRequest) IsClientError() bool
IsClientError returns true when this current user endpoint authorizations inspect bad request response has a 4xx status code
func (*CurrentUserEndpointAuthorizationsInspectBadRequest) IsCode ¶
func (o *CurrentUserEndpointAuthorizationsInspectBadRequest) IsCode(code int) bool
IsCode returns true when this current user endpoint authorizations inspect bad request response a status code equal to that given
func (*CurrentUserEndpointAuthorizationsInspectBadRequest) IsRedirect ¶
func (o *CurrentUserEndpointAuthorizationsInspectBadRequest) IsRedirect() bool
IsRedirect returns true when this current user endpoint authorizations inspect bad request response has a 3xx status code
func (*CurrentUserEndpointAuthorizationsInspectBadRequest) IsServerError ¶
func (o *CurrentUserEndpointAuthorizationsInspectBadRequest) IsServerError() bool
IsServerError returns true when this current user endpoint authorizations inspect bad request response has a 5xx status code
func (*CurrentUserEndpointAuthorizationsInspectBadRequest) IsSuccess ¶
func (o *CurrentUserEndpointAuthorizationsInspectBadRequest) IsSuccess() bool
IsSuccess returns true when this current user endpoint authorizations inspect bad request response has a 2xx status code
func (*CurrentUserEndpointAuthorizationsInspectBadRequest) String ¶
func (o *CurrentUserEndpointAuthorizationsInspectBadRequest) String() string
type CurrentUserEndpointAuthorizationsInspectForbidden ¶
type CurrentUserEndpointAuthorizationsInspectForbidden struct {
}
CurrentUserEndpointAuthorizationsInspectForbidden describes a response with status code 403, with default header values.
Permission denied
func NewCurrentUserEndpointAuthorizationsInspectForbidden ¶
func NewCurrentUserEndpointAuthorizationsInspectForbidden() *CurrentUserEndpointAuthorizationsInspectForbidden
NewCurrentUserEndpointAuthorizationsInspectForbidden creates a CurrentUserEndpointAuthorizationsInspectForbidden with default headers values
func (*CurrentUserEndpointAuthorizationsInspectForbidden) Code ¶
func (o *CurrentUserEndpointAuthorizationsInspectForbidden) Code() int
Code gets the status code for the current user endpoint authorizations inspect forbidden response
func (*CurrentUserEndpointAuthorizationsInspectForbidden) Error ¶
func (o *CurrentUserEndpointAuthorizationsInspectForbidden) Error() string
func (*CurrentUserEndpointAuthorizationsInspectForbidden) IsClientError ¶
func (o *CurrentUserEndpointAuthorizationsInspectForbidden) IsClientError() bool
IsClientError returns true when this current user endpoint authorizations inspect forbidden response has a 4xx status code
func (*CurrentUserEndpointAuthorizationsInspectForbidden) IsCode ¶
func (o *CurrentUserEndpointAuthorizationsInspectForbidden) IsCode(code int) bool
IsCode returns true when this current user endpoint authorizations inspect forbidden response a status code equal to that given
func (*CurrentUserEndpointAuthorizationsInspectForbidden) IsRedirect ¶
func (o *CurrentUserEndpointAuthorizationsInspectForbidden) IsRedirect() bool
IsRedirect returns true when this current user endpoint authorizations inspect forbidden response has a 3xx status code
func (*CurrentUserEndpointAuthorizationsInspectForbidden) IsServerError ¶
func (o *CurrentUserEndpointAuthorizationsInspectForbidden) IsServerError() bool
IsServerError returns true when this current user endpoint authorizations inspect forbidden response has a 5xx status code
func (*CurrentUserEndpointAuthorizationsInspectForbidden) IsSuccess ¶
func (o *CurrentUserEndpointAuthorizationsInspectForbidden) IsSuccess() bool
IsSuccess returns true when this current user endpoint authorizations inspect forbidden response has a 2xx status code
func (*CurrentUserEndpointAuthorizationsInspectForbidden) String ¶
func (o *CurrentUserEndpointAuthorizationsInspectForbidden) String() string
type CurrentUserEndpointAuthorizationsInspectInternalServerError ¶
type CurrentUserEndpointAuthorizationsInspectInternalServerError struct {
}
CurrentUserEndpointAuthorizationsInspectInternalServerError describes a response with status code 500, with default header values.
Server error
func NewCurrentUserEndpointAuthorizationsInspectInternalServerError ¶
func NewCurrentUserEndpointAuthorizationsInspectInternalServerError() *CurrentUserEndpointAuthorizationsInspectInternalServerError
NewCurrentUserEndpointAuthorizationsInspectInternalServerError creates a CurrentUserEndpointAuthorizationsInspectInternalServerError with default headers values
func (*CurrentUserEndpointAuthorizationsInspectInternalServerError) Code ¶
func (o *CurrentUserEndpointAuthorizationsInspectInternalServerError) Code() int
Code gets the status code for the current user endpoint authorizations inspect internal server error response
func (*CurrentUserEndpointAuthorizationsInspectInternalServerError) Error ¶
func (o *CurrentUserEndpointAuthorizationsInspectInternalServerError) Error() string
func (*CurrentUserEndpointAuthorizationsInspectInternalServerError) IsClientError ¶
func (o *CurrentUserEndpointAuthorizationsInspectInternalServerError) IsClientError() bool
IsClientError returns true when this current user endpoint authorizations inspect internal server error response has a 4xx status code
func (*CurrentUserEndpointAuthorizationsInspectInternalServerError) IsCode ¶
func (o *CurrentUserEndpointAuthorizationsInspectInternalServerError) IsCode(code int) bool
IsCode returns true when this current user endpoint authorizations inspect internal server error response a status code equal to that given
func (*CurrentUserEndpointAuthorizationsInspectInternalServerError) IsRedirect ¶
func (o *CurrentUserEndpointAuthorizationsInspectInternalServerError) IsRedirect() bool
IsRedirect returns true when this current user endpoint authorizations inspect internal server error response has a 3xx status code
func (*CurrentUserEndpointAuthorizationsInspectInternalServerError) IsServerError ¶
func (o *CurrentUserEndpointAuthorizationsInspectInternalServerError) IsServerError() bool
IsServerError returns true when this current user endpoint authorizations inspect internal server error response has a 5xx status code
func (*CurrentUserEndpointAuthorizationsInspectInternalServerError) IsSuccess ¶
func (o *CurrentUserEndpointAuthorizationsInspectInternalServerError) IsSuccess() bool
IsSuccess returns true when this current user endpoint authorizations inspect internal server error response has a 2xx status code
func (*CurrentUserEndpointAuthorizationsInspectInternalServerError) String ¶
func (o *CurrentUserEndpointAuthorizationsInspectInternalServerError) String() string
type CurrentUserEndpointAuthorizationsInspectNotFound ¶
type CurrentUserEndpointAuthorizationsInspectNotFound struct {
}
CurrentUserEndpointAuthorizationsInspectNotFound describes a response with status code 404, with default header values.
User not found
func NewCurrentUserEndpointAuthorizationsInspectNotFound ¶
func NewCurrentUserEndpointAuthorizationsInspectNotFound() *CurrentUserEndpointAuthorizationsInspectNotFound
NewCurrentUserEndpointAuthorizationsInspectNotFound creates a CurrentUserEndpointAuthorizationsInspectNotFound with default headers values
func (*CurrentUserEndpointAuthorizationsInspectNotFound) Code ¶
func (o *CurrentUserEndpointAuthorizationsInspectNotFound) Code() int
Code gets the status code for the current user endpoint authorizations inspect not found response
func (*CurrentUserEndpointAuthorizationsInspectNotFound) Error ¶
func (o *CurrentUserEndpointAuthorizationsInspectNotFound) Error() string
func (*CurrentUserEndpointAuthorizationsInspectNotFound) IsClientError ¶
func (o *CurrentUserEndpointAuthorizationsInspectNotFound) IsClientError() bool
IsClientError returns true when this current user endpoint authorizations inspect not found response has a 4xx status code
func (*CurrentUserEndpointAuthorizationsInspectNotFound) IsCode ¶
func (o *CurrentUserEndpointAuthorizationsInspectNotFound) IsCode(code int) bool
IsCode returns true when this current user endpoint authorizations inspect not found response a status code equal to that given
func (*CurrentUserEndpointAuthorizationsInspectNotFound) IsRedirect ¶
func (o *CurrentUserEndpointAuthorizationsInspectNotFound) IsRedirect() bool
IsRedirect returns true when this current user endpoint authorizations inspect not found response has a 3xx status code
func (*CurrentUserEndpointAuthorizationsInspectNotFound) IsServerError ¶
func (o *CurrentUserEndpointAuthorizationsInspectNotFound) IsServerError() bool
IsServerError returns true when this current user endpoint authorizations inspect not found response has a 5xx status code
func (*CurrentUserEndpointAuthorizationsInspectNotFound) IsSuccess ¶
func (o *CurrentUserEndpointAuthorizationsInspectNotFound) IsSuccess() bool
IsSuccess returns true when this current user endpoint authorizations inspect not found response has a 2xx status code
func (*CurrentUserEndpointAuthorizationsInspectNotFound) String ¶
func (o *CurrentUserEndpointAuthorizationsInspectNotFound) String() string
type CurrentUserEndpointAuthorizationsInspectOK ¶
type CurrentUserEndpointAuthorizationsInspectOK struct {
Payload *models.UsersCurrentUserEndpointAuthResponse
}
CurrentUserEndpointAuthorizationsInspectOK describes a response with status code 200, with default header values.
Success
func NewCurrentUserEndpointAuthorizationsInspectOK ¶
func NewCurrentUserEndpointAuthorizationsInspectOK() *CurrentUserEndpointAuthorizationsInspectOK
NewCurrentUserEndpointAuthorizationsInspectOK creates a CurrentUserEndpointAuthorizationsInspectOK with default headers values
func (*CurrentUserEndpointAuthorizationsInspectOK) Code ¶
func (o *CurrentUserEndpointAuthorizationsInspectOK) Code() int
Code gets the status code for the current user endpoint authorizations inspect o k response
func (*CurrentUserEndpointAuthorizationsInspectOK) Error ¶
func (o *CurrentUserEndpointAuthorizationsInspectOK) Error() string
func (*CurrentUserEndpointAuthorizationsInspectOK) GetPayload ¶
func (o *CurrentUserEndpointAuthorizationsInspectOK) GetPayload() *models.UsersCurrentUserEndpointAuthResponse
func (*CurrentUserEndpointAuthorizationsInspectOK) IsClientError ¶
func (o *CurrentUserEndpointAuthorizationsInspectOK) IsClientError() bool
IsClientError returns true when this current user endpoint authorizations inspect o k response has a 4xx status code
func (*CurrentUserEndpointAuthorizationsInspectOK) IsCode ¶
func (o *CurrentUserEndpointAuthorizationsInspectOK) IsCode(code int) bool
IsCode returns true when this current user endpoint authorizations inspect o k response a status code equal to that given
func (*CurrentUserEndpointAuthorizationsInspectOK) IsRedirect ¶
func (o *CurrentUserEndpointAuthorizationsInspectOK) IsRedirect() bool
IsRedirect returns true when this current user endpoint authorizations inspect o k response has a 3xx status code
func (*CurrentUserEndpointAuthorizationsInspectOK) IsServerError ¶
func (o *CurrentUserEndpointAuthorizationsInspectOK) IsServerError() bool
IsServerError returns true when this current user endpoint authorizations inspect o k response has a 5xx status code
func (*CurrentUserEndpointAuthorizationsInspectOK) IsSuccess ¶
func (o *CurrentUserEndpointAuthorizationsInspectOK) IsSuccess() bool
IsSuccess returns true when this current user endpoint authorizations inspect o k response has a 2xx status code
func (*CurrentUserEndpointAuthorizationsInspectOK) String ¶
func (o *CurrentUserEndpointAuthorizationsInspectOK) String() string
type CurrentUserEndpointAuthorizationsInspectParams ¶
type CurrentUserEndpointAuthorizationsInspectParams struct {
/* EndpointID.
Environment identifier
*/
EndpointID int64
Context context.Context
HTTPClient *http.Client
// contains filtered or unexported fields
}
CurrentUserEndpointAuthorizationsInspectParams contains all the parameters to send to the API endpoint
for the current user endpoint authorizations inspect operation. Typically these are written to a http.Request.
func NewCurrentUserEndpointAuthorizationsInspectParams ¶
func NewCurrentUserEndpointAuthorizationsInspectParams() *CurrentUserEndpointAuthorizationsInspectParams
NewCurrentUserEndpointAuthorizationsInspectParams creates a new CurrentUserEndpointAuthorizationsInspectParams 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 NewCurrentUserEndpointAuthorizationsInspectParamsWithContext ¶
func NewCurrentUserEndpointAuthorizationsInspectParamsWithContext(ctx context.Context) *CurrentUserEndpointAuthorizationsInspectParams
NewCurrentUserEndpointAuthorizationsInspectParamsWithContext creates a new CurrentUserEndpointAuthorizationsInspectParams object with the ability to set a context for a request.
func NewCurrentUserEndpointAuthorizationsInspectParamsWithHTTPClient ¶
func NewCurrentUserEndpointAuthorizationsInspectParamsWithHTTPClient(client *http.Client) *CurrentUserEndpointAuthorizationsInspectParams
NewCurrentUserEndpointAuthorizationsInspectParamsWithHTTPClient creates a new CurrentUserEndpointAuthorizationsInspectParams object with the ability to set a custom HTTPClient for a request.
func NewCurrentUserEndpointAuthorizationsInspectParamsWithTimeout ¶
func NewCurrentUserEndpointAuthorizationsInspectParamsWithTimeout(timeout time.Duration) *CurrentUserEndpointAuthorizationsInspectParams
NewCurrentUserEndpointAuthorizationsInspectParamsWithTimeout creates a new CurrentUserEndpointAuthorizationsInspectParams object with the ability to set a timeout on a request.
func (*CurrentUserEndpointAuthorizationsInspectParams) SetContext ¶
func (o *CurrentUserEndpointAuthorizationsInspectParams) SetContext(ctx context.Context)
SetContext adds the context to the current user endpoint authorizations inspect params
func (*CurrentUserEndpointAuthorizationsInspectParams) SetDefaults ¶
func (o *CurrentUserEndpointAuthorizationsInspectParams) SetDefaults()
SetDefaults hydrates default values in the current user endpoint authorizations inspect params (not the query body).
All values with no default are reset to their zero value.
func (*CurrentUserEndpointAuthorizationsInspectParams) SetEndpointID ¶
func (o *CurrentUserEndpointAuthorizationsInspectParams) SetEndpointID(endpointID int64)
SetEndpointID adds the endpointId to the current user endpoint authorizations inspect params
func (*CurrentUserEndpointAuthorizationsInspectParams) SetHTTPClient ¶
func (o *CurrentUserEndpointAuthorizationsInspectParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the current user endpoint authorizations inspect params
func (*CurrentUserEndpointAuthorizationsInspectParams) SetTimeout ¶
func (o *CurrentUserEndpointAuthorizationsInspectParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the current user endpoint authorizations inspect params
func (*CurrentUserEndpointAuthorizationsInspectParams) WithContext ¶
func (o *CurrentUserEndpointAuthorizationsInspectParams) WithContext(ctx context.Context) *CurrentUserEndpointAuthorizationsInspectParams
WithContext adds the context to the current user endpoint authorizations inspect params
func (*CurrentUserEndpointAuthorizationsInspectParams) WithDefaults ¶
func (o *CurrentUserEndpointAuthorizationsInspectParams) WithDefaults() *CurrentUserEndpointAuthorizationsInspectParams
WithDefaults hydrates default values in the current user endpoint authorizations inspect params (not the query body).
All values with no default are reset to their zero value.
func (*CurrentUserEndpointAuthorizationsInspectParams) WithEndpointID ¶
func (o *CurrentUserEndpointAuthorizationsInspectParams) WithEndpointID(endpointID int64) *CurrentUserEndpointAuthorizationsInspectParams
WithEndpointID adds the endpointID to the current user endpoint authorizations inspect params
func (*CurrentUserEndpointAuthorizationsInspectParams) WithHTTPClient ¶
func (o *CurrentUserEndpointAuthorizationsInspectParams) WithHTTPClient(client *http.Client) *CurrentUserEndpointAuthorizationsInspectParams
WithHTTPClient adds the HTTPClient to the current user endpoint authorizations inspect params
func (*CurrentUserEndpointAuthorizationsInspectParams) WithTimeout ¶
func (o *CurrentUserEndpointAuthorizationsInspectParams) WithTimeout(timeout time.Duration) *CurrentUserEndpointAuthorizationsInspectParams
WithTimeout adds the timeout to the current user endpoint authorizations inspect params
func (*CurrentUserEndpointAuthorizationsInspectParams) WriteToRequest ¶
func (o *CurrentUserEndpointAuthorizationsInspectParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type CurrentUserEndpointAuthorizationsInspectReader ¶
type CurrentUserEndpointAuthorizationsInspectReader struct {
// contains filtered or unexported fields
}
CurrentUserEndpointAuthorizationsInspectReader is a Reader for the CurrentUserEndpointAuthorizationsInspect structure.
func (*CurrentUserEndpointAuthorizationsInspectReader) ReadResponse ¶
func (o *CurrentUserEndpointAuthorizationsInspectReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type CurrentUserInspectBadRequest ¶
type CurrentUserInspectBadRequest struct {
}
CurrentUserInspectBadRequest describes a response with status code 400, with default header values.
Invalid request
func NewCurrentUserInspectBadRequest ¶
func NewCurrentUserInspectBadRequest() *CurrentUserInspectBadRequest
NewCurrentUserInspectBadRequest creates a CurrentUserInspectBadRequest with default headers values
func (*CurrentUserInspectBadRequest) Code ¶
func (o *CurrentUserInspectBadRequest) Code() int
Code gets the status code for the current user inspect bad request response
func (*CurrentUserInspectBadRequest) Error ¶
func (o *CurrentUserInspectBadRequest) Error() string
func (*CurrentUserInspectBadRequest) IsClientError ¶
func (o *CurrentUserInspectBadRequest) IsClientError() bool
IsClientError returns true when this current user inspect bad request response has a 4xx status code
func (*CurrentUserInspectBadRequest) IsCode ¶
func (o *CurrentUserInspectBadRequest) IsCode(code int) bool
IsCode returns true when this current user inspect bad request response a status code equal to that given
func (*CurrentUserInspectBadRequest) IsRedirect ¶
func (o *CurrentUserInspectBadRequest) IsRedirect() bool
IsRedirect returns true when this current user inspect bad request response has a 3xx status code
func (*CurrentUserInspectBadRequest) IsServerError ¶
func (o *CurrentUserInspectBadRequest) IsServerError() bool
IsServerError returns true when this current user inspect bad request response has a 5xx status code
func (*CurrentUserInspectBadRequest) IsSuccess ¶
func (o *CurrentUserInspectBadRequest) IsSuccess() bool
IsSuccess returns true when this current user inspect bad request response has a 2xx status code
func (*CurrentUserInspectBadRequest) String ¶
func (o *CurrentUserInspectBadRequest) String() string
type CurrentUserInspectForbidden ¶
type CurrentUserInspectForbidden struct {
}
CurrentUserInspectForbidden describes a response with status code 403, with default header values.
Permission denied
func NewCurrentUserInspectForbidden ¶
func NewCurrentUserInspectForbidden() *CurrentUserInspectForbidden
NewCurrentUserInspectForbidden creates a CurrentUserInspectForbidden with default headers values
func (*CurrentUserInspectForbidden) Code ¶
func (o *CurrentUserInspectForbidden) Code() int
Code gets the status code for the current user inspect forbidden response
func (*CurrentUserInspectForbidden) Error ¶
func (o *CurrentUserInspectForbidden) Error() string
func (*CurrentUserInspectForbidden) IsClientError ¶
func (o *CurrentUserInspectForbidden) IsClientError() bool
IsClientError returns true when this current user inspect forbidden response has a 4xx status code
func (*CurrentUserInspectForbidden) IsCode ¶
func (o *CurrentUserInspectForbidden) IsCode(code int) bool
IsCode returns true when this current user inspect forbidden response a status code equal to that given
func (*CurrentUserInspectForbidden) IsRedirect ¶
func (o *CurrentUserInspectForbidden) IsRedirect() bool
IsRedirect returns true when this current user inspect forbidden response has a 3xx status code
func (*CurrentUserInspectForbidden) IsServerError ¶
func (o *CurrentUserInspectForbidden) IsServerError() bool
IsServerError returns true when this current user inspect forbidden response has a 5xx status code
func (*CurrentUserInspectForbidden) IsSuccess ¶
func (o *CurrentUserInspectForbidden) IsSuccess() bool
IsSuccess returns true when this current user inspect forbidden response has a 2xx status code
func (*CurrentUserInspectForbidden) String ¶
func (o *CurrentUserInspectForbidden) String() string
type CurrentUserInspectInternalServerError ¶
type CurrentUserInspectInternalServerError struct {
}
CurrentUserInspectInternalServerError describes a response with status code 500, with default header values.
Server error
func NewCurrentUserInspectInternalServerError ¶
func NewCurrentUserInspectInternalServerError() *CurrentUserInspectInternalServerError
NewCurrentUserInspectInternalServerError creates a CurrentUserInspectInternalServerError with default headers values
func (*CurrentUserInspectInternalServerError) Code ¶
func (o *CurrentUserInspectInternalServerError) Code() int
Code gets the status code for the current user inspect internal server error response
func (*CurrentUserInspectInternalServerError) Error ¶
func (o *CurrentUserInspectInternalServerError) Error() string
func (*CurrentUserInspectInternalServerError) IsClientError ¶
func (o *CurrentUserInspectInternalServerError) IsClientError() bool
IsClientError returns true when this current user inspect internal server error response has a 4xx status code
func (*CurrentUserInspectInternalServerError) IsCode ¶
func (o *CurrentUserInspectInternalServerError) IsCode(code int) bool
IsCode returns true when this current user inspect internal server error response a status code equal to that given
func (*CurrentUserInspectInternalServerError) IsRedirect ¶
func (o *CurrentUserInspectInternalServerError) IsRedirect() bool
IsRedirect returns true when this current user inspect internal server error response has a 3xx status code
func (*CurrentUserInspectInternalServerError) IsServerError ¶
func (o *CurrentUserInspectInternalServerError) IsServerError() bool
IsServerError returns true when this current user inspect internal server error response has a 5xx status code
func (*CurrentUserInspectInternalServerError) IsSuccess ¶
func (o *CurrentUserInspectInternalServerError) IsSuccess() bool
IsSuccess returns true when this current user inspect internal server error response has a 2xx status code
func (*CurrentUserInspectInternalServerError) String ¶
func (o *CurrentUserInspectInternalServerError) String() string
type CurrentUserInspectNotFound ¶
type CurrentUserInspectNotFound struct {
}
CurrentUserInspectNotFound describes a response with status code 404, with default header values.
User not found
func NewCurrentUserInspectNotFound ¶
func NewCurrentUserInspectNotFound() *CurrentUserInspectNotFound
NewCurrentUserInspectNotFound creates a CurrentUserInspectNotFound with default headers values
func (*CurrentUserInspectNotFound) Code ¶
func (o *CurrentUserInspectNotFound) Code() int
Code gets the status code for the current user inspect not found response
func (*CurrentUserInspectNotFound) Error ¶
func (o *CurrentUserInspectNotFound) Error() string
func (*CurrentUserInspectNotFound) IsClientError ¶
func (o *CurrentUserInspectNotFound) IsClientError() bool
IsClientError returns true when this current user inspect not found response has a 4xx status code
func (*CurrentUserInspectNotFound) IsCode ¶
func (o *CurrentUserInspectNotFound) IsCode(code int) bool
IsCode returns true when this current user inspect not found response a status code equal to that given
func (*CurrentUserInspectNotFound) IsRedirect ¶
func (o *CurrentUserInspectNotFound) IsRedirect() bool
IsRedirect returns true when this current user inspect not found response has a 3xx status code
func (*CurrentUserInspectNotFound) IsServerError ¶
func (o *CurrentUserInspectNotFound) IsServerError() bool
IsServerError returns true when this current user inspect not found response has a 5xx status code
func (*CurrentUserInspectNotFound) IsSuccess ¶
func (o *CurrentUserInspectNotFound) IsSuccess() bool
IsSuccess returns true when this current user inspect not found response has a 2xx status code
func (*CurrentUserInspectNotFound) String ¶
func (o *CurrentUserInspectNotFound) String() string
type CurrentUserInspectOK ¶
type CurrentUserInspectOK struct {
Payload *models.PortainereeUser
}
CurrentUserInspectOK describes a response with status code 200, with default header values.
Success
func NewCurrentUserInspectOK ¶
func NewCurrentUserInspectOK() *CurrentUserInspectOK
NewCurrentUserInspectOK creates a CurrentUserInspectOK with default headers values
func (*CurrentUserInspectOK) Code ¶
func (o *CurrentUserInspectOK) Code() int
Code gets the status code for the current user inspect o k response
func (*CurrentUserInspectOK) Error ¶
func (o *CurrentUserInspectOK) Error() string
func (*CurrentUserInspectOK) GetPayload ¶
func (o *CurrentUserInspectOK) GetPayload() *models.PortainereeUser
func (*CurrentUserInspectOK) IsClientError ¶
func (o *CurrentUserInspectOK) IsClientError() bool
IsClientError returns true when this current user inspect o k response has a 4xx status code
func (*CurrentUserInspectOK) IsCode ¶
func (o *CurrentUserInspectOK) IsCode(code int) bool
IsCode returns true when this current user inspect o k response a status code equal to that given
func (*CurrentUserInspectOK) IsRedirect ¶
func (o *CurrentUserInspectOK) IsRedirect() bool
IsRedirect returns true when this current user inspect o k response has a 3xx status code
func (*CurrentUserInspectOK) IsServerError ¶
func (o *CurrentUserInspectOK) IsServerError() bool
IsServerError returns true when this current user inspect o k response has a 5xx status code
func (*CurrentUserInspectOK) IsSuccess ¶
func (o *CurrentUserInspectOK) IsSuccess() bool
IsSuccess returns true when this current user inspect o k response has a 2xx status code
func (*CurrentUserInspectOK) String ¶
func (o *CurrentUserInspectOK) String() string
type CurrentUserInspectParams ¶
type CurrentUserInspectParams struct {
/* NoEndpointAuthorizations.
Set to true to avoid including the environment authorizations in the response
*/
NoEndpointAuthorizations bool
Context context.Context
HTTPClient *http.Client
// contains filtered or unexported fields
}
CurrentUserInspectParams contains all the parameters to send to the API endpoint
for the current user inspect operation. Typically these are written to a http.Request.
func NewCurrentUserInspectParams ¶
func NewCurrentUserInspectParams() *CurrentUserInspectParams
NewCurrentUserInspectParams creates a new CurrentUserInspectParams 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 NewCurrentUserInspectParamsWithContext ¶
func NewCurrentUserInspectParamsWithContext(ctx context.Context) *CurrentUserInspectParams
NewCurrentUserInspectParamsWithContext creates a new CurrentUserInspectParams object with the ability to set a context for a request.
func NewCurrentUserInspectParamsWithHTTPClient ¶
func NewCurrentUserInspectParamsWithHTTPClient(client *http.Client) *CurrentUserInspectParams
NewCurrentUserInspectParamsWithHTTPClient creates a new CurrentUserInspectParams object with the ability to set a custom HTTPClient for a request.
func NewCurrentUserInspectParamsWithTimeout ¶
func NewCurrentUserInspectParamsWithTimeout(timeout time.Duration) *CurrentUserInspectParams
NewCurrentUserInspectParamsWithTimeout creates a new CurrentUserInspectParams object with the ability to set a timeout on a request.
func (*CurrentUserInspectParams) SetContext ¶
func (o *CurrentUserInspectParams) SetContext(ctx context.Context)
SetContext adds the context to the current user inspect params
func (*CurrentUserInspectParams) SetDefaults ¶
func (o *CurrentUserInspectParams) SetDefaults()
SetDefaults hydrates default values in the current user inspect params (not the query body).
All values with no default are reset to their zero value.
func (*CurrentUserInspectParams) SetHTTPClient ¶
func (o *CurrentUserInspectParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the current user inspect params
func (*CurrentUserInspectParams) SetNoEndpointAuthorizations ¶
func (o *CurrentUserInspectParams) SetNoEndpointAuthorizations(noEndpointAuthorizations bool)
SetNoEndpointAuthorizations adds the noEndpointAuthorizations to the current user inspect params
func (*CurrentUserInspectParams) SetTimeout ¶
func (o *CurrentUserInspectParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the current user inspect params
func (*CurrentUserInspectParams) WithContext ¶
func (o *CurrentUserInspectParams) WithContext(ctx context.Context) *CurrentUserInspectParams
WithContext adds the context to the current user inspect params
func (*CurrentUserInspectParams) WithDefaults ¶
func (o *CurrentUserInspectParams) WithDefaults() *CurrentUserInspectParams
WithDefaults hydrates default values in the current user inspect params (not the query body).
All values with no default are reset to their zero value.
func (*CurrentUserInspectParams) WithHTTPClient ¶
func (o *CurrentUserInspectParams) WithHTTPClient(client *http.Client) *CurrentUserInspectParams
WithHTTPClient adds the HTTPClient to the current user inspect params
func (*CurrentUserInspectParams) WithNoEndpointAuthorizations ¶
func (o *CurrentUserInspectParams) WithNoEndpointAuthorizations(noEndpointAuthorizations bool) *CurrentUserInspectParams
WithNoEndpointAuthorizations adds the noEndpointAuthorizations to the current user inspect params
func (*CurrentUserInspectParams) WithTimeout ¶
func (o *CurrentUserInspectParams) WithTimeout(timeout time.Duration) *CurrentUserInspectParams
WithTimeout adds the timeout to the current user inspect params
func (*CurrentUserInspectParams) WriteToRequest ¶
func (o *CurrentUserInspectParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type CurrentUserInspectReader ¶
type CurrentUserInspectReader struct {
// contains filtered or unexported fields
}
CurrentUserInspectReader is a Reader for the CurrentUserInspect structure.
func (*CurrentUserInspectReader) ReadResponse ¶
func (o *CurrentUserInspectReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type UserAdminCheckNoContent ¶
type UserAdminCheckNoContent struct {
}
UserAdminCheckNoContent describes a response with status code 204, with default header values.
Success
func NewUserAdminCheckNoContent ¶
func NewUserAdminCheckNoContent() *UserAdminCheckNoContent
NewUserAdminCheckNoContent creates a UserAdminCheckNoContent with default headers values
func (*UserAdminCheckNoContent) Code ¶
func (o *UserAdminCheckNoContent) Code() int
Code gets the status code for the user admin check no content response
func (*UserAdminCheckNoContent) Error ¶
func (o *UserAdminCheckNoContent) Error() string
func (*UserAdminCheckNoContent) IsClientError ¶
func (o *UserAdminCheckNoContent) IsClientError() bool
IsClientError returns true when this user admin check no content response has a 4xx status code
func (*UserAdminCheckNoContent) IsCode ¶
func (o *UserAdminCheckNoContent) IsCode(code int) bool
IsCode returns true when this user admin check no content response a status code equal to that given
func (*UserAdminCheckNoContent) IsRedirect ¶
func (o *UserAdminCheckNoContent) IsRedirect() bool
IsRedirect returns true when this user admin check no content response has a 3xx status code
func (*UserAdminCheckNoContent) IsServerError ¶
func (o *UserAdminCheckNoContent) IsServerError() bool
IsServerError returns true when this user admin check no content response has a 5xx status code
func (*UserAdminCheckNoContent) IsSuccess ¶
func (o *UserAdminCheckNoContent) IsSuccess() bool
IsSuccess returns true when this user admin check no content response has a 2xx status code
func (*UserAdminCheckNoContent) String ¶
func (o *UserAdminCheckNoContent) String() string
type UserAdminCheckNotFound ¶
type UserAdminCheckNotFound struct {
}
UserAdminCheckNotFound describes a response with status code 404, with default header values.
User not found
func NewUserAdminCheckNotFound ¶
func NewUserAdminCheckNotFound() *UserAdminCheckNotFound
NewUserAdminCheckNotFound creates a UserAdminCheckNotFound with default headers values
func (*UserAdminCheckNotFound) Code ¶
func (o *UserAdminCheckNotFound) Code() int
Code gets the status code for the user admin check not found response
func (*UserAdminCheckNotFound) Error ¶
func (o *UserAdminCheckNotFound) Error() string
func (*UserAdminCheckNotFound) IsClientError ¶
func (o *UserAdminCheckNotFound) IsClientError() bool
IsClientError returns true when this user admin check not found response has a 4xx status code
func (*UserAdminCheckNotFound) IsCode ¶
func (o *UserAdminCheckNotFound) IsCode(code int) bool
IsCode returns true when this user admin check not found response a status code equal to that given
func (*UserAdminCheckNotFound) IsRedirect ¶
func (o *UserAdminCheckNotFound) IsRedirect() bool
IsRedirect returns true when this user admin check not found response has a 3xx status code
func (*UserAdminCheckNotFound) IsServerError ¶
func (o *UserAdminCheckNotFound) IsServerError() bool
IsServerError returns true when this user admin check not found response has a 5xx status code
func (*UserAdminCheckNotFound) IsSuccess ¶
func (o *UserAdminCheckNotFound) IsSuccess() bool
IsSuccess returns true when this user admin check not found response has a 2xx status code
func (*UserAdminCheckNotFound) String ¶
func (o *UserAdminCheckNotFound) String() string
type UserAdminCheckParams ¶
type UserAdminCheckParams struct {
Context context.Context
HTTPClient *http.Client
// contains filtered or unexported fields
}
UserAdminCheckParams contains all the parameters to send to the API endpoint
for the user admin check operation. Typically these are written to a http.Request.
func NewUserAdminCheckParams ¶
func NewUserAdminCheckParams() *UserAdminCheckParams
NewUserAdminCheckParams creates a new UserAdminCheckParams 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 NewUserAdminCheckParamsWithContext ¶
func NewUserAdminCheckParamsWithContext(ctx context.Context) *UserAdminCheckParams
NewUserAdminCheckParamsWithContext creates a new UserAdminCheckParams object with the ability to set a context for a request.
func NewUserAdminCheckParamsWithHTTPClient ¶
func NewUserAdminCheckParamsWithHTTPClient(client *http.Client) *UserAdminCheckParams
NewUserAdminCheckParamsWithHTTPClient creates a new UserAdminCheckParams object with the ability to set a custom HTTPClient for a request.
func NewUserAdminCheckParamsWithTimeout ¶
func NewUserAdminCheckParamsWithTimeout(timeout time.Duration) *UserAdminCheckParams
NewUserAdminCheckParamsWithTimeout creates a new UserAdminCheckParams object with the ability to set a timeout on a request.
func (*UserAdminCheckParams) SetContext ¶
func (o *UserAdminCheckParams) SetContext(ctx context.Context)
SetContext adds the context to the user admin check params
func (*UserAdminCheckParams) SetDefaults ¶
func (o *UserAdminCheckParams) SetDefaults()
SetDefaults hydrates default values in the user admin check params (not the query body).
All values with no default are reset to their zero value.
func (*UserAdminCheckParams) SetHTTPClient ¶
func (o *UserAdminCheckParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the user admin check params
func (*UserAdminCheckParams) SetTimeout ¶
func (o *UserAdminCheckParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the user admin check params
func (*UserAdminCheckParams) WithContext ¶
func (o *UserAdminCheckParams) WithContext(ctx context.Context) *UserAdminCheckParams
WithContext adds the context to the user admin check params
func (*UserAdminCheckParams) WithDefaults ¶
func (o *UserAdminCheckParams) WithDefaults() *UserAdminCheckParams
WithDefaults hydrates default values in the user admin check params (not the query body).
All values with no default are reset to their zero value.
func (*UserAdminCheckParams) WithHTTPClient ¶
func (o *UserAdminCheckParams) WithHTTPClient(client *http.Client) *UserAdminCheckParams
WithHTTPClient adds the HTTPClient to the user admin check params
func (*UserAdminCheckParams) WithTimeout ¶
func (o *UserAdminCheckParams) WithTimeout(timeout time.Duration) *UserAdminCheckParams
WithTimeout adds the timeout to the user admin check params
func (*UserAdminCheckParams) WriteToRequest ¶
func (o *UserAdminCheckParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type UserAdminCheckReader ¶
type UserAdminCheckReader struct {
// contains filtered or unexported fields
}
UserAdminCheckReader is a Reader for the UserAdminCheck structure.
func (*UserAdminCheckReader) ReadResponse ¶
func (o *UserAdminCheckReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type UserAdminInitBadRequest ¶
type UserAdminInitBadRequest struct {
}
UserAdminInitBadRequest describes a response with status code 400, with default header values.
Invalid request
func NewUserAdminInitBadRequest ¶
func NewUserAdminInitBadRequest() *UserAdminInitBadRequest
NewUserAdminInitBadRequest creates a UserAdminInitBadRequest with default headers values
func (*UserAdminInitBadRequest) Code ¶
func (o *UserAdminInitBadRequest) Code() int
Code gets the status code for the user admin init bad request response
func (*UserAdminInitBadRequest) Error ¶
func (o *UserAdminInitBadRequest) Error() string
func (*UserAdminInitBadRequest) IsClientError ¶
func (o *UserAdminInitBadRequest) IsClientError() bool
IsClientError returns true when this user admin init bad request response has a 4xx status code
func (*UserAdminInitBadRequest) IsCode ¶
func (o *UserAdminInitBadRequest) IsCode(code int) bool
IsCode returns true when this user admin init bad request response a status code equal to that given
func (*UserAdminInitBadRequest) IsRedirect ¶
func (o *UserAdminInitBadRequest) IsRedirect() bool
IsRedirect returns true when this user admin init bad request response has a 3xx status code
func (*UserAdminInitBadRequest) IsServerError ¶
func (o *UserAdminInitBadRequest) IsServerError() bool
IsServerError returns true when this user admin init bad request response has a 5xx status code
func (*UserAdminInitBadRequest) IsSuccess ¶
func (o *UserAdminInitBadRequest) IsSuccess() bool
IsSuccess returns true when this user admin init bad request response has a 2xx status code
func (*UserAdminInitBadRequest) String ¶
func (o *UserAdminInitBadRequest) String() string
type UserAdminInitConflict ¶
type UserAdminInitConflict struct {
}
UserAdminInitConflict describes a response with status code 409, with default header values.
Admin user already initialized
func NewUserAdminInitConflict ¶
func NewUserAdminInitConflict() *UserAdminInitConflict
NewUserAdminInitConflict creates a UserAdminInitConflict with default headers values
func (*UserAdminInitConflict) Code ¶
func (o *UserAdminInitConflict) Code() int
Code gets the status code for the user admin init conflict response
func (*UserAdminInitConflict) Error ¶
func (o *UserAdminInitConflict) Error() string
func (*UserAdminInitConflict) IsClientError ¶
func (o *UserAdminInitConflict) IsClientError() bool
IsClientError returns true when this user admin init conflict response has a 4xx status code
func (*UserAdminInitConflict) IsCode ¶
func (o *UserAdminInitConflict) IsCode(code int) bool
IsCode returns true when this user admin init conflict response a status code equal to that given
func (*UserAdminInitConflict) IsRedirect ¶
func (o *UserAdminInitConflict) IsRedirect() bool
IsRedirect returns true when this user admin init conflict response has a 3xx status code
func (*UserAdminInitConflict) IsServerError ¶
func (o *UserAdminInitConflict) IsServerError() bool
IsServerError returns true when this user admin init conflict response has a 5xx status code
func (*UserAdminInitConflict) IsSuccess ¶
func (o *UserAdminInitConflict) IsSuccess() bool
IsSuccess returns true when this user admin init conflict response has a 2xx status code
func (*UserAdminInitConflict) String ¶
func (o *UserAdminInitConflict) String() string
type UserAdminInitInternalServerError ¶
type UserAdminInitInternalServerError struct {
}
UserAdminInitInternalServerError describes a response with status code 500, with default header values.
Server error
func NewUserAdminInitInternalServerError ¶
func NewUserAdminInitInternalServerError() *UserAdminInitInternalServerError
NewUserAdminInitInternalServerError creates a UserAdminInitInternalServerError with default headers values
func (*UserAdminInitInternalServerError) Code ¶
func (o *UserAdminInitInternalServerError) Code() int
Code gets the status code for the user admin init internal server error response
func (*UserAdminInitInternalServerError) Error ¶
func (o *UserAdminInitInternalServerError) Error() string
func (*UserAdminInitInternalServerError) IsClientError ¶
func (o *UserAdminInitInternalServerError) IsClientError() bool
IsClientError returns true when this user admin init internal server error response has a 4xx status code
func (*UserAdminInitInternalServerError) IsCode ¶
func (o *UserAdminInitInternalServerError) IsCode(code int) bool
IsCode returns true when this user admin init internal server error response a status code equal to that given
func (*UserAdminInitInternalServerError) IsRedirect ¶
func (o *UserAdminInitInternalServerError) IsRedirect() bool
IsRedirect returns true when this user admin init internal server error response has a 3xx status code
func (*UserAdminInitInternalServerError) IsServerError ¶
func (o *UserAdminInitInternalServerError) IsServerError() bool
IsServerError returns true when this user admin init internal server error response has a 5xx status code
func (*UserAdminInitInternalServerError) IsSuccess ¶
func (o *UserAdminInitInternalServerError) IsSuccess() bool
IsSuccess returns true when this user admin init internal server error response has a 2xx status code
func (*UserAdminInitInternalServerError) String ¶
func (o *UserAdminInitInternalServerError) String() string
type UserAdminInitOK ¶
type UserAdminInitOK struct {
Payload *models.PortainereeUser
}
UserAdminInitOK describes a response with status code 200, with default header values.
Success
func NewUserAdminInitOK ¶
func NewUserAdminInitOK() *UserAdminInitOK
NewUserAdminInitOK creates a UserAdminInitOK with default headers values
func (*UserAdminInitOK) Code ¶
func (o *UserAdminInitOK) Code() int
Code gets the status code for the user admin init o k response
func (*UserAdminInitOK) Error ¶
func (o *UserAdminInitOK) Error() string
func (*UserAdminInitOK) GetPayload ¶
func (o *UserAdminInitOK) GetPayload() *models.PortainereeUser
func (*UserAdminInitOK) IsClientError ¶
func (o *UserAdminInitOK) IsClientError() bool
IsClientError returns true when this user admin init o k response has a 4xx status code
func (*UserAdminInitOK) IsCode ¶
func (o *UserAdminInitOK) IsCode(code int) bool
IsCode returns true when this user admin init o k response a status code equal to that given
func (*UserAdminInitOK) IsRedirect ¶
func (o *UserAdminInitOK) IsRedirect() bool
IsRedirect returns true when this user admin init o k response has a 3xx status code
func (*UserAdminInitOK) IsServerError ¶
func (o *UserAdminInitOK) IsServerError() bool
IsServerError returns true when this user admin init o k response has a 5xx status code
func (*UserAdminInitOK) IsSuccess ¶
func (o *UserAdminInitOK) IsSuccess() bool
IsSuccess returns true when this user admin init o k response has a 2xx status code
func (*UserAdminInitOK) String ¶
func (o *UserAdminInitOK) String() string
type UserAdminInitParams ¶
type UserAdminInitParams struct {
/* Body.
User details
*/
Body *models.UsersAdminInitPayload
Context context.Context
HTTPClient *http.Client
// contains filtered or unexported fields
}
UserAdminInitParams contains all the parameters to send to the API endpoint
for the user admin init operation. Typically these are written to a http.Request.
func NewUserAdminInitParams ¶
func NewUserAdminInitParams() *UserAdminInitParams
NewUserAdminInitParams creates a new UserAdminInitParams 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 NewUserAdminInitParamsWithContext ¶
func NewUserAdminInitParamsWithContext(ctx context.Context) *UserAdminInitParams
NewUserAdminInitParamsWithContext creates a new UserAdminInitParams object with the ability to set a context for a request.
func NewUserAdminInitParamsWithHTTPClient ¶
func NewUserAdminInitParamsWithHTTPClient(client *http.Client) *UserAdminInitParams
NewUserAdminInitParamsWithHTTPClient creates a new UserAdminInitParams object with the ability to set a custom HTTPClient for a request.
func NewUserAdminInitParamsWithTimeout ¶
func NewUserAdminInitParamsWithTimeout(timeout time.Duration) *UserAdminInitParams
NewUserAdminInitParamsWithTimeout creates a new UserAdminInitParams object with the ability to set a timeout on a request.
func (*UserAdminInitParams) SetBody ¶
func (o *UserAdminInitParams) SetBody(body *models.UsersAdminInitPayload)
SetBody adds the body to the user admin init params
func (*UserAdminInitParams) SetContext ¶
func (o *UserAdminInitParams) SetContext(ctx context.Context)
SetContext adds the context to the user admin init params
func (*UserAdminInitParams) SetDefaults ¶
func (o *UserAdminInitParams) SetDefaults()
SetDefaults hydrates default values in the user admin init params (not the query body).
All values with no default are reset to their zero value.
func (*UserAdminInitParams) SetHTTPClient ¶
func (o *UserAdminInitParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the user admin init params
func (*UserAdminInitParams) SetTimeout ¶
func (o *UserAdminInitParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the user admin init params
func (*UserAdminInitParams) WithBody ¶
func (o *UserAdminInitParams) WithBody(body *models.UsersAdminInitPayload) *UserAdminInitParams
WithBody adds the body to the user admin init params
func (*UserAdminInitParams) WithContext ¶
func (o *UserAdminInitParams) WithContext(ctx context.Context) *UserAdminInitParams
WithContext adds the context to the user admin init params
func (*UserAdminInitParams) WithDefaults ¶
func (o *UserAdminInitParams) WithDefaults() *UserAdminInitParams
WithDefaults hydrates default values in the user admin init params (not the query body).
All values with no default are reset to their zero value.
func (*UserAdminInitParams) WithHTTPClient ¶
func (o *UserAdminInitParams) WithHTTPClient(client *http.Client) *UserAdminInitParams
WithHTTPClient adds the HTTPClient to the user admin init params
func (*UserAdminInitParams) WithTimeout ¶
func (o *UserAdminInitParams) WithTimeout(timeout time.Duration) *UserAdminInitParams
WithTimeout adds the timeout to the user admin init params
func (*UserAdminInitParams) WriteToRequest ¶
func (o *UserAdminInitParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type UserAdminInitReader ¶
type UserAdminInitReader struct {
// contains filtered or unexported fields
}
UserAdminInitReader is a Reader for the UserAdminInit structure.
func (*UserAdminInitReader) ReadResponse ¶
func (o *UserAdminInitReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type UserCreateBadRequest ¶
type UserCreateBadRequest struct {
}
UserCreateBadRequest describes a response with status code 400, with default header values.
Invalid request
func NewUserCreateBadRequest ¶
func NewUserCreateBadRequest() *UserCreateBadRequest
NewUserCreateBadRequest creates a UserCreateBadRequest with default headers values
func (*UserCreateBadRequest) Code ¶
func (o *UserCreateBadRequest) Code() int
Code gets the status code for the user create bad request response
func (*UserCreateBadRequest) Error ¶
func (o *UserCreateBadRequest) Error() string
func (*UserCreateBadRequest) IsClientError ¶
func (o *UserCreateBadRequest) IsClientError() bool
IsClientError returns true when this user create bad request response has a 4xx status code
func (*UserCreateBadRequest) IsCode ¶
func (o *UserCreateBadRequest) IsCode(code int) bool
IsCode returns true when this user create bad request response a status code equal to that given
func (*UserCreateBadRequest) IsRedirect ¶
func (o *UserCreateBadRequest) IsRedirect() bool
IsRedirect returns true when this user create bad request response has a 3xx status code
func (*UserCreateBadRequest) IsServerError ¶
func (o *UserCreateBadRequest) IsServerError() bool
IsServerError returns true when this user create bad request response has a 5xx status code
func (*UserCreateBadRequest) IsSuccess ¶
func (o *UserCreateBadRequest) IsSuccess() bool
IsSuccess returns true when this user create bad request response has a 2xx status code
func (*UserCreateBadRequest) String ¶
func (o *UserCreateBadRequest) String() string
type UserCreateConflict ¶
type UserCreateConflict struct {
}
UserCreateConflict describes a response with status code 409, with default header values.
User already exists
func NewUserCreateConflict ¶
func NewUserCreateConflict() *UserCreateConflict
NewUserCreateConflict creates a UserCreateConflict with default headers values
func (*UserCreateConflict) Code ¶
func (o *UserCreateConflict) Code() int
Code gets the status code for the user create conflict response
func (*UserCreateConflict) Error ¶
func (o *UserCreateConflict) Error() string
func (*UserCreateConflict) IsClientError ¶
func (o *UserCreateConflict) IsClientError() bool
IsClientError returns true when this user create conflict response has a 4xx status code
func (*UserCreateConflict) IsCode ¶
func (o *UserCreateConflict) IsCode(code int) bool
IsCode returns true when this user create conflict response a status code equal to that given
func (*UserCreateConflict) IsRedirect ¶
func (o *UserCreateConflict) IsRedirect() bool
IsRedirect returns true when this user create conflict response has a 3xx status code
func (*UserCreateConflict) IsServerError ¶
func (o *UserCreateConflict) IsServerError() bool
IsServerError returns true when this user create conflict response has a 5xx status code
func (*UserCreateConflict) IsSuccess ¶
func (o *UserCreateConflict) IsSuccess() bool
IsSuccess returns true when this user create conflict response has a 2xx status code
func (*UserCreateConflict) String ¶
func (o *UserCreateConflict) String() string
type UserCreateForbidden ¶
type UserCreateForbidden struct {
}
UserCreateForbidden describes a response with status code 403, with default header values.
Permission denied
func NewUserCreateForbidden ¶
func NewUserCreateForbidden() *UserCreateForbidden
NewUserCreateForbidden creates a UserCreateForbidden with default headers values
func (*UserCreateForbidden) Code ¶
func (o *UserCreateForbidden) Code() int
Code gets the status code for the user create forbidden response
func (*UserCreateForbidden) Error ¶
func (o *UserCreateForbidden) Error() string
func (*UserCreateForbidden) IsClientError ¶
func (o *UserCreateForbidden) IsClientError() bool
IsClientError returns true when this user create forbidden response has a 4xx status code
func (*UserCreateForbidden) IsCode ¶
func (o *UserCreateForbidden) IsCode(code int) bool
IsCode returns true when this user create forbidden response a status code equal to that given
func (*UserCreateForbidden) IsRedirect ¶
func (o *UserCreateForbidden) IsRedirect() bool
IsRedirect returns true when this user create forbidden response has a 3xx status code
func (*UserCreateForbidden) IsServerError ¶
func (o *UserCreateForbidden) IsServerError() bool
IsServerError returns true when this user create forbidden response has a 5xx status code
func (*UserCreateForbidden) IsSuccess ¶
func (o *UserCreateForbidden) IsSuccess() bool
IsSuccess returns true when this user create forbidden response has a 2xx status code
func (*UserCreateForbidden) String ¶
func (o *UserCreateForbidden) String() string
type UserCreateGitCredentialBadRequest ¶
type UserCreateGitCredentialBadRequest struct {
}
UserCreateGitCredentialBadRequest describes a response with status code 400, with default header values.
Invalid request
func NewUserCreateGitCredentialBadRequest ¶
func NewUserCreateGitCredentialBadRequest() *UserCreateGitCredentialBadRequest
NewUserCreateGitCredentialBadRequest creates a UserCreateGitCredentialBadRequest with default headers values
func (*UserCreateGitCredentialBadRequest) Code ¶
func (o *UserCreateGitCredentialBadRequest) Code() int
Code gets the status code for the user create git credential bad request response
func (*UserCreateGitCredentialBadRequest) Error ¶
func (o *UserCreateGitCredentialBadRequest) Error() string
func (*UserCreateGitCredentialBadRequest) IsClientError ¶
func (o *UserCreateGitCredentialBadRequest) IsClientError() bool
IsClientError returns true when this user create git credential bad request response has a 4xx status code
func (*UserCreateGitCredentialBadRequest) IsCode ¶
func (o *UserCreateGitCredentialBadRequest) IsCode(code int) bool
IsCode returns true when this user create git credential bad request response a status code equal to that given
func (*UserCreateGitCredentialBadRequest) IsRedirect ¶
func (o *UserCreateGitCredentialBadRequest) IsRedirect() bool
IsRedirect returns true when this user create git credential bad request response has a 3xx status code
func (*UserCreateGitCredentialBadRequest) IsServerError ¶
func (o *UserCreateGitCredentialBadRequest) IsServerError() bool
IsServerError returns true when this user create git credential bad request response has a 5xx status code
func (*UserCreateGitCredentialBadRequest) IsSuccess ¶
func (o *UserCreateGitCredentialBadRequest) IsSuccess() bool
IsSuccess returns true when this user create git credential bad request response has a 2xx status code
func (*UserCreateGitCredentialBadRequest) String ¶
func (o *UserCreateGitCredentialBadRequest) String() string
type UserCreateGitCredentialCreated ¶
type UserCreateGitCredentialCreated struct {
Payload *models.UsersGitCredentialResponse
}
UserCreateGitCredentialCreated describes a response with status code 201, with default header values.
Created
func NewUserCreateGitCredentialCreated ¶
func NewUserCreateGitCredentialCreated() *UserCreateGitCredentialCreated
NewUserCreateGitCredentialCreated creates a UserCreateGitCredentialCreated with default headers values
func (*UserCreateGitCredentialCreated) Code ¶
func (o *UserCreateGitCredentialCreated) Code() int
Code gets the status code for the user create git credential created response
func (*UserCreateGitCredentialCreated) Error ¶
func (o *UserCreateGitCredentialCreated) Error() string
func (*UserCreateGitCredentialCreated) GetPayload ¶
func (o *UserCreateGitCredentialCreated) GetPayload() *models.UsersGitCredentialResponse
func (*UserCreateGitCredentialCreated) IsClientError ¶
func (o *UserCreateGitCredentialCreated) IsClientError() bool
IsClientError returns true when this user create git credential created response has a 4xx status code
func (*UserCreateGitCredentialCreated) IsCode ¶
func (o *UserCreateGitCredentialCreated) IsCode(code int) bool
IsCode returns true when this user create git credential created response a status code equal to that given
func (*UserCreateGitCredentialCreated) IsRedirect ¶
func (o *UserCreateGitCredentialCreated) IsRedirect() bool
IsRedirect returns true when this user create git credential created response has a 3xx status code
func (*UserCreateGitCredentialCreated) IsServerError ¶
func (o *UserCreateGitCredentialCreated) IsServerError() bool
IsServerError returns true when this user create git credential created response has a 5xx status code
func (*UserCreateGitCredentialCreated) IsSuccess ¶
func (o *UserCreateGitCredentialCreated) IsSuccess() bool
IsSuccess returns true when this user create git credential created response has a 2xx status code
func (*UserCreateGitCredentialCreated) String ¶
func (o *UserCreateGitCredentialCreated) String() string
type UserCreateGitCredentialForbidden ¶
type UserCreateGitCredentialForbidden struct {
}
UserCreateGitCredentialForbidden describes a response with status code 403, with default header values.
Permission denied
func NewUserCreateGitCredentialForbidden ¶
func NewUserCreateGitCredentialForbidden() *UserCreateGitCredentialForbidden
NewUserCreateGitCredentialForbidden creates a UserCreateGitCredentialForbidden with default headers values
func (*UserCreateGitCredentialForbidden) Code ¶
func (o *UserCreateGitCredentialForbidden) Code() int
Code gets the status code for the user create git credential forbidden response
func (*UserCreateGitCredentialForbidden) Error ¶
func (o *UserCreateGitCredentialForbidden) Error() string
func (*UserCreateGitCredentialForbidden) IsClientError ¶
func (o *UserCreateGitCredentialForbidden) IsClientError() bool
IsClientError returns true when this user create git credential forbidden response has a 4xx status code
func (*UserCreateGitCredentialForbidden) IsCode ¶
func (o *UserCreateGitCredentialForbidden) IsCode(code int) bool
IsCode returns true when this user create git credential forbidden response a status code equal to that given
func (*UserCreateGitCredentialForbidden) IsRedirect ¶
func (o *UserCreateGitCredentialForbidden) IsRedirect() bool
IsRedirect returns true when this user create git credential forbidden response has a 3xx status code
func (*UserCreateGitCredentialForbidden) IsServerError ¶
func (o *UserCreateGitCredentialForbidden) IsServerError() bool
IsServerError returns true when this user create git credential forbidden response has a 5xx status code
func (*UserCreateGitCredentialForbidden) IsSuccess ¶
func (o *UserCreateGitCredentialForbidden) IsSuccess() bool
IsSuccess returns true when this user create git credential forbidden response has a 2xx status code
func (*UserCreateGitCredentialForbidden) String ¶
func (o *UserCreateGitCredentialForbidden) String() string
type UserCreateGitCredentialInternalServerError ¶
type UserCreateGitCredentialInternalServerError struct {
}
UserCreateGitCredentialInternalServerError describes a response with status code 500, with default header values.
Server error
func NewUserCreateGitCredentialInternalServerError ¶
func NewUserCreateGitCredentialInternalServerError() *UserCreateGitCredentialInternalServerError
NewUserCreateGitCredentialInternalServerError creates a UserCreateGitCredentialInternalServerError with default headers values
func (*UserCreateGitCredentialInternalServerError) Code ¶
func (o *UserCreateGitCredentialInternalServerError) Code() int
Code gets the status code for the user create git credential internal server error response
func (*UserCreateGitCredentialInternalServerError) Error ¶
func (o *UserCreateGitCredentialInternalServerError) Error() string
func (*UserCreateGitCredentialInternalServerError) IsClientError ¶
func (o *UserCreateGitCredentialInternalServerError) IsClientError() bool
IsClientError returns true when this user create git credential internal server error response has a 4xx status code
func (*UserCreateGitCredentialInternalServerError) IsCode ¶
func (o *UserCreateGitCredentialInternalServerError) IsCode(code int) bool
IsCode returns true when this user create git credential internal server error response a status code equal to that given
func (*UserCreateGitCredentialInternalServerError) IsRedirect ¶
func (o *UserCreateGitCredentialInternalServerError) IsRedirect() bool
IsRedirect returns true when this user create git credential internal server error response has a 3xx status code
func (*UserCreateGitCredentialInternalServerError) IsServerError ¶
func (o *UserCreateGitCredentialInternalServerError) IsServerError() bool
IsServerError returns true when this user create git credential internal server error response has a 5xx status code
func (*UserCreateGitCredentialInternalServerError) IsSuccess ¶
func (o *UserCreateGitCredentialInternalServerError) IsSuccess() bool
IsSuccess returns true when this user create git credential internal server error response has a 2xx status code
func (*UserCreateGitCredentialInternalServerError) String ¶
func (o *UserCreateGitCredentialInternalServerError) String() string
type UserCreateGitCredentialParams ¶
type UserCreateGitCredentialParams struct {
/* Body.
details
*/
Body *models.UsersUserGitCredentialCreatePayload
/* ID.
User identifier
*/
ID int64
Context context.Context
HTTPClient *http.Client
// contains filtered or unexported fields
}
UserCreateGitCredentialParams contains all the parameters to send to the API endpoint
for the user create git credential operation. Typically these are written to a http.Request.
func NewUserCreateGitCredentialParams ¶
func NewUserCreateGitCredentialParams() *UserCreateGitCredentialParams
NewUserCreateGitCredentialParams creates a new UserCreateGitCredentialParams 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 NewUserCreateGitCredentialParamsWithContext ¶
func NewUserCreateGitCredentialParamsWithContext(ctx context.Context) *UserCreateGitCredentialParams
NewUserCreateGitCredentialParamsWithContext creates a new UserCreateGitCredentialParams object with the ability to set a context for a request.
func NewUserCreateGitCredentialParamsWithHTTPClient ¶
func NewUserCreateGitCredentialParamsWithHTTPClient(client *http.Client) *UserCreateGitCredentialParams
NewUserCreateGitCredentialParamsWithHTTPClient creates a new UserCreateGitCredentialParams object with the ability to set a custom HTTPClient for a request.
func NewUserCreateGitCredentialParamsWithTimeout ¶
func NewUserCreateGitCredentialParamsWithTimeout(timeout time.Duration) *UserCreateGitCredentialParams
NewUserCreateGitCredentialParamsWithTimeout creates a new UserCreateGitCredentialParams object with the ability to set a timeout on a request.
func (*UserCreateGitCredentialParams) SetBody ¶
func (o *UserCreateGitCredentialParams) SetBody(body *models.UsersUserGitCredentialCreatePayload)
SetBody adds the body to the user create git credential params
func (*UserCreateGitCredentialParams) SetContext ¶
func (o *UserCreateGitCredentialParams) SetContext(ctx context.Context)
SetContext adds the context to the user create git credential params
func (*UserCreateGitCredentialParams) SetDefaults ¶
func (o *UserCreateGitCredentialParams) SetDefaults()
SetDefaults hydrates default values in the user create git credential params (not the query body).
All values with no default are reset to their zero value.
func (*UserCreateGitCredentialParams) SetHTTPClient ¶
func (o *UserCreateGitCredentialParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the user create git credential params
func (*UserCreateGitCredentialParams) SetID ¶
func (o *UserCreateGitCredentialParams) SetID(id int64)
SetID adds the id to the user create git credential params
func (*UserCreateGitCredentialParams) SetTimeout ¶
func (o *UserCreateGitCredentialParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the user create git credential params
func (*UserCreateGitCredentialParams) WithBody ¶
func (o *UserCreateGitCredentialParams) WithBody(body *models.UsersUserGitCredentialCreatePayload) *UserCreateGitCredentialParams
WithBody adds the body to the user create git credential params
func (*UserCreateGitCredentialParams) WithContext ¶
func (o *UserCreateGitCredentialParams) WithContext(ctx context.Context) *UserCreateGitCredentialParams
WithContext adds the context to the user create git credential params
func (*UserCreateGitCredentialParams) WithDefaults ¶
func (o *UserCreateGitCredentialParams) WithDefaults() *UserCreateGitCredentialParams
WithDefaults hydrates default values in the user create git credential params (not the query body).
All values with no default are reset to their zero value.
func (*UserCreateGitCredentialParams) WithHTTPClient ¶
func (o *UserCreateGitCredentialParams) WithHTTPClient(client *http.Client) *UserCreateGitCredentialParams
WithHTTPClient adds the HTTPClient to the user create git credential params
func (*UserCreateGitCredentialParams) WithID ¶
func (o *UserCreateGitCredentialParams) WithID(id int64) *UserCreateGitCredentialParams
WithID adds the id to the user create git credential params
func (*UserCreateGitCredentialParams) WithTimeout ¶
func (o *UserCreateGitCredentialParams) WithTimeout(timeout time.Duration) *UserCreateGitCredentialParams
WithTimeout adds the timeout to the user create git credential params
func (*UserCreateGitCredentialParams) WriteToRequest ¶
func (o *UserCreateGitCredentialParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type UserCreateGitCredentialReader ¶
type UserCreateGitCredentialReader struct {
// contains filtered or unexported fields
}
UserCreateGitCredentialReader is a Reader for the UserCreateGitCredential structure.
func (*UserCreateGitCredentialReader) ReadResponse ¶
func (o *UserCreateGitCredentialReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type UserCreateGitCredentialUnauthorized ¶
type UserCreateGitCredentialUnauthorized struct {
}
UserCreateGitCredentialUnauthorized describes a response with status code 401, with default header values.
Unauthorized
func NewUserCreateGitCredentialUnauthorized ¶
func NewUserCreateGitCredentialUnauthorized() *UserCreateGitCredentialUnauthorized
NewUserCreateGitCredentialUnauthorized creates a UserCreateGitCredentialUnauthorized with default headers values
func (*UserCreateGitCredentialUnauthorized) Code ¶
func (o *UserCreateGitCredentialUnauthorized) Code() int
Code gets the status code for the user create git credential unauthorized response
func (*UserCreateGitCredentialUnauthorized) Error ¶
func (o *UserCreateGitCredentialUnauthorized) Error() string
func (*UserCreateGitCredentialUnauthorized) IsClientError ¶
func (o *UserCreateGitCredentialUnauthorized) IsClientError() bool
IsClientError returns true when this user create git credential unauthorized response has a 4xx status code
func (*UserCreateGitCredentialUnauthorized) IsCode ¶
func (o *UserCreateGitCredentialUnauthorized) IsCode(code int) bool
IsCode returns true when this user create git credential unauthorized response a status code equal to that given
func (*UserCreateGitCredentialUnauthorized) IsRedirect ¶
func (o *UserCreateGitCredentialUnauthorized) IsRedirect() bool
IsRedirect returns true when this user create git credential unauthorized response has a 3xx status code
func (*UserCreateGitCredentialUnauthorized) IsServerError ¶
func (o *UserCreateGitCredentialUnauthorized) IsServerError() bool
IsServerError returns true when this user create git credential unauthorized response has a 5xx status code
func (*UserCreateGitCredentialUnauthorized) IsSuccess ¶
func (o *UserCreateGitCredentialUnauthorized) IsSuccess() bool
IsSuccess returns true when this user create git credential unauthorized response has a 2xx status code
func (*UserCreateGitCredentialUnauthorized) String ¶
func (o *UserCreateGitCredentialUnauthorized) String() string
type UserCreateInternalServerError ¶
type UserCreateInternalServerError struct {
}
UserCreateInternalServerError describes a response with status code 500, with default header values.
Server error
func NewUserCreateInternalServerError ¶
func NewUserCreateInternalServerError() *UserCreateInternalServerError
NewUserCreateInternalServerError creates a UserCreateInternalServerError with default headers values
func (*UserCreateInternalServerError) Code ¶
func (o *UserCreateInternalServerError) Code() int
Code gets the status code for the user create internal server error response
func (*UserCreateInternalServerError) Error ¶
func (o *UserCreateInternalServerError) Error() string
func (*UserCreateInternalServerError) IsClientError ¶
func (o *UserCreateInternalServerError) IsClientError() bool
IsClientError returns true when this user create internal server error response has a 4xx status code
func (*UserCreateInternalServerError) IsCode ¶
func (o *UserCreateInternalServerError) IsCode(code int) bool
IsCode returns true when this user create internal server error response a status code equal to that given
func (*UserCreateInternalServerError) IsRedirect ¶
func (o *UserCreateInternalServerError) IsRedirect() bool
IsRedirect returns true when this user create internal server error response has a 3xx status code
func (*UserCreateInternalServerError) IsServerError ¶
func (o *UserCreateInternalServerError) IsServerError() bool
IsServerError returns true when this user create internal server error response has a 5xx status code
func (*UserCreateInternalServerError) IsSuccess ¶
func (o *UserCreateInternalServerError) IsSuccess() bool
IsSuccess returns true when this user create internal server error response has a 2xx status code
func (*UserCreateInternalServerError) String ¶
func (o *UserCreateInternalServerError) String() string
type UserCreateOK ¶
type UserCreateOK struct {
Payload *models.PortainereeUser
}
UserCreateOK describes a response with status code 200, with default header values.
Success
func NewUserCreateOK ¶
func NewUserCreateOK() *UserCreateOK
NewUserCreateOK creates a UserCreateOK with default headers values
func (*UserCreateOK) Code ¶
func (o *UserCreateOK) Code() int
Code gets the status code for the user create o k response
func (*UserCreateOK) Error ¶
func (o *UserCreateOK) Error() string
func (*UserCreateOK) GetPayload ¶
func (o *UserCreateOK) GetPayload() *models.PortainereeUser
func (*UserCreateOK) IsClientError ¶
func (o *UserCreateOK) IsClientError() bool
IsClientError returns true when this user create o k response has a 4xx status code
func (*UserCreateOK) IsCode ¶
func (o *UserCreateOK) IsCode(code int) bool
IsCode returns true when this user create o k response a status code equal to that given
func (*UserCreateOK) IsRedirect ¶
func (o *UserCreateOK) IsRedirect() bool
IsRedirect returns true when this user create o k response has a 3xx status code
func (*UserCreateOK) IsServerError ¶
func (o *UserCreateOK) IsServerError() bool
IsServerError returns true when this user create o k response has a 5xx status code
func (*UserCreateOK) IsSuccess ¶
func (o *UserCreateOK) IsSuccess() bool
IsSuccess returns true when this user create o k response has a 2xx status code
func (*UserCreateOK) String ¶
func (o *UserCreateOK) String() string
type UserCreateParams ¶
type UserCreateParams struct {
/* Body.
User details
*/
Body *models.UsersUserCreatePayload
Context context.Context
HTTPClient *http.Client
// contains filtered or unexported fields
}
UserCreateParams contains all the parameters to send to the API endpoint
for the user create operation. Typically these are written to a http.Request.
func NewUserCreateParams ¶
func NewUserCreateParams() *UserCreateParams
NewUserCreateParams creates a new UserCreateParams 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 NewUserCreateParamsWithContext ¶
func NewUserCreateParamsWithContext(ctx context.Context) *UserCreateParams
NewUserCreateParamsWithContext creates a new UserCreateParams object with the ability to set a context for a request.
func NewUserCreateParamsWithHTTPClient ¶
func NewUserCreateParamsWithHTTPClient(client *http.Client) *UserCreateParams
NewUserCreateParamsWithHTTPClient creates a new UserCreateParams object with the ability to set a custom HTTPClient for a request.
func NewUserCreateParamsWithTimeout ¶
func NewUserCreateParamsWithTimeout(timeout time.Duration) *UserCreateParams
NewUserCreateParamsWithTimeout creates a new UserCreateParams object with the ability to set a timeout on a request.
func (*UserCreateParams) SetBody ¶
func (o *UserCreateParams) SetBody(body *models.UsersUserCreatePayload)
SetBody adds the body to the user create params
func (*UserCreateParams) SetContext ¶
func (o *UserCreateParams) SetContext(ctx context.Context)
SetContext adds the context to the user create params
func (*UserCreateParams) SetDefaults ¶
func (o *UserCreateParams) SetDefaults()
SetDefaults hydrates default values in the user create params (not the query body).
All values with no default are reset to their zero value.
func (*UserCreateParams) SetHTTPClient ¶
func (o *UserCreateParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the user create params
func (*UserCreateParams) SetTimeout ¶
func (o *UserCreateParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the user create params
func (*UserCreateParams) WithBody ¶
func (o *UserCreateParams) WithBody(body *models.UsersUserCreatePayload) *UserCreateParams
WithBody adds the body to the user create params
func (*UserCreateParams) WithContext ¶
func (o *UserCreateParams) WithContext(ctx context.Context) *UserCreateParams
WithContext adds the context to the user create params
func (*UserCreateParams) WithDefaults ¶
func (o *UserCreateParams) WithDefaults() *UserCreateParams
WithDefaults hydrates default values in the user create params (not the query body).
All values with no default are reset to their zero value.
func (*UserCreateParams) WithHTTPClient ¶
func (o *UserCreateParams) WithHTTPClient(client *http.Client) *UserCreateParams
WithHTTPClient adds the HTTPClient to the user create params
func (*UserCreateParams) WithTimeout ¶
func (o *UserCreateParams) WithTimeout(timeout time.Duration) *UserCreateParams
WithTimeout adds the timeout to the user create params
func (*UserCreateParams) WriteToRequest ¶
func (o *UserCreateParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type UserCreateReader ¶
type UserCreateReader struct {
// contains filtered or unexported fields
}
UserCreateReader is a Reader for the UserCreate structure.
func (*UserCreateReader) ReadResponse ¶
func (o *UserCreateReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type UserDeleteBadRequest ¶
type UserDeleteBadRequest struct {
}
UserDeleteBadRequest describes a response with status code 400, with default header values.
Invalid request
func NewUserDeleteBadRequest ¶
func NewUserDeleteBadRequest() *UserDeleteBadRequest
NewUserDeleteBadRequest creates a UserDeleteBadRequest with default headers values
func (*UserDeleteBadRequest) Code ¶
func (o *UserDeleteBadRequest) Code() int
Code gets the status code for the user delete bad request response
func (*UserDeleteBadRequest) Error ¶
func (o *UserDeleteBadRequest) Error() string
func (*UserDeleteBadRequest) IsClientError ¶
func (o *UserDeleteBadRequest) IsClientError() bool
IsClientError returns true when this user delete bad request response has a 4xx status code
func (*UserDeleteBadRequest) IsCode ¶
func (o *UserDeleteBadRequest) IsCode(code int) bool
IsCode returns true when this user delete bad request response a status code equal to that given
func (*UserDeleteBadRequest) IsRedirect ¶
func (o *UserDeleteBadRequest) IsRedirect() bool
IsRedirect returns true when this user delete bad request response has a 3xx status code
func (*UserDeleteBadRequest) IsServerError ¶
func (o *UserDeleteBadRequest) IsServerError() bool
IsServerError returns true when this user delete bad request response has a 5xx status code
func (*UserDeleteBadRequest) IsSuccess ¶
func (o *UserDeleteBadRequest) IsSuccess() bool
IsSuccess returns true when this user delete bad request response has a 2xx status code
func (*UserDeleteBadRequest) String ¶
func (o *UserDeleteBadRequest) String() string
type UserDeleteForbidden ¶
type UserDeleteForbidden struct {
}
UserDeleteForbidden describes a response with status code 403, with default header values.
Permission denied
func NewUserDeleteForbidden ¶
func NewUserDeleteForbidden() *UserDeleteForbidden
NewUserDeleteForbidden creates a UserDeleteForbidden with default headers values
func (*UserDeleteForbidden) Code ¶
func (o *UserDeleteForbidden) Code() int
Code gets the status code for the user delete forbidden response
func (*UserDeleteForbidden) Error ¶
func (o *UserDeleteForbidden) Error() string
func (*UserDeleteForbidden) IsClientError ¶
func (o *UserDeleteForbidden) IsClientError() bool
IsClientError returns true when this user delete forbidden response has a 4xx status code
func (*UserDeleteForbidden) IsCode ¶
func (o *UserDeleteForbidden) IsCode(code int) bool
IsCode returns true when this user delete forbidden response a status code equal to that given
func (*UserDeleteForbidden) IsRedirect ¶
func (o *UserDeleteForbidden) IsRedirect() bool
IsRedirect returns true when this user delete forbidden response has a 3xx status code
func (*UserDeleteForbidden) IsServerError ¶
func (o *UserDeleteForbidden) IsServerError() bool
IsServerError returns true when this user delete forbidden response has a 5xx status code
func (*UserDeleteForbidden) IsSuccess ¶
func (o *UserDeleteForbidden) IsSuccess() bool
IsSuccess returns true when this user delete forbidden response has a 2xx status code
func (*UserDeleteForbidden) String ¶
func (o *UserDeleteForbidden) String() string
type UserDeleteInternalServerError ¶
type UserDeleteInternalServerError struct {
}
UserDeleteInternalServerError describes a response with status code 500, with default header values.
Server error
func NewUserDeleteInternalServerError ¶
func NewUserDeleteInternalServerError() *UserDeleteInternalServerError
NewUserDeleteInternalServerError creates a UserDeleteInternalServerError with default headers values
func (*UserDeleteInternalServerError) Code ¶
func (o *UserDeleteInternalServerError) Code() int
Code gets the status code for the user delete internal server error response
func (*UserDeleteInternalServerError) Error ¶
func (o *UserDeleteInternalServerError) Error() string
func (*UserDeleteInternalServerError) IsClientError ¶
func (o *UserDeleteInternalServerError) IsClientError() bool
IsClientError returns true when this user delete internal server error response has a 4xx status code
func (*UserDeleteInternalServerError) IsCode ¶
func (o *UserDeleteInternalServerError) IsCode(code int) bool
IsCode returns true when this user delete internal server error response a status code equal to that given
func (*UserDeleteInternalServerError) IsRedirect ¶
func (o *UserDeleteInternalServerError) IsRedirect() bool
IsRedirect returns true when this user delete internal server error response has a 3xx status code
func (*UserDeleteInternalServerError) IsServerError ¶
func (o *UserDeleteInternalServerError) IsServerError() bool
IsServerError returns true when this user delete internal server error response has a 5xx status code
func (*UserDeleteInternalServerError) IsSuccess ¶
func (o *UserDeleteInternalServerError) IsSuccess() bool
IsSuccess returns true when this user delete internal server error response has a 2xx status code
func (*UserDeleteInternalServerError) String ¶
func (o *UserDeleteInternalServerError) String() string
type UserDeleteNoContent ¶
type UserDeleteNoContent struct {
}
UserDeleteNoContent describes a response with status code 204, with default header values.
Success
func NewUserDeleteNoContent ¶
func NewUserDeleteNoContent() *UserDeleteNoContent
NewUserDeleteNoContent creates a UserDeleteNoContent with default headers values
func (*UserDeleteNoContent) Code ¶
func (o *UserDeleteNoContent) Code() int
Code gets the status code for the user delete no content response
func (*UserDeleteNoContent) Error ¶
func (o *UserDeleteNoContent) Error() string
func (*UserDeleteNoContent) IsClientError ¶
func (o *UserDeleteNoContent) IsClientError() bool
IsClientError returns true when this user delete no content response has a 4xx status code
func (*UserDeleteNoContent) IsCode ¶
func (o *UserDeleteNoContent) IsCode(code int) bool
IsCode returns true when this user delete no content response a status code equal to that given
func (*UserDeleteNoContent) IsRedirect ¶
func (o *UserDeleteNoContent) IsRedirect() bool
IsRedirect returns true when this user delete no content response has a 3xx status code
func (*UserDeleteNoContent) IsServerError ¶
func (o *UserDeleteNoContent) IsServerError() bool
IsServerError returns true when this user delete no content response has a 5xx status code
func (*UserDeleteNoContent) IsSuccess ¶
func (o *UserDeleteNoContent) IsSuccess() bool
IsSuccess returns true when this user delete no content response has a 2xx status code
func (*UserDeleteNoContent) String ¶
func (o *UserDeleteNoContent) String() string
type UserDeleteNotFound ¶
type UserDeleteNotFound struct {
}
UserDeleteNotFound describes a response with status code 404, with default header values.
User not found
func NewUserDeleteNotFound ¶
func NewUserDeleteNotFound() *UserDeleteNotFound
NewUserDeleteNotFound creates a UserDeleteNotFound with default headers values
func (*UserDeleteNotFound) Code ¶
func (o *UserDeleteNotFound) Code() int
Code gets the status code for the user delete not found response
func (*UserDeleteNotFound) Error ¶
func (o *UserDeleteNotFound) Error() string
func (*UserDeleteNotFound) IsClientError ¶
func (o *UserDeleteNotFound) IsClientError() bool
IsClientError returns true when this user delete not found response has a 4xx status code
func (*UserDeleteNotFound) IsCode ¶
func (o *UserDeleteNotFound) IsCode(code int) bool
IsCode returns true when this user delete not found response a status code equal to that given
func (*UserDeleteNotFound) IsRedirect ¶
func (o *UserDeleteNotFound) IsRedirect() bool
IsRedirect returns true when this user delete not found response has a 3xx status code
func (*UserDeleteNotFound) IsServerError ¶
func (o *UserDeleteNotFound) IsServerError() bool
IsServerError returns true when this user delete not found response has a 5xx status code
func (*UserDeleteNotFound) IsSuccess ¶
func (o *UserDeleteNotFound) IsSuccess() bool
IsSuccess returns true when this user delete not found response has a 2xx status code
func (*UserDeleteNotFound) String ¶
func (o *UserDeleteNotFound) String() string
type UserDeleteParams ¶
type UserDeleteParams struct {
/* ID.
User identifier
*/
ID int64
Context context.Context
HTTPClient *http.Client
// contains filtered or unexported fields
}
UserDeleteParams contains all the parameters to send to the API endpoint
for the user delete operation. Typically these are written to a http.Request.
func NewUserDeleteParams ¶
func NewUserDeleteParams() *UserDeleteParams
NewUserDeleteParams creates a new UserDeleteParams 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 NewUserDeleteParamsWithContext ¶
func NewUserDeleteParamsWithContext(ctx context.Context) *UserDeleteParams
NewUserDeleteParamsWithContext creates a new UserDeleteParams object with the ability to set a context for a request.
func NewUserDeleteParamsWithHTTPClient ¶
func NewUserDeleteParamsWithHTTPClient(client *http.Client) *UserDeleteParams
NewUserDeleteParamsWithHTTPClient creates a new UserDeleteParams object with the ability to set a custom HTTPClient for a request.
func NewUserDeleteParamsWithTimeout ¶
func NewUserDeleteParamsWithTimeout(timeout time.Duration) *UserDeleteParams
NewUserDeleteParamsWithTimeout creates a new UserDeleteParams object with the ability to set a timeout on a request.
func (*UserDeleteParams) SetContext ¶
func (o *UserDeleteParams) SetContext(ctx context.Context)
SetContext adds the context to the user delete params
func (*UserDeleteParams) SetDefaults ¶
func (o *UserDeleteParams) SetDefaults()
SetDefaults hydrates default values in the user delete params (not the query body).
All values with no default are reset to their zero value.
func (*UserDeleteParams) SetHTTPClient ¶
func (o *UserDeleteParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the user delete params
func (*UserDeleteParams) SetID ¶
func (o *UserDeleteParams) SetID(id int64)
SetID adds the id to the user delete params
func (*UserDeleteParams) SetTimeout ¶
func (o *UserDeleteParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the user delete params
func (*UserDeleteParams) WithContext ¶
func (o *UserDeleteParams) WithContext(ctx context.Context) *UserDeleteParams
WithContext adds the context to the user delete params
func (*UserDeleteParams) WithDefaults ¶
func (o *UserDeleteParams) WithDefaults() *UserDeleteParams
WithDefaults hydrates default values in the user delete params (not the query body).
All values with no default are reset to their zero value.
func (*UserDeleteParams) WithHTTPClient ¶
func (o *UserDeleteParams) WithHTTPClient(client *http.Client) *UserDeleteParams
WithHTTPClient adds the HTTPClient to the user delete params
func (*UserDeleteParams) WithID ¶
func (o *UserDeleteParams) WithID(id int64) *UserDeleteParams
WithID adds the id to the user delete params
func (*UserDeleteParams) WithTimeout ¶
func (o *UserDeleteParams) WithTimeout(timeout time.Duration) *UserDeleteParams
WithTimeout adds the timeout to the user delete params
func (*UserDeleteParams) WriteToRequest ¶
func (o *UserDeleteParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type UserDeleteReader ¶
type UserDeleteReader struct {
// contains filtered or unexported fields
}
UserDeleteReader is a Reader for the UserDelete structure.
func (*UserDeleteReader) ReadResponse ¶
func (o *UserDeleteReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type UserGenerateAPIKeyBadRequest ¶
type UserGenerateAPIKeyBadRequest struct {
}
UserGenerateAPIKeyBadRequest describes a response with status code 400, with default header values.
Invalid request
func NewUserGenerateAPIKeyBadRequest ¶
func NewUserGenerateAPIKeyBadRequest() *UserGenerateAPIKeyBadRequest
NewUserGenerateAPIKeyBadRequest creates a UserGenerateAPIKeyBadRequest with default headers values
func (*UserGenerateAPIKeyBadRequest) Code ¶
func (o *UserGenerateAPIKeyBadRequest) Code() int
Code gets the status code for the user generate Api key bad request response
func (*UserGenerateAPIKeyBadRequest) Error ¶
func (o *UserGenerateAPIKeyBadRequest) Error() string
func (*UserGenerateAPIKeyBadRequest) IsClientError ¶
func (o *UserGenerateAPIKeyBadRequest) IsClientError() bool
IsClientError returns true when this user generate Api key bad request response has a 4xx status code
func (*UserGenerateAPIKeyBadRequest) IsCode ¶
func (o *UserGenerateAPIKeyBadRequest) IsCode(code int) bool
IsCode returns true when this user generate Api key bad request response a status code equal to that given
func (*UserGenerateAPIKeyBadRequest) IsRedirect ¶
func (o *UserGenerateAPIKeyBadRequest) IsRedirect() bool
IsRedirect returns true when this user generate Api key bad request response has a 3xx status code
func (*UserGenerateAPIKeyBadRequest) IsServerError ¶
func (o *UserGenerateAPIKeyBadRequest) IsServerError() bool
IsServerError returns true when this user generate Api key bad request response has a 5xx status code
func (*UserGenerateAPIKeyBadRequest) IsSuccess ¶
func (o *UserGenerateAPIKeyBadRequest) IsSuccess() bool
IsSuccess returns true when this user generate Api key bad request response has a 2xx status code
func (*UserGenerateAPIKeyBadRequest) String ¶
func (o *UserGenerateAPIKeyBadRequest) String() string
type UserGenerateAPIKeyForbidden ¶
type UserGenerateAPIKeyForbidden struct {
}
UserGenerateAPIKeyForbidden describes a response with status code 403, with default header values.
Permission denied
func NewUserGenerateAPIKeyForbidden ¶
func NewUserGenerateAPIKeyForbidden() *UserGenerateAPIKeyForbidden
NewUserGenerateAPIKeyForbidden creates a UserGenerateAPIKeyForbidden with default headers values
func (*UserGenerateAPIKeyForbidden) Code ¶
func (o *UserGenerateAPIKeyForbidden) Code() int
Code gets the status code for the user generate Api key forbidden response
func (*UserGenerateAPIKeyForbidden) Error ¶
func (o *UserGenerateAPIKeyForbidden) Error() string
func (*UserGenerateAPIKeyForbidden) IsClientError ¶
func (o *UserGenerateAPIKeyForbidden) IsClientError() bool
IsClientError returns true when this user generate Api key forbidden response has a 4xx status code
func (*UserGenerateAPIKeyForbidden) IsCode ¶
func (o *UserGenerateAPIKeyForbidden) IsCode(code int) bool
IsCode returns true when this user generate Api key forbidden response a status code equal to that given
func (*UserGenerateAPIKeyForbidden) IsRedirect ¶
func (o *UserGenerateAPIKeyForbidden) IsRedirect() bool
IsRedirect returns true when this user generate Api key forbidden response has a 3xx status code
func (*UserGenerateAPIKeyForbidden) IsServerError ¶
func (o *UserGenerateAPIKeyForbidden) IsServerError() bool
IsServerError returns true when this user generate Api key forbidden response has a 5xx status code
func (*UserGenerateAPIKeyForbidden) IsSuccess ¶
func (o *UserGenerateAPIKeyForbidden) IsSuccess() bool
IsSuccess returns true when this user generate Api key forbidden response has a 2xx status code
func (*UserGenerateAPIKeyForbidden) String ¶
func (o *UserGenerateAPIKeyForbidden) String() string
type UserGenerateAPIKeyInternalServerError ¶
type UserGenerateAPIKeyInternalServerError struct {
}
UserGenerateAPIKeyInternalServerError describes a response with status code 500, with default header values.
Server error
func NewUserGenerateAPIKeyInternalServerError ¶
func NewUserGenerateAPIKeyInternalServerError() *UserGenerateAPIKeyInternalServerError
NewUserGenerateAPIKeyInternalServerError creates a UserGenerateAPIKeyInternalServerError with default headers values
func (*UserGenerateAPIKeyInternalServerError) Code ¶
func (o *UserGenerateAPIKeyInternalServerError) Code() int
Code gets the status code for the user generate Api key internal server error response
func (*UserGenerateAPIKeyInternalServerError) Error ¶
func (o *UserGenerateAPIKeyInternalServerError) Error() string
func (*UserGenerateAPIKeyInternalServerError) IsClientError ¶
func (o *UserGenerateAPIKeyInternalServerError) IsClientError() bool
IsClientError returns true when this user generate Api key internal server error response has a 4xx status code
func (*UserGenerateAPIKeyInternalServerError) IsCode ¶
func (o *UserGenerateAPIKeyInternalServerError) IsCode(code int) bool
IsCode returns true when this user generate Api key internal server error response a status code equal to that given
func (*UserGenerateAPIKeyInternalServerError) IsRedirect ¶
func (o *UserGenerateAPIKeyInternalServerError) IsRedirect() bool
IsRedirect returns true when this user generate Api key internal server error response has a 3xx status code
func (*UserGenerateAPIKeyInternalServerError) IsServerError ¶
func (o *UserGenerateAPIKeyInternalServerError) IsServerError() bool
IsServerError returns true when this user generate Api key internal server error response has a 5xx status code
func (*UserGenerateAPIKeyInternalServerError) IsSuccess ¶
func (o *UserGenerateAPIKeyInternalServerError) IsSuccess() bool
IsSuccess returns true when this user generate Api key internal server error response has a 2xx status code
func (*UserGenerateAPIKeyInternalServerError) String ¶
func (o *UserGenerateAPIKeyInternalServerError) String() string
type UserGenerateAPIKeyNotFound ¶
type UserGenerateAPIKeyNotFound struct {
}
UserGenerateAPIKeyNotFound describes a response with status code 404, with default header values.
User not found
func NewUserGenerateAPIKeyNotFound ¶
func NewUserGenerateAPIKeyNotFound() *UserGenerateAPIKeyNotFound
NewUserGenerateAPIKeyNotFound creates a UserGenerateAPIKeyNotFound with default headers values
func (*UserGenerateAPIKeyNotFound) Code ¶
func (o *UserGenerateAPIKeyNotFound) Code() int
Code gets the status code for the user generate Api key not found response
func (*UserGenerateAPIKeyNotFound) Error ¶
func (o *UserGenerateAPIKeyNotFound) Error() string
func (*UserGenerateAPIKeyNotFound) IsClientError ¶
func (o *UserGenerateAPIKeyNotFound) IsClientError() bool
IsClientError returns true when this user generate Api key not found response has a 4xx status code
func (*UserGenerateAPIKeyNotFound) IsCode ¶
func (o *UserGenerateAPIKeyNotFound) IsCode(code int) bool
IsCode returns true when this user generate Api key not found response a status code equal to that given
func (*UserGenerateAPIKeyNotFound) IsRedirect ¶
func (o *UserGenerateAPIKeyNotFound) IsRedirect() bool
IsRedirect returns true when this user generate Api key not found response has a 3xx status code
func (*UserGenerateAPIKeyNotFound) IsServerError ¶
func (o *UserGenerateAPIKeyNotFound) IsServerError() bool
IsServerError returns true when this user generate Api key not found response has a 5xx status code
func (*UserGenerateAPIKeyNotFound) IsSuccess ¶
func (o *UserGenerateAPIKeyNotFound) IsSuccess() bool
IsSuccess returns true when this user generate Api key not found response has a 2xx status code
func (*UserGenerateAPIKeyNotFound) String ¶
func (o *UserGenerateAPIKeyNotFound) String() string
type UserGenerateAPIKeyOK ¶
type UserGenerateAPIKeyOK struct {
Payload *models.UsersAccessTokenResponse
}
UserGenerateAPIKeyOK describes a response with status code 200, with default header values.
Success
func NewUserGenerateAPIKeyOK ¶
func NewUserGenerateAPIKeyOK() *UserGenerateAPIKeyOK
NewUserGenerateAPIKeyOK creates a UserGenerateAPIKeyOK with default headers values
func (*UserGenerateAPIKeyOK) Code ¶
func (o *UserGenerateAPIKeyOK) Code() int
Code gets the status code for the user generate Api key o k response
func (*UserGenerateAPIKeyOK) Error ¶
func (o *UserGenerateAPIKeyOK) Error() string
func (*UserGenerateAPIKeyOK) GetPayload ¶
func (o *UserGenerateAPIKeyOK) GetPayload() *models.UsersAccessTokenResponse
func (*UserGenerateAPIKeyOK) IsClientError ¶
func (o *UserGenerateAPIKeyOK) IsClientError() bool
IsClientError returns true when this user generate Api key o k response has a 4xx status code
func (*UserGenerateAPIKeyOK) IsCode ¶
func (o *UserGenerateAPIKeyOK) IsCode(code int) bool
IsCode returns true when this user generate Api key o k response a status code equal to that given
func (*UserGenerateAPIKeyOK) IsRedirect ¶
func (o *UserGenerateAPIKeyOK) IsRedirect() bool
IsRedirect returns true when this user generate Api key o k response has a 3xx status code
func (*UserGenerateAPIKeyOK) IsServerError ¶
func (o *UserGenerateAPIKeyOK) IsServerError() bool
IsServerError returns true when this user generate Api key o k response has a 5xx status code
func (*UserGenerateAPIKeyOK) IsSuccess ¶
func (o *UserGenerateAPIKeyOK) IsSuccess() bool
IsSuccess returns true when this user generate Api key o k response has a 2xx status code
func (*UserGenerateAPIKeyOK) String ¶
func (o *UserGenerateAPIKeyOK) String() string
type UserGenerateAPIKeyParams ¶
type UserGenerateAPIKeyParams struct {
/* Body.
details
*/
Body *models.UsersUserAccessTokenCreatePayload
/* ID.
User identifier
*/
ID int64
Context context.Context
HTTPClient *http.Client
// contains filtered or unexported fields
}
UserGenerateAPIKeyParams contains all the parameters to send to the API endpoint
for the user generate API key operation. Typically these are written to a http.Request.
func NewUserGenerateAPIKeyParams ¶
func NewUserGenerateAPIKeyParams() *UserGenerateAPIKeyParams
NewUserGenerateAPIKeyParams creates a new UserGenerateAPIKeyParams 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 NewUserGenerateAPIKeyParamsWithContext ¶
func NewUserGenerateAPIKeyParamsWithContext(ctx context.Context) *UserGenerateAPIKeyParams
NewUserGenerateAPIKeyParamsWithContext creates a new UserGenerateAPIKeyParams object with the ability to set a context for a request.
func NewUserGenerateAPIKeyParamsWithHTTPClient ¶
func NewUserGenerateAPIKeyParamsWithHTTPClient(client *http.Client) *UserGenerateAPIKeyParams
NewUserGenerateAPIKeyParamsWithHTTPClient creates a new UserGenerateAPIKeyParams object with the ability to set a custom HTTPClient for a request.
func NewUserGenerateAPIKeyParamsWithTimeout ¶
func NewUserGenerateAPIKeyParamsWithTimeout(timeout time.Duration) *UserGenerateAPIKeyParams
NewUserGenerateAPIKeyParamsWithTimeout creates a new UserGenerateAPIKeyParams object with the ability to set a timeout on a request.
func (*UserGenerateAPIKeyParams) SetBody ¶
func (o *UserGenerateAPIKeyParams) SetBody(body *models.UsersUserAccessTokenCreatePayload)
SetBody adds the body to the user generate API key params
func (*UserGenerateAPIKeyParams) SetContext ¶
func (o *UserGenerateAPIKeyParams) SetContext(ctx context.Context)
SetContext adds the context to the user generate API key params
func (*UserGenerateAPIKeyParams) SetDefaults ¶
func (o *UserGenerateAPIKeyParams) SetDefaults()
SetDefaults hydrates default values in the user generate API key params (not the query body).
All values with no default are reset to their zero value.
func (*UserGenerateAPIKeyParams) SetHTTPClient ¶
func (o *UserGenerateAPIKeyParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the user generate API key params
func (*UserGenerateAPIKeyParams) SetID ¶
func (o *UserGenerateAPIKeyParams) SetID(id int64)
SetID adds the id to the user generate API key params
func (*UserGenerateAPIKeyParams) SetTimeout ¶
func (o *UserGenerateAPIKeyParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the user generate API key params
func (*UserGenerateAPIKeyParams) WithBody ¶
func (o *UserGenerateAPIKeyParams) WithBody(body *models.UsersUserAccessTokenCreatePayload) *UserGenerateAPIKeyParams
WithBody adds the body to the user generate API key params
func (*UserGenerateAPIKeyParams) WithContext ¶
func (o *UserGenerateAPIKeyParams) WithContext(ctx context.Context) *UserGenerateAPIKeyParams
WithContext adds the context to the user generate API key params
func (*UserGenerateAPIKeyParams) WithDefaults ¶
func (o *UserGenerateAPIKeyParams) WithDefaults() *UserGenerateAPIKeyParams
WithDefaults hydrates default values in the user generate API key params (not the query body).
All values with no default are reset to their zero value.
func (*UserGenerateAPIKeyParams) WithHTTPClient ¶
func (o *UserGenerateAPIKeyParams) WithHTTPClient(client *http.Client) *UserGenerateAPIKeyParams
WithHTTPClient adds the HTTPClient to the user generate API key params
func (*UserGenerateAPIKeyParams) WithID ¶
func (o *UserGenerateAPIKeyParams) WithID(id int64) *UserGenerateAPIKeyParams
WithID adds the id to the user generate API key params
func (*UserGenerateAPIKeyParams) WithTimeout ¶
func (o *UserGenerateAPIKeyParams) WithTimeout(timeout time.Duration) *UserGenerateAPIKeyParams
WithTimeout adds the timeout to the user generate API key params
func (*UserGenerateAPIKeyParams) WriteToRequest ¶
func (o *UserGenerateAPIKeyParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type UserGenerateAPIKeyReader ¶
type UserGenerateAPIKeyReader struct {
// contains filtered or unexported fields
}
UserGenerateAPIKeyReader is a Reader for the UserGenerateAPIKey structure.
func (*UserGenerateAPIKeyReader) ReadResponse ¶
func (o *UserGenerateAPIKeyReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type UserGenerateAPIKeyUnauthorized ¶
type UserGenerateAPIKeyUnauthorized struct {
}
UserGenerateAPIKeyUnauthorized describes a response with status code 401, with default header values.
Unauthorized
func NewUserGenerateAPIKeyUnauthorized ¶
func NewUserGenerateAPIKeyUnauthorized() *UserGenerateAPIKeyUnauthorized
NewUserGenerateAPIKeyUnauthorized creates a UserGenerateAPIKeyUnauthorized with default headers values
func (*UserGenerateAPIKeyUnauthorized) Code ¶
func (o *UserGenerateAPIKeyUnauthorized) Code() int
Code gets the status code for the user generate Api key unauthorized response
func (*UserGenerateAPIKeyUnauthorized) Error ¶
func (o *UserGenerateAPIKeyUnauthorized) Error() string
func (*UserGenerateAPIKeyUnauthorized) IsClientError ¶
func (o *UserGenerateAPIKeyUnauthorized) IsClientError() bool
IsClientError returns true when this user generate Api key unauthorized response has a 4xx status code
func (*UserGenerateAPIKeyUnauthorized) IsCode ¶
func (o *UserGenerateAPIKeyUnauthorized) IsCode(code int) bool
IsCode returns true when this user generate Api key unauthorized response a status code equal to that given
func (*UserGenerateAPIKeyUnauthorized) IsRedirect ¶
func (o *UserGenerateAPIKeyUnauthorized) IsRedirect() bool
IsRedirect returns true when this user generate Api key unauthorized response has a 3xx status code
func (*UserGenerateAPIKeyUnauthorized) IsServerError ¶
func (o *UserGenerateAPIKeyUnauthorized) IsServerError() bool
IsServerError returns true when this user generate Api key unauthorized response has a 5xx status code
func (*UserGenerateAPIKeyUnauthorized) IsSuccess ¶
func (o *UserGenerateAPIKeyUnauthorized) IsSuccess() bool
IsSuccess returns true when this user generate Api key unauthorized response has a 2xx status code
func (*UserGenerateAPIKeyUnauthorized) String ¶
func (o *UserGenerateAPIKeyUnauthorized) String() string
type UserGetAPIKeysBadRequest ¶
type UserGetAPIKeysBadRequest struct {
}
UserGetAPIKeysBadRequest describes a response with status code 400, with default header values.
Invalid request
func NewUserGetAPIKeysBadRequest ¶
func NewUserGetAPIKeysBadRequest() *UserGetAPIKeysBadRequest
NewUserGetAPIKeysBadRequest creates a UserGetAPIKeysBadRequest with default headers values
func (*UserGetAPIKeysBadRequest) Code ¶
func (o *UserGetAPIKeysBadRequest) Code() int
Code gets the status code for the user get Api keys bad request response
func (*UserGetAPIKeysBadRequest) Error ¶
func (o *UserGetAPIKeysBadRequest) Error() string
func (*UserGetAPIKeysBadRequest) IsClientError ¶
func (o *UserGetAPIKeysBadRequest) IsClientError() bool
IsClientError returns true when this user get Api keys bad request response has a 4xx status code
func (*UserGetAPIKeysBadRequest) IsCode ¶
func (o *UserGetAPIKeysBadRequest) IsCode(code int) bool
IsCode returns true when this user get Api keys bad request response a status code equal to that given
func (*UserGetAPIKeysBadRequest) IsRedirect ¶
func (o *UserGetAPIKeysBadRequest) IsRedirect() bool
IsRedirect returns true when this user get Api keys bad request response has a 3xx status code
func (*UserGetAPIKeysBadRequest) IsServerError ¶
func (o *UserGetAPIKeysBadRequest) IsServerError() bool
IsServerError returns true when this user get Api keys bad request response has a 5xx status code
func (*UserGetAPIKeysBadRequest) IsSuccess ¶
func (o *UserGetAPIKeysBadRequest) IsSuccess() bool
IsSuccess returns true when this user get Api keys bad request response has a 2xx status code
func (*UserGetAPIKeysBadRequest) String ¶
func (o *UserGetAPIKeysBadRequest) String() string
type UserGetAPIKeysForbidden ¶
type UserGetAPIKeysForbidden struct {
}
UserGetAPIKeysForbidden describes a response with status code 403, with default header values.
Permission denied
func NewUserGetAPIKeysForbidden ¶
func NewUserGetAPIKeysForbidden() *UserGetAPIKeysForbidden
NewUserGetAPIKeysForbidden creates a UserGetAPIKeysForbidden with default headers values
func (*UserGetAPIKeysForbidden) Code ¶
func (o *UserGetAPIKeysForbidden) Code() int
Code gets the status code for the user get Api keys forbidden response
func (*UserGetAPIKeysForbidden) Error ¶
func (o *UserGetAPIKeysForbidden) Error() string
func (*UserGetAPIKeysForbidden) IsClientError ¶
func (o *UserGetAPIKeysForbidden) IsClientError() bool
IsClientError returns true when this user get Api keys forbidden response has a 4xx status code
func (*UserGetAPIKeysForbidden) IsCode ¶
func (o *UserGetAPIKeysForbidden) IsCode(code int) bool
IsCode returns true when this user get Api keys forbidden response a status code equal to that given
func (*UserGetAPIKeysForbidden) IsRedirect ¶
func (o *UserGetAPIKeysForbidden) IsRedirect() bool
IsRedirect returns true when this user get Api keys forbidden response has a 3xx status code
func (*UserGetAPIKeysForbidden) IsServerError ¶
func (o *UserGetAPIKeysForbidden) IsServerError() bool
IsServerError returns true when this user get Api keys forbidden response has a 5xx status code
func (*UserGetAPIKeysForbidden) IsSuccess ¶
func (o *UserGetAPIKeysForbidden) IsSuccess() bool
IsSuccess returns true when this user get Api keys forbidden response has a 2xx status code
func (*UserGetAPIKeysForbidden) String ¶
func (o *UserGetAPIKeysForbidden) String() string
type UserGetAPIKeysInternalServerError ¶
type UserGetAPIKeysInternalServerError struct {
}
UserGetAPIKeysInternalServerError describes a response with status code 500, with default header values.
Server error
func NewUserGetAPIKeysInternalServerError ¶
func NewUserGetAPIKeysInternalServerError() *UserGetAPIKeysInternalServerError
NewUserGetAPIKeysInternalServerError creates a UserGetAPIKeysInternalServerError with default headers values
func (*UserGetAPIKeysInternalServerError) Code ¶
func (o *UserGetAPIKeysInternalServerError) Code() int
Code gets the status code for the user get Api keys internal server error response
func (*UserGetAPIKeysInternalServerError) Error ¶
func (o *UserGetAPIKeysInternalServerError) Error() string
func (*UserGetAPIKeysInternalServerError) IsClientError ¶
func (o *UserGetAPIKeysInternalServerError) IsClientError() bool
IsClientError returns true when this user get Api keys internal server error response has a 4xx status code
func (*UserGetAPIKeysInternalServerError) IsCode ¶
func (o *UserGetAPIKeysInternalServerError) IsCode(code int) bool
IsCode returns true when this user get Api keys internal server error response a status code equal to that given
func (*UserGetAPIKeysInternalServerError) IsRedirect ¶
func (o *UserGetAPIKeysInternalServerError) IsRedirect() bool
IsRedirect returns true when this user get Api keys internal server error response has a 3xx status code
func (*UserGetAPIKeysInternalServerError) IsServerError ¶
func (o *UserGetAPIKeysInternalServerError) IsServerError() bool
IsServerError returns true when this user get Api keys internal server error response has a 5xx status code
func (*UserGetAPIKeysInternalServerError) IsSuccess ¶
func (o *UserGetAPIKeysInternalServerError) IsSuccess() bool
IsSuccess returns true when this user get Api keys internal server error response has a 2xx status code
func (*UserGetAPIKeysInternalServerError) String ¶
func (o *UserGetAPIKeysInternalServerError) String() string
type UserGetAPIKeysNotFound ¶
type UserGetAPIKeysNotFound struct {
}
UserGetAPIKeysNotFound describes a response with status code 404, with default header values.
User not found
func NewUserGetAPIKeysNotFound ¶
func NewUserGetAPIKeysNotFound() *UserGetAPIKeysNotFound
NewUserGetAPIKeysNotFound creates a UserGetAPIKeysNotFound with default headers values
func (*UserGetAPIKeysNotFound) Code ¶
func (o *UserGetAPIKeysNotFound) Code() int
Code gets the status code for the user get Api keys not found response
func (*UserGetAPIKeysNotFound) Error ¶
func (o *UserGetAPIKeysNotFound) Error() string
func (*UserGetAPIKeysNotFound) IsClientError ¶
func (o *UserGetAPIKeysNotFound) IsClientError() bool
IsClientError returns true when this user get Api keys not found response has a 4xx status code
func (*UserGetAPIKeysNotFound) IsCode ¶
func (o *UserGetAPIKeysNotFound) IsCode(code int) bool
IsCode returns true when this user get Api keys not found response a status code equal to that given
func (*UserGetAPIKeysNotFound) IsRedirect ¶
func (o *UserGetAPIKeysNotFound) IsRedirect() bool
IsRedirect returns true when this user get Api keys not found response has a 3xx status code
func (*UserGetAPIKeysNotFound) IsServerError ¶
func (o *UserGetAPIKeysNotFound) IsServerError() bool
IsServerError returns true when this user get Api keys not found response has a 5xx status code
func (*UserGetAPIKeysNotFound) IsSuccess ¶
func (o *UserGetAPIKeysNotFound) IsSuccess() bool
IsSuccess returns true when this user get Api keys not found response has a 2xx status code
func (*UserGetAPIKeysNotFound) String ¶
func (o *UserGetAPIKeysNotFound) String() string
type UserGetAPIKeysOK ¶
type UserGetAPIKeysOK struct {
Payload []*models.PortainerAPIKey
}
UserGetAPIKeysOK describes a response with status code 200, with default header values.
Success
func NewUserGetAPIKeysOK ¶
func NewUserGetAPIKeysOK() *UserGetAPIKeysOK
NewUserGetAPIKeysOK creates a UserGetAPIKeysOK with default headers values
func (*UserGetAPIKeysOK) Code ¶
func (o *UserGetAPIKeysOK) Code() int
Code gets the status code for the user get Api keys o k response
func (*UserGetAPIKeysOK) Error ¶
func (o *UserGetAPIKeysOK) Error() string
func (*UserGetAPIKeysOK) GetPayload ¶
func (o *UserGetAPIKeysOK) GetPayload() []*models.PortainerAPIKey
func (*UserGetAPIKeysOK) IsClientError ¶
func (o *UserGetAPIKeysOK) IsClientError() bool
IsClientError returns true when this user get Api keys o k response has a 4xx status code
func (*UserGetAPIKeysOK) IsCode ¶
func (o *UserGetAPIKeysOK) IsCode(code int) bool
IsCode returns true when this user get Api keys o k response a status code equal to that given
func (*UserGetAPIKeysOK) IsRedirect ¶
func (o *UserGetAPIKeysOK) IsRedirect() bool
IsRedirect returns true when this user get Api keys o k response has a 3xx status code
func (*UserGetAPIKeysOK) IsServerError ¶
func (o *UserGetAPIKeysOK) IsServerError() bool
IsServerError returns true when this user get Api keys o k response has a 5xx status code
func (*UserGetAPIKeysOK) IsSuccess ¶
func (o *UserGetAPIKeysOK) IsSuccess() bool
IsSuccess returns true when this user get Api keys o k response has a 2xx status code
func (*UserGetAPIKeysOK) String ¶
func (o *UserGetAPIKeysOK) String() string
type UserGetAPIKeysParams ¶
type UserGetAPIKeysParams struct {
/* ID.
User identifier
*/
ID int64
Context context.Context
HTTPClient *http.Client
// contains filtered or unexported fields
}
UserGetAPIKeysParams contains all the parameters to send to the API endpoint
for the user get API keys operation. Typically these are written to a http.Request.
func NewUserGetAPIKeysParams ¶
func NewUserGetAPIKeysParams() *UserGetAPIKeysParams
NewUserGetAPIKeysParams creates a new UserGetAPIKeysParams 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 NewUserGetAPIKeysParamsWithContext ¶
func NewUserGetAPIKeysParamsWithContext(ctx context.Context) *UserGetAPIKeysParams
NewUserGetAPIKeysParamsWithContext creates a new UserGetAPIKeysParams object with the ability to set a context for a request.
func NewUserGetAPIKeysParamsWithHTTPClient ¶
func NewUserGetAPIKeysParamsWithHTTPClient(client *http.Client) *UserGetAPIKeysParams
NewUserGetAPIKeysParamsWithHTTPClient creates a new UserGetAPIKeysParams object with the ability to set a custom HTTPClient for a request.
func NewUserGetAPIKeysParamsWithTimeout ¶
func NewUserGetAPIKeysParamsWithTimeout(timeout time.Duration) *UserGetAPIKeysParams
NewUserGetAPIKeysParamsWithTimeout creates a new UserGetAPIKeysParams object with the ability to set a timeout on a request.
func (*UserGetAPIKeysParams) SetContext ¶
func (o *UserGetAPIKeysParams) SetContext(ctx context.Context)
SetContext adds the context to the user get API keys params
func (*UserGetAPIKeysParams) SetDefaults ¶
func (o *UserGetAPIKeysParams) SetDefaults()
SetDefaults hydrates default values in the user get API keys params (not the query body).
All values with no default are reset to their zero value.
func (*UserGetAPIKeysParams) SetHTTPClient ¶
func (o *UserGetAPIKeysParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the user get API keys params
func (*UserGetAPIKeysParams) SetID ¶
func (o *UserGetAPIKeysParams) SetID(id int64)
SetID adds the id to the user get API keys params
func (*UserGetAPIKeysParams) SetTimeout ¶
func (o *UserGetAPIKeysParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the user get API keys params
func (*UserGetAPIKeysParams) WithContext ¶
func (o *UserGetAPIKeysParams) WithContext(ctx context.Context) *UserGetAPIKeysParams
WithContext adds the context to the user get API keys params
func (*UserGetAPIKeysParams) WithDefaults ¶
func (o *UserGetAPIKeysParams) WithDefaults() *UserGetAPIKeysParams
WithDefaults hydrates default values in the user get API keys params (not the query body).
All values with no default are reset to their zero value.
func (*UserGetAPIKeysParams) WithHTTPClient ¶
func (o *UserGetAPIKeysParams) WithHTTPClient(client *http.Client) *UserGetAPIKeysParams
WithHTTPClient adds the HTTPClient to the user get API keys params
func (*UserGetAPIKeysParams) WithID ¶
func (o *UserGetAPIKeysParams) WithID(id int64) *UserGetAPIKeysParams
WithID adds the id to the user get API keys params
func (*UserGetAPIKeysParams) WithTimeout ¶
func (o *UserGetAPIKeysParams) WithTimeout(timeout time.Duration) *UserGetAPIKeysParams
WithTimeout adds the timeout to the user get API keys params
func (*UserGetAPIKeysParams) WriteToRequest ¶
func (o *UserGetAPIKeysParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type UserGetAPIKeysReader ¶
type UserGetAPIKeysReader struct {
// contains filtered or unexported fields
}
UserGetAPIKeysReader is a Reader for the UserGetAPIKeys structure.
func (*UserGetAPIKeysReader) ReadResponse ¶
func (o *UserGetAPIKeysReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type UserGetGitCredentialBadRequest ¶
type UserGetGitCredentialBadRequest struct {
}
UserGetGitCredentialBadRequest describes a response with status code 400, with default header values.
Invalid request
func NewUserGetGitCredentialBadRequest ¶
func NewUserGetGitCredentialBadRequest() *UserGetGitCredentialBadRequest
NewUserGetGitCredentialBadRequest creates a UserGetGitCredentialBadRequest with default headers values
func (*UserGetGitCredentialBadRequest) Code ¶
func (o *UserGetGitCredentialBadRequest) Code() int
Code gets the status code for the user get git credential bad request response
func (*UserGetGitCredentialBadRequest) Error ¶
func (o *UserGetGitCredentialBadRequest) Error() string
func (*UserGetGitCredentialBadRequest) IsClientError ¶
func (o *UserGetGitCredentialBadRequest) IsClientError() bool
IsClientError returns true when this user get git credential bad request response has a 4xx status code
func (*UserGetGitCredentialBadRequest) IsCode ¶
func (o *UserGetGitCredentialBadRequest) IsCode(code int) bool
IsCode returns true when this user get git credential bad request response a status code equal to that given
func (*UserGetGitCredentialBadRequest) IsRedirect ¶
func (o *UserGetGitCredentialBadRequest) IsRedirect() bool
IsRedirect returns true when this user get git credential bad request response has a 3xx status code
func (*UserGetGitCredentialBadRequest) IsServerError ¶
func (o *UserGetGitCredentialBadRequest) IsServerError() bool
IsServerError returns true when this user get git credential bad request response has a 5xx status code
func (*UserGetGitCredentialBadRequest) IsSuccess ¶
func (o *UserGetGitCredentialBadRequest) IsSuccess() bool
IsSuccess returns true when this user get git credential bad request response has a 2xx status code
func (*UserGetGitCredentialBadRequest) String ¶
func (o *UserGetGitCredentialBadRequest) String() string
type UserGetGitCredentialForbidden ¶
type UserGetGitCredentialForbidden struct {
}
UserGetGitCredentialForbidden describes a response with status code 403, with default header values.
Permission denied
func NewUserGetGitCredentialForbidden ¶
func NewUserGetGitCredentialForbidden() *UserGetGitCredentialForbidden
NewUserGetGitCredentialForbidden creates a UserGetGitCredentialForbidden with default headers values
func (*UserGetGitCredentialForbidden) Code ¶
func (o *UserGetGitCredentialForbidden) Code() int
Code gets the status code for the user get git credential forbidden response
func (*UserGetGitCredentialForbidden) Error ¶
func (o *UserGetGitCredentialForbidden) Error() string
func (*UserGetGitCredentialForbidden) IsClientError ¶
func (o *UserGetGitCredentialForbidden) IsClientError() bool
IsClientError returns true when this user get git credential forbidden response has a 4xx status code
func (*UserGetGitCredentialForbidden) IsCode ¶
func (o *UserGetGitCredentialForbidden) IsCode(code int) bool
IsCode returns true when this user get git credential forbidden response a status code equal to that given
func (*UserGetGitCredentialForbidden) IsRedirect ¶
func (o *UserGetGitCredentialForbidden) IsRedirect() bool
IsRedirect returns true when this user get git credential forbidden response has a 3xx status code
func (*UserGetGitCredentialForbidden) IsServerError ¶
func (o *UserGetGitCredentialForbidden) IsServerError() bool
IsServerError returns true when this user get git credential forbidden response has a 5xx status code
func (*UserGetGitCredentialForbidden) IsSuccess ¶
func (o *UserGetGitCredentialForbidden) IsSuccess() bool
IsSuccess returns true when this user get git credential forbidden response has a 2xx status code
func (*UserGetGitCredentialForbidden) String ¶
func (o *UserGetGitCredentialForbidden) String() string
type UserGetGitCredentialInternalServerError ¶
type UserGetGitCredentialInternalServerError struct {
}
UserGetGitCredentialInternalServerError describes a response with status code 500, with default header values.
Server error
func NewUserGetGitCredentialInternalServerError ¶
func NewUserGetGitCredentialInternalServerError() *UserGetGitCredentialInternalServerError
NewUserGetGitCredentialInternalServerError creates a UserGetGitCredentialInternalServerError with default headers values
func (*UserGetGitCredentialInternalServerError) Code ¶
func (o *UserGetGitCredentialInternalServerError) Code() int
Code gets the status code for the user get git credential internal server error response
func (*UserGetGitCredentialInternalServerError) Error ¶
func (o *UserGetGitCredentialInternalServerError) Error() string
func (*UserGetGitCredentialInternalServerError) IsClientError ¶
func (o *UserGetGitCredentialInternalServerError) IsClientError() bool
IsClientError returns true when this user get git credential internal server error response has a 4xx status code
func (*UserGetGitCredentialInternalServerError) IsCode ¶
func (o *UserGetGitCredentialInternalServerError) IsCode(code int) bool
IsCode returns true when this user get git credential internal server error response a status code equal to that given
func (*UserGetGitCredentialInternalServerError) IsRedirect ¶
func (o *UserGetGitCredentialInternalServerError) IsRedirect() bool
IsRedirect returns true when this user get git credential internal server error response has a 3xx status code
func (*UserGetGitCredentialInternalServerError) IsServerError ¶
func (o *UserGetGitCredentialInternalServerError) IsServerError() bool
IsServerError returns true when this user get git credential internal server error response has a 5xx status code
func (*UserGetGitCredentialInternalServerError) IsSuccess ¶
func (o *UserGetGitCredentialInternalServerError) IsSuccess() bool
IsSuccess returns true when this user get git credential internal server error response has a 2xx status code
func (*UserGetGitCredentialInternalServerError) String ¶
func (o *UserGetGitCredentialInternalServerError) String() string
type UserGetGitCredentialNotFound ¶
type UserGetGitCredentialNotFound struct {
}
UserGetGitCredentialNotFound describes a response with status code 404, with default header values.
User not found
func NewUserGetGitCredentialNotFound ¶
func NewUserGetGitCredentialNotFound() *UserGetGitCredentialNotFound
NewUserGetGitCredentialNotFound creates a UserGetGitCredentialNotFound with default headers values
func (*UserGetGitCredentialNotFound) Code ¶
func (o *UserGetGitCredentialNotFound) Code() int
Code gets the status code for the user get git credential not found response
func (*UserGetGitCredentialNotFound) Error ¶
func (o *UserGetGitCredentialNotFound) Error() string
func (*UserGetGitCredentialNotFound) IsClientError ¶
func (o *UserGetGitCredentialNotFound) IsClientError() bool
IsClientError returns true when this user get git credential not found response has a 4xx status code
func (*UserGetGitCredentialNotFound) IsCode ¶
func (o *UserGetGitCredentialNotFound) IsCode(code int) bool
IsCode returns true when this user get git credential not found response a status code equal to that given
func (*UserGetGitCredentialNotFound) IsRedirect ¶
func (o *UserGetGitCredentialNotFound) IsRedirect() bool
IsRedirect returns true when this user get git credential not found response has a 3xx status code
func (*UserGetGitCredentialNotFound) IsServerError ¶
func (o *UserGetGitCredentialNotFound) IsServerError() bool
IsServerError returns true when this user get git credential not found response has a 5xx status code
func (*UserGetGitCredentialNotFound) IsSuccess ¶
func (o *UserGetGitCredentialNotFound) IsSuccess() bool
IsSuccess returns true when this user get git credential not found response has a 2xx status code
func (*UserGetGitCredentialNotFound) String ¶
func (o *UserGetGitCredentialNotFound) String() string
type UserGetGitCredentialOK ¶
type UserGetGitCredentialOK struct {
Payload *models.PortainereeGitCredential
}
UserGetGitCredentialOK describes a response with status code 200, with default header values.
Success
func NewUserGetGitCredentialOK ¶
func NewUserGetGitCredentialOK() *UserGetGitCredentialOK
NewUserGetGitCredentialOK creates a UserGetGitCredentialOK with default headers values
func (*UserGetGitCredentialOK) Code ¶
func (o *UserGetGitCredentialOK) Code() int
Code gets the status code for the user get git credential o k response
func (*UserGetGitCredentialOK) Error ¶
func (o *UserGetGitCredentialOK) Error() string
func (*UserGetGitCredentialOK) GetPayload ¶
func (o *UserGetGitCredentialOK) GetPayload() *models.PortainereeGitCredential
func (*UserGetGitCredentialOK) IsClientError ¶
func (o *UserGetGitCredentialOK) IsClientError() bool
IsClientError returns true when this user get git credential o k response has a 4xx status code
func (*UserGetGitCredentialOK) IsCode ¶
func (o *UserGetGitCredentialOK) IsCode(code int) bool
IsCode returns true when this user get git credential o k response a status code equal to that given
func (*UserGetGitCredentialOK) IsRedirect ¶
func (o *UserGetGitCredentialOK) IsRedirect() bool
IsRedirect returns true when this user get git credential o k response has a 3xx status code
func (*UserGetGitCredentialOK) IsServerError ¶
func (o *UserGetGitCredentialOK) IsServerError() bool
IsServerError returns true when this user get git credential o k response has a 5xx status code
func (*UserGetGitCredentialOK) IsSuccess ¶
func (o *UserGetGitCredentialOK) IsSuccess() bool
IsSuccess returns true when this user get git credential o k response has a 2xx status code
func (*UserGetGitCredentialOK) String ¶
func (o *UserGetGitCredentialOK) String() string
type UserGetGitCredentialParams ¶
type UserGetGitCredentialParams struct {
/* CredentialID.
Git Credential identifier
*/
CredentialID int64
/* ID.
User identifier
*/
ID int64
Context context.Context
HTTPClient *http.Client
// contains filtered or unexported fields
}
UserGetGitCredentialParams contains all the parameters to send to the API endpoint
for the user get git credential operation. Typically these are written to a http.Request.
func NewUserGetGitCredentialParams ¶
func NewUserGetGitCredentialParams() *UserGetGitCredentialParams
NewUserGetGitCredentialParams creates a new UserGetGitCredentialParams 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 NewUserGetGitCredentialParamsWithContext ¶
func NewUserGetGitCredentialParamsWithContext(ctx context.Context) *UserGetGitCredentialParams
NewUserGetGitCredentialParamsWithContext creates a new UserGetGitCredentialParams object with the ability to set a context for a request.
func NewUserGetGitCredentialParamsWithHTTPClient ¶
func NewUserGetGitCredentialParamsWithHTTPClient(client *http.Client) *UserGetGitCredentialParams
NewUserGetGitCredentialParamsWithHTTPClient creates a new UserGetGitCredentialParams object with the ability to set a custom HTTPClient for a request.
func NewUserGetGitCredentialParamsWithTimeout ¶
func NewUserGetGitCredentialParamsWithTimeout(timeout time.Duration) *UserGetGitCredentialParams
NewUserGetGitCredentialParamsWithTimeout creates a new UserGetGitCredentialParams object with the ability to set a timeout on a request.
func (*UserGetGitCredentialParams) SetContext ¶
func (o *UserGetGitCredentialParams) SetContext(ctx context.Context)
SetContext adds the context to the user get git credential params
func (*UserGetGitCredentialParams) SetCredentialID ¶
func (o *UserGetGitCredentialParams) SetCredentialID(credentialID int64)
SetCredentialID adds the credentialId to the user get git credential params
func (*UserGetGitCredentialParams) SetDefaults ¶
func (o *UserGetGitCredentialParams) SetDefaults()
SetDefaults hydrates default values in the user get git credential params (not the query body).
All values with no default are reset to their zero value.
func (*UserGetGitCredentialParams) SetHTTPClient ¶
func (o *UserGetGitCredentialParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the user get git credential params
func (*UserGetGitCredentialParams) SetID ¶
func (o *UserGetGitCredentialParams) SetID(id int64)
SetID adds the id to the user get git credential params
func (*UserGetGitCredentialParams) SetTimeout ¶
func (o *UserGetGitCredentialParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the user get git credential params
func (*UserGetGitCredentialParams) WithContext ¶
func (o *UserGetGitCredentialParams) WithContext(ctx context.Context) *UserGetGitCredentialParams
WithContext adds the context to the user get git credential params
func (*UserGetGitCredentialParams) WithCredentialID ¶
func (o *UserGetGitCredentialParams) WithCredentialID(credentialID int64) *UserGetGitCredentialParams
WithCredentialID adds the credentialID to the user get git credential params
func (*UserGetGitCredentialParams) WithDefaults ¶
func (o *UserGetGitCredentialParams) WithDefaults() *UserGetGitCredentialParams
WithDefaults hydrates default values in the user get git credential params (not the query body).
All values with no default are reset to their zero value.
func (*UserGetGitCredentialParams) WithHTTPClient ¶
func (o *UserGetGitCredentialParams) WithHTTPClient(client *http.Client) *UserGetGitCredentialParams
WithHTTPClient adds the HTTPClient to the user get git credential params
func (*UserGetGitCredentialParams) WithID ¶
func (o *UserGetGitCredentialParams) WithID(id int64) *UserGetGitCredentialParams
WithID adds the id to the user get git credential params
func (*UserGetGitCredentialParams) WithTimeout ¶
func (o *UserGetGitCredentialParams) WithTimeout(timeout time.Duration) *UserGetGitCredentialParams
WithTimeout adds the timeout to the user get git credential params
func (*UserGetGitCredentialParams) WriteToRequest ¶
func (o *UserGetGitCredentialParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type UserGetGitCredentialReader ¶
type UserGetGitCredentialReader struct {
// contains filtered or unexported fields
}
UserGetGitCredentialReader is a Reader for the UserGetGitCredential structure.
func (*UserGetGitCredentialReader) ReadResponse ¶
func (o *UserGetGitCredentialReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type UserGetGitCredentialsBadRequest ¶
type UserGetGitCredentialsBadRequest struct {
}
UserGetGitCredentialsBadRequest describes a response with status code 400, with default header values.
Invalid request
func NewUserGetGitCredentialsBadRequest ¶
func NewUserGetGitCredentialsBadRequest() *UserGetGitCredentialsBadRequest
NewUserGetGitCredentialsBadRequest creates a UserGetGitCredentialsBadRequest with default headers values
func (*UserGetGitCredentialsBadRequest) Code ¶
func (o *UserGetGitCredentialsBadRequest) Code() int
Code gets the status code for the user get git credentials bad request response
func (*UserGetGitCredentialsBadRequest) Error ¶
func (o *UserGetGitCredentialsBadRequest) Error() string
func (*UserGetGitCredentialsBadRequest) IsClientError ¶
func (o *UserGetGitCredentialsBadRequest) IsClientError() bool
IsClientError returns true when this user get git credentials bad request response has a 4xx status code
func (*UserGetGitCredentialsBadRequest) IsCode ¶
func (o *UserGetGitCredentialsBadRequest) IsCode(code int) bool
IsCode returns true when this user get git credentials bad request response a status code equal to that given
func (*UserGetGitCredentialsBadRequest) IsRedirect ¶
func (o *UserGetGitCredentialsBadRequest) IsRedirect() bool
IsRedirect returns true when this user get git credentials bad request response has a 3xx status code
func (*UserGetGitCredentialsBadRequest) IsServerError ¶
func (o *UserGetGitCredentialsBadRequest) IsServerError() bool
IsServerError returns true when this user get git credentials bad request response has a 5xx status code
func (*UserGetGitCredentialsBadRequest) IsSuccess ¶
func (o *UserGetGitCredentialsBadRequest) IsSuccess() bool
IsSuccess returns true when this user get git credentials bad request response has a 2xx status code
func (*UserGetGitCredentialsBadRequest) String ¶
func (o *UserGetGitCredentialsBadRequest) String() string
type UserGetGitCredentialsForbidden ¶
type UserGetGitCredentialsForbidden struct {
}
UserGetGitCredentialsForbidden describes a response with status code 403, with default header values.
Permission denied
func NewUserGetGitCredentialsForbidden ¶
func NewUserGetGitCredentialsForbidden() *UserGetGitCredentialsForbidden
NewUserGetGitCredentialsForbidden creates a UserGetGitCredentialsForbidden with default headers values
func (*UserGetGitCredentialsForbidden) Code ¶
func (o *UserGetGitCredentialsForbidden) Code() int
Code gets the status code for the user get git credentials forbidden response
func (*UserGetGitCredentialsForbidden) Error ¶
func (o *UserGetGitCredentialsForbidden) Error() string
func (*UserGetGitCredentialsForbidden) IsClientError ¶
func (o *UserGetGitCredentialsForbidden) IsClientError() bool
IsClientError returns true when this user get git credentials forbidden response has a 4xx status code
func (*UserGetGitCredentialsForbidden) IsCode ¶
func (o *UserGetGitCredentialsForbidden) IsCode(code int) bool
IsCode returns true when this user get git credentials forbidden response a status code equal to that given
func (*UserGetGitCredentialsForbidden) IsRedirect ¶
func (o *UserGetGitCredentialsForbidden) IsRedirect() bool
IsRedirect returns true when this user get git credentials forbidden response has a 3xx status code
func (*UserGetGitCredentialsForbidden) IsServerError ¶
func (o *UserGetGitCredentialsForbidden) IsServerError() bool
IsServerError returns true when this user get git credentials forbidden response has a 5xx status code
func (*UserGetGitCredentialsForbidden) IsSuccess ¶
func (o *UserGetGitCredentialsForbidden) IsSuccess() bool
IsSuccess returns true when this user get git credentials forbidden response has a 2xx status code
func (*UserGetGitCredentialsForbidden) String ¶
func (o *UserGetGitCredentialsForbidden) String() string
type UserGetGitCredentialsInternalServerError ¶
type UserGetGitCredentialsInternalServerError struct {
}
UserGetGitCredentialsInternalServerError describes a response with status code 500, with default header values.
Server error
func NewUserGetGitCredentialsInternalServerError ¶
func NewUserGetGitCredentialsInternalServerError() *UserGetGitCredentialsInternalServerError
NewUserGetGitCredentialsInternalServerError creates a UserGetGitCredentialsInternalServerError with default headers values
func (*UserGetGitCredentialsInternalServerError) Code ¶
func (o *UserGetGitCredentialsInternalServerError) Code() int
Code gets the status code for the user get git credentials internal server error response
func (*UserGetGitCredentialsInternalServerError) Error ¶
func (o *UserGetGitCredentialsInternalServerError) Error() string
func (*UserGetGitCredentialsInternalServerError) IsClientError ¶
func (o *UserGetGitCredentialsInternalServerError) IsClientError() bool
IsClientError returns true when this user get git credentials internal server error response has a 4xx status code
func (*UserGetGitCredentialsInternalServerError) IsCode ¶
func (o *UserGetGitCredentialsInternalServerError) IsCode(code int) bool
IsCode returns true when this user get git credentials internal server error response a status code equal to that given
func (*UserGetGitCredentialsInternalServerError) IsRedirect ¶
func (o *UserGetGitCredentialsInternalServerError) IsRedirect() bool
IsRedirect returns true when this user get git credentials internal server error response has a 3xx status code
func (*UserGetGitCredentialsInternalServerError) IsServerError ¶
func (o *UserGetGitCredentialsInternalServerError) IsServerError() bool
IsServerError returns true when this user get git credentials internal server error response has a 5xx status code
func (*UserGetGitCredentialsInternalServerError) IsSuccess ¶
func (o *UserGetGitCredentialsInternalServerError) IsSuccess() bool
IsSuccess returns true when this user get git credentials internal server error response has a 2xx status code
func (*UserGetGitCredentialsInternalServerError) String ¶
func (o *UserGetGitCredentialsInternalServerError) String() string
type UserGetGitCredentialsNotFound ¶
type UserGetGitCredentialsNotFound struct {
}
UserGetGitCredentialsNotFound describes a response with status code 404, with default header values.
User not found
func NewUserGetGitCredentialsNotFound ¶
func NewUserGetGitCredentialsNotFound() *UserGetGitCredentialsNotFound
NewUserGetGitCredentialsNotFound creates a UserGetGitCredentialsNotFound with default headers values
func (*UserGetGitCredentialsNotFound) Code ¶
func (o *UserGetGitCredentialsNotFound) Code() int
Code gets the status code for the user get git credentials not found response
func (*UserGetGitCredentialsNotFound) Error ¶
func (o *UserGetGitCredentialsNotFound) Error() string
func (*UserGetGitCredentialsNotFound) IsClientError ¶
func (o *UserGetGitCredentialsNotFound) IsClientError() bool
IsClientError returns true when this user get git credentials not found response has a 4xx status code
func (*UserGetGitCredentialsNotFound) IsCode ¶
func (o *UserGetGitCredentialsNotFound) IsCode(code int) bool
IsCode returns true when this user get git credentials not found response a status code equal to that given
func (*UserGetGitCredentialsNotFound) IsRedirect ¶
func (o *UserGetGitCredentialsNotFound) IsRedirect() bool
IsRedirect returns true when this user get git credentials not found response has a 3xx status code
func (*UserGetGitCredentialsNotFound) IsServerError ¶
func (o *UserGetGitCredentialsNotFound) IsServerError() bool
IsServerError returns true when this user get git credentials not found response has a 5xx status code
func (*UserGetGitCredentialsNotFound) IsSuccess ¶
func (o *UserGetGitCredentialsNotFound) IsSuccess() bool
IsSuccess returns true when this user get git credentials not found response has a 2xx status code
func (*UserGetGitCredentialsNotFound) String ¶
func (o *UserGetGitCredentialsNotFound) String() string
type UserGetGitCredentialsOK ¶
type UserGetGitCredentialsOK struct {
Payload []*models.PortainereeGitCredential
}
UserGetGitCredentialsOK describes a response with status code 200, with default header values.
Success
func NewUserGetGitCredentialsOK ¶
func NewUserGetGitCredentialsOK() *UserGetGitCredentialsOK
NewUserGetGitCredentialsOK creates a UserGetGitCredentialsOK with default headers values
func (*UserGetGitCredentialsOK) Code ¶
func (o *UserGetGitCredentialsOK) Code() int
Code gets the status code for the user get git credentials o k response
func (*UserGetGitCredentialsOK) Error ¶
func (o *UserGetGitCredentialsOK) Error() string
func (*UserGetGitCredentialsOK) GetPayload ¶
func (o *UserGetGitCredentialsOK) GetPayload() []*models.PortainereeGitCredential
func (*UserGetGitCredentialsOK) IsClientError ¶
func (o *UserGetGitCredentialsOK) IsClientError() bool
IsClientError returns true when this user get git credentials o k response has a 4xx status code
func (*UserGetGitCredentialsOK) IsCode ¶
func (o *UserGetGitCredentialsOK) IsCode(code int) bool
IsCode returns true when this user get git credentials o k response a status code equal to that given
func (*UserGetGitCredentialsOK) IsRedirect ¶
func (o *UserGetGitCredentialsOK) IsRedirect() bool
IsRedirect returns true when this user get git credentials o k response has a 3xx status code
func (*UserGetGitCredentialsOK) IsServerError ¶
func (o *UserGetGitCredentialsOK) IsServerError() bool
IsServerError returns true when this user get git credentials o k response has a 5xx status code
func (*UserGetGitCredentialsOK) IsSuccess ¶
func (o *UserGetGitCredentialsOK) IsSuccess() bool
IsSuccess returns true when this user get git credentials o k response has a 2xx status code
func (*UserGetGitCredentialsOK) String ¶
func (o *UserGetGitCredentialsOK) String() string
type UserGetGitCredentialsParams ¶
type UserGetGitCredentialsParams struct {
/* ID.
User identifier
*/
ID int64
Context context.Context
HTTPClient *http.Client
// contains filtered or unexported fields
}
UserGetGitCredentialsParams contains all the parameters to send to the API endpoint
for the user get git credentials operation. Typically these are written to a http.Request.
func NewUserGetGitCredentialsParams ¶
func NewUserGetGitCredentialsParams() *UserGetGitCredentialsParams
NewUserGetGitCredentialsParams creates a new UserGetGitCredentialsParams 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 NewUserGetGitCredentialsParamsWithContext ¶
func NewUserGetGitCredentialsParamsWithContext(ctx context.Context) *UserGetGitCredentialsParams
NewUserGetGitCredentialsParamsWithContext creates a new UserGetGitCredentialsParams object with the ability to set a context for a request.
func NewUserGetGitCredentialsParamsWithHTTPClient ¶
func NewUserGetGitCredentialsParamsWithHTTPClient(client *http.Client) *UserGetGitCredentialsParams
NewUserGetGitCredentialsParamsWithHTTPClient creates a new UserGetGitCredentialsParams object with the ability to set a custom HTTPClient for a request.
func NewUserGetGitCredentialsParamsWithTimeout ¶
func NewUserGetGitCredentialsParamsWithTimeout(timeout time.Duration) *UserGetGitCredentialsParams
NewUserGetGitCredentialsParamsWithTimeout creates a new UserGetGitCredentialsParams object with the ability to set a timeout on a request.
func (*UserGetGitCredentialsParams) SetContext ¶
func (o *UserGetGitCredentialsParams) SetContext(ctx context.Context)
SetContext adds the context to the user get git credentials params
func (*UserGetGitCredentialsParams) SetDefaults ¶
func (o *UserGetGitCredentialsParams) SetDefaults()
SetDefaults hydrates default values in the user get git credentials params (not the query body).
All values with no default are reset to their zero value.
func (*UserGetGitCredentialsParams) SetHTTPClient ¶
func (o *UserGetGitCredentialsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the user get git credentials params
func (*UserGetGitCredentialsParams) SetID ¶
func (o *UserGetGitCredentialsParams) SetID(id int64)
SetID adds the id to the user get git credentials params
func (*UserGetGitCredentialsParams) SetTimeout ¶
func (o *UserGetGitCredentialsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the user get git credentials params
func (*UserGetGitCredentialsParams) WithContext ¶
func (o *UserGetGitCredentialsParams) WithContext(ctx context.Context) *UserGetGitCredentialsParams
WithContext adds the context to the user get git credentials params
func (*UserGetGitCredentialsParams) WithDefaults ¶
func (o *UserGetGitCredentialsParams) WithDefaults() *UserGetGitCredentialsParams
WithDefaults hydrates default values in the user get git credentials params (not the query body).
All values with no default are reset to their zero value.
func (*UserGetGitCredentialsParams) WithHTTPClient ¶
func (o *UserGetGitCredentialsParams) WithHTTPClient(client *http.Client) *UserGetGitCredentialsParams
WithHTTPClient adds the HTTPClient to the user get git credentials params
func (*UserGetGitCredentialsParams) WithID ¶
func (o *UserGetGitCredentialsParams) WithID(id int64) *UserGetGitCredentialsParams
WithID adds the id to the user get git credentials params
func (*UserGetGitCredentialsParams) WithTimeout ¶
func (o *UserGetGitCredentialsParams) WithTimeout(timeout time.Duration) *UserGetGitCredentialsParams
WithTimeout adds the timeout to the user get git credentials params
func (*UserGetGitCredentialsParams) WriteToRequest ¶
func (o *UserGetGitCredentialsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type UserGetGitCredentialsReader ¶
type UserGetGitCredentialsReader struct {
// contains filtered or unexported fields
}
UserGetGitCredentialsReader is a Reader for the UserGetGitCredentials structure.
func (*UserGetGitCredentialsReader) ReadResponse ¶
func (o *UserGetGitCredentialsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type UserInspectBadRequest ¶
type UserInspectBadRequest struct {
}
UserInspectBadRequest describes a response with status code 400, with default header values.
Invalid request
func NewUserInspectBadRequest ¶
func NewUserInspectBadRequest() *UserInspectBadRequest
NewUserInspectBadRequest creates a UserInspectBadRequest with default headers values
func (*UserInspectBadRequest) Code ¶
func (o *UserInspectBadRequest) Code() int
Code gets the status code for the user inspect bad request response
func (*UserInspectBadRequest) Error ¶
func (o *UserInspectBadRequest) Error() string
func (*UserInspectBadRequest) IsClientError ¶
func (o *UserInspectBadRequest) IsClientError() bool
IsClientError returns true when this user inspect bad request response has a 4xx status code
func (*UserInspectBadRequest) IsCode ¶
func (o *UserInspectBadRequest) IsCode(code int) bool
IsCode returns true when this user inspect bad request response a status code equal to that given
func (*UserInspectBadRequest) IsRedirect ¶
func (o *UserInspectBadRequest) IsRedirect() bool
IsRedirect returns true when this user inspect bad request response has a 3xx status code
func (*UserInspectBadRequest) IsServerError ¶
func (o *UserInspectBadRequest) IsServerError() bool
IsServerError returns true when this user inspect bad request response has a 5xx status code
func (*UserInspectBadRequest) IsSuccess ¶
func (o *UserInspectBadRequest) IsSuccess() bool
IsSuccess returns true when this user inspect bad request response has a 2xx status code
func (*UserInspectBadRequest) String ¶
func (o *UserInspectBadRequest) String() string
type UserInspectForbidden ¶
type UserInspectForbidden struct {
}
UserInspectForbidden describes a response with status code 403, with default header values.
Permission denied
func NewUserInspectForbidden ¶
func NewUserInspectForbidden() *UserInspectForbidden
NewUserInspectForbidden creates a UserInspectForbidden with default headers values
func (*UserInspectForbidden) Code ¶
func (o *UserInspectForbidden) Code() int
Code gets the status code for the user inspect forbidden response
func (*UserInspectForbidden) Error ¶
func (o *UserInspectForbidden) Error() string
func (*UserInspectForbidden) IsClientError ¶
func (o *UserInspectForbidden) IsClientError() bool
IsClientError returns true when this user inspect forbidden response has a 4xx status code
func (*UserInspectForbidden) IsCode ¶
func (o *UserInspectForbidden) IsCode(code int) bool
IsCode returns true when this user inspect forbidden response a status code equal to that given
func (*UserInspectForbidden) IsRedirect ¶
func (o *UserInspectForbidden) IsRedirect() bool
IsRedirect returns true when this user inspect forbidden response has a 3xx status code
func (*UserInspectForbidden) IsServerError ¶
func (o *UserInspectForbidden) IsServerError() bool
IsServerError returns true when this user inspect forbidden response has a 5xx status code
func (*UserInspectForbidden) IsSuccess ¶
func (o *UserInspectForbidden) IsSuccess() bool
IsSuccess returns true when this user inspect forbidden response has a 2xx status code
func (*UserInspectForbidden) String ¶
func (o *UserInspectForbidden) String() string
type UserInspectInternalServerError ¶
type UserInspectInternalServerError struct {
}
UserInspectInternalServerError describes a response with status code 500, with default header values.
Server error
func NewUserInspectInternalServerError ¶
func NewUserInspectInternalServerError() *UserInspectInternalServerError
NewUserInspectInternalServerError creates a UserInspectInternalServerError with default headers values
func (*UserInspectInternalServerError) Code ¶
func (o *UserInspectInternalServerError) Code() int
Code gets the status code for the user inspect internal server error response
func (*UserInspectInternalServerError) Error ¶
func (o *UserInspectInternalServerError) Error() string
func (*UserInspectInternalServerError) IsClientError ¶
func (o *UserInspectInternalServerError) IsClientError() bool
IsClientError returns true when this user inspect internal server error response has a 4xx status code
func (*UserInspectInternalServerError) IsCode ¶
func (o *UserInspectInternalServerError) IsCode(code int) bool
IsCode returns true when this user inspect internal server error response a status code equal to that given
func (*UserInspectInternalServerError) IsRedirect ¶
func (o *UserInspectInternalServerError) IsRedirect() bool
IsRedirect returns true when this user inspect internal server error response has a 3xx status code
func (*UserInspectInternalServerError) IsServerError ¶
func (o *UserInspectInternalServerError) IsServerError() bool
IsServerError returns true when this user inspect internal server error response has a 5xx status code
func (*UserInspectInternalServerError) IsSuccess ¶
func (o *UserInspectInternalServerError) IsSuccess() bool
IsSuccess returns true when this user inspect internal server error response has a 2xx status code
func (*UserInspectInternalServerError) String ¶
func (o *UserInspectInternalServerError) String() string
type UserInspectNotFound ¶
type UserInspectNotFound struct {
}
UserInspectNotFound describes a response with status code 404, with default header values.
User not found
func NewUserInspectNotFound ¶
func NewUserInspectNotFound() *UserInspectNotFound
NewUserInspectNotFound creates a UserInspectNotFound with default headers values
func (*UserInspectNotFound) Code ¶
func (o *UserInspectNotFound) Code() int
Code gets the status code for the user inspect not found response
func (*UserInspectNotFound) Error ¶
func (o *UserInspectNotFound) Error() string
func (*UserInspectNotFound) IsClientError ¶
func (o *UserInspectNotFound) IsClientError() bool
IsClientError returns true when this user inspect not found response has a 4xx status code
func (*UserInspectNotFound) IsCode ¶
func (o *UserInspectNotFound) IsCode(code int) bool
IsCode returns true when this user inspect not found response a status code equal to that given
func (*UserInspectNotFound) IsRedirect ¶
func (o *UserInspectNotFound) IsRedirect() bool
IsRedirect returns true when this user inspect not found response has a 3xx status code
func (*UserInspectNotFound) IsServerError ¶
func (o *UserInspectNotFound) IsServerError() bool
IsServerError returns true when this user inspect not found response has a 5xx status code
func (*UserInspectNotFound) IsSuccess ¶
func (o *UserInspectNotFound) IsSuccess() bool
IsSuccess returns true when this user inspect not found response has a 2xx status code
func (*UserInspectNotFound) String ¶
func (o *UserInspectNotFound) String() string
type UserInspectOK ¶
type UserInspectOK struct {
Payload *models.PortainereeUser
}
UserInspectOK describes a response with status code 200, with default header values.
Success
func NewUserInspectOK ¶
func NewUserInspectOK() *UserInspectOK
NewUserInspectOK creates a UserInspectOK with default headers values
func (*UserInspectOK) Code ¶
func (o *UserInspectOK) Code() int
Code gets the status code for the user inspect o k response
func (*UserInspectOK) Error ¶
func (o *UserInspectOK) Error() string
func (*UserInspectOK) GetPayload ¶
func (o *UserInspectOK) GetPayload() *models.PortainereeUser
func (*UserInspectOK) IsClientError ¶
func (o *UserInspectOK) IsClientError() bool
IsClientError returns true when this user inspect o k response has a 4xx status code
func (*UserInspectOK) IsCode ¶
func (o *UserInspectOK) IsCode(code int) bool
IsCode returns true when this user inspect o k response a status code equal to that given
func (*UserInspectOK) IsRedirect ¶
func (o *UserInspectOK) IsRedirect() bool
IsRedirect returns true when this user inspect o k response has a 3xx status code
func (*UserInspectOK) IsServerError ¶
func (o *UserInspectOK) IsServerError() bool
IsServerError returns true when this user inspect o k response has a 5xx status code
func (*UserInspectOK) IsSuccess ¶
func (o *UserInspectOK) IsSuccess() bool
IsSuccess returns true when this user inspect o k response has a 2xx status code
func (*UserInspectOK) String ¶
func (o *UserInspectOK) String() string
type UserInspectParams ¶
type UserInspectParams struct {
/* ID.
User identifier
*/
ID int64
Context context.Context
HTTPClient *http.Client
// contains filtered or unexported fields
}
UserInspectParams contains all the parameters to send to the API endpoint
for the user inspect operation. Typically these are written to a http.Request.
func NewUserInspectParams ¶
func NewUserInspectParams() *UserInspectParams
NewUserInspectParams creates a new UserInspectParams 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 NewUserInspectParamsWithContext ¶
func NewUserInspectParamsWithContext(ctx context.Context) *UserInspectParams
NewUserInspectParamsWithContext creates a new UserInspectParams object with the ability to set a context for a request.
func NewUserInspectParamsWithHTTPClient ¶
func NewUserInspectParamsWithHTTPClient(client *http.Client) *UserInspectParams
NewUserInspectParamsWithHTTPClient creates a new UserInspectParams object with the ability to set a custom HTTPClient for a request.
func NewUserInspectParamsWithTimeout ¶
func NewUserInspectParamsWithTimeout(timeout time.Duration) *UserInspectParams
NewUserInspectParamsWithTimeout creates a new UserInspectParams object with the ability to set a timeout on a request.
func (*UserInspectParams) SetContext ¶
func (o *UserInspectParams) SetContext(ctx context.Context)
SetContext adds the context to the user inspect params
func (*UserInspectParams) SetDefaults ¶
func (o *UserInspectParams) SetDefaults()
SetDefaults hydrates default values in the user inspect params (not the query body).
All values with no default are reset to their zero value.
func (*UserInspectParams) SetHTTPClient ¶
func (o *UserInspectParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the user inspect params
func (*UserInspectParams) SetID ¶
func (o *UserInspectParams) SetID(id int64)
SetID adds the id to the user inspect params
func (*UserInspectParams) SetTimeout ¶
func (o *UserInspectParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the user inspect params
func (*UserInspectParams) WithContext ¶
func (o *UserInspectParams) WithContext(ctx context.Context) *UserInspectParams
WithContext adds the context to the user inspect params
func (*UserInspectParams) WithDefaults ¶
func (o *UserInspectParams) WithDefaults() *UserInspectParams
WithDefaults hydrates default values in the user inspect params (not the query body).
All values with no default are reset to their zero value.
func (*UserInspectParams) WithHTTPClient ¶
func (o *UserInspectParams) WithHTTPClient(client *http.Client) *UserInspectParams
WithHTTPClient adds the HTTPClient to the user inspect params
func (*UserInspectParams) WithID ¶
func (o *UserInspectParams) WithID(id int64) *UserInspectParams
WithID adds the id to the user inspect params
func (*UserInspectParams) WithTimeout ¶
func (o *UserInspectParams) WithTimeout(timeout time.Duration) *UserInspectParams
WithTimeout adds the timeout to the user inspect params
func (*UserInspectParams) WriteToRequest ¶
func (o *UserInspectParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type UserInspectReader ¶
type UserInspectReader struct {
// contains filtered or unexported fields
}
UserInspectReader is a Reader for the UserInspect structure.
func (*UserInspectReader) ReadResponse ¶
func (o *UserInspectReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type UserListBadRequest ¶
type UserListBadRequest struct {
}
UserListBadRequest describes a response with status code 400, with default header values.
Invalid request
func NewUserListBadRequest ¶
func NewUserListBadRequest() *UserListBadRequest
NewUserListBadRequest creates a UserListBadRequest with default headers values
func (*UserListBadRequest) Code ¶
func (o *UserListBadRequest) Code() int
Code gets the status code for the user list bad request response
func (*UserListBadRequest) Error ¶
func (o *UserListBadRequest) Error() string
func (*UserListBadRequest) IsClientError ¶
func (o *UserListBadRequest) IsClientError() bool
IsClientError returns true when this user list bad request response has a 4xx status code
func (*UserListBadRequest) IsCode ¶
func (o *UserListBadRequest) IsCode(code int) bool
IsCode returns true when this user list bad request response a status code equal to that given
func (*UserListBadRequest) IsRedirect ¶
func (o *UserListBadRequest) IsRedirect() bool
IsRedirect returns true when this user list bad request response has a 3xx status code
func (*UserListBadRequest) IsServerError ¶
func (o *UserListBadRequest) IsServerError() bool
IsServerError returns true when this user list bad request response has a 5xx status code
func (*UserListBadRequest) IsSuccess ¶
func (o *UserListBadRequest) IsSuccess() bool
IsSuccess returns true when this user list bad request response has a 2xx status code
func (*UserListBadRequest) String ¶
func (o *UserListBadRequest) String() string
type UserListInternalServerError ¶
type UserListInternalServerError struct {
}
UserListInternalServerError describes a response with status code 500, with default header values.
Server error
func NewUserListInternalServerError ¶
func NewUserListInternalServerError() *UserListInternalServerError
NewUserListInternalServerError creates a UserListInternalServerError with default headers values
func (*UserListInternalServerError) Code ¶
func (o *UserListInternalServerError) Code() int
Code gets the status code for the user list internal server error response
func (*UserListInternalServerError) Error ¶
func (o *UserListInternalServerError) Error() string
func (*UserListInternalServerError) IsClientError ¶
func (o *UserListInternalServerError) IsClientError() bool
IsClientError returns true when this user list internal server error response has a 4xx status code
func (*UserListInternalServerError) IsCode ¶
func (o *UserListInternalServerError) IsCode(code int) bool
IsCode returns true when this user list internal server error response a status code equal to that given
func (*UserListInternalServerError) IsRedirect ¶
func (o *UserListInternalServerError) IsRedirect() bool
IsRedirect returns true when this user list internal server error response has a 3xx status code
func (*UserListInternalServerError) IsServerError ¶
func (o *UserListInternalServerError) IsServerError() bool
IsServerError returns true when this user list internal server error response has a 5xx status code
func (*UserListInternalServerError) IsSuccess ¶
func (o *UserListInternalServerError) IsSuccess() bool
IsSuccess returns true when this user list internal server error response has a 2xx status code
func (*UserListInternalServerError) String ¶
func (o *UserListInternalServerError) String() string
type UserListOK ¶
type UserListOK struct {
Payload []*models.PortainereeUser
}
UserListOK describes a response with status code 200, with default header values.
Success
func NewUserListOK ¶
func NewUserListOK() *UserListOK
NewUserListOK creates a UserListOK with default headers values
func (*UserListOK) Code ¶
func (o *UserListOK) Code() int
Code gets the status code for the user list o k response
func (*UserListOK) Error ¶
func (o *UserListOK) Error() string
func (*UserListOK) GetPayload ¶
func (o *UserListOK) GetPayload() []*models.PortainereeUser
func (*UserListOK) IsClientError ¶
func (o *UserListOK) IsClientError() bool
IsClientError returns true when this user list o k response has a 4xx status code
func (*UserListOK) IsCode ¶
func (o *UserListOK) IsCode(code int) bool
IsCode returns true when this user list o k response a status code equal to that given
func (*UserListOK) IsRedirect ¶
func (o *UserListOK) IsRedirect() bool
IsRedirect returns true when this user list o k response has a 3xx status code
func (*UserListOK) IsServerError ¶
func (o *UserListOK) IsServerError() bool
IsServerError returns true when this user list o k response has a 5xx status code
func (*UserListOK) IsSuccess ¶
func (o *UserListOK) IsSuccess() bool
IsSuccess returns true when this user list o k response has a 2xx status code
func (*UserListOK) String ¶
func (o *UserListOK) String() string
type UserListParams ¶
type UserListParams struct {
/* EnvironmentID.
Identifier of the environment(endpoint) that will be used to filter the authorized users
*/
EnvironmentID *int64
Context context.Context
HTTPClient *http.Client
// contains filtered or unexported fields
}
UserListParams contains all the parameters to send to the API endpoint
for the user list operation. Typically these are written to a http.Request.
func NewUserListParams ¶
func NewUserListParams() *UserListParams
NewUserListParams creates a new UserListParams 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 NewUserListParamsWithContext ¶
func NewUserListParamsWithContext(ctx context.Context) *UserListParams
NewUserListParamsWithContext creates a new UserListParams object with the ability to set a context for a request.
func NewUserListParamsWithHTTPClient ¶
func NewUserListParamsWithHTTPClient(client *http.Client) *UserListParams
NewUserListParamsWithHTTPClient creates a new UserListParams object with the ability to set a custom HTTPClient for a request.
func NewUserListParamsWithTimeout ¶
func NewUserListParamsWithTimeout(timeout time.Duration) *UserListParams
NewUserListParamsWithTimeout creates a new UserListParams object with the ability to set a timeout on a request.
func (*UserListParams) SetContext ¶
func (o *UserListParams) SetContext(ctx context.Context)
SetContext adds the context to the user list params
func (*UserListParams) SetDefaults ¶
func (o *UserListParams) SetDefaults()
SetDefaults hydrates default values in the user list params (not the query body).
All values with no default are reset to their zero value.
func (*UserListParams) SetEnvironmentID ¶
func (o *UserListParams) SetEnvironmentID(environmentID *int64)
SetEnvironmentID adds the environmentId to the user list params
func (*UserListParams) SetHTTPClient ¶
func (o *UserListParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the user list params
func (*UserListParams) SetTimeout ¶
func (o *UserListParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the user list params
func (*UserListParams) WithContext ¶
func (o *UserListParams) WithContext(ctx context.Context) *UserListParams
WithContext adds the context to the user list params
func (*UserListParams) WithDefaults ¶
func (o *UserListParams) WithDefaults() *UserListParams
WithDefaults hydrates default values in the user list params (not the query body).
All values with no default are reset to their zero value.
func (*UserListParams) WithEnvironmentID ¶
func (o *UserListParams) WithEnvironmentID(environmentID *int64) *UserListParams
WithEnvironmentID adds the environmentID to the user list params
func (*UserListParams) WithHTTPClient ¶
func (o *UserListParams) WithHTTPClient(client *http.Client) *UserListParams
WithHTTPClient adds the HTTPClient to the user list params
func (*UserListParams) WithTimeout ¶
func (o *UserListParams) WithTimeout(timeout time.Duration) *UserListParams
WithTimeout adds the timeout to the user list params
func (*UserListParams) WriteToRequest ¶
func (o *UserListParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type UserListReader ¶
type UserListReader struct {
// contains filtered or unexported fields
}
UserListReader is a Reader for the UserList structure.
func (*UserListReader) ReadResponse ¶
func (o *UserListReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type UserMembershipsInspectBadRequest ¶
type UserMembershipsInspectBadRequest struct {
}
UserMembershipsInspectBadRequest describes a response with status code 400, with default header values.
Invalid request
func NewUserMembershipsInspectBadRequest ¶
func NewUserMembershipsInspectBadRequest() *UserMembershipsInspectBadRequest
NewUserMembershipsInspectBadRequest creates a UserMembershipsInspectBadRequest with default headers values
func (*UserMembershipsInspectBadRequest) Code ¶
func (o *UserMembershipsInspectBadRequest) Code() int
Code gets the status code for the user memberships inspect bad request response
func (*UserMembershipsInspectBadRequest) Error ¶
func (o *UserMembershipsInspectBadRequest) Error() string
func (*UserMembershipsInspectBadRequest) IsClientError ¶
func (o *UserMembershipsInspectBadRequest) IsClientError() bool
IsClientError returns true when this user memberships inspect bad request response has a 4xx status code
func (*UserMembershipsInspectBadRequest) IsCode ¶
func (o *UserMembershipsInspectBadRequest) IsCode(code int) bool
IsCode returns true when this user memberships inspect bad request response a status code equal to that given
func (*UserMembershipsInspectBadRequest) IsRedirect ¶
func (o *UserMembershipsInspectBadRequest) IsRedirect() bool
IsRedirect returns true when this user memberships inspect bad request response has a 3xx status code
func (*UserMembershipsInspectBadRequest) IsServerError ¶
func (o *UserMembershipsInspectBadRequest) IsServerError() bool
IsServerError returns true when this user memberships inspect bad request response has a 5xx status code
func (*UserMembershipsInspectBadRequest) IsSuccess ¶
func (o *UserMembershipsInspectBadRequest) IsSuccess() bool
IsSuccess returns true when this user memberships inspect bad request response has a 2xx status code
func (*UserMembershipsInspectBadRequest) String ¶
func (o *UserMembershipsInspectBadRequest) String() string
type UserMembershipsInspectForbidden ¶
type UserMembershipsInspectForbidden struct {
}
UserMembershipsInspectForbidden describes a response with status code 403, with default header values.
Permission denied
func NewUserMembershipsInspectForbidden ¶
func NewUserMembershipsInspectForbidden() *UserMembershipsInspectForbidden
NewUserMembershipsInspectForbidden creates a UserMembershipsInspectForbidden with default headers values
func (*UserMembershipsInspectForbidden) Code ¶
func (o *UserMembershipsInspectForbidden) Code() int
Code gets the status code for the user memberships inspect forbidden response
func (*UserMembershipsInspectForbidden) Error ¶
func (o *UserMembershipsInspectForbidden) Error() string
func (*UserMembershipsInspectForbidden) IsClientError ¶
func (o *UserMembershipsInspectForbidden) IsClientError() bool
IsClientError returns true when this user memberships inspect forbidden response has a 4xx status code
func (*UserMembershipsInspectForbidden) IsCode ¶
func (o *UserMembershipsInspectForbidden) IsCode(code int) bool
IsCode returns true when this user memberships inspect forbidden response a status code equal to that given
func (*UserMembershipsInspectForbidden) IsRedirect ¶
func (o *UserMembershipsInspectForbidden) IsRedirect() bool
IsRedirect returns true when this user memberships inspect forbidden response has a 3xx status code
func (*UserMembershipsInspectForbidden) IsServerError ¶
func (o *UserMembershipsInspectForbidden) IsServerError() bool
IsServerError returns true when this user memberships inspect forbidden response has a 5xx status code
func (*UserMembershipsInspectForbidden) IsSuccess ¶
func (o *UserMembershipsInspectForbidden) IsSuccess() bool
IsSuccess returns true when this user memberships inspect forbidden response has a 2xx status code
func (*UserMembershipsInspectForbidden) String ¶
func (o *UserMembershipsInspectForbidden) String() string
type UserMembershipsInspectInternalServerError ¶
type UserMembershipsInspectInternalServerError struct {
}
UserMembershipsInspectInternalServerError describes a response with status code 500, with default header values.
Server error
func NewUserMembershipsInspectInternalServerError ¶
func NewUserMembershipsInspectInternalServerError() *UserMembershipsInspectInternalServerError
NewUserMembershipsInspectInternalServerError creates a UserMembershipsInspectInternalServerError with default headers values
func (*UserMembershipsInspectInternalServerError) Code ¶
func (o *UserMembershipsInspectInternalServerError) Code() int
Code gets the status code for the user memberships inspect internal server error response
func (*UserMembershipsInspectInternalServerError) Error ¶
func (o *UserMembershipsInspectInternalServerError) Error() string
func (*UserMembershipsInspectInternalServerError) IsClientError ¶
func (o *UserMembershipsInspectInternalServerError) IsClientError() bool
IsClientError returns true when this user memberships inspect internal server error response has a 4xx status code
func (*UserMembershipsInspectInternalServerError) IsCode ¶
func (o *UserMembershipsInspectInternalServerError) IsCode(code int) bool
IsCode returns true when this user memberships inspect internal server error response a status code equal to that given
func (*UserMembershipsInspectInternalServerError) IsRedirect ¶
func (o *UserMembershipsInspectInternalServerError) IsRedirect() bool
IsRedirect returns true when this user memberships inspect internal server error response has a 3xx status code
func (*UserMembershipsInspectInternalServerError) IsServerError ¶
func (o *UserMembershipsInspectInternalServerError) IsServerError() bool
IsServerError returns true when this user memberships inspect internal server error response has a 5xx status code
func (*UserMembershipsInspectInternalServerError) IsSuccess ¶
func (o *UserMembershipsInspectInternalServerError) IsSuccess() bool
IsSuccess returns true when this user memberships inspect internal server error response has a 2xx status code
func (*UserMembershipsInspectInternalServerError) String ¶
func (o *UserMembershipsInspectInternalServerError) String() string
type UserMembershipsInspectOK ¶
type UserMembershipsInspectOK struct {
Payload *models.PortainerTeamMembership
}
UserMembershipsInspectOK describes a response with status code 200, with default header values.
Success
func NewUserMembershipsInspectOK ¶
func NewUserMembershipsInspectOK() *UserMembershipsInspectOK
NewUserMembershipsInspectOK creates a UserMembershipsInspectOK with default headers values
func (*UserMembershipsInspectOK) Code ¶
func (o *UserMembershipsInspectOK) Code() int
Code gets the status code for the user memberships inspect o k response
func (*UserMembershipsInspectOK) Error ¶
func (o *UserMembershipsInspectOK) Error() string
func (*UserMembershipsInspectOK) GetPayload ¶
func (o *UserMembershipsInspectOK) GetPayload() *models.PortainerTeamMembership
func (*UserMembershipsInspectOK) IsClientError ¶
func (o *UserMembershipsInspectOK) IsClientError() bool
IsClientError returns true when this user memberships inspect o k response has a 4xx status code
func (*UserMembershipsInspectOK) IsCode ¶
func (o *UserMembershipsInspectOK) IsCode(code int) bool
IsCode returns true when this user memberships inspect o k response a status code equal to that given
func (*UserMembershipsInspectOK) IsRedirect ¶
func (o *UserMembershipsInspectOK) IsRedirect() bool
IsRedirect returns true when this user memberships inspect o k response has a 3xx status code
func (*UserMembershipsInspectOK) IsServerError ¶
func (o *UserMembershipsInspectOK) IsServerError() bool
IsServerError returns true when this user memberships inspect o k response has a 5xx status code
func (*UserMembershipsInspectOK) IsSuccess ¶
func (o *UserMembershipsInspectOK) IsSuccess() bool
IsSuccess returns true when this user memberships inspect o k response has a 2xx status code
func (*UserMembershipsInspectOK) String ¶
func (o *UserMembershipsInspectOK) String() string
type UserMembershipsInspectParams ¶
type UserMembershipsInspectParams struct {
/* ID.
User identifier
*/
ID int64
Context context.Context
HTTPClient *http.Client
// contains filtered or unexported fields
}
UserMembershipsInspectParams contains all the parameters to send to the API endpoint
for the user memberships inspect operation. Typically these are written to a http.Request.
func NewUserMembershipsInspectParams ¶
func NewUserMembershipsInspectParams() *UserMembershipsInspectParams
NewUserMembershipsInspectParams creates a new UserMembershipsInspectParams 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 NewUserMembershipsInspectParamsWithContext ¶
func NewUserMembershipsInspectParamsWithContext(ctx context.Context) *UserMembershipsInspectParams
NewUserMembershipsInspectParamsWithContext creates a new UserMembershipsInspectParams object with the ability to set a context for a request.
func NewUserMembershipsInspectParamsWithHTTPClient ¶
func NewUserMembershipsInspectParamsWithHTTPClient(client *http.Client) *UserMembershipsInspectParams
NewUserMembershipsInspectParamsWithHTTPClient creates a new UserMembershipsInspectParams object with the ability to set a custom HTTPClient for a request.
func NewUserMembershipsInspectParamsWithTimeout ¶
func NewUserMembershipsInspectParamsWithTimeout(timeout time.Duration) *UserMembershipsInspectParams
NewUserMembershipsInspectParamsWithTimeout creates a new UserMembershipsInspectParams object with the ability to set a timeout on a request.
func (*UserMembershipsInspectParams) SetContext ¶
func (o *UserMembershipsInspectParams) SetContext(ctx context.Context)
SetContext adds the context to the user memberships inspect params
func (*UserMembershipsInspectParams) SetDefaults ¶
func (o *UserMembershipsInspectParams) SetDefaults()
SetDefaults hydrates default values in the user memberships inspect params (not the query body).
All values with no default are reset to their zero value.
func (*UserMembershipsInspectParams) SetHTTPClient ¶
func (o *UserMembershipsInspectParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the user memberships inspect params
func (*UserMembershipsInspectParams) SetID ¶
func (o *UserMembershipsInspectParams) SetID(id int64)
SetID adds the id to the user memberships inspect params
func (*UserMembershipsInspectParams) SetTimeout ¶
func (o *UserMembershipsInspectParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the user memberships inspect params
func (*UserMembershipsInspectParams) WithContext ¶
func (o *UserMembershipsInspectParams) WithContext(ctx context.Context) *UserMembershipsInspectParams
WithContext adds the context to the user memberships inspect params
func (*UserMembershipsInspectParams) WithDefaults ¶
func (o *UserMembershipsInspectParams) WithDefaults() *UserMembershipsInspectParams
WithDefaults hydrates default values in the user memberships inspect params (not the query body).
All values with no default are reset to their zero value.
func (*UserMembershipsInspectParams) WithHTTPClient ¶
func (o *UserMembershipsInspectParams) WithHTTPClient(client *http.Client) *UserMembershipsInspectParams
WithHTTPClient adds the HTTPClient to the user memberships inspect params
func (*UserMembershipsInspectParams) WithID ¶
func (o *UserMembershipsInspectParams) WithID(id int64) *UserMembershipsInspectParams
WithID adds the id to the user memberships inspect params
func (*UserMembershipsInspectParams) WithTimeout ¶
func (o *UserMembershipsInspectParams) WithTimeout(timeout time.Duration) *UserMembershipsInspectParams
WithTimeout adds the timeout to the user memberships inspect params
func (*UserMembershipsInspectParams) WriteToRequest ¶
func (o *UserMembershipsInspectParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type UserMembershipsInspectReader ¶
type UserMembershipsInspectReader struct {
// contains filtered or unexported fields
}
UserMembershipsInspectReader is a Reader for the UserMembershipsInspect structure.
func (*UserMembershipsInspectReader) ReadResponse ¶
func (o *UserMembershipsInspectReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type UserNamespacesBadRequest ¶
type UserNamespacesBadRequest struct {
}
UserNamespacesBadRequest describes a response with status code 400, with default header values.
Invalid request
func NewUserNamespacesBadRequest ¶
func NewUserNamespacesBadRequest() *UserNamespacesBadRequest
NewUserNamespacesBadRequest creates a UserNamespacesBadRequest with default headers values
func (*UserNamespacesBadRequest) Code ¶
func (o *UserNamespacesBadRequest) Code() int
Code gets the status code for the user namespaces bad request response
func (*UserNamespacesBadRequest) Error ¶
func (o *UserNamespacesBadRequest) Error() string
func (*UserNamespacesBadRequest) IsClientError ¶
func (o *UserNamespacesBadRequest) IsClientError() bool
IsClientError returns true when this user namespaces bad request response has a 4xx status code
func (*UserNamespacesBadRequest) IsCode ¶
func (o *UserNamespacesBadRequest) IsCode(code int) bool
IsCode returns true when this user namespaces bad request response a status code equal to that given
func (*UserNamespacesBadRequest) IsRedirect ¶
func (o *UserNamespacesBadRequest) IsRedirect() bool
IsRedirect returns true when this user namespaces bad request response has a 3xx status code
func (*UserNamespacesBadRequest) IsServerError ¶
func (o *UserNamespacesBadRequest) IsServerError() bool
IsServerError returns true when this user namespaces bad request response has a 5xx status code
func (*UserNamespacesBadRequest) IsSuccess ¶
func (o *UserNamespacesBadRequest) IsSuccess() bool
IsSuccess returns true when this user namespaces bad request response has a 2xx status code
func (*UserNamespacesBadRequest) String ¶
func (o *UserNamespacesBadRequest) String() string
type UserNamespacesForbidden ¶
type UserNamespacesForbidden struct {
}
UserNamespacesForbidden describes a response with status code 403, with default header values.
Permission denied
func NewUserNamespacesForbidden ¶
func NewUserNamespacesForbidden() *UserNamespacesForbidden
NewUserNamespacesForbidden creates a UserNamespacesForbidden with default headers values
func (*UserNamespacesForbidden) Code ¶
func (o *UserNamespacesForbidden) Code() int
Code gets the status code for the user namespaces forbidden response
func (*UserNamespacesForbidden) Error ¶
func (o *UserNamespacesForbidden) Error() string
func (*UserNamespacesForbidden) IsClientError ¶
func (o *UserNamespacesForbidden) IsClientError() bool
IsClientError returns true when this user namespaces forbidden response has a 4xx status code
func (*UserNamespacesForbidden) IsCode ¶
func (o *UserNamespacesForbidden) IsCode(code int) bool
IsCode returns true when this user namespaces forbidden response a status code equal to that given
func (*UserNamespacesForbidden) IsRedirect ¶
func (o *UserNamespacesForbidden) IsRedirect() bool
IsRedirect returns true when this user namespaces forbidden response has a 3xx status code
func (*UserNamespacesForbidden) IsServerError ¶
func (o *UserNamespacesForbidden) IsServerError() bool
IsServerError returns true when this user namespaces forbidden response has a 5xx status code
func (*UserNamespacesForbidden) IsSuccess ¶
func (o *UserNamespacesForbidden) IsSuccess() bool
IsSuccess returns true when this user namespaces forbidden response has a 2xx status code
func (*UserNamespacesForbidden) String ¶
func (o *UserNamespacesForbidden) String() string
type UserNamespacesInternalServerError ¶
type UserNamespacesInternalServerError struct {
}
UserNamespacesInternalServerError describes a response with status code 500, with default header values.
Server error
func NewUserNamespacesInternalServerError ¶
func NewUserNamespacesInternalServerError() *UserNamespacesInternalServerError
NewUserNamespacesInternalServerError creates a UserNamespacesInternalServerError with default headers values
func (*UserNamespacesInternalServerError) Code ¶
func (o *UserNamespacesInternalServerError) Code() int
Code gets the status code for the user namespaces internal server error response
func (*UserNamespacesInternalServerError) Error ¶
func (o *UserNamespacesInternalServerError) Error() string
func (*UserNamespacesInternalServerError) IsClientError ¶
func (o *UserNamespacesInternalServerError) IsClientError() bool
IsClientError returns true when this user namespaces internal server error response has a 4xx status code
func (*UserNamespacesInternalServerError) IsCode ¶
func (o *UserNamespacesInternalServerError) IsCode(code int) bool
IsCode returns true when this user namespaces internal server error response a status code equal to that given
func (*UserNamespacesInternalServerError) IsRedirect ¶
func (o *UserNamespacesInternalServerError) IsRedirect() bool
IsRedirect returns true when this user namespaces internal server error response has a 3xx status code
func (*UserNamespacesInternalServerError) IsServerError ¶
func (o *UserNamespacesInternalServerError) IsServerError() bool
IsServerError returns true when this user namespaces internal server error response has a 5xx status code
func (*UserNamespacesInternalServerError) IsSuccess ¶
func (o *UserNamespacesInternalServerError) IsSuccess() bool
IsSuccess returns true when this user namespaces internal server error response has a 2xx status code
func (*UserNamespacesInternalServerError) String ¶
func (o *UserNamespacesInternalServerError) String() string
type UserNamespacesNotFound ¶
type UserNamespacesNotFound struct {
}
UserNamespacesNotFound describes a response with status code 404, with default header values.
User not found
func NewUserNamespacesNotFound ¶
func NewUserNamespacesNotFound() *UserNamespacesNotFound
NewUserNamespacesNotFound creates a UserNamespacesNotFound with default headers values
func (*UserNamespacesNotFound) Code ¶
func (o *UserNamespacesNotFound) Code() int
Code gets the status code for the user namespaces not found response
func (*UserNamespacesNotFound) Error ¶
func (o *UserNamespacesNotFound) Error() string
func (*UserNamespacesNotFound) IsClientError ¶
func (o *UserNamespacesNotFound) IsClientError() bool
IsClientError returns true when this user namespaces not found response has a 4xx status code
func (*UserNamespacesNotFound) IsCode ¶
func (o *UserNamespacesNotFound) IsCode(code int) bool
IsCode returns true when this user namespaces not found response a status code equal to that given
func (*UserNamespacesNotFound) IsRedirect ¶
func (o *UserNamespacesNotFound) IsRedirect() bool
IsRedirect returns true when this user namespaces not found response has a 3xx status code
func (*UserNamespacesNotFound) IsServerError ¶
func (o *UserNamespacesNotFound) IsServerError() bool
IsServerError returns true when this user namespaces not found response has a 5xx status code
func (*UserNamespacesNotFound) IsSuccess ¶
func (o *UserNamespacesNotFound) IsSuccess() bool
IsSuccess returns true when this user namespaces not found response has a 2xx status code
func (*UserNamespacesNotFound) String ¶
func (o *UserNamespacesNotFound) String() string
type UserNamespacesOK ¶
type UserNamespacesOK struct {
Payload models.UsersNamespaceMapping
}
UserNamespacesOK describes a response with status code 200, with default header values.
Success
func NewUserNamespacesOK ¶
func NewUserNamespacesOK() *UserNamespacesOK
NewUserNamespacesOK creates a UserNamespacesOK with default headers values
func (*UserNamespacesOK) Code ¶
func (o *UserNamespacesOK) Code() int
Code gets the status code for the user namespaces o k response
func (*UserNamespacesOK) Error ¶
func (o *UserNamespacesOK) Error() string
func (*UserNamespacesOK) GetPayload ¶
func (o *UserNamespacesOK) GetPayload() models.UsersNamespaceMapping
func (*UserNamespacesOK) IsClientError ¶
func (o *UserNamespacesOK) IsClientError() bool
IsClientError returns true when this user namespaces o k response has a 4xx status code
func (*UserNamespacesOK) IsCode ¶
func (o *UserNamespacesOK) IsCode(code int) bool
IsCode returns true when this user namespaces o k response a status code equal to that given
func (*UserNamespacesOK) IsRedirect ¶
func (o *UserNamespacesOK) IsRedirect() bool
IsRedirect returns true when this user namespaces o k response has a 3xx status code
func (*UserNamespacesOK) IsServerError ¶
func (o *UserNamespacesOK) IsServerError() bool
IsServerError returns true when this user namespaces o k response has a 5xx status code
func (*UserNamespacesOK) IsSuccess ¶
func (o *UserNamespacesOK) IsSuccess() bool
IsSuccess returns true when this user namespaces o k response has a 2xx status code
func (*UserNamespacesOK) String ¶
func (o *UserNamespacesOK) String() string
type UserNamespacesParams ¶
type UserNamespacesParams struct {
/* ID.
User identifier
*/
ID int64
Context context.Context
HTTPClient *http.Client
// contains filtered or unexported fields
}
UserNamespacesParams contains all the parameters to send to the API endpoint
for the user namespaces operation. Typically these are written to a http.Request.
func NewUserNamespacesParams ¶
func NewUserNamespacesParams() *UserNamespacesParams
NewUserNamespacesParams creates a new UserNamespacesParams 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 NewUserNamespacesParamsWithContext ¶
func NewUserNamespacesParamsWithContext(ctx context.Context) *UserNamespacesParams
NewUserNamespacesParamsWithContext creates a new UserNamespacesParams object with the ability to set a context for a request.
func NewUserNamespacesParamsWithHTTPClient ¶
func NewUserNamespacesParamsWithHTTPClient(client *http.Client) *UserNamespacesParams
NewUserNamespacesParamsWithHTTPClient creates a new UserNamespacesParams object with the ability to set a custom HTTPClient for a request.
func NewUserNamespacesParamsWithTimeout ¶
func NewUserNamespacesParamsWithTimeout(timeout time.Duration) *UserNamespacesParams
NewUserNamespacesParamsWithTimeout creates a new UserNamespacesParams object with the ability to set a timeout on a request.
func (*UserNamespacesParams) SetContext ¶
func (o *UserNamespacesParams) SetContext(ctx context.Context)
SetContext adds the context to the user namespaces params
func (*UserNamespacesParams) SetDefaults ¶
func (o *UserNamespacesParams) SetDefaults()
SetDefaults hydrates default values in the user namespaces params (not the query body).
All values with no default are reset to their zero value.
func (*UserNamespacesParams) SetHTTPClient ¶
func (o *UserNamespacesParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the user namespaces params
func (*UserNamespacesParams) SetID ¶
func (o *UserNamespacesParams) SetID(id int64)
SetID adds the id to the user namespaces params
func (*UserNamespacesParams) SetTimeout ¶
func (o *UserNamespacesParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the user namespaces params
func (*UserNamespacesParams) WithContext ¶
func (o *UserNamespacesParams) WithContext(ctx context.Context) *UserNamespacesParams
WithContext adds the context to the user namespaces params
func (*UserNamespacesParams) WithDefaults ¶
func (o *UserNamespacesParams) WithDefaults() *UserNamespacesParams
WithDefaults hydrates default values in the user namespaces params (not the query body).
All values with no default are reset to their zero value.
func (*UserNamespacesParams) WithHTTPClient ¶
func (o *UserNamespacesParams) WithHTTPClient(client *http.Client) *UserNamespacesParams
WithHTTPClient adds the HTTPClient to the user namespaces params
func (*UserNamespacesParams) WithID ¶
func (o *UserNamespacesParams) WithID(id int64) *UserNamespacesParams
WithID adds the id to the user namespaces params
func (*UserNamespacesParams) WithTimeout ¶
func (o *UserNamespacesParams) WithTimeout(timeout time.Duration) *UserNamespacesParams
WithTimeout adds the timeout to the user namespaces params
func (*UserNamespacesParams) WriteToRequest ¶
func (o *UserNamespacesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type UserNamespacesReader ¶
type UserNamespacesReader struct {
// contains filtered or unexported fields
}
UserNamespacesReader is a Reader for the UserNamespaces structure.
func (*UserNamespacesReader) ReadResponse ¶
func (o *UserNamespacesReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type UserRemoveAPIKeyBadRequest ¶
type UserRemoveAPIKeyBadRequest struct {
}
UserRemoveAPIKeyBadRequest describes a response with status code 400, with default header values.
Invalid request
func NewUserRemoveAPIKeyBadRequest ¶
func NewUserRemoveAPIKeyBadRequest() *UserRemoveAPIKeyBadRequest
NewUserRemoveAPIKeyBadRequest creates a UserRemoveAPIKeyBadRequest with default headers values
func (*UserRemoveAPIKeyBadRequest) Code ¶
func (o *UserRemoveAPIKeyBadRequest) Code() int
Code gets the status code for the user remove Api key bad request response
func (*UserRemoveAPIKeyBadRequest) Error ¶
func (o *UserRemoveAPIKeyBadRequest) Error() string
func (*UserRemoveAPIKeyBadRequest) IsClientError ¶
func (o *UserRemoveAPIKeyBadRequest) IsClientError() bool
IsClientError returns true when this user remove Api key bad request response has a 4xx status code
func (*UserRemoveAPIKeyBadRequest) IsCode ¶
func (o *UserRemoveAPIKeyBadRequest) IsCode(code int) bool
IsCode returns true when this user remove Api key bad request response a status code equal to that given
func (*UserRemoveAPIKeyBadRequest) IsRedirect ¶
func (o *UserRemoveAPIKeyBadRequest) IsRedirect() bool
IsRedirect returns true when this user remove Api key bad request response has a 3xx status code
func (*UserRemoveAPIKeyBadRequest) IsServerError ¶
func (o *UserRemoveAPIKeyBadRequest) IsServerError() bool
IsServerError returns true when this user remove Api key bad request response has a 5xx status code
func (*UserRemoveAPIKeyBadRequest) IsSuccess ¶
func (o *UserRemoveAPIKeyBadRequest) IsSuccess() bool
IsSuccess returns true when this user remove Api key bad request response has a 2xx status code
func (*UserRemoveAPIKeyBadRequest) String ¶
func (o *UserRemoveAPIKeyBadRequest) String() string
type UserRemoveAPIKeyForbidden ¶
type UserRemoveAPIKeyForbidden struct {
}
UserRemoveAPIKeyForbidden describes a response with status code 403, with default header values.
Permission denied
func NewUserRemoveAPIKeyForbidden ¶
func NewUserRemoveAPIKeyForbidden() *UserRemoveAPIKeyForbidden
NewUserRemoveAPIKeyForbidden creates a UserRemoveAPIKeyForbidden with default headers values
func (*UserRemoveAPIKeyForbidden) Code ¶
func (o *UserRemoveAPIKeyForbidden) Code() int
Code gets the status code for the user remove Api key forbidden response
func (*UserRemoveAPIKeyForbidden) Error ¶
func (o *UserRemoveAPIKeyForbidden) Error() string
func (*UserRemoveAPIKeyForbidden) IsClientError ¶
func (o *UserRemoveAPIKeyForbidden) IsClientError() bool
IsClientError returns true when this user remove Api key forbidden response has a 4xx status code
func (*UserRemoveAPIKeyForbidden) IsCode ¶
func (o *UserRemoveAPIKeyForbidden) IsCode(code int) bool
IsCode returns true when this user remove Api key forbidden response a status code equal to that given
func (*UserRemoveAPIKeyForbidden) IsRedirect ¶
func (o *UserRemoveAPIKeyForbidden) IsRedirect() bool
IsRedirect returns true when this user remove Api key forbidden response has a 3xx status code
func (*UserRemoveAPIKeyForbidden) IsServerError ¶
func (o *UserRemoveAPIKeyForbidden) IsServerError() bool
IsServerError returns true when this user remove Api key forbidden response has a 5xx status code
func (*UserRemoveAPIKeyForbidden) IsSuccess ¶
func (o *UserRemoveAPIKeyForbidden) IsSuccess() bool
IsSuccess returns true when this user remove Api key forbidden response has a 2xx status code
func (*UserRemoveAPIKeyForbidden) String ¶
func (o *UserRemoveAPIKeyForbidden) String() string
type UserRemoveAPIKeyInternalServerError ¶
type UserRemoveAPIKeyInternalServerError struct {
}
UserRemoveAPIKeyInternalServerError describes a response with status code 500, with default header values.
Server error
func NewUserRemoveAPIKeyInternalServerError ¶
func NewUserRemoveAPIKeyInternalServerError() *UserRemoveAPIKeyInternalServerError
NewUserRemoveAPIKeyInternalServerError creates a UserRemoveAPIKeyInternalServerError with default headers values
func (*UserRemoveAPIKeyInternalServerError) Code ¶
func (o *UserRemoveAPIKeyInternalServerError) Code() int
Code gets the status code for the user remove Api key internal server error response
func (*UserRemoveAPIKeyInternalServerError) Error ¶
func (o *UserRemoveAPIKeyInternalServerError) Error() string
func (*UserRemoveAPIKeyInternalServerError) IsClientError ¶
func (o *UserRemoveAPIKeyInternalServerError) IsClientError() bool
IsClientError returns true when this user remove Api key internal server error response has a 4xx status code
func (*UserRemoveAPIKeyInternalServerError) IsCode ¶
func (o *UserRemoveAPIKeyInternalServerError) IsCode(code int) bool
IsCode returns true when this user remove Api key internal server error response a status code equal to that given
func (*UserRemoveAPIKeyInternalServerError) IsRedirect ¶
func (o *UserRemoveAPIKeyInternalServerError) IsRedirect() bool
IsRedirect returns true when this user remove Api key internal server error response has a 3xx status code
func (*UserRemoveAPIKeyInternalServerError) IsServerError ¶
func (o *UserRemoveAPIKeyInternalServerError) IsServerError() bool
IsServerError returns true when this user remove Api key internal server error response has a 5xx status code
func (*UserRemoveAPIKeyInternalServerError) IsSuccess ¶
func (o *UserRemoveAPIKeyInternalServerError) IsSuccess() bool
IsSuccess returns true when this user remove Api key internal server error response has a 2xx status code
func (*UserRemoveAPIKeyInternalServerError) String ¶
func (o *UserRemoveAPIKeyInternalServerError) String() string
type UserRemoveAPIKeyNoContent ¶
type UserRemoveAPIKeyNoContent struct {
}
UserRemoveAPIKeyNoContent describes a response with status code 204, with default header values.
Success
func NewUserRemoveAPIKeyNoContent ¶
func NewUserRemoveAPIKeyNoContent() *UserRemoveAPIKeyNoContent
NewUserRemoveAPIKeyNoContent creates a UserRemoveAPIKeyNoContent with default headers values
func (*UserRemoveAPIKeyNoContent) Code ¶
func (o *UserRemoveAPIKeyNoContent) Code() int
Code gets the status code for the user remove Api key no content response
func (*UserRemoveAPIKeyNoContent) Error ¶
func (o *UserRemoveAPIKeyNoContent) Error() string
func (*UserRemoveAPIKeyNoContent) IsClientError ¶
func (o *UserRemoveAPIKeyNoContent) IsClientError() bool
IsClientError returns true when this user remove Api key no content response has a 4xx status code
func (*UserRemoveAPIKeyNoContent) IsCode ¶
func (o *UserRemoveAPIKeyNoContent) IsCode(code int) bool
IsCode returns true when this user remove Api key no content response a status code equal to that given
func (*UserRemoveAPIKeyNoContent) IsRedirect ¶
func (o *UserRemoveAPIKeyNoContent) IsRedirect() bool
IsRedirect returns true when this user remove Api key no content response has a 3xx status code
func (*UserRemoveAPIKeyNoContent) IsServerError ¶
func (o *UserRemoveAPIKeyNoContent) IsServerError() bool
IsServerError returns true when this user remove Api key no content response has a 5xx status code
func (*UserRemoveAPIKeyNoContent) IsSuccess ¶
func (o *UserRemoveAPIKeyNoContent) IsSuccess() bool
IsSuccess returns true when this user remove Api key no content response has a 2xx status code
func (*UserRemoveAPIKeyNoContent) String ¶
func (o *UserRemoveAPIKeyNoContent) String() string
type UserRemoveAPIKeyNotFound ¶
type UserRemoveAPIKeyNotFound struct {
}
UserRemoveAPIKeyNotFound describes a response with status code 404, with default header values.
Not found
func NewUserRemoveAPIKeyNotFound ¶
func NewUserRemoveAPIKeyNotFound() *UserRemoveAPIKeyNotFound
NewUserRemoveAPIKeyNotFound creates a UserRemoveAPIKeyNotFound with default headers values
func (*UserRemoveAPIKeyNotFound) Code ¶
func (o *UserRemoveAPIKeyNotFound) Code() int
Code gets the status code for the user remove Api key not found response
func (*UserRemoveAPIKeyNotFound) Error ¶
func (o *UserRemoveAPIKeyNotFound) Error() string
func (*UserRemoveAPIKeyNotFound) IsClientError ¶
func (o *UserRemoveAPIKeyNotFound) IsClientError() bool
IsClientError returns true when this user remove Api key not found response has a 4xx status code
func (*UserRemoveAPIKeyNotFound) IsCode ¶
func (o *UserRemoveAPIKeyNotFound) IsCode(code int) bool
IsCode returns true when this user remove Api key not found response a status code equal to that given
func (*UserRemoveAPIKeyNotFound) IsRedirect ¶
func (o *UserRemoveAPIKeyNotFound) IsRedirect() bool
IsRedirect returns true when this user remove Api key not found response has a 3xx status code
func (*UserRemoveAPIKeyNotFound) IsServerError ¶
func (o *UserRemoveAPIKeyNotFound) IsServerError() bool
IsServerError returns true when this user remove Api key not found response has a 5xx status code
func (*UserRemoveAPIKeyNotFound) IsSuccess ¶
func (o *UserRemoveAPIKeyNotFound) IsSuccess() bool
IsSuccess returns true when this user remove Api key not found response has a 2xx status code
func (*UserRemoveAPIKeyNotFound) String ¶
func (o *UserRemoveAPIKeyNotFound) String() string
type UserRemoveAPIKeyParams ¶
type UserRemoveAPIKeyParams struct {
/* ID.
User identifier
*/
ID int64
/* KeyID.
Api Key identifier
*/
KeyID int64
Context context.Context
HTTPClient *http.Client
// contains filtered or unexported fields
}
UserRemoveAPIKeyParams contains all the parameters to send to the API endpoint
for the user remove API key operation. Typically these are written to a http.Request.
func NewUserRemoveAPIKeyParams ¶
func NewUserRemoveAPIKeyParams() *UserRemoveAPIKeyParams
NewUserRemoveAPIKeyParams creates a new UserRemoveAPIKeyParams 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 NewUserRemoveAPIKeyParamsWithContext ¶
func NewUserRemoveAPIKeyParamsWithContext(ctx context.Context) *UserRemoveAPIKeyParams
NewUserRemoveAPIKeyParamsWithContext creates a new UserRemoveAPIKeyParams object with the ability to set a context for a request.
func NewUserRemoveAPIKeyParamsWithHTTPClient ¶
func NewUserRemoveAPIKeyParamsWithHTTPClient(client *http.Client) *UserRemoveAPIKeyParams
NewUserRemoveAPIKeyParamsWithHTTPClient creates a new UserRemoveAPIKeyParams object with the ability to set a custom HTTPClient for a request.
func NewUserRemoveAPIKeyParamsWithTimeout ¶
func NewUserRemoveAPIKeyParamsWithTimeout(timeout time.Duration) *UserRemoveAPIKeyParams
NewUserRemoveAPIKeyParamsWithTimeout creates a new UserRemoveAPIKeyParams object with the ability to set a timeout on a request.
func (*UserRemoveAPIKeyParams) SetContext ¶
func (o *UserRemoveAPIKeyParams) SetContext(ctx context.Context)
SetContext adds the context to the user remove API key params
func (*UserRemoveAPIKeyParams) SetDefaults ¶
func (o *UserRemoveAPIKeyParams) SetDefaults()
SetDefaults hydrates default values in the user remove API key params (not the query body).
All values with no default are reset to their zero value.
func (*UserRemoveAPIKeyParams) SetHTTPClient ¶
func (o *UserRemoveAPIKeyParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the user remove API key params
func (*UserRemoveAPIKeyParams) SetID ¶
func (o *UserRemoveAPIKeyParams) SetID(id int64)
SetID adds the id to the user remove API key params
func (*UserRemoveAPIKeyParams) SetKeyID ¶
func (o *UserRemoveAPIKeyParams) SetKeyID(keyID int64)
SetKeyID adds the keyId to the user remove API key params
func (*UserRemoveAPIKeyParams) SetTimeout ¶
func (o *UserRemoveAPIKeyParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the user remove API key params
func (*UserRemoveAPIKeyParams) WithContext ¶
func (o *UserRemoveAPIKeyParams) WithContext(ctx context.Context) *UserRemoveAPIKeyParams
WithContext adds the context to the user remove API key params
func (*UserRemoveAPIKeyParams) WithDefaults ¶
func (o *UserRemoveAPIKeyParams) WithDefaults() *UserRemoveAPIKeyParams
WithDefaults hydrates default values in the user remove API key params (not the query body).
All values with no default are reset to their zero value.
func (*UserRemoveAPIKeyParams) WithHTTPClient ¶
func (o *UserRemoveAPIKeyParams) WithHTTPClient(client *http.Client) *UserRemoveAPIKeyParams
WithHTTPClient adds the HTTPClient to the user remove API key params
func (*UserRemoveAPIKeyParams) WithID ¶
func (o *UserRemoveAPIKeyParams) WithID(id int64) *UserRemoveAPIKeyParams
WithID adds the id to the user remove API key params
func (*UserRemoveAPIKeyParams) WithKeyID ¶
func (o *UserRemoveAPIKeyParams) WithKeyID(keyID int64) *UserRemoveAPIKeyParams
WithKeyID adds the keyID to the user remove API key params
func (*UserRemoveAPIKeyParams) WithTimeout ¶
func (o *UserRemoveAPIKeyParams) WithTimeout(timeout time.Duration) *UserRemoveAPIKeyParams
WithTimeout adds the timeout to the user remove API key params
func (*UserRemoveAPIKeyParams) WriteToRequest ¶
func (o *UserRemoveAPIKeyParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type UserRemoveAPIKeyReader ¶
type UserRemoveAPIKeyReader struct {
// contains filtered or unexported fields
}
UserRemoveAPIKeyReader is a Reader for the UserRemoveAPIKey structure.
func (*UserRemoveAPIKeyReader) ReadResponse ¶
func (o *UserRemoveAPIKeyReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type UserRemoveGitCredentialBadRequest ¶
type UserRemoveGitCredentialBadRequest struct {
}
UserRemoveGitCredentialBadRequest describes a response with status code 400, with default header values.
Invalid request
func NewUserRemoveGitCredentialBadRequest ¶
func NewUserRemoveGitCredentialBadRequest() *UserRemoveGitCredentialBadRequest
NewUserRemoveGitCredentialBadRequest creates a UserRemoveGitCredentialBadRequest with default headers values
func (*UserRemoveGitCredentialBadRequest) Code ¶
func (o *UserRemoveGitCredentialBadRequest) Code() int
Code gets the status code for the user remove git credential bad request response
func (*UserRemoveGitCredentialBadRequest) Error ¶
func (o *UserRemoveGitCredentialBadRequest) Error() string
func (*UserRemoveGitCredentialBadRequest) IsClientError ¶
func (o *UserRemoveGitCredentialBadRequest) IsClientError() bool
IsClientError returns true when this user remove git credential bad request response has a 4xx status code
func (*UserRemoveGitCredentialBadRequest) IsCode ¶
func (o *UserRemoveGitCredentialBadRequest) IsCode(code int) bool
IsCode returns true when this user remove git credential bad request response a status code equal to that given
func (*UserRemoveGitCredentialBadRequest) IsRedirect ¶
func (o *UserRemoveGitCredentialBadRequest) IsRedirect() bool
IsRedirect returns true when this user remove git credential bad request response has a 3xx status code
func (*UserRemoveGitCredentialBadRequest) IsServerError ¶
func (o *UserRemoveGitCredentialBadRequest) IsServerError() bool
IsServerError returns true when this user remove git credential bad request response has a 5xx status code
func (*UserRemoveGitCredentialBadRequest) IsSuccess ¶
func (o *UserRemoveGitCredentialBadRequest) IsSuccess() bool
IsSuccess returns true when this user remove git credential bad request response has a 2xx status code
func (*UserRemoveGitCredentialBadRequest) String ¶
func (o *UserRemoveGitCredentialBadRequest) String() string
type UserRemoveGitCredentialForbidden ¶
type UserRemoveGitCredentialForbidden struct {
}
UserRemoveGitCredentialForbidden describes a response with status code 403, with default header values.
Permission denied
func NewUserRemoveGitCredentialForbidden ¶
func NewUserRemoveGitCredentialForbidden() *UserRemoveGitCredentialForbidden
NewUserRemoveGitCredentialForbidden creates a UserRemoveGitCredentialForbidden with default headers values
func (*UserRemoveGitCredentialForbidden) Code ¶
func (o *UserRemoveGitCredentialForbidden) Code() int
Code gets the status code for the user remove git credential forbidden response
func (*UserRemoveGitCredentialForbidden) Error ¶
func (o *UserRemoveGitCredentialForbidden) Error() string
func (*UserRemoveGitCredentialForbidden) IsClientError ¶
func (o *UserRemoveGitCredentialForbidden) IsClientError() bool
IsClientError returns true when this user remove git credential forbidden response has a 4xx status code
func (*UserRemoveGitCredentialForbidden) IsCode ¶
func (o *UserRemoveGitCredentialForbidden) IsCode(code int) bool
IsCode returns true when this user remove git credential forbidden response a status code equal to that given
func (*UserRemoveGitCredentialForbidden) IsRedirect ¶
func (o *UserRemoveGitCredentialForbidden) IsRedirect() bool
IsRedirect returns true when this user remove git credential forbidden response has a 3xx status code
func (*UserRemoveGitCredentialForbidden) IsServerError ¶
func (o *UserRemoveGitCredentialForbidden) IsServerError() bool
IsServerError returns true when this user remove git credential forbidden response has a 5xx status code
func (*UserRemoveGitCredentialForbidden) IsSuccess ¶
func (o *UserRemoveGitCredentialForbidden) IsSuccess() bool
IsSuccess returns true when this user remove git credential forbidden response has a 2xx status code
func (*UserRemoveGitCredentialForbidden) String ¶
func (o *UserRemoveGitCredentialForbidden) String() string
type UserRemoveGitCredentialInternalServerError ¶
type UserRemoveGitCredentialInternalServerError struct {
}
UserRemoveGitCredentialInternalServerError describes a response with status code 500, with default header values.
Server error
func NewUserRemoveGitCredentialInternalServerError ¶
func NewUserRemoveGitCredentialInternalServerError() *UserRemoveGitCredentialInternalServerError
NewUserRemoveGitCredentialInternalServerError creates a UserRemoveGitCredentialInternalServerError with default headers values
func (*UserRemoveGitCredentialInternalServerError) Code ¶
func (o *UserRemoveGitCredentialInternalServerError) Code() int
Code gets the status code for the user remove git credential internal server error response
func (*UserRemoveGitCredentialInternalServerError) Error ¶
func (o *UserRemoveGitCredentialInternalServerError) Error() string
func (*UserRemoveGitCredentialInternalServerError) IsClientError ¶
func (o *UserRemoveGitCredentialInternalServerError) IsClientError() bool
IsClientError returns true when this user remove git credential internal server error response has a 4xx status code
func (*UserRemoveGitCredentialInternalServerError) IsCode ¶
func (o *UserRemoveGitCredentialInternalServerError) IsCode(code int) bool
IsCode returns true when this user remove git credential internal server error response a status code equal to that given
func (*UserRemoveGitCredentialInternalServerError) IsRedirect ¶
func (o *UserRemoveGitCredentialInternalServerError) IsRedirect() bool
IsRedirect returns true when this user remove git credential internal server error response has a 3xx status code
func (*UserRemoveGitCredentialInternalServerError) IsServerError ¶
func (o *UserRemoveGitCredentialInternalServerError) IsServerError() bool
IsServerError returns true when this user remove git credential internal server error response has a 5xx status code
func (*UserRemoveGitCredentialInternalServerError) IsSuccess ¶
func (o *UserRemoveGitCredentialInternalServerError) IsSuccess() bool
IsSuccess returns true when this user remove git credential internal server error response has a 2xx status code
func (*UserRemoveGitCredentialInternalServerError) String ¶
func (o *UserRemoveGitCredentialInternalServerError) String() string
type UserRemoveGitCredentialNoContent ¶
type UserRemoveGitCredentialNoContent struct {
}
UserRemoveGitCredentialNoContent describes a response with status code 204, with default header values.
Success
func NewUserRemoveGitCredentialNoContent ¶
func NewUserRemoveGitCredentialNoContent() *UserRemoveGitCredentialNoContent
NewUserRemoveGitCredentialNoContent creates a UserRemoveGitCredentialNoContent with default headers values
func (*UserRemoveGitCredentialNoContent) Code ¶
func (o *UserRemoveGitCredentialNoContent) Code() int
Code gets the status code for the user remove git credential no content response
func (*UserRemoveGitCredentialNoContent) Error ¶
func (o *UserRemoveGitCredentialNoContent) Error() string
func (*UserRemoveGitCredentialNoContent) IsClientError ¶
func (o *UserRemoveGitCredentialNoContent) IsClientError() bool
IsClientError returns true when this user remove git credential no content response has a 4xx status code
func (*UserRemoveGitCredentialNoContent) IsCode ¶
func (o *UserRemoveGitCredentialNoContent) IsCode(code int) bool
IsCode returns true when this user remove git credential no content response a status code equal to that given
func (*UserRemoveGitCredentialNoContent) IsRedirect ¶
func (o *UserRemoveGitCredentialNoContent) IsRedirect() bool
IsRedirect returns true when this user remove git credential no content response has a 3xx status code
func (*UserRemoveGitCredentialNoContent) IsServerError ¶
func (o *UserRemoveGitCredentialNoContent) IsServerError() bool
IsServerError returns true when this user remove git credential no content response has a 5xx status code
func (*UserRemoveGitCredentialNoContent) IsSuccess ¶
func (o *UserRemoveGitCredentialNoContent) IsSuccess() bool
IsSuccess returns true when this user remove git credential no content response has a 2xx status code
func (*UserRemoveGitCredentialNoContent) String ¶
func (o *UserRemoveGitCredentialNoContent) String() string
type UserRemoveGitCredentialNotFound ¶
type UserRemoveGitCredentialNotFound struct {
}
UserRemoveGitCredentialNotFound describes a response with status code 404, with default header values.
Not found
func NewUserRemoveGitCredentialNotFound ¶
func NewUserRemoveGitCredentialNotFound() *UserRemoveGitCredentialNotFound
NewUserRemoveGitCredentialNotFound creates a UserRemoveGitCredentialNotFound with default headers values
func (*UserRemoveGitCredentialNotFound) Code ¶
func (o *UserRemoveGitCredentialNotFound) Code() int
Code gets the status code for the user remove git credential not found response
func (*UserRemoveGitCredentialNotFound) Error ¶
func (o *UserRemoveGitCredentialNotFound) Error() string
func (*UserRemoveGitCredentialNotFound) IsClientError ¶
func (o *UserRemoveGitCredentialNotFound) IsClientError() bool
IsClientError returns true when this user remove git credential not found response has a 4xx status code
func (*UserRemoveGitCredentialNotFound) IsCode ¶
func (o *UserRemoveGitCredentialNotFound) IsCode(code int) bool
IsCode returns true when this user remove git credential not found response a status code equal to that given
func (*UserRemoveGitCredentialNotFound) IsRedirect ¶
func (o *UserRemoveGitCredentialNotFound) IsRedirect() bool
IsRedirect returns true when this user remove git credential not found response has a 3xx status code
func (*UserRemoveGitCredentialNotFound) IsServerError ¶
func (o *UserRemoveGitCredentialNotFound) IsServerError() bool
IsServerError returns true when this user remove git credential not found response has a 5xx status code
func (*UserRemoveGitCredentialNotFound) IsSuccess ¶
func (o *UserRemoveGitCredentialNotFound) IsSuccess() bool
IsSuccess returns true when this user remove git credential not found response has a 2xx status code
func (*UserRemoveGitCredentialNotFound) String ¶
func (o *UserRemoveGitCredentialNotFound) String() string
type UserRemoveGitCredentialParams ¶
type UserRemoveGitCredentialParams struct {
/* CredentialID.
Git Credential identifier
*/
CredentialID int64
/* ID.
User identifier
*/
ID int64
Context context.Context
HTTPClient *http.Client
// contains filtered or unexported fields
}
UserRemoveGitCredentialParams contains all the parameters to send to the API endpoint
for the user remove git credential operation. Typically these are written to a http.Request.
func NewUserRemoveGitCredentialParams ¶
func NewUserRemoveGitCredentialParams() *UserRemoveGitCredentialParams
NewUserRemoveGitCredentialParams creates a new UserRemoveGitCredentialParams 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 NewUserRemoveGitCredentialParamsWithContext ¶
func NewUserRemoveGitCredentialParamsWithContext(ctx context.Context) *UserRemoveGitCredentialParams
NewUserRemoveGitCredentialParamsWithContext creates a new UserRemoveGitCredentialParams object with the ability to set a context for a request.
func NewUserRemoveGitCredentialParamsWithHTTPClient ¶
func NewUserRemoveGitCredentialParamsWithHTTPClient(client *http.Client) *UserRemoveGitCredentialParams
NewUserRemoveGitCredentialParamsWithHTTPClient creates a new UserRemoveGitCredentialParams object with the ability to set a custom HTTPClient for a request.
func NewUserRemoveGitCredentialParamsWithTimeout ¶
func NewUserRemoveGitCredentialParamsWithTimeout(timeout time.Duration) *UserRemoveGitCredentialParams
NewUserRemoveGitCredentialParamsWithTimeout creates a new UserRemoveGitCredentialParams object with the ability to set a timeout on a request.
func (*UserRemoveGitCredentialParams) SetContext ¶
func (o *UserRemoveGitCredentialParams) SetContext(ctx context.Context)
SetContext adds the context to the user remove git credential params
func (*UserRemoveGitCredentialParams) SetCredentialID ¶
func (o *UserRemoveGitCredentialParams) SetCredentialID(credentialID int64)
SetCredentialID adds the credentialId to the user remove git credential params
func (*UserRemoveGitCredentialParams) SetDefaults ¶
func (o *UserRemoveGitCredentialParams) SetDefaults()
SetDefaults hydrates default values in the user remove git credential params (not the query body).
All values with no default are reset to their zero value.
func (*UserRemoveGitCredentialParams) SetHTTPClient ¶
func (o *UserRemoveGitCredentialParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the user remove git credential params
func (*UserRemoveGitCredentialParams) SetID ¶
func (o *UserRemoveGitCredentialParams) SetID(id int64)
SetID adds the id to the user remove git credential params
func (*UserRemoveGitCredentialParams) SetTimeout ¶
func (o *UserRemoveGitCredentialParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the user remove git credential params
func (*UserRemoveGitCredentialParams) WithContext ¶
func (o *UserRemoveGitCredentialParams) WithContext(ctx context.Context) *UserRemoveGitCredentialParams
WithContext adds the context to the user remove git credential params
func (*UserRemoveGitCredentialParams) WithCredentialID ¶
func (o *UserRemoveGitCredentialParams) WithCredentialID(credentialID int64) *UserRemoveGitCredentialParams
WithCredentialID adds the credentialID to the user remove git credential params
func (*UserRemoveGitCredentialParams) WithDefaults ¶
func (o *UserRemoveGitCredentialParams) WithDefaults() *UserRemoveGitCredentialParams
WithDefaults hydrates default values in the user remove git credential params (not the query body).
All values with no default are reset to their zero value.
func (*UserRemoveGitCredentialParams) WithHTTPClient ¶
func (o *UserRemoveGitCredentialParams) WithHTTPClient(client *http.Client) *UserRemoveGitCredentialParams
WithHTTPClient adds the HTTPClient to the user remove git credential params
func (*UserRemoveGitCredentialParams) WithID ¶
func (o *UserRemoveGitCredentialParams) WithID(id int64) *UserRemoveGitCredentialParams
WithID adds the id to the user remove git credential params
func (*UserRemoveGitCredentialParams) WithTimeout ¶
func (o *UserRemoveGitCredentialParams) WithTimeout(timeout time.Duration) *UserRemoveGitCredentialParams
WithTimeout adds the timeout to the user remove git credential params
func (*UserRemoveGitCredentialParams) WriteToRequest ¶
func (o *UserRemoveGitCredentialParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type UserRemoveGitCredentialReader ¶
type UserRemoveGitCredentialReader struct {
// contains filtered or unexported fields
}
UserRemoveGitCredentialReader is a Reader for the UserRemoveGitCredential structure.
func (*UserRemoveGitCredentialReader) ReadResponse ¶
func (o *UserRemoveGitCredentialReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type UserUpdateBadRequest ¶
type UserUpdateBadRequest struct {
}
UserUpdateBadRequest describes a response with status code 400, with default header values.
Invalid request
func NewUserUpdateBadRequest ¶
func NewUserUpdateBadRequest() *UserUpdateBadRequest
NewUserUpdateBadRequest creates a UserUpdateBadRequest with default headers values
func (*UserUpdateBadRequest) Code ¶
func (o *UserUpdateBadRequest) Code() int
Code gets the status code for the user update bad request response
func (*UserUpdateBadRequest) Error ¶
func (o *UserUpdateBadRequest) Error() string
func (*UserUpdateBadRequest) IsClientError ¶
func (o *UserUpdateBadRequest) IsClientError() bool
IsClientError returns true when this user update bad request response has a 4xx status code
func (*UserUpdateBadRequest) IsCode ¶
func (o *UserUpdateBadRequest) IsCode(code int) bool
IsCode returns true when this user update bad request response a status code equal to that given
func (*UserUpdateBadRequest) IsRedirect ¶
func (o *UserUpdateBadRequest) IsRedirect() bool
IsRedirect returns true when this user update bad request response has a 3xx status code
func (*UserUpdateBadRequest) IsServerError ¶
func (o *UserUpdateBadRequest) IsServerError() bool
IsServerError returns true when this user update bad request response has a 5xx status code
func (*UserUpdateBadRequest) IsSuccess ¶
func (o *UserUpdateBadRequest) IsSuccess() bool
IsSuccess returns true when this user update bad request response has a 2xx status code
func (*UserUpdateBadRequest) String ¶
func (o *UserUpdateBadRequest) String() string
type UserUpdateConflict ¶
type UserUpdateConflict struct {
}
UserUpdateConflict describes a response with status code 409, with default header values.
Username already exist or Edge Compute features are not enabled
func NewUserUpdateConflict ¶
func NewUserUpdateConflict() *UserUpdateConflict
NewUserUpdateConflict creates a UserUpdateConflict with default headers values
func (*UserUpdateConflict) Code ¶
func (o *UserUpdateConflict) Code() int
Code gets the status code for the user update conflict response
func (*UserUpdateConflict) Error ¶
func (o *UserUpdateConflict) Error() string
func (*UserUpdateConflict) IsClientError ¶
func (o *UserUpdateConflict) IsClientError() bool
IsClientError returns true when this user update conflict response has a 4xx status code
func (*UserUpdateConflict) IsCode ¶
func (o *UserUpdateConflict) IsCode(code int) bool
IsCode returns true when this user update conflict response a status code equal to that given
func (*UserUpdateConflict) IsRedirect ¶
func (o *UserUpdateConflict) IsRedirect() bool
IsRedirect returns true when this user update conflict response has a 3xx status code
func (*UserUpdateConflict) IsServerError ¶
func (o *UserUpdateConflict) IsServerError() bool
IsServerError returns true when this user update conflict response has a 5xx status code
func (*UserUpdateConflict) IsSuccess ¶
func (o *UserUpdateConflict) IsSuccess() bool
IsSuccess returns true when this user update conflict response has a 2xx status code
func (*UserUpdateConflict) String ¶
func (o *UserUpdateConflict) String() string
type UserUpdateForbidden ¶
type UserUpdateForbidden struct {
}
UserUpdateForbidden describes a response with status code 403, with default header values.
Permission denied
func NewUserUpdateForbidden ¶
func NewUserUpdateForbidden() *UserUpdateForbidden
NewUserUpdateForbidden creates a UserUpdateForbidden with default headers values
func (*UserUpdateForbidden) Code ¶
func (o *UserUpdateForbidden) Code() int
Code gets the status code for the user update forbidden response
func (*UserUpdateForbidden) Error ¶
func (o *UserUpdateForbidden) Error() string
func (*UserUpdateForbidden) IsClientError ¶
func (o *UserUpdateForbidden) IsClientError() bool
IsClientError returns true when this user update forbidden response has a 4xx status code
func (*UserUpdateForbidden) IsCode ¶
func (o *UserUpdateForbidden) IsCode(code int) bool
IsCode returns true when this user update forbidden response a status code equal to that given
func (*UserUpdateForbidden) IsRedirect ¶
func (o *UserUpdateForbidden) IsRedirect() bool
IsRedirect returns true when this user update forbidden response has a 3xx status code
func (*UserUpdateForbidden) IsServerError ¶
func (o *UserUpdateForbidden) IsServerError() bool
IsServerError returns true when this user update forbidden response has a 5xx status code
func (*UserUpdateForbidden) IsSuccess ¶
func (o *UserUpdateForbidden) IsSuccess() bool
IsSuccess returns true when this user update forbidden response has a 2xx status code
func (*UserUpdateForbidden) String ¶
func (o *UserUpdateForbidden) String() string
type UserUpdateGitCredentialBadRequest ¶
type UserUpdateGitCredentialBadRequest struct {
}
UserUpdateGitCredentialBadRequest describes a response with status code 400, with default header values.
Invalid request
func NewUserUpdateGitCredentialBadRequest ¶
func NewUserUpdateGitCredentialBadRequest() *UserUpdateGitCredentialBadRequest
NewUserUpdateGitCredentialBadRequest creates a UserUpdateGitCredentialBadRequest with default headers values
func (*UserUpdateGitCredentialBadRequest) Code ¶
func (o *UserUpdateGitCredentialBadRequest) Code() int
Code gets the status code for the user update git credential bad request response
func (*UserUpdateGitCredentialBadRequest) Error ¶
func (o *UserUpdateGitCredentialBadRequest) Error() string
func (*UserUpdateGitCredentialBadRequest) IsClientError ¶
func (o *UserUpdateGitCredentialBadRequest) IsClientError() bool
IsClientError returns true when this user update git credential bad request response has a 4xx status code
func (*UserUpdateGitCredentialBadRequest) IsCode ¶
func (o *UserUpdateGitCredentialBadRequest) IsCode(code int) bool
IsCode returns true when this user update git credential bad request response a status code equal to that given
func (*UserUpdateGitCredentialBadRequest) IsRedirect ¶
func (o *UserUpdateGitCredentialBadRequest) IsRedirect() bool
IsRedirect returns true when this user update git credential bad request response has a 3xx status code
func (*UserUpdateGitCredentialBadRequest) IsServerError ¶
func (o *UserUpdateGitCredentialBadRequest) IsServerError() bool
IsServerError returns true when this user update git credential bad request response has a 5xx status code
func (*UserUpdateGitCredentialBadRequest) IsSuccess ¶
func (o *UserUpdateGitCredentialBadRequest) IsSuccess() bool
IsSuccess returns true when this user update git credential bad request response has a 2xx status code
func (*UserUpdateGitCredentialBadRequest) String ¶
func (o *UserUpdateGitCredentialBadRequest) String() string
type UserUpdateGitCredentialForbidden ¶
type UserUpdateGitCredentialForbidden struct {
}
UserUpdateGitCredentialForbidden describes a response with status code 403, with default header values.
Permission denied
func NewUserUpdateGitCredentialForbidden ¶
func NewUserUpdateGitCredentialForbidden() *UserUpdateGitCredentialForbidden
NewUserUpdateGitCredentialForbidden creates a UserUpdateGitCredentialForbidden with default headers values
func (*UserUpdateGitCredentialForbidden) Code ¶
func (o *UserUpdateGitCredentialForbidden) Code() int
Code gets the status code for the user update git credential forbidden response
func (*UserUpdateGitCredentialForbidden) Error ¶
func (o *UserUpdateGitCredentialForbidden) Error() string
func (*UserUpdateGitCredentialForbidden) IsClientError ¶
func (o *UserUpdateGitCredentialForbidden) IsClientError() bool
IsClientError returns true when this user update git credential forbidden response has a 4xx status code
func (*UserUpdateGitCredentialForbidden) IsCode ¶
func (o *UserUpdateGitCredentialForbidden) IsCode(code int) bool
IsCode returns true when this user update git credential forbidden response a status code equal to that given
func (*UserUpdateGitCredentialForbidden) IsRedirect ¶
func (o *UserUpdateGitCredentialForbidden) IsRedirect() bool
IsRedirect returns true when this user update git credential forbidden response has a 3xx status code
func (*UserUpdateGitCredentialForbidden) IsServerError ¶
func (o *UserUpdateGitCredentialForbidden) IsServerError() bool
IsServerError returns true when this user update git credential forbidden response has a 5xx status code
func (*UserUpdateGitCredentialForbidden) IsSuccess ¶
func (o *UserUpdateGitCredentialForbidden) IsSuccess() bool
IsSuccess returns true when this user update git credential forbidden response has a 2xx status code
func (*UserUpdateGitCredentialForbidden) String ¶
func (o *UserUpdateGitCredentialForbidden) String() string
type UserUpdateGitCredentialInternalServerError ¶
type UserUpdateGitCredentialInternalServerError struct {
}
UserUpdateGitCredentialInternalServerError describes a response with status code 500, with default header values.
Server error
func NewUserUpdateGitCredentialInternalServerError ¶
func NewUserUpdateGitCredentialInternalServerError() *UserUpdateGitCredentialInternalServerError
NewUserUpdateGitCredentialInternalServerError creates a UserUpdateGitCredentialInternalServerError with default headers values
func (*UserUpdateGitCredentialInternalServerError) Code ¶
func (o *UserUpdateGitCredentialInternalServerError) Code() int
Code gets the status code for the user update git credential internal server error response
func (*UserUpdateGitCredentialInternalServerError) Error ¶
func (o *UserUpdateGitCredentialInternalServerError) Error() string
func (*UserUpdateGitCredentialInternalServerError) IsClientError ¶
func (o *UserUpdateGitCredentialInternalServerError) IsClientError() bool
IsClientError returns true when this user update git credential internal server error response has a 4xx status code
func (*UserUpdateGitCredentialInternalServerError) IsCode ¶
func (o *UserUpdateGitCredentialInternalServerError) IsCode(code int) bool
IsCode returns true when this user update git credential internal server error response a status code equal to that given
func (*UserUpdateGitCredentialInternalServerError) IsRedirect ¶
func (o *UserUpdateGitCredentialInternalServerError) IsRedirect() bool
IsRedirect returns true when this user update git credential internal server error response has a 3xx status code
func (*UserUpdateGitCredentialInternalServerError) IsServerError ¶
func (o *UserUpdateGitCredentialInternalServerError) IsServerError() bool
IsServerError returns true when this user update git credential internal server error response has a 5xx status code
func (*UserUpdateGitCredentialInternalServerError) IsSuccess ¶
func (o *UserUpdateGitCredentialInternalServerError) IsSuccess() bool
IsSuccess returns true when this user update git credential internal server error response has a 2xx status code
func (*UserUpdateGitCredentialInternalServerError) String ¶
func (o *UserUpdateGitCredentialInternalServerError) String() string
type UserUpdateGitCredentialNoContent ¶
type UserUpdateGitCredentialNoContent struct {
}
UserUpdateGitCredentialNoContent describes a response with status code 204, with default header values.
Success
func NewUserUpdateGitCredentialNoContent ¶
func NewUserUpdateGitCredentialNoContent() *UserUpdateGitCredentialNoContent
NewUserUpdateGitCredentialNoContent creates a UserUpdateGitCredentialNoContent with default headers values
func (*UserUpdateGitCredentialNoContent) Code ¶
func (o *UserUpdateGitCredentialNoContent) Code() int
Code gets the status code for the user update git credential no content response
func (*UserUpdateGitCredentialNoContent) Error ¶
func (o *UserUpdateGitCredentialNoContent) Error() string
func (*UserUpdateGitCredentialNoContent) IsClientError ¶
func (o *UserUpdateGitCredentialNoContent) IsClientError() bool
IsClientError returns true when this user update git credential no content response has a 4xx status code
func (*UserUpdateGitCredentialNoContent) IsCode ¶
func (o *UserUpdateGitCredentialNoContent) IsCode(code int) bool
IsCode returns true when this user update git credential no content response a status code equal to that given
func (*UserUpdateGitCredentialNoContent) IsRedirect ¶
func (o *UserUpdateGitCredentialNoContent) IsRedirect() bool
IsRedirect returns true when this user update git credential no content response has a 3xx status code
func (*UserUpdateGitCredentialNoContent) IsServerError ¶
func (o *UserUpdateGitCredentialNoContent) IsServerError() bool
IsServerError returns true when this user update git credential no content response has a 5xx status code
func (*UserUpdateGitCredentialNoContent) IsSuccess ¶
func (o *UserUpdateGitCredentialNoContent) IsSuccess() bool
IsSuccess returns true when this user update git credential no content response has a 2xx status code
func (*UserUpdateGitCredentialNoContent) String ¶
func (o *UserUpdateGitCredentialNoContent) String() string
type UserUpdateGitCredentialNotFound ¶
type UserUpdateGitCredentialNotFound struct {
}
UserUpdateGitCredentialNotFound describes a response with status code 404, with default header values.
Not found
func NewUserUpdateGitCredentialNotFound ¶
func NewUserUpdateGitCredentialNotFound() *UserUpdateGitCredentialNotFound
NewUserUpdateGitCredentialNotFound creates a UserUpdateGitCredentialNotFound with default headers values
func (*UserUpdateGitCredentialNotFound) Code ¶
func (o *UserUpdateGitCredentialNotFound) Code() int
Code gets the status code for the user update git credential not found response
func (*UserUpdateGitCredentialNotFound) Error ¶
func (o *UserUpdateGitCredentialNotFound) Error() string
func (*UserUpdateGitCredentialNotFound) IsClientError ¶
func (o *UserUpdateGitCredentialNotFound) IsClientError() bool
IsClientError returns true when this user update git credential not found response has a 4xx status code
func (*UserUpdateGitCredentialNotFound) IsCode ¶
func (o *UserUpdateGitCredentialNotFound) IsCode(code int) bool
IsCode returns true when this user update git credential not found response a status code equal to that given
func (*UserUpdateGitCredentialNotFound) IsRedirect ¶
func (o *UserUpdateGitCredentialNotFound) IsRedirect() bool
IsRedirect returns true when this user update git credential not found response has a 3xx status code
func (*UserUpdateGitCredentialNotFound) IsServerError ¶
func (o *UserUpdateGitCredentialNotFound) IsServerError() bool
IsServerError returns true when this user update git credential not found response has a 5xx status code
func (*UserUpdateGitCredentialNotFound) IsSuccess ¶
func (o *UserUpdateGitCredentialNotFound) IsSuccess() bool
IsSuccess returns true when this user update git credential not found response has a 2xx status code
func (*UserUpdateGitCredentialNotFound) String ¶
func (o *UserUpdateGitCredentialNotFound) String() string
type UserUpdateGitCredentialParams ¶
type UserUpdateGitCredentialParams struct {
/* CredentialID.
Git Credential identifier
*/
CredentialID int64
/* ID.
User identifier
*/
ID int64
Context context.Context
HTTPClient *http.Client
// contains filtered or unexported fields
}
UserUpdateGitCredentialParams contains all the parameters to send to the API endpoint
for the user update git credential operation. Typically these are written to a http.Request.
func NewUserUpdateGitCredentialParams ¶
func NewUserUpdateGitCredentialParams() *UserUpdateGitCredentialParams
NewUserUpdateGitCredentialParams creates a new UserUpdateGitCredentialParams 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 NewUserUpdateGitCredentialParamsWithContext ¶
func NewUserUpdateGitCredentialParamsWithContext(ctx context.Context) *UserUpdateGitCredentialParams
NewUserUpdateGitCredentialParamsWithContext creates a new UserUpdateGitCredentialParams object with the ability to set a context for a request.
func NewUserUpdateGitCredentialParamsWithHTTPClient ¶
func NewUserUpdateGitCredentialParamsWithHTTPClient(client *http.Client) *UserUpdateGitCredentialParams
NewUserUpdateGitCredentialParamsWithHTTPClient creates a new UserUpdateGitCredentialParams object with the ability to set a custom HTTPClient for a request.
func NewUserUpdateGitCredentialParamsWithTimeout ¶
func NewUserUpdateGitCredentialParamsWithTimeout(timeout time.Duration) *UserUpdateGitCredentialParams
NewUserUpdateGitCredentialParamsWithTimeout creates a new UserUpdateGitCredentialParams object with the ability to set a timeout on a request.
func (*UserUpdateGitCredentialParams) SetContext ¶
func (o *UserUpdateGitCredentialParams) SetContext(ctx context.Context)
SetContext adds the context to the user update git credential params
func (*UserUpdateGitCredentialParams) SetCredentialID ¶
func (o *UserUpdateGitCredentialParams) SetCredentialID(credentialID int64)
SetCredentialID adds the credentialId to the user update git credential params
func (*UserUpdateGitCredentialParams) SetDefaults ¶
func (o *UserUpdateGitCredentialParams) SetDefaults()
SetDefaults hydrates default values in the user update git credential params (not the query body).
All values with no default are reset to their zero value.
func (*UserUpdateGitCredentialParams) SetHTTPClient ¶
func (o *UserUpdateGitCredentialParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the user update git credential params
func (*UserUpdateGitCredentialParams) SetID ¶
func (o *UserUpdateGitCredentialParams) SetID(id int64)
SetID adds the id to the user update git credential params
func (*UserUpdateGitCredentialParams) SetTimeout ¶
func (o *UserUpdateGitCredentialParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the user update git credential params
func (*UserUpdateGitCredentialParams) WithContext ¶
func (o *UserUpdateGitCredentialParams) WithContext(ctx context.Context) *UserUpdateGitCredentialParams
WithContext adds the context to the user update git credential params
func (*UserUpdateGitCredentialParams) WithCredentialID ¶
func (o *UserUpdateGitCredentialParams) WithCredentialID(credentialID int64) *UserUpdateGitCredentialParams
WithCredentialID adds the credentialID to the user update git credential params
func (*UserUpdateGitCredentialParams) WithDefaults ¶
func (o *UserUpdateGitCredentialParams) WithDefaults() *UserUpdateGitCredentialParams
WithDefaults hydrates default values in the user update git credential params (not the query body).
All values with no default are reset to their zero value.
func (*UserUpdateGitCredentialParams) WithHTTPClient ¶
func (o *UserUpdateGitCredentialParams) WithHTTPClient(client *http.Client) *UserUpdateGitCredentialParams
WithHTTPClient adds the HTTPClient to the user update git credential params
func (*UserUpdateGitCredentialParams) WithID ¶
func (o *UserUpdateGitCredentialParams) WithID(id int64) *UserUpdateGitCredentialParams
WithID adds the id to the user update git credential params
func (*UserUpdateGitCredentialParams) WithTimeout ¶
func (o *UserUpdateGitCredentialParams) WithTimeout(timeout time.Duration) *UserUpdateGitCredentialParams
WithTimeout adds the timeout to the user update git credential params
func (*UserUpdateGitCredentialParams) WriteToRequest ¶
func (o *UserUpdateGitCredentialParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type UserUpdateGitCredentialReader ¶
type UserUpdateGitCredentialReader struct {
// contains filtered or unexported fields
}
UserUpdateGitCredentialReader is a Reader for the UserUpdateGitCredential structure.
func (*UserUpdateGitCredentialReader) ReadResponse ¶
func (o *UserUpdateGitCredentialReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type UserUpdateInternalServerError ¶
type UserUpdateInternalServerError struct {
}
UserUpdateInternalServerError describes a response with status code 500, with default header values.
Server error
func NewUserUpdateInternalServerError ¶
func NewUserUpdateInternalServerError() *UserUpdateInternalServerError
NewUserUpdateInternalServerError creates a UserUpdateInternalServerError with default headers values
func (*UserUpdateInternalServerError) Code ¶
func (o *UserUpdateInternalServerError) Code() int
Code gets the status code for the user update internal server error response
func (*UserUpdateInternalServerError) Error ¶
func (o *UserUpdateInternalServerError) Error() string
func (*UserUpdateInternalServerError) IsClientError ¶
func (o *UserUpdateInternalServerError) IsClientError() bool
IsClientError returns true when this user update internal server error response has a 4xx status code
func (*UserUpdateInternalServerError) IsCode ¶
func (o *UserUpdateInternalServerError) IsCode(code int) bool
IsCode returns true when this user update internal server error response a status code equal to that given
func (*UserUpdateInternalServerError) IsRedirect ¶
func (o *UserUpdateInternalServerError) IsRedirect() bool
IsRedirect returns true when this user update internal server error response has a 3xx status code
func (*UserUpdateInternalServerError) IsServerError ¶
func (o *UserUpdateInternalServerError) IsServerError() bool
IsServerError returns true when this user update internal server error response has a 5xx status code
func (*UserUpdateInternalServerError) IsSuccess ¶
func (o *UserUpdateInternalServerError) IsSuccess() bool
IsSuccess returns true when this user update internal server error response has a 2xx status code
func (*UserUpdateInternalServerError) String ¶
func (o *UserUpdateInternalServerError) String() string
type UserUpdateNotFound ¶
type UserUpdateNotFound struct {
}
UserUpdateNotFound describes a response with status code 404, with default header values.
User not found
func NewUserUpdateNotFound ¶
func NewUserUpdateNotFound() *UserUpdateNotFound
NewUserUpdateNotFound creates a UserUpdateNotFound with default headers values
func (*UserUpdateNotFound) Code ¶
func (o *UserUpdateNotFound) Code() int
Code gets the status code for the user update not found response
func (*UserUpdateNotFound) Error ¶
func (o *UserUpdateNotFound) Error() string
func (*UserUpdateNotFound) IsClientError ¶
func (o *UserUpdateNotFound) IsClientError() bool
IsClientError returns true when this user update not found response has a 4xx status code
func (*UserUpdateNotFound) IsCode ¶
func (o *UserUpdateNotFound) IsCode(code int) bool
IsCode returns true when this user update not found response a status code equal to that given
func (*UserUpdateNotFound) IsRedirect ¶
func (o *UserUpdateNotFound) IsRedirect() bool
IsRedirect returns true when this user update not found response has a 3xx status code
func (*UserUpdateNotFound) IsServerError ¶
func (o *UserUpdateNotFound) IsServerError() bool
IsServerError returns true when this user update not found response has a 5xx status code
func (*UserUpdateNotFound) IsSuccess ¶
func (o *UserUpdateNotFound) IsSuccess() bool
IsSuccess returns true when this user update not found response has a 2xx status code
func (*UserUpdateNotFound) String ¶
func (o *UserUpdateNotFound) String() string
type UserUpdateOK ¶
type UserUpdateOK struct {
Payload *models.PortainereeUser
}
UserUpdateOK describes a response with status code 200, with default header values.
Success
func NewUserUpdateOK ¶
func NewUserUpdateOK() *UserUpdateOK
NewUserUpdateOK creates a UserUpdateOK with default headers values
func (*UserUpdateOK) Code ¶
func (o *UserUpdateOK) Code() int
Code gets the status code for the user update o k response
func (*UserUpdateOK) Error ¶
func (o *UserUpdateOK) Error() string
func (*UserUpdateOK) GetPayload ¶
func (o *UserUpdateOK) GetPayload() *models.PortainereeUser
func (*UserUpdateOK) IsClientError ¶
func (o *UserUpdateOK) IsClientError() bool
IsClientError returns true when this user update o k response has a 4xx status code
func (*UserUpdateOK) IsCode ¶
func (o *UserUpdateOK) IsCode(code int) bool
IsCode returns true when this user update o k response a status code equal to that given
func (*UserUpdateOK) IsRedirect ¶
func (o *UserUpdateOK) IsRedirect() bool
IsRedirect returns true when this user update o k response has a 3xx status code
func (*UserUpdateOK) IsServerError ¶
func (o *UserUpdateOK) IsServerError() bool
IsServerError returns true when this user update o k response has a 5xx status code
func (*UserUpdateOK) IsSuccess ¶
func (o *UserUpdateOK) IsSuccess() bool
IsSuccess returns true when this user update o k response has a 2xx status code
func (*UserUpdateOK) String ¶
func (o *UserUpdateOK) String() string
type UserUpdateOpenAIConfigBadRequest ¶
type UserUpdateOpenAIConfigBadRequest struct {
}
UserUpdateOpenAIConfigBadRequest describes a response with status code 400, with default header values.
Invalid request
func NewUserUpdateOpenAIConfigBadRequest ¶
func NewUserUpdateOpenAIConfigBadRequest() *UserUpdateOpenAIConfigBadRequest
NewUserUpdateOpenAIConfigBadRequest creates a UserUpdateOpenAIConfigBadRequest with default headers values
func (*UserUpdateOpenAIConfigBadRequest) Code ¶
func (o *UserUpdateOpenAIConfigBadRequest) Code() int
Code gets the status code for the user update open a i config bad request response
func (*UserUpdateOpenAIConfigBadRequest) Error ¶
func (o *UserUpdateOpenAIConfigBadRequest) Error() string
func (*UserUpdateOpenAIConfigBadRequest) IsClientError ¶
func (o *UserUpdateOpenAIConfigBadRequest) IsClientError() bool
IsClientError returns true when this user update open a i config bad request response has a 4xx status code
func (*UserUpdateOpenAIConfigBadRequest) IsCode ¶
func (o *UserUpdateOpenAIConfigBadRequest) IsCode(code int) bool
IsCode returns true when this user update open a i config bad request response a status code equal to that given
func (*UserUpdateOpenAIConfigBadRequest) IsRedirect ¶
func (o *UserUpdateOpenAIConfigBadRequest) IsRedirect() bool
IsRedirect returns true when this user update open a i config bad request response has a 3xx status code
func (*UserUpdateOpenAIConfigBadRequest) IsServerError ¶
func (o *UserUpdateOpenAIConfigBadRequest) IsServerError() bool
IsServerError returns true when this user update open a i config bad request response has a 5xx status code
func (*UserUpdateOpenAIConfigBadRequest) IsSuccess ¶
func (o *UserUpdateOpenAIConfigBadRequest) IsSuccess() bool
IsSuccess returns true when this user update open a i config bad request response has a 2xx status code
func (*UserUpdateOpenAIConfigBadRequest) String ¶
func (o *UserUpdateOpenAIConfigBadRequest) String() string
type UserUpdateOpenAIConfigForbidden ¶
type UserUpdateOpenAIConfigForbidden struct {
}
UserUpdateOpenAIConfigForbidden describes a response with status code 403, with default header values.
Permission denied
func NewUserUpdateOpenAIConfigForbidden ¶
func NewUserUpdateOpenAIConfigForbidden() *UserUpdateOpenAIConfigForbidden
NewUserUpdateOpenAIConfigForbidden creates a UserUpdateOpenAIConfigForbidden with default headers values
func (*UserUpdateOpenAIConfigForbidden) Code ¶
func (o *UserUpdateOpenAIConfigForbidden) Code() int
Code gets the status code for the user update open a i config forbidden response
func (*UserUpdateOpenAIConfigForbidden) Error ¶
func (o *UserUpdateOpenAIConfigForbidden) Error() string
func (*UserUpdateOpenAIConfigForbidden) IsClientError ¶
func (o *UserUpdateOpenAIConfigForbidden) IsClientError() bool
IsClientError returns true when this user update open a i config forbidden response has a 4xx status code
func (*UserUpdateOpenAIConfigForbidden) IsCode ¶
func (o *UserUpdateOpenAIConfigForbidden) IsCode(code int) bool
IsCode returns true when this user update open a i config forbidden response a status code equal to that given
func (*UserUpdateOpenAIConfigForbidden) IsRedirect ¶
func (o *UserUpdateOpenAIConfigForbidden) IsRedirect() bool
IsRedirect returns true when this user update open a i config forbidden response has a 3xx status code
func (*UserUpdateOpenAIConfigForbidden) IsServerError ¶
func (o *UserUpdateOpenAIConfigForbidden) IsServerError() bool
IsServerError returns true when this user update open a i config forbidden response has a 5xx status code
func (*UserUpdateOpenAIConfigForbidden) IsSuccess ¶
func (o *UserUpdateOpenAIConfigForbidden) IsSuccess() bool
IsSuccess returns true when this user update open a i config forbidden response has a 2xx status code
func (*UserUpdateOpenAIConfigForbidden) String ¶
func (o *UserUpdateOpenAIConfigForbidden) String() string
type UserUpdateOpenAIConfigInternalServerError ¶
type UserUpdateOpenAIConfigInternalServerError struct {
}
UserUpdateOpenAIConfigInternalServerError describes a response with status code 500, with default header values.
Server error
func NewUserUpdateOpenAIConfigInternalServerError ¶
func NewUserUpdateOpenAIConfigInternalServerError() *UserUpdateOpenAIConfigInternalServerError
NewUserUpdateOpenAIConfigInternalServerError creates a UserUpdateOpenAIConfigInternalServerError with default headers values
func (*UserUpdateOpenAIConfigInternalServerError) Code ¶
func (o *UserUpdateOpenAIConfigInternalServerError) Code() int
Code gets the status code for the user update open a i config internal server error response
func (*UserUpdateOpenAIConfigInternalServerError) Error ¶
func (o *UserUpdateOpenAIConfigInternalServerError) Error() string
func (*UserUpdateOpenAIConfigInternalServerError) IsClientError ¶
func (o *UserUpdateOpenAIConfigInternalServerError) IsClientError() bool
IsClientError returns true when this user update open a i config internal server error response has a 4xx status code
func (*UserUpdateOpenAIConfigInternalServerError) IsCode ¶
func (o *UserUpdateOpenAIConfigInternalServerError) IsCode(code int) bool
IsCode returns true when this user update open a i config internal server error response a status code equal to that given
func (*UserUpdateOpenAIConfigInternalServerError) IsRedirect ¶
func (o *UserUpdateOpenAIConfigInternalServerError) IsRedirect() bool
IsRedirect returns true when this user update open a i config internal server error response has a 3xx status code
func (*UserUpdateOpenAIConfigInternalServerError) IsServerError ¶
func (o *UserUpdateOpenAIConfigInternalServerError) IsServerError() bool
IsServerError returns true when this user update open a i config internal server error response has a 5xx status code
func (*UserUpdateOpenAIConfigInternalServerError) IsSuccess ¶
func (o *UserUpdateOpenAIConfigInternalServerError) IsSuccess() bool
IsSuccess returns true when this user update open a i config internal server error response has a 2xx status code
func (*UserUpdateOpenAIConfigInternalServerError) String ¶
func (o *UserUpdateOpenAIConfigInternalServerError) String() string
type UserUpdateOpenAIConfigNoContent ¶
type UserUpdateOpenAIConfigNoContent struct {
}
UserUpdateOpenAIConfigNoContent describes a response with status code 204, with default header values.
Success
func NewUserUpdateOpenAIConfigNoContent ¶
func NewUserUpdateOpenAIConfigNoContent() *UserUpdateOpenAIConfigNoContent
NewUserUpdateOpenAIConfigNoContent creates a UserUpdateOpenAIConfigNoContent with default headers values
func (*UserUpdateOpenAIConfigNoContent) Code ¶
func (o *UserUpdateOpenAIConfigNoContent) Code() int
Code gets the status code for the user update open a i config no content response
func (*UserUpdateOpenAIConfigNoContent) Error ¶
func (o *UserUpdateOpenAIConfigNoContent) Error() string
func (*UserUpdateOpenAIConfigNoContent) IsClientError ¶
func (o *UserUpdateOpenAIConfigNoContent) IsClientError() bool
IsClientError returns true when this user update open a i config no content response has a 4xx status code
func (*UserUpdateOpenAIConfigNoContent) IsCode ¶
func (o *UserUpdateOpenAIConfigNoContent) IsCode(code int) bool
IsCode returns true when this user update open a i config no content response a status code equal to that given
func (*UserUpdateOpenAIConfigNoContent) IsRedirect ¶
func (o *UserUpdateOpenAIConfigNoContent) IsRedirect() bool
IsRedirect returns true when this user update open a i config no content response has a 3xx status code
func (*UserUpdateOpenAIConfigNoContent) IsServerError ¶
func (o *UserUpdateOpenAIConfigNoContent) IsServerError() bool
IsServerError returns true when this user update open a i config no content response has a 5xx status code
func (*UserUpdateOpenAIConfigNoContent) IsSuccess ¶
func (o *UserUpdateOpenAIConfigNoContent) IsSuccess() bool
IsSuccess returns true when this user update open a i config no content response has a 2xx status code
func (*UserUpdateOpenAIConfigNoContent) String ¶
func (o *UserUpdateOpenAIConfigNoContent) String() string
type UserUpdateOpenAIConfigNotFound ¶
type UserUpdateOpenAIConfigNotFound struct {
}
UserUpdateOpenAIConfigNotFound describes a response with status code 404, with default header values.
User not found
func NewUserUpdateOpenAIConfigNotFound ¶
func NewUserUpdateOpenAIConfigNotFound() *UserUpdateOpenAIConfigNotFound
NewUserUpdateOpenAIConfigNotFound creates a UserUpdateOpenAIConfigNotFound with default headers values
func (*UserUpdateOpenAIConfigNotFound) Code ¶
func (o *UserUpdateOpenAIConfigNotFound) Code() int
Code gets the status code for the user update open a i config not found response
func (*UserUpdateOpenAIConfigNotFound) Error ¶
func (o *UserUpdateOpenAIConfigNotFound) Error() string
func (*UserUpdateOpenAIConfigNotFound) IsClientError ¶
func (o *UserUpdateOpenAIConfigNotFound) IsClientError() bool
IsClientError returns true when this user update open a i config not found response has a 4xx status code
func (*UserUpdateOpenAIConfigNotFound) IsCode ¶
func (o *UserUpdateOpenAIConfigNotFound) IsCode(code int) bool
IsCode returns true when this user update open a i config not found response a status code equal to that given
func (*UserUpdateOpenAIConfigNotFound) IsRedirect ¶
func (o *UserUpdateOpenAIConfigNotFound) IsRedirect() bool
IsRedirect returns true when this user update open a i config not found response has a 3xx status code
func (*UserUpdateOpenAIConfigNotFound) IsServerError ¶
func (o *UserUpdateOpenAIConfigNotFound) IsServerError() bool
IsServerError returns true when this user update open a i config not found response has a 5xx status code
func (*UserUpdateOpenAIConfigNotFound) IsSuccess ¶
func (o *UserUpdateOpenAIConfigNotFound) IsSuccess() bool
IsSuccess returns true when this user update open a i config not found response has a 2xx status code
func (*UserUpdateOpenAIConfigNotFound) String ¶
func (o *UserUpdateOpenAIConfigNotFound) String() string
type UserUpdateOpenAIConfigParams ¶
type UserUpdateOpenAIConfigParams struct {
/* Body.
payload
*/
Body *models.UsersUserUpdateOpenAIConfigPayload
/* ID.
User identifier
*/
ID int64
Context context.Context
HTTPClient *http.Client
// contains filtered or unexported fields
}
UserUpdateOpenAIConfigParams contains all the parameters to send to the API endpoint
for the user update open a i config operation. Typically these are written to a http.Request.
func NewUserUpdateOpenAIConfigParams ¶
func NewUserUpdateOpenAIConfigParams() *UserUpdateOpenAIConfigParams
NewUserUpdateOpenAIConfigParams creates a new UserUpdateOpenAIConfigParams 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 NewUserUpdateOpenAIConfigParamsWithContext ¶
func NewUserUpdateOpenAIConfigParamsWithContext(ctx context.Context) *UserUpdateOpenAIConfigParams
NewUserUpdateOpenAIConfigParamsWithContext creates a new UserUpdateOpenAIConfigParams object with the ability to set a context for a request.
func NewUserUpdateOpenAIConfigParamsWithHTTPClient ¶
func NewUserUpdateOpenAIConfigParamsWithHTTPClient(client *http.Client) *UserUpdateOpenAIConfigParams
NewUserUpdateOpenAIConfigParamsWithHTTPClient creates a new UserUpdateOpenAIConfigParams object with the ability to set a custom HTTPClient for a request.
func NewUserUpdateOpenAIConfigParamsWithTimeout ¶
func NewUserUpdateOpenAIConfigParamsWithTimeout(timeout time.Duration) *UserUpdateOpenAIConfigParams
NewUserUpdateOpenAIConfigParamsWithTimeout creates a new UserUpdateOpenAIConfigParams object with the ability to set a timeout on a request.
func (*UserUpdateOpenAIConfigParams) SetBody ¶
func (o *UserUpdateOpenAIConfigParams) SetBody(body *models.UsersUserUpdateOpenAIConfigPayload)
SetBody adds the body to the user update open a i config params
func (*UserUpdateOpenAIConfigParams) SetContext ¶
func (o *UserUpdateOpenAIConfigParams) SetContext(ctx context.Context)
SetContext adds the context to the user update open a i config params
func (*UserUpdateOpenAIConfigParams) SetDefaults ¶
func (o *UserUpdateOpenAIConfigParams) SetDefaults()
SetDefaults hydrates default values in the user update open a i config params (not the query body).
All values with no default are reset to their zero value.
func (*UserUpdateOpenAIConfigParams) SetHTTPClient ¶
func (o *UserUpdateOpenAIConfigParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the user update open a i config params
func (*UserUpdateOpenAIConfigParams) SetID ¶
func (o *UserUpdateOpenAIConfigParams) SetID(id int64)
SetID adds the id to the user update open a i config params
func (*UserUpdateOpenAIConfigParams) SetTimeout ¶
func (o *UserUpdateOpenAIConfigParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the user update open a i config params
func (*UserUpdateOpenAIConfigParams) WithBody ¶
func (o *UserUpdateOpenAIConfigParams) WithBody(body *models.UsersUserUpdateOpenAIConfigPayload) *UserUpdateOpenAIConfigParams
WithBody adds the body to the user update open a i config params
func (*UserUpdateOpenAIConfigParams) WithContext ¶
func (o *UserUpdateOpenAIConfigParams) WithContext(ctx context.Context) *UserUpdateOpenAIConfigParams
WithContext adds the context to the user update open a i config params
func (*UserUpdateOpenAIConfigParams) WithDefaults ¶
func (o *UserUpdateOpenAIConfigParams) WithDefaults() *UserUpdateOpenAIConfigParams
WithDefaults hydrates default values in the user update open a i config params (not the query body).
All values with no default are reset to their zero value.
func (*UserUpdateOpenAIConfigParams) WithHTTPClient ¶
func (o *UserUpdateOpenAIConfigParams) WithHTTPClient(client *http.Client) *UserUpdateOpenAIConfigParams
WithHTTPClient adds the HTTPClient to the user update open a i config params
func (*UserUpdateOpenAIConfigParams) WithID ¶
func (o *UserUpdateOpenAIConfigParams) WithID(id int64) *UserUpdateOpenAIConfigParams
WithID adds the id to the user update open a i config params
func (*UserUpdateOpenAIConfigParams) WithTimeout ¶
func (o *UserUpdateOpenAIConfigParams) WithTimeout(timeout time.Duration) *UserUpdateOpenAIConfigParams
WithTimeout adds the timeout to the user update open a i config params
func (*UserUpdateOpenAIConfigParams) WriteToRequest ¶
func (o *UserUpdateOpenAIConfigParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type UserUpdateOpenAIConfigReader ¶
type UserUpdateOpenAIConfigReader struct {
// contains filtered or unexported fields
}
UserUpdateOpenAIConfigReader is a Reader for the UserUpdateOpenAIConfig structure.
func (*UserUpdateOpenAIConfigReader) ReadResponse ¶
func (o *UserUpdateOpenAIConfigReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type UserUpdateParams ¶
type UserUpdateParams struct {
/* Body.
User details
*/
Body *models.UsersUserUpdatePayload
/* ID.
User identifier
*/
ID int64
Context context.Context
HTTPClient *http.Client
// contains filtered or unexported fields
}
UserUpdateParams contains all the parameters to send to the API endpoint
for the user update operation. Typically these are written to a http.Request.
func NewUserUpdateParams ¶
func NewUserUpdateParams() *UserUpdateParams
NewUserUpdateParams creates a new UserUpdateParams 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 NewUserUpdateParamsWithContext ¶
func NewUserUpdateParamsWithContext(ctx context.Context) *UserUpdateParams
NewUserUpdateParamsWithContext creates a new UserUpdateParams object with the ability to set a context for a request.
func NewUserUpdateParamsWithHTTPClient ¶
func NewUserUpdateParamsWithHTTPClient(client *http.Client) *UserUpdateParams
NewUserUpdateParamsWithHTTPClient creates a new UserUpdateParams object with the ability to set a custom HTTPClient for a request.
func NewUserUpdateParamsWithTimeout ¶
func NewUserUpdateParamsWithTimeout(timeout time.Duration) *UserUpdateParams
NewUserUpdateParamsWithTimeout creates a new UserUpdateParams object with the ability to set a timeout on a request.
func (*UserUpdateParams) SetBody ¶
func (o *UserUpdateParams) SetBody(body *models.UsersUserUpdatePayload)
SetBody adds the body to the user update params
func (*UserUpdateParams) SetContext ¶
func (o *UserUpdateParams) SetContext(ctx context.Context)
SetContext adds the context to the user update params
func (*UserUpdateParams) SetDefaults ¶
func (o *UserUpdateParams) SetDefaults()
SetDefaults hydrates default values in the user update params (not the query body).
All values with no default are reset to their zero value.
func (*UserUpdateParams) SetHTTPClient ¶
func (o *UserUpdateParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the user update params
func (*UserUpdateParams) SetID ¶
func (o *UserUpdateParams) SetID(id int64)
SetID adds the id to the user update params
func (*UserUpdateParams) SetTimeout ¶
func (o *UserUpdateParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the user update params
func (*UserUpdateParams) WithBody ¶
func (o *UserUpdateParams) WithBody(body *models.UsersUserUpdatePayload) *UserUpdateParams
WithBody adds the body to the user update params
func (*UserUpdateParams) WithContext ¶
func (o *UserUpdateParams) WithContext(ctx context.Context) *UserUpdateParams
WithContext adds the context to the user update params
func (*UserUpdateParams) WithDefaults ¶
func (o *UserUpdateParams) WithDefaults() *UserUpdateParams
WithDefaults hydrates default values in the user update params (not the query body).
All values with no default are reset to their zero value.
func (*UserUpdateParams) WithHTTPClient ¶
func (o *UserUpdateParams) WithHTTPClient(client *http.Client) *UserUpdateParams
WithHTTPClient adds the HTTPClient to the user update params
func (*UserUpdateParams) WithID ¶
func (o *UserUpdateParams) WithID(id int64) *UserUpdateParams
WithID adds the id to the user update params
func (*UserUpdateParams) WithTimeout ¶
func (o *UserUpdateParams) WithTimeout(timeout time.Duration) *UserUpdateParams
WithTimeout adds the timeout to the user update params
func (*UserUpdateParams) WriteToRequest ¶
func (o *UserUpdateParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type UserUpdatePasswordBadRequest ¶
type UserUpdatePasswordBadRequest struct {
}
UserUpdatePasswordBadRequest describes a response with status code 400, with default header values.
Invalid request
func NewUserUpdatePasswordBadRequest ¶
func NewUserUpdatePasswordBadRequest() *UserUpdatePasswordBadRequest
NewUserUpdatePasswordBadRequest creates a UserUpdatePasswordBadRequest with default headers values
func (*UserUpdatePasswordBadRequest) Code ¶
func (o *UserUpdatePasswordBadRequest) Code() int
Code gets the status code for the user update password bad request response
func (*UserUpdatePasswordBadRequest) Error ¶
func (o *UserUpdatePasswordBadRequest) Error() string
func (*UserUpdatePasswordBadRequest) IsClientError ¶
func (o *UserUpdatePasswordBadRequest) IsClientError() bool
IsClientError returns true when this user update password bad request response has a 4xx status code
func (*UserUpdatePasswordBadRequest) IsCode ¶
func (o *UserUpdatePasswordBadRequest) IsCode(code int) bool
IsCode returns true when this user update password bad request response a status code equal to that given
func (*UserUpdatePasswordBadRequest) IsRedirect ¶
func (o *UserUpdatePasswordBadRequest) IsRedirect() bool
IsRedirect returns true when this user update password bad request response has a 3xx status code
func (*UserUpdatePasswordBadRequest) IsServerError ¶
func (o *UserUpdatePasswordBadRequest) IsServerError() bool
IsServerError returns true when this user update password bad request response has a 5xx status code
func (*UserUpdatePasswordBadRequest) IsSuccess ¶
func (o *UserUpdatePasswordBadRequest) IsSuccess() bool
IsSuccess returns true when this user update password bad request response has a 2xx status code
func (*UserUpdatePasswordBadRequest) String ¶
func (o *UserUpdatePasswordBadRequest) String() string
type UserUpdatePasswordForbidden ¶
type UserUpdatePasswordForbidden struct {
}
UserUpdatePasswordForbidden describes a response with status code 403, with default header values.
Permission denied
func NewUserUpdatePasswordForbidden ¶
func NewUserUpdatePasswordForbidden() *UserUpdatePasswordForbidden
NewUserUpdatePasswordForbidden creates a UserUpdatePasswordForbidden with default headers values
func (*UserUpdatePasswordForbidden) Code ¶
func (o *UserUpdatePasswordForbidden) Code() int
Code gets the status code for the user update password forbidden response
func (*UserUpdatePasswordForbidden) Error ¶
func (o *UserUpdatePasswordForbidden) Error() string
func (*UserUpdatePasswordForbidden) IsClientError ¶
func (o *UserUpdatePasswordForbidden) IsClientError() bool
IsClientError returns true when this user update password forbidden response has a 4xx status code
func (*UserUpdatePasswordForbidden) IsCode ¶
func (o *UserUpdatePasswordForbidden) IsCode(code int) bool
IsCode returns true when this user update password forbidden response a status code equal to that given
func (*UserUpdatePasswordForbidden) IsRedirect ¶
func (o *UserUpdatePasswordForbidden) IsRedirect() bool
IsRedirect returns true when this user update password forbidden response has a 3xx status code
func (*UserUpdatePasswordForbidden) IsServerError ¶
func (o *UserUpdatePasswordForbidden) IsServerError() bool
IsServerError returns true when this user update password forbidden response has a 5xx status code
func (*UserUpdatePasswordForbidden) IsSuccess ¶
func (o *UserUpdatePasswordForbidden) IsSuccess() bool
IsSuccess returns true when this user update password forbidden response has a 2xx status code
func (*UserUpdatePasswordForbidden) String ¶
func (o *UserUpdatePasswordForbidden) String() string
type UserUpdatePasswordInternalServerError ¶
type UserUpdatePasswordInternalServerError struct {
}
UserUpdatePasswordInternalServerError describes a response with status code 500, with default header values.
Server error
func NewUserUpdatePasswordInternalServerError ¶
func NewUserUpdatePasswordInternalServerError() *UserUpdatePasswordInternalServerError
NewUserUpdatePasswordInternalServerError creates a UserUpdatePasswordInternalServerError with default headers values
func (*UserUpdatePasswordInternalServerError) Code ¶
func (o *UserUpdatePasswordInternalServerError) Code() int
Code gets the status code for the user update password internal server error response
func (*UserUpdatePasswordInternalServerError) Error ¶
func (o *UserUpdatePasswordInternalServerError) Error() string
func (*UserUpdatePasswordInternalServerError) IsClientError ¶
func (o *UserUpdatePasswordInternalServerError) IsClientError() bool
IsClientError returns true when this user update password internal server error response has a 4xx status code
func (*UserUpdatePasswordInternalServerError) IsCode ¶
func (o *UserUpdatePasswordInternalServerError) IsCode(code int) bool
IsCode returns true when this user update password internal server error response a status code equal to that given
func (*UserUpdatePasswordInternalServerError) IsRedirect ¶
func (o *UserUpdatePasswordInternalServerError) IsRedirect() bool
IsRedirect returns true when this user update password internal server error response has a 3xx status code
func (*UserUpdatePasswordInternalServerError) IsServerError ¶
func (o *UserUpdatePasswordInternalServerError) IsServerError() bool
IsServerError returns true when this user update password internal server error response has a 5xx status code
func (*UserUpdatePasswordInternalServerError) IsSuccess ¶
func (o *UserUpdatePasswordInternalServerError) IsSuccess() bool
IsSuccess returns true when this user update password internal server error response has a 2xx status code
func (*UserUpdatePasswordInternalServerError) String ¶
func (o *UserUpdatePasswordInternalServerError) String() string
type UserUpdatePasswordNoContent ¶
type UserUpdatePasswordNoContent struct {
}
UserUpdatePasswordNoContent describes a response with status code 204, with default header values.
Success
func NewUserUpdatePasswordNoContent ¶
func NewUserUpdatePasswordNoContent() *UserUpdatePasswordNoContent
NewUserUpdatePasswordNoContent creates a UserUpdatePasswordNoContent with default headers values
func (*UserUpdatePasswordNoContent) Code ¶
func (o *UserUpdatePasswordNoContent) Code() int
Code gets the status code for the user update password no content response
func (*UserUpdatePasswordNoContent) Error ¶
func (o *UserUpdatePasswordNoContent) Error() string
func (*UserUpdatePasswordNoContent) IsClientError ¶
func (o *UserUpdatePasswordNoContent) IsClientError() bool
IsClientError returns true when this user update password no content response has a 4xx status code
func (*UserUpdatePasswordNoContent) IsCode ¶
func (o *UserUpdatePasswordNoContent) IsCode(code int) bool
IsCode returns true when this user update password no content response a status code equal to that given
func (*UserUpdatePasswordNoContent) IsRedirect ¶
func (o *UserUpdatePasswordNoContent) IsRedirect() bool
IsRedirect returns true when this user update password no content response has a 3xx status code
func (*UserUpdatePasswordNoContent) IsServerError ¶
func (o *UserUpdatePasswordNoContent) IsServerError() bool
IsServerError returns true when this user update password no content response has a 5xx status code
func (*UserUpdatePasswordNoContent) IsSuccess ¶
func (o *UserUpdatePasswordNoContent) IsSuccess() bool
IsSuccess returns true when this user update password no content response has a 2xx status code
func (*UserUpdatePasswordNoContent) String ¶
func (o *UserUpdatePasswordNoContent) String() string
type UserUpdatePasswordNotFound ¶
type UserUpdatePasswordNotFound struct {
}
UserUpdatePasswordNotFound describes a response with status code 404, with default header values.
User not found
func NewUserUpdatePasswordNotFound ¶
func NewUserUpdatePasswordNotFound() *UserUpdatePasswordNotFound
NewUserUpdatePasswordNotFound creates a UserUpdatePasswordNotFound with default headers values
func (*UserUpdatePasswordNotFound) Code ¶
func (o *UserUpdatePasswordNotFound) Code() int
Code gets the status code for the user update password not found response
func (*UserUpdatePasswordNotFound) Error ¶
func (o *UserUpdatePasswordNotFound) Error() string
func (*UserUpdatePasswordNotFound) IsClientError ¶
func (o *UserUpdatePasswordNotFound) IsClientError() bool
IsClientError returns true when this user update password not found response has a 4xx status code
func (*UserUpdatePasswordNotFound) IsCode ¶
func (o *UserUpdatePasswordNotFound) IsCode(code int) bool
IsCode returns true when this user update password not found response a status code equal to that given
func (*UserUpdatePasswordNotFound) IsRedirect ¶
func (o *UserUpdatePasswordNotFound) IsRedirect() bool
IsRedirect returns true when this user update password not found response has a 3xx status code
func (*UserUpdatePasswordNotFound) IsServerError ¶
func (o *UserUpdatePasswordNotFound) IsServerError() bool
IsServerError returns true when this user update password not found response has a 5xx status code
func (*UserUpdatePasswordNotFound) IsSuccess ¶
func (o *UserUpdatePasswordNotFound) IsSuccess() bool
IsSuccess returns true when this user update password not found response has a 2xx status code
func (*UserUpdatePasswordNotFound) String ¶
func (o *UserUpdatePasswordNotFound) String() string
type UserUpdatePasswordParams ¶
type UserUpdatePasswordParams struct {
/* Body.
details
*/
Body *models.UsersUserUpdatePasswordPayload
/* ID.
identifier
*/
ID int64
Context context.Context
HTTPClient *http.Client
// contains filtered or unexported fields
}
UserUpdatePasswordParams contains all the parameters to send to the API endpoint
for the user update password operation. Typically these are written to a http.Request.
func NewUserUpdatePasswordParams ¶
func NewUserUpdatePasswordParams() *UserUpdatePasswordParams
NewUserUpdatePasswordParams creates a new UserUpdatePasswordParams 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 NewUserUpdatePasswordParamsWithContext ¶
func NewUserUpdatePasswordParamsWithContext(ctx context.Context) *UserUpdatePasswordParams
NewUserUpdatePasswordParamsWithContext creates a new UserUpdatePasswordParams object with the ability to set a context for a request.
func NewUserUpdatePasswordParamsWithHTTPClient ¶
func NewUserUpdatePasswordParamsWithHTTPClient(client *http.Client) *UserUpdatePasswordParams
NewUserUpdatePasswordParamsWithHTTPClient creates a new UserUpdatePasswordParams object with the ability to set a custom HTTPClient for a request.
func NewUserUpdatePasswordParamsWithTimeout ¶
func NewUserUpdatePasswordParamsWithTimeout(timeout time.Duration) *UserUpdatePasswordParams
NewUserUpdatePasswordParamsWithTimeout creates a new UserUpdatePasswordParams object with the ability to set a timeout on a request.
func (*UserUpdatePasswordParams) SetBody ¶
func (o *UserUpdatePasswordParams) SetBody(body *models.UsersUserUpdatePasswordPayload)
SetBody adds the body to the user update password params
func (*UserUpdatePasswordParams) SetContext ¶
func (o *UserUpdatePasswordParams) SetContext(ctx context.Context)
SetContext adds the context to the user update password params
func (*UserUpdatePasswordParams) SetDefaults ¶
func (o *UserUpdatePasswordParams) SetDefaults()
SetDefaults hydrates default values in the user update password params (not the query body).
All values with no default are reset to their zero value.
func (*UserUpdatePasswordParams) SetHTTPClient ¶
func (o *UserUpdatePasswordParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the user update password params
func (*UserUpdatePasswordParams) SetID ¶
func (o *UserUpdatePasswordParams) SetID(id int64)
SetID adds the id to the user update password params
func (*UserUpdatePasswordParams) SetTimeout ¶
func (o *UserUpdatePasswordParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the user update password params
func (*UserUpdatePasswordParams) WithBody ¶
func (o *UserUpdatePasswordParams) WithBody(body *models.UsersUserUpdatePasswordPayload) *UserUpdatePasswordParams
WithBody adds the body to the user update password params
func (*UserUpdatePasswordParams) WithContext ¶
func (o *UserUpdatePasswordParams) WithContext(ctx context.Context) *UserUpdatePasswordParams
WithContext adds the context to the user update password params
func (*UserUpdatePasswordParams) WithDefaults ¶
func (o *UserUpdatePasswordParams) WithDefaults() *UserUpdatePasswordParams
WithDefaults hydrates default values in the user update password params (not the query body).
All values with no default are reset to their zero value.
func (*UserUpdatePasswordParams) WithHTTPClient ¶
func (o *UserUpdatePasswordParams) WithHTTPClient(client *http.Client) *UserUpdatePasswordParams
WithHTTPClient adds the HTTPClient to the user update password params
func (*UserUpdatePasswordParams) WithID ¶
func (o *UserUpdatePasswordParams) WithID(id int64) *UserUpdatePasswordParams
WithID adds the id to the user update password params
func (*UserUpdatePasswordParams) WithTimeout ¶
func (o *UserUpdatePasswordParams) WithTimeout(timeout time.Duration) *UserUpdatePasswordParams
WithTimeout adds the timeout to the user update password params
func (*UserUpdatePasswordParams) WriteToRequest ¶
func (o *UserUpdatePasswordParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type UserUpdatePasswordReader ¶
type UserUpdatePasswordReader struct {
// contains filtered or unexported fields
}
UserUpdatePasswordReader is a Reader for the UserUpdatePassword structure.
func (*UserUpdatePasswordReader) ReadResponse ¶
func (o *UserUpdatePasswordReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type UserUpdateReader ¶
type UserUpdateReader struct {
// contains filtered or unexported fields
}
UserUpdateReader is a Reader for the UserUpdate structure.
func (*UserUpdateReader) ReadResponse ¶
func (o *UserUpdateReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
Source Files
¶
- current_user_endpoint_authorizations_inspect_parameters.go
- current_user_endpoint_authorizations_inspect_responses.go
- current_user_inspect_parameters.go
- current_user_inspect_responses.go
- user_admin_check_parameters.go
- user_admin_check_responses.go
- user_admin_init_parameters.go
- user_admin_init_responses.go
- user_create_git_credential_parameters.go
- user_create_git_credential_responses.go
- user_create_parameters.go
- user_create_responses.go
- user_delete_parameters.go
- user_delete_responses.go
- user_generate_api_key_parameters.go
- user_generate_api_key_responses.go
- user_get_api_keys_parameters.go
- user_get_api_keys_responses.go
- user_get_git_credential_parameters.go
- user_get_git_credential_responses.go
- user_get_git_credentials_parameters.go
- user_get_git_credentials_responses.go
- user_inspect_parameters.go
- user_inspect_responses.go
- user_list_parameters.go
- user_list_responses.go
- user_memberships_inspect_parameters.go
- user_memberships_inspect_responses.go
- user_namespaces_parameters.go
- user_namespaces_responses.go
- user_remove_api_key_parameters.go
- user_remove_api_key_responses.go
- user_remove_git_credential_parameters.go
- user_remove_git_credential_responses.go
- user_update_git_credential_parameters.go
- user_update_git_credential_responses.go
- user_update_open_a_i_config_parameters.go
- user_update_open_a_i_config_responses.go
- user_update_parameters.go
- user_update_password_parameters.go
- user_update_password_responses.go
- user_update_responses.go
- users_client.go