Versions in this module Expand all Collapse all v2 v2.0.4 Apr 6, 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) (*CreateUserOK, error) + func (a *Client) CurrentUser(params *CurrentUserParams, authInfo runtime.ClientAuthInfoWriter) (*CurrentUserOK, error) + func (a *Client) DeleteUser(params *DeleteUserParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteUserOK, 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) SetTransport(transport runtime.ClientTransport) + func (a *Client) UpdateCurrentUser(params *UpdateCurrentUserParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateCurrentUserOK, error) + func (a *Client) UpdateUser(params *UpdateUserParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateUserOK, error) + type CreateUserBadRequest struct + Payload *models.Error + func NewCreateUserBadRequest() *CreateUserBadRequest + func (o *CreateUserBadRequest) Error() string + type CreateUserForbidden struct + Payload *models.Error + func NewCreateUserForbidden() *CreateUserForbidden + func (o *CreateUserForbidden) Error() string + type CreateUserOK struct + Payload *models.UserExternal + func NewCreateUserOK() *CreateUserOK + func (o *CreateUserOK) Error() string + type CreateUserParams struct + Body *models.UserExternalWithPass + Context context.Context + HTTPClient *http.Client + func NewCreateUserParams() *CreateUserParams + func NewCreateUserParamsWithContext(ctx context.Context) *CreateUserParams + func NewCreateUserParamsWithHTTPClient(client *http.Client) *CreateUserParams + func NewCreateUserParamsWithTimeout(timeout time.Duration) *CreateUserParams + func (o *CreateUserParams) SetBody(body *models.UserExternalWithPass) + func (o *CreateUserParams) SetContext(ctx context.Context) + func (o *CreateUserParams) SetHTTPClient(client *http.Client) + func (o *CreateUserParams) SetTimeout(timeout time.Duration) + func (o *CreateUserParams) WithBody(body *models.UserExternalWithPass) *CreateUserParams + func (o *CreateUserParams) WithContext(ctx context.Context) *CreateUserParams + func (o *CreateUserParams) WithHTTPClient(client *http.Client) *CreateUserParams + func (o *CreateUserParams) WithTimeout(timeout time.Duration) *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.Error + func NewCreateUserUnauthorized() *CreateUserUnauthorized + func (o *CreateUserUnauthorized) Error() string + type CurrentUserForbidden struct + Payload *models.Error + func NewCurrentUserForbidden() *CurrentUserForbidden + func (o *CurrentUserForbidden) Error() string + type CurrentUserOK struct + Payload *models.UserExternal + func NewCurrentUserOK() *CurrentUserOK + func (o *CurrentUserOK) Error() string + type CurrentUserParams struct + Context context.Context + HTTPClient *http.Client + func NewCurrentUserParams() *CurrentUserParams + func NewCurrentUserParamsWithContext(ctx context.Context) *CurrentUserParams + func NewCurrentUserParamsWithHTTPClient(client *http.Client) *CurrentUserParams + func NewCurrentUserParamsWithTimeout(timeout time.Duration) *CurrentUserParams + func (o *CurrentUserParams) SetContext(ctx context.Context) + func (o *CurrentUserParams) SetHTTPClient(client *http.Client) + func (o *CurrentUserParams) SetTimeout(timeout time.Duration) + func (o *CurrentUserParams) WithContext(ctx context.Context) *CurrentUserParams + func (o *CurrentUserParams) WithHTTPClient(client *http.Client) *CurrentUserParams + func (o *CurrentUserParams) WithTimeout(timeout time.Duration) *CurrentUserParams + func (o *CurrentUserParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error + type CurrentUserReader struct + func (o *CurrentUserReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error) + type CurrentUserUnauthorized struct + Payload *models.Error + func NewCurrentUserUnauthorized() *CurrentUserUnauthorized + func (o *CurrentUserUnauthorized) Error() string + type DeleteUserBadRequest struct + Payload *models.Error + func NewDeleteUserBadRequest() *DeleteUserBadRequest + func (o *DeleteUserBadRequest) Error() string + type DeleteUserForbidden struct + Payload *models.Error + func NewDeleteUserForbidden() *DeleteUserForbidden + func (o *DeleteUserForbidden) Error() string + type DeleteUserNotFound struct + Payload *models.Error + func NewDeleteUserNotFound() *DeleteUserNotFound + func (o *DeleteUserNotFound) Error() string + type DeleteUserOK struct + func NewDeleteUserOK() *DeleteUserOK + func (o *DeleteUserOK) Error() string + type DeleteUserParams struct + Context context.Context + HTTPClient *http.Client + ID int64 + func NewDeleteUserParams() *DeleteUserParams + func NewDeleteUserParamsWithContext(ctx context.Context) *DeleteUserParams + func NewDeleteUserParamsWithHTTPClient(client *http.Client) *DeleteUserParams + func NewDeleteUserParamsWithTimeout(timeout time.Duration) *DeleteUserParams + func (o *DeleteUserParams) SetContext(ctx context.Context) + func (o *DeleteUserParams) SetHTTPClient(client *http.Client) + func (o *DeleteUserParams) SetID(id int64) + func (o *DeleteUserParams) SetTimeout(timeout time.Duration) + func (o *DeleteUserParams) WithContext(ctx context.Context) *DeleteUserParams + func (o *DeleteUserParams) WithHTTPClient(client *http.Client) *DeleteUserParams + func (o *DeleteUserParams) WithID(id int64) *DeleteUserParams + func (o *DeleteUserParams) WithTimeout(timeout time.Duration) *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.Error + func NewDeleteUserUnauthorized() *DeleteUserUnauthorized + func (o *DeleteUserUnauthorized) Error() string + type GetUserBadRequest struct + Payload *models.Error + func NewGetUserBadRequest() *GetUserBadRequest + func (o *GetUserBadRequest) Error() string + type GetUserForbidden struct + Payload *models.Error + func NewGetUserForbidden() *GetUserForbidden + func (o *GetUserForbidden) Error() string + type GetUserNotFound struct + Payload *models.Error + func NewGetUserNotFound() *GetUserNotFound + func (o *GetUserNotFound) Error() string + type GetUserOK struct + Payload *models.UserExternal + func NewGetUserOK() *GetUserOK + func (o *GetUserOK) Error() string + type GetUserParams struct + Context context.Context + HTTPClient *http.Client + ID int64 + func NewGetUserParams() *GetUserParams + func NewGetUserParamsWithContext(ctx context.Context) *GetUserParams + func NewGetUserParamsWithHTTPClient(client *http.Client) *GetUserParams + func NewGetUserParamsWithTimeout(timeout time.Duration) *GetUserParams + func (o *GetUserParams) SetContext(ctx context.Context) + func (o *GetUserParams) SetHTTPClient(client *http.Client) + func (o *GetUserParams) SetID(id int64) + func (o *GetUserParams) SetTimeout(timeout time.Duration) + func (o *GetUserParams) WithContext(ctx context.Context) *GetUserParams + func (o *GetUserParams) WithHTTPClient(client *http.Client) *GetUserParams + func (o *GetUserParams) WithID(id int64) *GetUserParams + func (o *GetUserParams) WithTimeout(timeout time.Duration) *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.Error + func NewGetUserUnauthorized() *GetUserUnauthorized + func (o *GetUserUnauthorized) Error() string + type GetUsersForbidden struct + Payload *models.Error + func NewGetUsersForbidden() *GetUsersForbidden + func (o *GetUsersForbidden) Error() string + type GetUsersOK struct + Payload []*models.UserExternal + func NewGetUsersOK() *GetUsersOK + func (o *GetUsersOK) Error() string + type GetUsersParams struct + Context context.Context + HTTPClient *http.Client + func NewGetUsersParams() *GetUsersParams + func NewGetUsersParamsWithContext(ctx context.Context) *GetUsersParams + func NewGetUsersParamsWithHTTPClient(client *http.Client) *GetUsersParams + func NewGetUsersParamsWithTimeout(timeout time.Duration) *GetUsersParams + func (o *GetUsersParams) SetContext(ctx context.Context) + func (o *GetUsersParams) SetHTTPClient(client *http.Client) + func (o *GetUsersParams) SetTimeout(timeout time.Duration) + 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) 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.Error + func NewGetUsersUnauthorized() *GetUsersUnauthorized + func (o *GetUsersUnauthorized) Error() string + type UpdateCurrentUserBadRequest struct + Payload *models.Error + func NewUpdateCurrentUserBadRequest() *UpdateCurrentUserBadRequest + func (o *UpdateCurrentUserBadRequest) Error() string + type UpdateCurrentUserForbidden struct + Payload *models.Error + func NewUpdateCurrentUserForbidden() *UpdateCurrentUserForbidden + func (o *UpdateCurrentUserForbidden) Error() string + type UpdateCurrentUserOK struct + func NewUpdateCurrentUserOK() *UpdateCurrentUserOK + func (o *UpdateCurrentUserOK) Error() string + type UpdateCurrentUserParams struct + Body *models.UserExternalPass + Context context.Context + HTTPClient *http.Client + func NewUpdateCurrentUserParams() *UpdateCurrentUserParams + func NewUpdateCurrentUserParamsWithContext(ctx context.Context) *UpdateCurrentUserParams + func NewUpdateCurrentUserParamsWithHTTPClient(client *http.Client) *UpdateCurrentUserParams + func NewUpdateCurrentUserParamsWithTimeout(timeout time.Duration) *UpdateCurrentUserParams + func (o *UpdateCurrentUserParams) SetBody(body *models.UserExternalPass) + func (o *UpdateCurrentUserParams) SetContext(ctx context.Context) + func (o *UpdateCurrentUserParams) SetHTTPClient(client *http.Client) + func (o *UpdateCurrentUserParams) SetTimeout(timeout time.Duration) + func (o *UpdateCurrentUserParams) WithBody(body *models.UserExternalPass) *UpdateCurrentUserParams + func (o *UpdateCurrentUserParams) WithContext(ctx context.Context) *UpdateCurrentUserParams + func (o *UpdateCurrentUserParams) WithHTTPClient(client *http.Client) *UpdateCurrentUserParams + func (o *UpdateCurrentUserParams) WithTimeout(timeout time.Duration) *UpdateCurrentUserParams + func (o *UpdateCurrentUserParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error + type UpdateCurrentUserReader struct + func (o *UpdateCurrentUserReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error) + type UpdateCurrentUserUnauthorized struct + Payload *models.Error + func NewUpdateCurrentUserUnauthorized() *UpdateCurrentUserUnauthorized + func (o *UpdateCurrentUserUnauthorized) Error() string + type UpdateUserBadRequest struct + Payload *models.Error + func NewUpdateUserBadRequest() *UpdateUserBadRequest + func (o *UpdateUserBadRequest) Error() string + type UpdateUserForbidden struct + Payload *models.Error + func NewUpdateUserForbidden() *UpdateUserForbidden + func (o *UpdateUserForbidden) Error() string + type UpdateUserNotFound struct + Payload *models.Error + func NewUpdateUserNotFound() *UpdateUserNotFound + func (o *UpdateUserNotFound) Error() string + type UpdateUserOK struct + Payload *models.UserExternal + func NewUpdateUserOK() *UpdateUserOK + func (o *UpdateUserOK) Error() string + type UpdateUserParams struct + Body *models.UserExternalWithPass + Context context.Context + HTTPClient *http.Client + ID int64 + func NewUpdateUserParams() *UpdateUserParams + func NewUpdateUserParamsWithContext(ctx context.Context) *UpdateUserParams + func NewUpdateUserParamsWithHTTPClient(client *http.Client) *UpdateUserParams + func NewUpdateUserParamsWithTimeout(timeout time.Duration) *UpdateUserParams + func (o *UpdateUserParams) SetBody(body *models.UserExternalWithPass) + func (o *UpdateUserParams) SetContext(ctx context.Context) + func (o *UpdateUserParams) SetHTTPClient(client *http.Client) + func (o *UpdateUserParams) SetID(id int64) + func (o *UpdateUserParams) SetTimeout(timeout time.Duration) + func (o *UpdateUserParams) WithBody(body *models.UserExternalWithPass) *UpdateUserParams + func (o *UpdateUserParams) WithContext(ctx context.Context) *UpdateUserParams + func (o *UpdateUserParams) WithHTTPClient(client *http.Client) *UpdateUserParams + func (o *UpdateUserParams) WithID(id int64) *UpdateUserParams + func (o *UpdateUserParams) WithTimeout(timeout time.Duration) *UpdateUserParams + func (o *UpdateUserParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error + type UpdateUserReader struct + func (o *UpdateUserReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error) + type UpdateUserUnauthorized struct + Payload *models.Error + func NewUpdateUserUnauthorized() *UpdateUserUnauthorized + func (o *UpdateUserUnauthorized) Error() string Other modules containing this package github.com/gotify/go-api-client