Versions in this module Expand all Collapse all v1 v1.0.1 Aug 16, 2019 Changes in this version + type Client struct + func New(transport runtime.ClientTransport, formats strfmt.Registry) *Client + func (a *Client) CreateUser(params *CreateUserParams, authInfo runtime.ClientAuthInfoWriter) (*CreateUserCreated, error) + func (a *Client) DeleteUser(params *DeleteUserParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteUserOK, error) + func (a *Client) GetCurrentUser(params *GetCurrentUserParams, authInfo runtime.ClientAuthInfoWriter) (*GetCurrentUserOK, error) + func (a *Client) GetUser(params *GetUserParams, authInfo runtime.ClientAuthInfoWriter) (*GetUserOK, error) + func (a *Client) GetUsers(params *GetUsersParams, authInfo runtime.ClientAuthInfoWriter) (*GetUsersOK, error) + func (a *Client) ModifyPassword(params *ModifyPasswordParams, authInfo runtime.ClientAuthInfoWriter) (*ModifyPasswordAccepted, error) + func (a *Client) ModifyUser(params *ModifyUserParams, authInfo runtime.ClientAuthInfoWriter) (*ModifyUserOK, error) + func (a *Client) SetTransport(transport runtime.ClientTransport) + type CreateUserBadRequest struct + Payload *models.V4GenericResponse + func NewCreateUserBadRequest() *CreateUserBadRequest + func (o *CreateUserBadRequest) Error() string + type CreateUserCreated struct + Payload *models.V4GenericResponse + func NewCreateUserCreated() *CreateUserCreated + func (o *CreateUserCreated) Error() string + type CreateUserDefault struct + Payload *models.V4GenericResponse + func NewCreateUserDefault(code int) *CreateUserDefault + func (o *CreateUserDefault) Code() int + func (o *CreateUserDefault) Error() string + type CreateUserParams struct + Authorization string + Body *models.V4CreateUserRequest + Context context.Context + Email string + HTTPClient *http.Client + XGiantSwarmActivity *string + XGiantSwarmCmdLine *string + XRequestID *string + func NewCreateUserParams() *CreateUserParams + func NewCreateUserParamsWithContext(ctx context.Context) *CreateUserParams + func NewCreateUserParamsWithHTTPClient(client *http.Client) *CreateUserParams + func NewCreateUserParamsWithTimeout(timeout time.Duration) *CreateUserParams + func (o *CreateUserParams) SetAuthorization(authorization string) + func (o *CreateUserParams) SetBody(body *models.V4CreateUserRequest) + func (o *CreateUserParams) SetContext(ctx context.Context) + func (o *CreateUserParams) SetEmail(email string) + func (o *CreateUserParams) SetHTTPClient(client *http.Client) + func (o *CreateUserParams) SetTimeout(timeout time.Duration) + func (o *CreateUserParams) SetXGiantSwarmActivity(xGiantSwarmActivity *string) + func (o *CreateUserParams) SetXGiantSwarmCmdLine(xGiantSwarmCmdLine *string) + func (o *CreateUserParams) SetXRequestID(xRequestID *string) + func (o *CreateUserParams) WithAuthorization(authorization string) *CreateUserParams + func (o *CreateUserParams) WithBody(body *models.V4CreateUserRequest) *CreateUserParams + func (o *CreateUserParams) WithContext(ctx context.Context) *CreateUserParams + func (o *CreateUserParams) WithEmail(email string) *CreateUserParams + func (o *CreateUserParams) WithHTTPClient(client *http.Client) *CreateUserParams + func (o *CreateUserParams) WithTimeout(timeout time.Duration) *CreateUserParams + func (o *CreateUserParams) WithXGiantSwarmActivity(xGiantSwarmActivity *string) *CreateUserParams + func (o *CreateUserParams) WithXGiantSwarmCmdLine(xGiantSwarmCmdLine *string) *CreateUserParams + func (o *CreateUserParams) WithXRequestID(xRequestID *string) *CreateUserParams + func (o *CreateUserParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error + type CreateUserReader struct + func (o *CreateUserReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error) + type CreateUserUnauthorized struct + Payload *models.V4GenericResponse + func NewCreateUserUnauthorized() *CreateUserUnauthorized + func (o *CreateUserUnauthorized) Error() string + type DeleteUserDefault struct + Payload *models.V4GenericResponse + func NewDeleteUserDefault(code int) *DeleteUserDefault + func (o *DeleteUserDefault) Code() int + func (o *DeleteUserDefault) Error() string + type DeleteUserNotFound struct + Payload *models.V4GenericResponse + func NewDeleteUserNotFound() *DeleteUserNotFound + func (o *DeleteUserNotFound) Error() string + type DeleteUserOK struct + Payload *models.V4GenericResponse + func NewDeleteUserOK() *DeleteUserOK + func (o *DeleteUserOK) Error() string + type DeleteUserParams struct + Authorization string + Context context.Context + Email string + HTTPClient *http.Client + XGiantSwarmActivity *string + XGiantSwarmCmdLine *string + XRequestID *string + func NewDeleteUserParams() *DeleteUserParams + func NewDeleteUserParamsWithContext(ctx context.Context) *DeleteUserParams + func NewDeleteUserParamsWithHTTPClient(client *http.Client) *DeleteUserParams + func NewDeleteUserParamsWithTimeout(timeout time.Duration) *DeleteUserParams + func (o *DeleteUserParams) SetAuthorization(authorization string) + func (o *DeleteUserParams) SetContext(ctx context.Context) + func (o *DeleteUserParams) SetEmail(email string) + func (o *DeleteUserParams) SetHTTPClient(client *http.Client) + func (o *DeleteUserParams) SetTimeout(timeout time.Duration) + func (o *DeleteUserParams) SetXGiantSwarmActivity(xGiantSwarmActivity *string) + func (o *DeleteUserParams) SetXGiantSwarmCmdLine(xGiantSwarmCmdLine *string) + func (o *DeleteUserParams) SetXRequestID(xRequestID *string) + func (o *DeleteUserParams) WithAuthorization(authorization string) *DeleteUserParams + func (o *DeleteUserParams) WithContext(ctx context.Context) *DeleteUserParams + func (o *DeleteUserParams) WithEmail(email string) *DeleteUserParams + func (o *DeleteUserParams) WithHTTPClient(client *http.Client) *DeleteUserParams + func (o *DeleteUserParams) WithTimeout(timeout time.Duration) *DeleteUserParams + func (o *DeleteUserParams) WithXGiantSwarmActivity(xGiantSwarmActivity *string) *DeleteUserParams + func (o *DeleteUserParams) WithXGiantSwarmCmdLine(xGiantSwarmCmdLine *string) *DeleteUserParams + func (o *DeleteUserParams) WithXRequestID(xRequestID *string) *DeleteUserParams + func (o *DeleteUserParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error + type DeleteUserReader struct + func (o *DeleteUserReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error) + type DeleteUserUnauthorized struct + Payload *models.V4GenericResponse + func NewDeleteUserUnauthorized() *DeleteUserUnauthorized + func (o *DeleteUserUnauthorized) Error() string + type GetCurrentUserDefault struct + Payload *models.V4GenericResponse + func NewGetCurrentUserDefault(code int) *GetCurrentUserDefault + func (o *GetCurrentUserDefault) Code() int + func (o *GetCurrentUserDefault) Error() string + type GetCurrentUserOK struct + Payload *models.V4UserListItem + func NewGetCurrentUserOK() *GetCurrentUserOK + func (o *GetCurrentUserOK) Error() string + type GetCurrentUserParams struct + Authorization string + Context context.Context + HTTPClient *http.Client + XGiantSwarmActivity *string + XGiantSwarmCmdLine *string + XRequestID *string + func NewGetCurrentUserParams() *GetCurrentUserParams + func NewGetCurrentUserParamsWithContext(ctx context.Context) *GetCurrentUserParams + func NewGetCurrentUserParamsWithHTTPClient(client *http.Client) *GetCurrentUserParams + func NewGetCurrentUserParamsWithTimeout(timeout time.Duration) *GetCurrentUserParams + func (o *GetCurrentUserParams) SetAuthorization(authorization string) + func (o *GetCurrentUserParams) SetContext(ctx context.Context) + func (o *GetCurrentUserParams) SetHTTPClient(client *http.Client) + func (o *GetCurrentUserParams) SetTimeout(timeout time.Duration) + func (o *GetCurrentUserParams) SetXGiantSwarmActivity(xGiantSwarmActivity *string) + func (o *GetCurrentUserParams) SetXGiantSwarmCmdLine(xGiantSwarmCmdLine *string) + func (o *GetCurrentUserParams) SetXRequestID(xRequestID *string) + func (o *GetCurrentUserParams) WithAuthorization(authorization string) *GetCurrentUserParams + func (o *GetCurrentUserParams) WithContext(ctx context.Context) *GetCurrentUserParams + func (o *GetCurrentUserParams) WithHTTPClient(client *http.Client) *GetCurrentUserParams + func (o *GetCurrentUserParams) WithTimeout(timeout time.Duration) *GetCurrentUserParams + func (o *GetCurrentUserParams) WithXGiantSwarmActivity(xGiantSwarmActivity *string) *GetCurrentUserParams + func (o *GetCurrentUserParams) WithXGiantSwarmCmdLine(xGiantSwarmCmdLine *string) *GetCurrentUserParams + func (o *GetCurrentUserParams) WithXRequestID(xRequestID *string) *GetCurrentUserParams + func (o *GetCurrentUserParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error + type GetCurrentUserReader struct + func (o *GetCurrentUserReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error) + type GetCurrentUserUnauthorized struct + Payload *models.V4GenericResponse + func NewGetCurrentUserUnauthorized() *GetCurrentUserUnauthorized + func (o *GetCurrentUserUnauthorized) Error() string + type GetUserDefault struct + Payload *models.V4GenericResponse + func NewGetUserDefault(code int) *GetUserDefault + func (o *GetUserDefault) Code() int + func (o *GetUserDefault) Error() string + type GetUserNotFound struct + Payload *models.V4GenericResponse + func NewGetUserNotFound() *GetUserNotFound + func (o *GetUserNotFound) Error() string + type GetUserOK struct + Payload *models.V4UserListItem + func NewGetUserOK() *GetUserOK + func (o *GetUserOK) Error() string + type GetUserParams struct + Authorization string + Context context.Context + Email string + HTTPClient *http.Client + XGiantSwarmActivity *string + XGiantSwarmCmdLine *string + XRequestID *string + func NewGetUserParams() *GetUserParams + func NewGetUserParamsWithContext(ctx context.Context) *GetUserParams + func NewGetUserParamsWithHTTPClient(client *http.Client) *GetUserParams + func NewGetUserParamsWithTimeout(timeout time.Duration) *GetUserParams + func (o *GetUserParams) SetAuthorization(authorization string) + func (o *GetUserParams) SetContext(ctx context.Context) + func (o *GetUserParams) SetEmail(email string) + func (o *GetUserParams) SetHTTPClient(client *http.Client) + func (o *GetUserParams) SetTimeout(timeout time.Duration) + func (o *GetUserParams) SetXGiantSwarmActivity(xGiantSwarmActivity *string) + func (o *GetUserParams) SetXGiantSwarmCmdLine(xGiantSwarmCmdLine *string) + func (o *GetUserParams) SetXRequestID(xRequestID *string) + func (o *GetUserParams) WithAuthorization(authorization string) *GetUserParams + func (o *GetUserParams) WithContext(ctx context.Context) *GetUserParams + func (o *GetUserParams) WithEmail(email string) *GetUserParams + func (o *GetUserParams) WithHTTPClient(client *http.Client) *GetUserParams + func (o *GetUserParams) WithTimeout(timeout time.Duration) *GetUserParams + func (o *GetUserParams) WithXGiantSwarmActivity(xGiantSwarmActivity *string) *GetUserParams + func (o *GetUserParams) WithXGiantSwarmCmdLine(xGiantSwarmCmdLine *string) *GetUserParams + func (o *GetUserParams) WithXRequestID(xRequestID *string) *GetUserParams + func (o *GetUserParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error + type GetUserReader struct + func (o *GetUserReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error) + type GetUserUnauthorized struct + Payload *models.V4GenericResponse + func NewGetUserUnauthorized() *GetUserUnauthorized + func (o *GetUserUnauthorized) Error() string + type GetUsersDefault struct + Payload *models.V4GenericResponse + func NewGetUsersDefault(code int) *GetUsersDefault + func (o *GetUsersDefault) Code() int + func (o *GetUsersDefault) Error() string + type GetUsersOK struct + Payload []*models.V4UserListItem + func NewGetUsersOK() *GetUsersOK + func (o *GetUsersOK) Error() string + type GetUsersParams struct + Authorization string + Context context.Context + HTTPClient *http.Client + XGiantSwarmActivity *string + XGiantSwarmCmdLine *string + XRequestID *string + func NewGetUsersParams() *GetUsersParams + func NewGetUsersParamsWithContext(ctx context.Context) *GetUsersParams + func NewGetUsersParamsWithHTTPClient(client *http.Client) *GetUsersParams + func NewGetUsersParamsWithTimeout(timeout time.Duration) *GetUsersParams + func (o *GetUsersParams) SetAuthorization(authorization string) + func (o *GetUsersParams) SetContext(ctx context.Context) + func (o *GetUsersParams) SetHTTPClient(client *http.Client) + func (o *GetUsersParams) SetTimeout(timeout time.Duration) + func (o *GetUsersParams) SetXGiantSwarmActivity(xGiantSwarmActivity *string) + func (o *GetUsersParams) SetXGiantSwarmCmdLine(xGiantSwarmCmdLine *string) + func (o *GetUsersParams) SetXRequestID(xRequestID *string) + func (o *GetUsersParams) WithAuthorization(authorization string) *GetUsersParams + func (o *GetUsersParams) WithContext(ctx context.Context) *GetUsersParams + func (o *GetUsersParams) WithHTTPClient(client *http.Client) *GetUsersParams + func (o *GetUsersParams) WithTimeout(timeout time.Duration) *GetUsersParams + func (o *GetUsersParams) WithXGiantSwarmActivity(xGiantSwarmActivity *string) *GetUsersParams + func (o *GetUsersParams) WithXGiantSwarmCmdLine(xGiantSwarmCmdLine *string) *GetUsersParams + func (o *GetUsersParams) WithXRequestID(xRequestID *string) *GetUsersParams + func (o *GetUsersParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error + type GetUsersReader struct + func (o *GetUsersReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error) + type GetUsersUnauthorized struct + Payload *models.V4GenericResponse + func NewGetUsersUnauthorized() *GetUsersUnauthorized + func (o *GetUsersUnauthorized) Error() string + type ModifyPasswordAccepted struct + Payload *models.V4GenericResponse + func NewModifyPasswordAccepted() *ModifyPasswordAccepted + func (o *ModifyPasswordAccepted) Error() string + type ModifyPasswordDefault struct + Payload *models.V4GenericResponse + func NewModifyPasswordDefault(code int) *ModifyPasswordDefault + func (o *ModifyPasswordDefault) Code() int + func (o *ModifyPasswordDefault) Error() string + type ModifyPasswordNotFound struct + Payload *models.V4GenericResponse + func NewModifyPasswordNotFound() *ModifyPasswordNotFound + func (o *ModifyPasswordNotFound) Error() string + type ModifyPasswordParams struct + Authorization string + Body *models.V4ModifyUserPasswordRequest + Context context.Context + Email string + HTTPClient *http.Client + XGiantSwarmActivity *string + XGiantSwarmCmdLine *string + XRequestID *string + func NewModifyPasswordParams() *ModifyPasswordParams + func NewModifyPasswordParamsWithContext(ctx context.Context) *ModifyPasswordParams + func NewModifyPasswordParamsWithHTTPClient(client *http.Client) *ModifyPasswordParams + func NewModifyPasswordParamsWithTimeout(timeout time.Duration) *ModifyPasswordParams + func (o *ModifyPasswordParams) SetAuthorization(authorization string) + func (o *ModifyPasswordParams) SetBody(body *models.V4ModifyUserPasswordRequest) + func (o *ModifyPasswordParams) SetContext(ctx context.Context) + func (o *ModifyPasswordParams) SetEmail(email string) + func (o *ModifyPasswordParams) SetHTTPClient(client *http.Client) + func (o *ModifyPasswordParams) SetTimeout(timeout time.Duration) + func (o *ModifyPasswordParams) SetXGiantSwarmActivity(xGiantSwarmActivity *string) + func (o *ModifyPasswordParams) SetXGiantSwarmCmdLine(xGiantSwarmCmdLine *string) + func (o *ModifyPasswordParams) SetXRequestID(xRequestID *string) + func (o *ModifyPasswordParams) WithAuthorization(authorization string) *ModifyPasswordParams + func (o *ModifyPasswordParams) WithBody(body *models.V4ModifyUserPasswordRequest) *ModifyPasswordParams + func (o *ModifyPasswordParams) WithContext(ctx context.Context) *ModifyPasswordParams + func (o *ModifyPasswordParams) WithEmail(email string) *ModifyPasswordParams + func (o *ModifyPasswordParams) WithHTTPClient(client *http.Client) *ModifyPasswordParams + func (o *ModifyPasswordParams) WithTimeout(timeout time.Duration) *ModifyPasswordParams + func (o *ModifyPasswordParams) WithXGiantSwarmActivity(xGiantSwarmActivity *string) *ModifyPasswordParams + func (o *ModifyPasswordParams) WithXGiantSwarmCmdLine(xGiantSwarmCmdLine *string) *ModifyPasswordParams + func (o *ModifyPasswordParams) WithXRequestID(xRequestID *string) *ModifyPasswordParams + func (o *ModifyPasswordParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error + type ModifyPasswordReader struct + func (o *ModifyPasswordReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error) + type ModifyPasswordUnauthorized struct + Payload *models.V4GenericResponse + func NewModifyPasswordUnauthorized() *ModifyPasswordUnauthorized + func (o *ModifyPasswordUnauthorized) Error() string + type ModifyUserDefault struct + Payload *models.V4GenericResponse + func NewModifyUserDefault(code int) *ModifyUserDefault + func (o *ModifyUserDefault) Code() int + func (o *ModifyUserDefault) Error() string + type ModifyUserOK struct + Payload *models.V4UserListItem + func NewModifyUserOK() *ModifyUserOK + func (o *ModifyUserOK) Error() string + type ModifyUserParams struct + Authorization string + Body *models.V4ModifyUserRequest + Context context.Context + Email string + HTTPClient *http.Client + XGiantSwarmActivity *string + XGiantSwarmCmdLine *string + XRequestID *string + func NewModifyUserParams() *ModifyUserParams + func NewModifyUserParamsWithContext(ctx context.Context) *ModifyUserParams + func NewModifyUserParamsWithHTTPClient(client *http.Client) *ModifyUserParams + func NewModifyUserParamsWithTimeout(timeout time.Duration) *ModifyUserParams + func (o *ModifyUserParams) SetAuthorization(authorization string) + func (o *ModifyUserParams) SetBody(body *models.V4ModifyUserRequest) + func (o *ModifyUserParams) SetContext(ctx context.Context) + func (o *ModifyUserParams) SetEmail(email string) + func (o *ModifyUserParams) SetHTTPClient(client *http.Client) + func (o *ModifyUserParams) SetTimeout(timeout time.Duration) + func (o *ModifyUserParams) SetXGiantSwarmActivity(xGiantSwarmActivity *string) + func (o *ModifyUserParams) SetXGiantSwarmCmdLine(xGiantSwarmCmdLine *string) + func (o *ModifyUserParams) SetXRequestID(xRequestID *string) + func (o *ModifyUserParams) WithAuthorization(authorization string) *ModifyUserParams + func (o *ModifyUserParams) WithBody(body *models.V4ModifyUserRequest) *ModifyUserParams + func (o *ModifyUserParams) WithContext(ctx context.Context) *ModifyUserParams + func (o *ModifyUserParams) WithEmail(email string) *ModifyUserParams + func (o *ModifyUserParams) WithHTTPClient(client *http.Client) *ModifyUserParams + func (o *ModifyUserParams) WithTimeout(timeout time.Duration) *ModifyUserParams + func (o *ModifyUserParams) WithXGiantSwarmActivity(xGiantSwarmActivity *string) *ModifyUserParams + func (o *ModifyUserParams) WithXGiantSwarmCmdLine(xGiantSwarmCmdLine *string) *ModifyUserParams + func (o *ModifyUserParams) WithXRequestID(xRequestID *string) *ModifyUserParams + func (o *ModifyUserParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error + type ModifyUserReader struct + func (o *ModifyUserReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error) + type ModifyUserUnauthorized struct + Payload *models.V4GenericResponse + func NewModifyUserUnauthorized() *ModifyUserUnauthorized + func (o *ModifyUserUnauthorized) Error() string