Documentation ¶
Index ¶
- type Client
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- func (a *Client) UserAdd(params *UserAddParams, authInfo runtime.ClientAuthInfoWriter, ...) (*UserAddOK, error)
- func (a *Client) UserFindByID(params *UserFindByIDParams, authInfo runtime.ClientAuthInfoWriter, ...) (*UserFindByIDOK, error)
- func (a *Client) UserFindByUsername(params *UserFindByUsernameParams, authInfo runtime.ClientAuthInfoWriter, ...) (*UserFindByUsernameOK, error)
- func (a *Client) UserFindList(params *UserFindListParams, authInfo runtime.ClientAuthInfoWriter, ...) (*UserFindListOK, error)
- func (a *Client) UserIDUpdate(params *UserIDUpdateParams, authInfo runtime.ClientAuthInfoWriter, ...) (*UserIDUpdateOK, error)
- func (a *Client) UserNameUpdate(params *UserNameUpdateParams, authInfo runtime.ClientAuthInfoWriter, ...) (*UserNameUpdateOK, error)
- type ClientOption
- type ClientService
- type UserAddBadRequest
- func (o *UserAddBadRequest) Code() int
- func (o *UserAddBadRequest) Error() string
- func (o *UserAddBadRequest) GetPayload() *models.Response
- func (o *UserAddBadRequest) IsClientError() bool
- func (o *UserAddBadRequest) IsCode(code int) bool
- func (o *UserAddBadRequest) IsRedirect() bool
- func (o *UserAddBadRequest) IsServerError() bool
- func (o *UserAddBadRequest) IsSuccess() bool
- func (o *UserAddBadRequest) String() string
- type UserAddInternalServerError
- func (o *UserAddInternalServerError) Code() int
- func (o *UserAddInternalServerError) Error() string
- func (o *UserAddInternalServerError) GetPayload() *models.Response
- func (o *UserAddInternalServerError) IsClientError() bool
- func (o *UserAddInternalServerError) IsCode(code int) bool
- func (o *UserAddInternalServerError) IsRedirect() bool
- func (o *UserAddInternalServerError) IsServerError() bool
- func (o *UserAddInternalServerError) IsSuccess() bool
- func (o *UserAddInternalServerError) String() string
- type UserAddOK
- func (o *UserAddOK) Code() int
- func (o *UserAddOK) Error() string
- func (o *UserAddOK) GetPayload() *models.Response
- func (o *UserAddOK) IsClientError() bool
- func (o *UserAddOK) IsCode(code int) bool
- func (o *UserAddOK) IsRedirect() bool
- func (o *UserAddOK) IsServerError() bool
- func (o *UserAddOK) IsSuccess() bool
- func (o *UserAddOK) String() string
- type UserAddParams
- func (o *UserAddParams) SetBody(body *models.UserAddRequest)
- func (o *UserAddParams) SetContext(ctx context.Context)
- func (o *UserAddParams) SetDefaults()
- func (o *UserAddParams) SetHTTPClient(client *http.Client)
- func (o *UserAddParams) SetTimeout(timeout time.Duration)
- func (o *UserAddParams) WithBody(body *models.UserAddRequest) *UserAddParams
- func (o *UserAddParams) WithContext(ctx context.Context) *UserAddParams
- func (o *UserAddParams) WithDefaults() *UserAddParams
- func (o *UserAddParams) WithHTTPClient(client *http.Client) *UserAddParams
- func (o *UserAddParams) WithTimeout(timeout time.Duration) *UserAddParams
- func (o *UserAddParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UserAddReader
- type UserAddUnauthorized
- func (o *UserAddUnauthorized) Code() int
- func (o *UserAddUnauthorized) Error() string
- func (o *UserAddUnauthorized) GetPayload() *models.Response
- func (o *UserAddUnauthorized) IsClientError() bool
- func (o *UserAddUnauthorized) IsCode(code int) bool
- func (o *UserAddUnauthorized) IsRedirect() bool
- func (o *UserAddUnauthorized) IsServerError() bool
- func (o *UserAddUnauthorized) IsSuccess() bool
- func (o *UserAddUnauthorized) String() string
- type UserFindByIDBadRequest
- func (o *UserFindByIDBadRequest) Code() int
- func (o *UserFindByIDBadRequest) Error() string
- func (o *UserFindByIDBadRequest) GetPayload() *models.Response
- func (o *UserFindByIDBadRequest) IsClientError() bool
- func (o *UserFindByIDBadRequest) IsCode(code int) bool
- func (o *UserFindByIDBadRequest) IsRedirect() bool
- func (o *UserFindByIDBadRequest) IsServerError() bool
- func (o *UserFindByIDBadRequest) IsSuccess() bool
- func (o *UserFindByIDBadRequest) String() string
- type UserFindByIDInternalServerError
- func (o *UserFindByIDInternalServerError) Code() int
- func (o *UserFindByIDInternalServerError) Error() string
- func (o *UserFindByIDInternalServerError) GetPayload() *models.Response
- func (o *UserFindByIDInternalServerError) IsClientError() bool
- func (o *UserFindByIDInternalServerError) IsCode(code int) bool
- func (o *UserFindByIDInternalServerError) IsRedirect() bool
- func (o *UserFindByIDInternalServerError) IsServerError() bool
- func (o *UserFindByIDInternalServerError) IsSuccess() bool
- func (o *UserFindByIDInternalServerError) String() string
- type UserFindByIDOK
- func (o *UserFindByIDOK) Code() int
- func (o *UserFindByIDOK) Error() string
- func (o *UserFindByIDOK) GetPayload() *models.User
- func (o *UserFindByIDOK) IsClientError() bool
- func (o *UserFindByIDOK) IsCode(code int) bool
- func (o *UserFindByIDOK) IsRedirect() bool
- func (o *UserFindByIDOK) IsServerError() bool
- func (o *UserFindByIDOK) IsSuccess() bool
- func (o *UserFindByIDOK) String() string
- type UserFindByIDParams
- func (o *UserFindByIDParams) SetContext(ctx context.Context)
- func (o *UserFindByIDParams) SetDefaults()
- func (o *UserFindByIDParams) SetHTTPClient(client *http.Client)
- func (o *UserFindByIDParams) SetID(id string)
- func (o *UserFindByIDParams) SetTimeout(timeout time.Duration)
- func (o *UserFindByIDParams) WithContext(ctx context.Context) *UserFindByIDParams
- func (o *UserFindByIDParams) WithDefaults() *UserFindByIDParams
- func (o *UserFindByIDParams) WithHTTPClient(client *http.Client) *UserFindByIDParams
- func (o *UserFindByIDParams) WithID(id string) *UserFindByIDParams
- func (o *UserFindByIDParams) WithTimeout(timeout time.Duration) *UserFindByIDParams
- func (o *UserFindByIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UserFindByIDReader
- type UserFindByIDUnauthorized
- func (o *UserFindByIDUnauthorized) Code() int
- func (o *UserFindByIDUnauthorized) Error() string
- func (o *UserFindByIDUnauthorized) GetPayload() *models.Response
- func (o *UserFindByIDUnauthorized) IsClientError() bool
- func (o *UserFindByIDUnauthorized) IsCode(code int) bool
- func (o *UserFindByIDUnauthorized) IsRedirect() bool
- func (o *UserFindByIDUnauthorized) IsServerError() bool
- func (o *UserFindByIDUnauthorized) IsSuccess() bool
- func (o *UserFindByIDUnauthorized) String() string
- type UserFindByUsernameBadRequest
- func (o *UserFindByUsernameBadRequest) Code() int
- func (o *UserFindByUsernameBadRequest) Error() string
- func (o *UserFindByUsernameBadRequest) GetPayload() *models.Response
- func (o *UserFindByUsernameBadRequest) IsClientError() bool
- func (o *UserFindByUsernameBadRequest) IsCode(code int) bool
- func (o *UserFindByUsernameBadRequest) IsRedirect() bool
- func (o *UserFindByUsernameBadRequest) IsServerError() bool
- func (o *UserFindByUsernameBadRequest) IsSuccess() bool
- func (o *UserFindByUsernameBadRequest) String() string
- type UserFindByUsernameInternalServerError
- func (o *UserFindByUsernameInternalServerError) Code() int
- func (o *UserFindByUsernameInternalServerError) Error() string
- func (o *UserFindByUsernameInternalServerError) GetPayload() *models.Response
- func (o *UserFindByUsernameInternalServerError) IsClientError() bool
- func (o *UserFindByUsernameInternalServerError) IsCode(code int) bool
- func (o *UserFindByUsernameInternalServerError) IsRedirect() bool
- func (o *UserFindByUsernameInternalServerError) IsServerError() bool
- func (o *UserFindByUsernameInternalServerError) IsSuccess() bool
- func (o *UserFindByUsernameInternalServerError) String() string
- type UserFindByUsernameOK
- func (o *UserFindByUsernameOK) Code() int
- func (o *UserFindByUsernameOK) Error() string
- func (o *UserFindByUsernameOK) GetPayload() *models.User
- func (o *UserFindByUsernameOK) IsClientError() bool
- func (o *UserFindByUsernameOK) IsCode(code int) bool
- func (o *UserFindByUsernameOK) IsRedirect() bool
- func (o *UserFindByUsernameOK) IsServerError() bool
- func (o *UserFindByUsernameOK) IsSuccess() bool
- func (o *UserFindByUsernameOK) String() string
- type UserFindByUsernameParams
- func NewUserFindByUsernameParams() *UserFindByUsernameParams
- func NewUserFindByUsernameParamsWithContext(ctx context.Context) *UserFindByUsernameParams
- func NewUserFindByUsernameParamsWithHTTPClient(client *http.Client) *UserFindByUsernameParams
- func NewUserFindByUsernameParamsWithTimeout(timeout time.Duration) *UserFindByUsernameParams
- func (o *UserFindByUsernameParams) SetContext(ctx context.Context)
- func (o *UserFindByUsernameParams) SetDefaults()
- func (o *UserFindByUsernameParams) SetHTTPClient(client *http.Client)
- func (o *UserFindByUsernameParams) SetTimeout(timeout time.Duration)
- func (o *UserFindByUsernameParams) SetUsername(username string)
- func (o *UserFindByUsernameParams) WithContext(ctx context.Context) *UserFindByUsernameParams
- func (o *UserFindByUsernameParams) WithDefaults() *UserFindByUsernameParams
- func (o *UserFindByUsernameParams) WithHTTPClient(client *http.Client) *UserFindByUsernameParams
- func (o *UserFindByUsernameParams) WithTimeout(timeout time.Duration) *UserFindByUsernameParams
- func (o *UserFindByUsernameParams) WithUsername(username string) *UserFindByUsernameParams
- func (o *UserFindByUsernameParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UserFindByUsernameReader
- type UserFindByUsernameUnauthorized
- func (o *UserFindByUsernameUnauthorized) Code() int
- func (o *UserFindByUsernameUnauthorized) Error() string
- func (o *UserFindByUsernameUnauthorized) GetPayload() *models.Response
- func (o *UserFindByUsernameUnauthorized) IsClientError() bool
- func (o *UserFindByUsernameUnauthorized) IsCode(code int) bool
- func (o *UserFindByUsernameUnauthorized) IsRedirect() bool
- func (o *UserFindByUsernameUnauthorized) IsServerError() bool
- func (o *UserFindByUsernameUnauthorized) IsSuccess() bool
- func (o *UserFindByUsernameUnauthorized) String() string
- type UserFindListBadRequest
- func (o *UserFindListBadRequest) Code() int
- func (o *UserFindListBadRequest) Error() string
- func (o *UserFindListBadRequest) GetPayload() *models.Response
- func (o *UserFindListBadRequest) IsClientError() bool
- func (o *UserFindListBadRequest) IsCode(code int) bool
- func (o *UserFindListBadRequest) IsRedirect() bool
- func (o *UserFindListBadRequest) IsServerError() bool
- func (o *UserFindListBadRequest) IsSuccess() bool
- func (o *UserFindListBadRequest) String() string
- type UserFindListInternalServerError
- func (o *UserFindListInternalServerError) Code() int
- func (o *UserFindListInternalServerError) Error() string
- func (o *UserFindListInternalServerError) GetPayload() *models.Response
- func (o *UserFindListInternalServerError) IsClientError() bool
- func (o *UserFindListInternalServerError) IsCode(code int) bool
- func (o *UserFindListInternalServerError) IsRedirect() bool
- func (o *UserFindListInternalServerError) IsServerError() bool
- func (o *UserFindListInternalServerError) IsSuccess() bool
- func (o *UserFindListInternalServerError) String() string
- type UserFindListOK
- func (o *UserFindListOK) Code() int
- func (o *UserFindListOK) Error() string
- func (o *UserFindListOK) GetPayload() *models.UserFindResponse
- func (o *UserFindListOK) IsClientError() bool
- func (o *UserFindListOK) IsCode(code int) bool
- func (o *UserFindListOK) IsRedirect() bool
- func (o *UserFindListOK) IsServerError() bool
- func (o *UserFindListOK) IsSuccess() bool
- func (o *UserFindListOK) String() string
- type UserFindListParams
- func (o *UserFindListParams) SetApplication(application string)
- func (o *UserFindListParams) SetContext(ctx context.Context)
- func (o *UserFindListParams) SetDefaults()
- func (o *UserFindListParams) SetEmail(email *string)
- func (o *UserFindListParams) SetFirstName(firstName *string)
- func (o *UserFindListParams) SetHTTPClient(client *http.Client)
- func (o *UserFindListParams) SetID(id *string)
- func (o *UserFindListParams) SetLastName(lastName *string)
- func (o *UserFindListParams) SetPhone(phone *string)
- func (o *UserFindListParams) SetTimeout(timeout time.Duration)
- func (o *UserFindListParams) SetUserName(userName *string)
- func (o *UserFindListParams) WithApplication(application string) *UserFindListParams
- func (o *UserFindListParams) WithContext(ctx context.Context) *UserFindListParams
- func (o *UserFindListParams) WithDefaults() *UserFindListParams
- func (o *UserFindListParams) WithEmail(email *string) *UserFindListParams
- func (o *UserFindListParams) WithFirstName(firstName *string) *UserFindListParams
- func (o *UserFindListParams) WithHTTPClient(client *http.Client) *UserFindListParams
- func (o *UserFindListParams) WithID(id *string) *UserFindListParams
- func (o *UserFindListParams) WithLastName(lastName *string) *UserFindListParams
- func (o *UserFindListParams) WithPhone(phone *string) *UserFindListParams
- func (o *UserFindListParams) WithTimeout(timeout time.Duration) *UserFindListParams
- func (o *UserFindListParams) WithUserName(userName *string) *UserFindListParams
- func (o *UserFindListParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UserFindListReader
- type UserFindListUnauthorized
- func (o *UserFindListUnauthorized) Code() int
- func (o *UserFindListUnauthorized) Error() string
- func (o *UserFindListUnauthorized) GetPayload() *models.Response
- func (o *UserFindListUnauthorized) IsClientError() bool
- func (o *UserFindListUnauthorized) IsCode(code int) bool
- func (o *UserFindListUnauthorized) IsRedirect() bool
- func (o *UserFindListUnauthorized) IsServerError() bool
- func (o *UserFindListUnauthorized) IsSuccess() bool
- func (o *UserFindListUnauthorized) String() string
- type UserIDUpdateBadRequest
- func (o *UserIDUpdateBadRequest) Code() int
- func (o *UserIDUpdateBadRequest) Error() string
- func (o *UserIDUpdateBadRequest) GetPayload() *models.Response
- func (o *UserIDUpdateBadRequest) IsClientError() bool
- func (o *UserIDUpdateBadRequest) IsCode(code int) bool
- func (o *UserIDUpdateBadRequest) IsRedirect() bool
- func (o *UserIDUpdateBadRequest) IsServerError() bool
- func (o *UserIDUpdateBadRequest) IsSuccess() bool
- func (o *UserIDUpdateBadRequest) String() string
- type UserIDUpdateInternalServerError
- func (o *UserIDUpdateInternalServerError) Code() int
- func (o *UserIDUpdateInternalServerError) Error() string
- func (o *UserIDUpdateInternalServerError) GetPayload() *models.Response
- func (o *UserIDUpdateInternalServerError) IsClientError() bool
- func (o *UserIDUpdateInternalServerError) IsCode(code int) bool
- func (o *UserIDUpdateInternalServerError) IsRedirect() bool
- func (o *UserIDUpdateInternalServerError) IsServerError() bool
- func (o *UserIDUpdateInternalServerError) IsSuccess() bool
- func (o *UserIDUpdateInternalServerError) String() string
- type UserIDUpdateOK
- func (o *UserIDUpdateOK) Code() int
- func (o *UserIDUpdateOK) Error() string
- func (o *UserIDUpdateOK) GetPayload() *models.Response
- func (o *UserIDUpdateOK) IsClientError() bool
- func (o *UserIDUpdateOK) IsCode(code int) bool
- func (o *UserIDUpdateOK) IsRedirect() bool
- func (o *UserIDUpdateOK) IsServerError() bool
- func (o *UserIDUpdateOK) IsSuccess() bool
- func (o *UserIDUpdateOK) String() string
- type UserIDUpdateParams
- func (o *UserIDUpdateParams) SetBody(body *models.UserUpdateRequest)
- func (o *UserIDUpdateParams) SetContext(ctx context.Context)
- func (o *UserIDUpdateParams) SetDefaults()
- func (o *UserIDUpdateParams) SetHTTPClient(client *http.Client)
- func (o *UserIDUpdateParams) SetID(id string)
- func (o *UserIDUpdateParams) SetTimeout(timeout time.Duration)
- func (o *UserIDUpdateParams) WithBody(body *models.UserUpdateRequest) *UserIDUpdateParams
- func (o *UserIDUpdateParams) WithContext(ctx context.Context) *UserIDUpdateParams
- func (o *UserIDUpdateParams) WithDefaults() *UserIDUpdateParams
- func (o *UserIDUpdateParams) WithHTTPClient(client *http.Client) *UserIDUpdateParams
- func (o *UserIDUpdateParams) WithID(id string) *UserIDUpdateParams
- func (o *UserIDUpdateParams) WithTimeout(timeout time.Duration) *UserIDUpdateParams
- func (o *UserIDUpdateParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UserIDUpdateReader
- type UserIDUpdateUnauthorized
- func (o *UserIDUpdateUnauthorized) Code() int
- func (o *UserIDUpdateUnauthorized) Error() string
- func (o *UserIDUpdateUnauthorized) GetPayload() *models.Response
- func (o *UserIDUpdateUnauthorized) IsClientError() bool
- func (o *UserIDUpdateUnauthorized) IsCode(code int) bool
- func (o *UserIDUpdateUnauthorized) IsRedirect() bool
- func (o *UserIDUpdateUnauthorized) IsServerError() bool
- func (o *UserIDUpdateUnauthorized) IsSuccess() bool
- func (o *UserIDUpdateUnauthorized) String() string
- type UserNameUpdateBadRequest
- func (o *UserNameUpdateBadRequest) Code() int
- func (o *UserNameUpdateBadRequest) Error() string
- func (o *UserNameUpdateBadRequest) GetPayload() *models.Response
- func (o *UserNameUpdateBadRequest) IsClientError() bool
- func (o *UserNameUpdateBadRequest) IsCode(code int) bool
- func (o *UserNameUpdateBadRequest) IsRedirect() bool
- func (o *UserNameUpdateBadRequest) IsServerError() bool
- func (o *UserNameUpdateBadRequest) IsSuccess() bool
- func (o *UserNameUpdateBadRequest) String() string
- type UserNameUpdateInternalServerError
- func (o *UserNameUpdateInternalServerError) Code() int
- func (o *UserNameUpdateInternalServerError) Error() string
- func (o *UserNameUpdateInternalServerError) GetPayload() *models.Response
- func (o *UserNameUpdateInternalServerError) IsClientError() bool
- func (o *UserNameUpdateInternalServerError) IsCode(code int) bool
- func (o *UserNameUpdateInternalServerError) IsRedirect() bool
- func (o *UserNameUpdateInternalServerError) IsServerError() bool
- func (o *UserNameUpdateInternalServerError) IsSuccess() bool
- func (o *UserNameUpdateInternalServerError) String() string
- type UserNameUpdateOK
- func (o *UserNameUpdateOK) Code() int
- func (o *UserNameUpdateOK) Error() string
- func (o *UserNameUpdateOK) GetPayload() *models.Response
- func (o *UserNameUpdateOK) IsClientError() bool
- func (o *UserNameUpdateOK) IsCode(code int) bool
- func (o *UserNameUpdateOK) IsRedirect() bool
- func (o *UserNameUpdateOK) IsServerError() bool
- func (o *UserNameUpdateOK) IsSuccess() bool
- func (o *UserNameUpdateOK) String() string
- type UserNameUpdateParams
- func NewUserNameUpdateParams() *UserNameUpdateParams
- func NewUserNameUpdateParamsWithContext(ctx context.Context) *UserNameUpdateParams
- func NewUserNameUpdateParamsWithHTTPClient(client *http.Client) *UserNameUpdateParams
- func NewUserNameUpdateParamsWithTimeout(timeout time.Duration) *UserNameUpdateParams
- func (o *UserNameUpdateParams) SetBody(body *models.UserUpdateRequest)
- func (o *UserNameUpdateParams) SetContext(ctx context.Context)
- func (o *UserNameUpdateParams) SetDefaults()
- func (o *UserNameUpdateParams) SetHTTPClient(client *http.Client)
- func (o *UserNameUpdateParams) SetTimeout(timeout time.Duration)
- func (o *UserNameUpdateParams) SetUsername(username string)
- func (o *UserNameUpdateParams) WithBody(body *models.UserUpdateRequest) *UserNameUpdateParams
- func (o *UserNameUpdateParams) WithContext(ctx context.Context) *UserNameUpdateParams
- func (o *UserNameUpdateParams) WithDefaults() *UserNameUpdateParams
- func (o *UserNameUpdateParams) WithHTTPClient(client *http.Client) *UserNameUpdateParams
- func (o *UserNameUpdateParams) WithTimeout(timeout time.Duration) *UserNameUpdateParams
- func (o *UserNameUpdateParams) WithUsername(username string) *UserNameUpdateParams
- func (o *UserNameUpdateParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UserNameUpdateReader
- type UserNameUpdateUnauthorized
- func (o *UserNameUpdateUnauthorized) Code() int
- func (o *UserNameUpdateUnauthorized) Error() string
- func (o *UserNameUpdateUnauthorized) GetPayload() *models.Response
- func (o *UserNameUpdateUnauthorized) IsClientError() bool
- func (o *UserNameUpdateUnauthorized) IsCode(code int) bool
- func (o *UserNameUpdateUnauthorized) IsRedirect() bool
- func (o *UserNameUpdateUnauthorized) IsServerError() bool
- func (o *UserNameUpdateUnauthorized) IsSuccess() bool
- func (o *UserNameUpdateUnauthorized) String() string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client for user API
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
func (*Client) UserAdd ¶
func (a *Client) UserAdd(params *UserAddParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UserAddOK, error)
UserAdd adds users to a c e d a r application this interface takes an array of user documents
Add users to a CEDAR application. This interface takes an array of User documents.
func (*Client) UserFindByID ¶
func (a *Client) UserFindByID(params *UserFindByIDParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UserFindByIDOK, error)
UserFindByID retrieves an existing user from a c e d a r application this interface takes an id
Retrieve an existing user from a CEDAR application. This interface takes an id.
func (*Client) UserFindByUsername ¶
func (a *Client) UserFindByUsername(params *UserFindByUsernameParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UserFindByUsernameOK, error)
UserFindByUsername retrieves an existing user in a c e d a r system based on the user name this interface takes username
Retrieve an existing user in a CEDAR system based on the user name. This interface takes username.
func (*Client) UserFindList ¶
func (a *Client) UserFindList(params *UserFindListParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UserFindListOK, error)
UserFindList retrieves a list of users from a c e d a r application this interface takes in application id user name first name last name phone and email
Retrieve a list of users from a CEDAR application. This interface takes in application, id, userName, firstName, lastName, phone and email.
func (*Client) UserIDUpdate ¶
func (a *Client) UserIDUpdate(params *UserIDUpdateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UserIDUpdateOK, error)
UserIDUpdate updates a list existing user in a c e d a r application this interface takes an arrary of user documents
Update a list existing user in a CEDAR application.This interface takes an arrary of User documents.
func (*Client) UserNameUpdate ¶
func (a *Client) UserNameUpdate(params *UserNameUpdateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UserNameUpdateOK, error)
UserNameUpdate updates a list existing user in a c e d a r system this interface takes an array of user documents
Update a list existing user in a CEDAR system. This interface takes an array of User documents.
type ClientOption ¶
type ClientOption func(*runtime.ClientOperation)
ClientOption is the option for Client methods
type ClientService ¶
type ClientService interface { UserAdd(params *UserAddParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UserAddOK, error) UserFindByID(params *UserFindByIDParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UserFindByIDOK, error) UserFindByUsername(params *UserFindByUsernameParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UserFindByUsernameOK, error) UserFindList(params *UserFindListParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UserFindListOK, error) UserIDUpdate(params *UserIDUpdateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UserIDUpdateOK, error) UserNameUpdate(params *UserNameUpdateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UserNameUpdateOK, 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 user API client.
type UserAddBadRequest ¶
UserAddBadRequest describes a response with status code 400, with default header values.
Bad Request
func NewUserAddBadRequest ¶
func NewUserAddBadRequest() *UserAddBadRequest
NewUserAddBadRequest creates a UserAddBadRequest with default headers values
func (*UserAddBadRequest) Code ¶
func (o *UserAddBadRequest) Code() int
Code gets the status code for the user add bad request response
func (*UserAddBadRequest) Error ¶
func (o *UserAddBadRequest) Error() string
func (*UserAddBadRequest) GetPayload ¶
func (o *UserAddBadRequest) GetPayload() *models.Response
func (*UserAddBadRequest) IsClientError ¶
func (o *UserAddBadRequest) IsClientError() bool
IsClientError returns true when this user add bad request response has a 4xx status code
func (*UserAddBadRequest) IsCode ¶
func (o *UserAddBadRequest) IsCode(code int) bool
IsCode returns true when this user add bad request response a status code equal to that given
func (*UserAddBadRequest) IsRedirect ¶
func (o *UserAddBadRequest) IsRedirect() bool
IsRedirect returns true when this user add bad request response has a 3xx status code
func (*UserAddBadRequest) IsServerError ¶
func (o *UserAddBadRequest) IsServerError() bool
IsServerError returns true when this user add bad request response has a 5xx status code
func (*UserAddBadRequest) IsSuccess ¶
func (o *UserAddBadRequest) IsSuccess() bool
IsSuccess returns true when this user add bad request response has a 2xx status code
func (*UserAddBadRequest) String ¶
func (o *UserAddBadRequest) String() string
type UserAddInternalServerError ¶
UserAddInternalServerError describes a response with status code 500, with default header values.
Internal Server Error
func NewUserAddInternalServerError ¶
func NewUserAddInternalServerError() *UserAddInternalServerError
NewUserAddInternalServerError creates a UserAddInternalServerError with default headers values
func (*UserAddInternalServerError) Code ¶
func (o *UserAddInternalServerError) Code() int
Code gets the status code for the user add internal server error response
func (*UserAddInternalServerError) Error ¶
func (o *UserAddInternalServerError) Error() string
func (*UserAddInternalServerError) GetPayload ¶
func (o *UserAddInternalServerError) GetPayload() *models.Response
func (*UserAddInternalServerError) IsClientError ¶
func (o *UserAddInternalServerError) IsClientError() bool
IsClientError returns true when this user add internal server error response has a 4xx status code
func (*UserAddInternalServerError) IsCode ¶
func (o *UserAddInternalServerError) IsCode(code int) bool
IsCode returns true when this user add internal server error response a status code equal to that given
func (*UserAddInternalServerError) IsRedirect ¶
func (o *UserAddInternalServerError) IsRedirect() bool
IsRedirect returns true when this user add internal server error response has a 3xx status code
func (*UserAddInternalServerError) IsServerError ¶
func (o *UserAddInternalServerError) IsServerError() bool
IsServerError returns true when this user add internal server error response has a 5xx status code
func (*UserAddInternalServerError) IsSuccess ¶
func (o *UserAddInternalServerError) IsSuccess() bool
IsSuccess returns true when this user add internal server error response has a 2xx status code
func (*UserAddInternalServerError) String ¶
func (o *UserAddInternalServerError) String() string
type UserAddOK ¶
UserAddOK describes a response with status code 200, with default header values.
OK
func NewUserAddOK ¶
func NewUserAddOK() *UserAddOK
NewUserAddOK creates a UserAddOK with default headers values
func (*UserAddOK) GetPayload ¶
func (*UserAddOK) IsClientError ¶
IsClientError returns true when this user add o k response has a 4xx status code
func (*UserAddOK) IsCode ¶
IsCode returns true when this user add o k response a status code equal to that given
func (*UserAddOK) IsRedirect ¶
IsRedirect returns true when this user add o k response has a 3xx status code
func (*UserAddOK) IsServerError ¶
IsServerError returns true when this user add o k response has a 5xx status code
type UserAddParams ¶
type UserAddParams struct { /* Body. User information to be added to a CEDAR application. */ Body *models.UserAddRequest Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
UserAddParams contains all the parameters to send to the API endpoint
for the user add operation. Typically these are written to a http.Request.
func NewUserAddParams ¶
func NewUserAddParams() *UserAddParams
NewUserAddParams creates a new UserAddParams 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 NewUserAddParamsWithContext ¶
func NewUserAddParamsWithContext(ctx context.Context) *UserAddParams
NewUserAddParamsWithContext creates a new UserAddParams object with the ability to set a context for a request.
func NewUserAddParamsWithHTTPClient ¶
func NewUserAddParamsWithHTTPClient(client *http.Client) *UserAddParams
NewUserAddParamsWithHTTPClient creates a new UserAddParams object with the ability to set a custom HTTPClient for a request.
func NewUserAddParamsWithTimeout ¶
func NewUserAddParamsWithTimeout(timeout time.Duration) *UserAddParams
NewUserAddParamsWithTimeout creates a new UserAddParams object with the ability to set a timeout on a request.
func (*UserAddParams) SetBody ¶
func (o *UserAddParams) SetBody(body *models.UserAddRequest)
SetBody adds the body to the user add params
func (*UserAddParams) SetContext ¶
func (o *UserAddParams) SetContext(ctx context.Context)
SetContext adds the context to the user add params
func (*UserAddParams) SetDefaults ¶
func (o *UserAddParams) SetDefaults()
SetDefaults hydrates default values in the user add params (not the query body).
All values with no default are reset to their zero value.
func (*UserAddParams) SetHTTPClient ¶
func (o *UserAddParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the user add params
func (*UserAddParams) SetTimeout ¶
func (o *UserAddParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the user add params
func (*UserAddParams) WithBody ¶
func (o *UserAddParams) WithBody(body *models.UserAddRequest) *UserAddParams
WithBody adds the body to the user add params
func (*UserAddParams) WithContext ¶
func (o *UserAddParams) WithContext(ctx context.Context) *UserAddParams
WithContext adds the context to the user add params
func (*UserAddParams) WithDefaults ¶
func (o *UserAddParams) WithDefaults() *UserAddParams
WithDefaults hydrates default values in the user add params (not the query body).
All values with no default are reset to their zero value.
func (*UserAddParams) WithHTTPClient ¶
func (o *UserAddParams) WithHTTPClient(client *http.Client) *UserAddParams
WithHTTPClient adds the HTTPClient to the user add params
func (*UserAddParams) WithTimeout ¶
func (o *UserAddParams) WithTimeout(timeout time.Duration) *UserAddParams
WithTimeout adds the timeout to the user add params
func (*UserAddParams) WriteToRequest ¶
func (o *UserAddParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type UserAddReader ¶
type UserAddReader struct {
// contains filtered or unexported fields
}
UserAddReader is a Reader for the UserAdd structure.
func (*UserAddReader) ReadResponse ¶
func (o *UserAddReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type UserAddUnauthorized ¶
type UserAddUnauthorized struct {
}UserAddUnauthorized describes a response with status code 401, with default header values.
Access Denied
func NewUserAddUnauthorized ¶
func NewUserAddUnauthorized() *UserAddUnauthorized
NewUserAddUnauthorized creates a UserAddUnauthorized with default headers values
func (*UserAddUnauthorized) Code ¶
func (o *UserAddUnauthorized) Code() int
Code gets the status code for the user add unauthorized response
func (*UserAddUnauthorized) Error ¶
func (o *UserAddUnauthorized) Error() string
func (*UserAddUnauthorized) GetPayload ¶
func (o *UserAddUnauthorized) GetPayload() *models.Response
func (*UserAddUnauthorized) IsClientError ¶
func (o *UserAddUnauthorized) IsClientError() bool
IsClientError returns true when this user add unauthorized response has a 4xx status code
func (*UserAddUnauthorized) IsCode ¶
func (o *UserAddUnauthorized) IsCode(code int) bool
IsCode returns true when this user add unauthorized response a status code equal to that given
func (*UserAddUnauthorized) IsRedirect ¶
func (o *UserAddUnauthorized) IsRedirect() bool
IsRedirect returns true when this user add unauthorized response has a 3xx status code
func (*UserAddUnauthorized) IsServerError ¶
func (o *UserAddUnauthorized) IsServerError() bool
IsServerError returns true when this user add unauthorized response has a 5xx status code
func (*UserAddUnauthorized) IsSuccess ¶
func (o *UserAddUnauthorized) IsSuccess() bool
IsSuccess returns true when this user add unauthorized response has a 2xx status code
func (*UserAddUnauthorized) String ¶
func (o *UserAddUnauthorized) String() string
type UserFindByIDBadRequest ¶
UserFindByIDBadRequest describes a response with status code 400, with default header values.
Bad Request
func NewUserFindByIDBadRequest ¶
func NewUserFindByIDBadRequest() *UserFindByIDBadRequest
NewUserFindByIDBadRequest creates a UserFindByIDBadRequest with default headers values
func (*UserFindByIDBadRequest) Code ¶
func (o *UserFindByIDBadRequest) Code() int
Code gets the status code for the user find by Id bad request response
func (*UserFindByIDBadRequest) Error ¶
func (o *UserFindByIDBadRequest) Error() string
func (*UserFindByIDBadRequest) GetPayload ¶
func (o *UserFindByIDBadRequest) GetPayload() *models.Response
func (*UserFindByIDBadRequest) IsClientError ¶
func (o *UserFindByIDBadRequest) IsClientError() bool
IsClientError returns true when this user find by Id bad request response has a 4xx status code
func (*UserFindByIDBadRequest) IsCode ¶
func (o *UserFindByIDBadRequest) IsCode(code int) bool
IsCode returns true when this user find by Id bad request response a status code equal to that given
func (*UserFindByIDBadRequest) IsRedirect ¶
func (o *UserFindByIDBadRequest) IsRedirect() bool
IsRedirect returns true when this user find by Id bad request response has a 3xx status code
func (*UserFindByIDBadRequest) IsServerError ¶
func (o *UserFindByIDBadRequest) IsServerError() bool
IsServerError returns true when this user find by Id bad request response has a 5xx status code
func (*UserFindByIDBadRequest) IsSuccess ¶
func (o *UserFindByIDBadRequest) IsSuccess() bool
IsSuccess returns true when this user find by Id bad request response has a 2xx status code
func (*UserFindByIDBadRequest) String ¶
func (o *UserFindByIDBadRequest) String() string
type UserFindByIDInternalServerError ¶
UserFindByIDInternalServerError describes a response with status code 500, with default header values.
Internal Server Error
func NewUserFindByIDInternalServerError ¶
func NewUserFindByIDInternalServerError() *UserFindByIDInternalServerError
NewUserFindByIDInternalServerError creates a UserFindByIDInternalServerError with default headers values
func (*UserFindByIDInternalServerError) Code ¶
func (o *UserFindByIDInternalServerError) Code() int
Code gets the status code for the user find by Id internal server error response
func (*UserFindByIDInternalServerError) Error ¶
func (o *UserFindByIDInternalServerError) Error() string
func (*UserFindByIDInternalServerError) GetPayload ¶
func (o *UserFindByIDInternalServerError) GetPayload() *models.Response
func (*UserFindByIDInternalServerError) IsClientError ¶
func (o *UserFindByIDInternalServerError) IsClientError() bool
IsClientError returns true when this user find by Id internal server error response has a 4xx status code
func (*UserFindByIDInternalServerError) IsCode ¶
func (o *UserFindByIDInternalServerError) IsCode(code int) bool
IsCode returns true when this user find by Id internal server error response a status code equal to that given
func (*UserFindByIDInternalServerError) IsRedirect ¶
func (o *UserFindByIDInternalServerError) IsRedirect() bool
IsRedirect returns true when this user find by Id internal server error response has a 3xx status code
func (*UserFindByIDInternalServerError) IsServerError ¶
func (o *UserFindByIDInternalServerError) IsServerError() bool
IsServerError returns true when this user find by Id internal server error response has a 5xx status code
func (*UserFindByIDInternalServerError) IsSuccess ¶
func (o *UserFindByIDInternalServerError) IsSuccess() bool
IsSuccess returns true when this user find by Id internal server error response has a 2xx status code
func (*UserFindByIDInternalServerError) String ¶
func (o *UserFindByIDInternalServerError) String() string
type UserFindByIDOK ¶
UserFindByIDOK describes a response with status code 200, with default header values.
OK
func NewUserFindByIDOK ¶
func NewUserFindByIDOK() *UserFindByIDOK
NewUserFindByIDOK creates a UserFindByIDOK with default headers values
func (*UserFindByIDOK) Code ¶
func (o *UserFindByIDOK) Code() int
Code gets the status code for the user find by Id o k response
func (*UserFindByIDOK) Error ¶
func (o *UserFindByIDOK) Error() string
func (*UserFindByIDOK) GetPayload ¶
func (o *UserFindByIDOK) GetPayload() *models.User
func (*UserFindByIDOK) IsClientError ¶
func (o *UserFindByIDOK) IsClientError() bool
IsClientError returns true when this user find by Id o k response has a 4xx status code
func (*UserFindByIDOK) IsCode ¶
func (o *UserFindByIDOK) IsCode(code int) bool
IsCode returns true when this user find by Id o k response a status code equal to that given
func (*UserFindByIDOK) IsRedirect ¶
func (o *UserFindByIDOK) IsRedirect() bool
IsRedirect returns true when this user find by Id o k response has a 3xx status code
func (*UserFindByIDOK) IsServerError ¶
func (o *UserFindByIDOK) IsServerError() bool
IsServerError returns true when this user find by Id o k response has a 5xx status code
func (*UserFindByIDOK) IsSuccess ¶
func (o *UserFindByIDOK) IsSuccess() bool
IsSuccess returns true when this user find by Id o k response has a 2xx status code
func (*UserFindByIDOK) String ¶
func (o *UserFindByIDOK) String() string
type UserFindByIDParams ¶
type UserFindByIDParams struct { /* ID. ID of user to retrieve. */ ID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
UserFindByIDParams contains all the parameters to send to the API endpoint
for the user find by Id operation. Typically these are written to a http.Request.
func NewUserFindByIDParams ¶
func NewUserFindByIDParams() *UserFindByIDParams
NewUserFindByIDParams creates a new UserFindByIDParams 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 NewUserFindByIDParamsWithContext ¶
func NewUserFindByIDParamsWithContext(ctx context.Context) *UserFindByIDParams
NewUserFindByIDParamsWithContext creates a new UserFindByIDParams object with the ability to set a context for a request.
func NewUserFindByIDParamsWithHTTPClient ¶
func NewUserFindByIDParamsWithHTTPClient(client *http.Client) *UserFindByIDParams
NewUserFindByIDParamsWithHTTPClient creates a new UserFindByIDParams object with the ability to set a custom HTTPClient for a request.
func NewUserFindByIDParamsWithTimeout ¶
func NewUserFindByIDParamsWithTimeout(timeout time.Duration) *UserFindByIDParams
NewUserFindByIDParamsWithTimeout creates a new UserFindByIDParams object with the ability to set a timeout on a request.
func (*UserFindByIDParams) SetContext ¶
func (o *UserFindByIDParams) SetContext(ctx context.Context)
SetContext adds the context to the user find by Id params
func (*UserFindByIDParams) SetDefaults ¶
func (o *UserFindByIDParams) SetDefaults()
SetDefaults hydrates default values in the user find by Id params (not the query body).
All values with no default are reset to their zero value.
func (*UserFindByIDParams) SetHTTPClient ¶
func (o *UserFindByIDParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the user find by Id params
func (*UserFindByIDParams) SetID ¶
func (o *UserFindByIDParams) SetID(id string)
SetID adds the id to the user find by Id params
func (*UserFindByIDParams) SetTimeout ¶
func (o *UserFindByIDParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the user find by Id params
func (*UserFindByIDParams) WithContext ¶
func (o *UserFindByIDParams) WithContext(ctx context.Context) *UserFindByIDParams
WithContext adds the context to the user find by Id params
func (*UserFindByIDParams) WithDefaults ¶
func (o *UserFindByIDParams) WithDefaults() *UserFindByIDParams
WithDefaults hydrates default values in the user find by Id params (not the query body).
All values with no default are reset to their zero value.
func (*UserFindByIDParams) WithHTTPClient ¶
func (o *UserFindByIDParams) WithHTTPClient(client *http.Client) *UserFindByIDParams
WithHTTPClient adds the HTTPClient to the user find by Id params
func (*UserFindByIDParams) WithID ¶
func (o *UserFindByIDParams) WithID(id string) *UserFindByIDParams
WithID adds the id to the user find by Id params
func (*UserFindByIDParams) WithTimeout ¶
func (o *UserFindByIDParams) WithTimeout(timeout time.Duration) *UserFindByIDParams
WithTimeout adds the timeout to the user find by Id params
func (*UserFindByIDParams) WriteToRequest ¶
func (o *UserFindByIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type UserFindByIDReader ¶
type UserFindByIDReader struct {
// contains filtered or unexported fields
}
UserFindByIDReader is a Reader for the UserFindByID structure.
func (*UserFindByIDReader) ReadResponse ¶
func (o *UserFindByIDReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type UserFindByIDUnauthorized ¶
type UserFindByIDUnauthorized struct {
}UserFindByIDUnauthorized describes a response with status code 401, with default header values.
Access Denied
func NewUserFindByIDUnauthorized ¶
func NewUserFindByIDUnauthorized() *UserFindByIDUnauthorized
NewUserFindByIDUnauthorized creates a UserFindByIDUnauthorized with default headers values
func (*UserFindByIDUnauthorized) Code ¶
func (o *UserFindByIDUnauthorized) Code() int
Code gets the status code for the user find by Id unauthorized response
func (*UserFindByIDUnauthorized) Error ¶
func (o *UserFindByIDUnauthorized) Error() string
func (*UserFindByIDUnauthorized) GetPayload ¶
func (o *UserFindByIDUnauthorized) GetPayload() *models.Response
func (*UserFindByIDUnauthorized) IsClientError ¶
func (o *UserFindByIDUnauthorized) IsClientError() bool
IsClientError returns true when this user find by Id unauthorized response has a 4xx status code
func (*UserFindByIDUnauthorized) IsCode ¶
func (o *UserFindByIDUnauthorized) IsCode(code int) bool
IsCode returns true when this user find by Id unauthorized response a status code equal to that given
func (*UserFindByIDUnauthorized) IsRedirect ¶
func (o *UserFindByIDUnauthorized) IsRedirect() bool
IsRedirect returns true when this user find by Id unauthorized response has a 3xx status code
func (*UserFindByIDUnauthorized) IsServerError ¶
func (o *UserFindByIDUnauthorized) IsServerError() bool
IsServerError returns true when this user find by Id unauthorized response has a 5xx status code
func (*UserFindByIDUnauthorized) IsSuccess ¶
func (o *UserFindByIDUnauthorized) IsSuccess() bool
IsSuccess returns true when this user find by Id unauthorized response has a 2xx status code
func (*UserFindByIDUnauthorized) String ¶
func (o *UserFindByIDUnauthorized) String() string
type UserFindByUsernameBadRequest ¶
UserFindByUsernameBadRequest describes a response with status code 400, with default header values.
Bad Request
func NewUserFindByUsernameBadRequest ¶
func NewUserFindByUsernameBadRequest() *UserFindByUsernameBadRequest
NewUserFindByUsernameBadRequest creates a UserFindByUsernameBadRequest with default headers values
func (*UserFindByUsernameBadRequest) Code ¶
func (o *UserFindByUsernameBadRequest) Code() int
Code gets the status code for the user find by username bad request response
func (*UserFindByUsernameBadRequest) Error ¶
func (o *UserFindByUsernameBadRequest) Error() string
func (*UserFindByUsernameBadRequest) GetPayload ¶
func (o *UserFindByUsernameBadRequest) GetPayload() *models.Response
func (*UserFindByUsernameBadRequest) IsClientError ¶
func (o *UserFindByUsernameBadRequest) IsClientError() bool
IsClientError returns true when this user find by username bad request response has a 4xx status code
func (*UserFindByUsernameBadRequest) IsCode ¶
func (o *UserFindByUsernameBadRequest) IsCode(code int) bool
IsCode returns true when this user find by username bad request response a status code equal to that given
func (*UserFindByUsernameBadRequest) IsRedirect ¶
func (o *UserFindByUsernameBadRequest) IsRedirect() bool
IsRedirect returns true when this user find by username bad request response has a 3xx status code
func (*UserFindByUsernameBadRequest) IsServerError ¶
func (o *UserFindByUsernameBadRequest) IsServerError() bool
IsServerError returns true when this user find by username bad request response has a 5xx status code
func (*UserFindByUsernameBadRequest) IsSuccess ¶
func (o *UserFindByUsernameBadRequest) IsSuccess() bool
IsSuccess returns true when this user find by username bad request response has a 2xx status code
func (*UserFindByUsernameBadRequest) String ¶
func (o *UserFindByUsernameBadRequest) String() string
type UserFindByUsernameInternalServerError ¶
UserFindByUsernameInternalServerError describes a response with status code 500, with default header values.
Internal Server Error
func NewUserFindByUsernameInternalServerError ¶
func NewUserFindByUsernameInternalServerError() *UserFindByUsernameInternalServerError
NewUserFindByUsernameInternalServerError creates a UserFindByUsernameInternalServerError with default headers values
func (*UserFindByUsernameInternalServerError) Code ¶
func (o *UserFindByUsernameInternalServerError) Code() int
Code gets the status code for the user find by username internal server error response
func (*UserFindByUsernameInternalServerError) Error ¶
func (o *UserFindByUsernameInternalServerError) Error() string
func (*UserFindByUsernameInternalServerError) GetPayload ¶
func (o *UserFindByUsernameInternalServerError) GetPayload() *models.Response
func (*UserFindByUsernameInternalServerError) IsClientError ¶
func (o *UserFindByUsernameInternalServerError) IsClientError() bool
IsClientError returns true when this user find by username internal server error response has a 4xx status code
func (*UserFindByUsernameInternalServerError) IsCode ¶
func (o *UserFindByUsernameInternalServerError) IsCode(code int) bool
IsCode returns true when this user find by username internal server error response a status code equal to that given
func (*UserFindByUsernameInternalServerError) IsRedirect ¶
func (o *UserFindByUsernameInternalServerError) IsRedirect() bool
IsRedirect returns true when this user find by username internal server error response has a 3xx status code
func (*UserFindByUsernameInternalServerError) IsServerError ¶
func (o *UserFindByUsernameInternalServerError) IsServerError() bool
IsServerError returns true when this user find by username internal server error response has a 5xx status code
func (*UserFindByUsernameInternalServerError) IsSuccess ¶
func (o *UserFindByUsernameInternalServerError) IsSuccess() bool
IsSuccess returns true when this user find by username internal server error response has a 2xx status code
func (*UserFindByUsernameInternalServerError) String ¶
func (o *UserFindByUsernameInternalServerError) String() string
type UserFindByUsernameOK ¶
UserFindByUsernameOK describes a response with status code 200, with default header values.
OK
func NewUserFindByUsernameOK ¶
func NewUserFindByUsernameOK() *UserFindByUsernameOK
NewUserFindByUsernameOK creates a UserFindByUsernameOK with default headers values
func (*UserFindByUsernameOK) Code ¶
func (o *UserFindByUsernameOK) Code() int
Code gets the status code for the user find by username o k response
func (*UserFindByUsernameOK) Error ¶
func (o *UserFindByUsernameOK) Error() string
func (*UserFindByUsernameOK) GetPayload ¶
func (o *UserFindByUsernameOK) GetPayload() *models.User
func (*UserFindByUsernameOK) IsClientError ¶
func (o *UserFindByUsernameOK) IsClientError() bool
IsClientError returns true when this user find by username o k response has a 4xx status code
func (*UserFindByUsernameOK) IsCode ¶
func (o *UserFindByUsernameOK) IsCode(code int) bool
IsCode returns true when this user find by username o k response a status code equal to that given
func (*UserFindByUsernameOK) IsRedirect ¶
func (o *UserFindByUsernameOK) IsRedirect() bool
IsRedirect returns true when this user find by username o k response has a 3xx status code
func (*UserFindByUsernameOK) IsServerError ¶
func (o *UserFindByUsernameOK) IsServerError() bool
IsServerError returns true when this user find by username o k response has a 5xx status code
func (*UserFindByUsernameOK) IsSuccess ¶
func (o *UserFindByUsernameOK) IsSuccess() bool
IsSuccess returns true when this user find by username o k response has a 2xx status code
func (*UserFindByUsernameOK) String ¶
func (o *UserFindByUsernameOK) String() string
type UserFindByUsernameParams ¶
type UserFindByUsernameParams struct { /* Username. Username of user to retrieve. */ Username string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
UserFindByUsernameParams contains all the parameters to send to the API endpoint
for the user find by username operation. Typically these are written to a http.Request.
func NewUserFindByUsernameParams ¶
func NewUserFindByUsernameParams() *UserFindByUsernameParams
NewUserFindByUsernameParams creates a new UserFindByUsernameParams 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 NewUserFindByUsernameParamsWithContext ¶
func NewUserFindByUsernameParamsWithContext(ctx context.Context) *UserFindByUsernameParams
NewUserFindByUsernameParamsWithContext creates a new UserFindByUsernameParams object with the ability to set a context for a request.
func NewUserFindByUsernameParamsWithHTTPClient ¶
func NewUserFindByUsernameParamsWithHTTPClient(client *http.Client) *UserFindByUsernameParams
NewUserFindByUsernameParamsWithHTTPClient creates a new UserFindByUsernameParams object with the ability to set a custom HTTPClient for a request.
func NewUserFindByUsernameParamsWithTimeout ¶
func NewUserFindByUsernameParamsWithTimeout(timeout time.Duration) *UserFindByUsernameParams
NewUserFindByUsernameParamsWithTimeout creates a new UserFindByUsernameParams object with the ability to set a timeout on a request.
func (*UserFindByUsernameParams) SetContext ¶
func (o *UserFindByUsernameParams) SetContext(ctx context.Context)
SetContext adds the context to the user find by username params
func (*UserFindByUsernameParams) SetDefaults ¶
func (o *UserFindByUsernameParams) SetDefaults()
SetDefaults hydrates default values in the user find by username params (not the query body).
All values with no default are reset to their zero value.
func (*UserFindByUsernameParams) SetHTTPClient ¶
func (o *UserFindByUsernameParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the user find by username params
func (*UserFindByUsernameParams) SetTimeout ¶
func (o *UserFindByUsernameParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the user find by username params
func (*UserFindByUsernameParams) SetUsername ¶
func (o *UserFindByUsernameParams) SetUsername(username string)
SetUsername adds the username to the user find by username params
func (*UserFindByUsernameParams) WithContext ¶
func (o *UserFindByUsernameParams) WithContext(ctx context.Context) *UserFindByUsernameParams
WithContext adds the context to the user find by username params
func (*UserFindByUsernameParams) WithDefaults ¶
func (o *UserFindByUsernameParams) WithDefaults() *UserFindByUsernameParams
WithDefaults hydrates default values in the user find by username params (not the query body).
All values with no default are reset to their zero value.
func (*UserFindByUsernameParams) WithHTTPClient ¶
func (o *UserFindByUsernameParams) WithHTTPClient(client *http.Client) *UserFindByUsernameParams
WithHTTPClient adds the HTTPClient to the user find by username params
func (*UserFindByUsernameParams) WithTimeout ¶
func (o *UserFindByUsernameParams) WithTimeout(timeout time.Duration) *UserFindByUsernameParams
WithTimeout adds the timeout to the user find by username params
func (*UserFindByUsernameParams) WithUsername ¶
func (o *UserFindByUsernameParams) WithUsername(username string) *UserFindByUsernameParams
WithUsername adds the username to the user find by username params
func (*UserFindByUsernameParams) WriteToRequest ¶
func (o *UserFindByUsernameParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type UserFindByUsernameReader ¶
type UserFindByUsernameReader struct {
// contains filtered or unexported fields
}
UserFindByUsernameReader is a Reader for the UserFindByUsername structure.
func (*UserFindByUsernameReader) ReadResponse ¶
func (o *UserFindByUsernameReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type UserFindByUsernameUnauthorized ¶
type UserFindByUsernameUnauthorized struct {
}UserFindByUsernameUnauthorized describes a response with status code 401, with default header values.
Access Denied
func NewUserFindByUsernameUnauthorized ¶
func NewUserFindByUsernameUnauthorized() *UserFindByUsernameUnauthorized
NewUserFindByUsernameUnauthorized creates a UserFindByUsernameUnauthorized with default headers values
func (*UserFindByUsernameUnauthorized) Code ¶
func (o *UserFindByUsernameUnauthorized) Code() int
Code gets the status code for the user find by username unauthorized response
func (*UserFindByUsernameUnauthorized) Error ¶
func (o *UserFindByUsernameUnauthorized) Error() string
func (*UserFindByUsernameUnauthorized) GetPayload ¶
func (o *UserFindByUsernameUnauthorized) GetPayload() *models.Response
func (*UserFindByUsernameUnauthorized) IsClientError ¶
func (o *UserFindByUsernameUnauthorized) IsClientError() bool
IsClientError returns true when this user find by username unauthorized response has a 4xx status code
func (*UserFindByUsernameUnauthorized) IsCode ¶
func (o *UserFindByUsernameUnauthorized) IsCode(code int) bool
IsCode returns true when this user find by username unauthorized response a status code equal to that given
func (*UserFindByUsernameUnauthorized) IsRedirect ¶
func (o *UserFindByUsernameUnauthorized) IsRedirect() bool
IsRedirect returns true when this user find by username unauthorized response has a 3xx status code
func (*UserFindByUsernameUnauthorized) IsServerError ¶
func (o *UserFindByUsernameUnauthorized) IsServerError() bool
IsServerError returns true when this user find by username unauthorized response has a 5xx status code
func (*UserFindByUsernameUnauthorized) IsSuccess ¶
func (o *UserFindByUsernameUnauthorized) IsSuccess() bool
IsSuccess returns true when this user find by username unauthorized response has a 2xx status code
func (*UserFindByUsernameUnauthorized) String ¶
func (o *UserFindByUsernameUnauthorized) String() string
type UserFindListBadRequest ¶
UserFindListBadRequest describes a response with status code 400, with default header values.
Bad Request
func NewUserFindListBadRequest ¶
func NewUserFindListBadRequest() *UserFindListBadRequest
NewUserFindListBadRequest creates a UserFindListBadRequest with default headers values
func (*UserFindListBadRequest) Code ¶
func (o *UserFindListBadRequest) Code() int
Code gets the status code for the user find list bad request response
func (*UserFindListBadRequest) Error ¶
func (o *UserFindListBadRequest) Error() string
func (*UserFindListBadRequest) GetPayload ¶
func (o *UserFindListBadRequest) GetPayload() *models.Response
func (*UserFindListBadRequest) IsClientError ¶
func (o *UserFindListBadRequest) IsClientError() bool
IsClientError returns true when this user find list bad request response has a 4xx status code
func (*UserFindListBadRequest) IsCode ¶
func (o *UserFindListBadRequest) IsCode(code int) bool
IsCode returns true when this user find list bad request response a status code equal to that given
func (*UserFindListBadRequest) IsRedirect ¶
func (o *UserFindListBadRequest) IsRedirect() bool
IsRedirect returns true when this user find list bad request response has a 3xx status code
func (*UserFindListBadRequest) IsServerError ¶
func (o *UserFindListBadRequest) IsServerError() bool
IsServerError returns true when this user find list bad request response has a 5xx status code
func (*UserFindListBadRequest) IsSuccess ¶
func (o *UserFindListBadRequest) IsSuccess() bool
IsSuccess returns true when this user find list bad request response has a 2xx status code
func (*UserFindListBadRequest) String ¶
func (o *UserFindListBadRequest) String() string
type UserFindListInternalServerError ¶
UserFindListInternalServerError describes a response with status code 500, with default header values.
Internal Server Error
func NewUserFindListInternalServerError ¶
func NewUserFindListInternalServerError() *UserFindListInternalServerError
NewUserFindListInternalServerError creates a UserFindListInternalServerError with default headers values
func (*UserFindListInternalServerError) Code ¶
func (o *UserFindListInternalServerError) Code() int
Code gets the status code for the user find list internal server error response
func (*UserFindListInternalServerError) Error ¶
func (o *UserFindListInternalServerError) Error() string
func (*UserFindListInternalServerError) GetPayload ¶
func (o *UserFindListInternalServerError) GetPayload() *models.Response
func (*UserFindListInternalServerError) IsClientError ¶
func (o *UserFindListInternalServerError) IsClientError() bool
IsClientError returns true when this user find list internal server error response has a 4xx status code
func (*UserFindListInternalServerError) IsCode ¶
func (o *UserFindListInternalServerError) IsCode(code int) bool
IsCode returns true when this user find list internal server error response a status code equal to that given
func (*UserFindListInternalServerError) IsRedirect ¶
func (o *UserFindListInternalServerError) IsRedirect() bool
IsRedirect returns true when this user find list internal server error response has a 3xx status code
func (*UserFindListInternalServerError) IsServerError ¶
func (o *UserFindListInternalServerError) IsServerError() bool
IsServerError returns true when this user find list internal server error response has a 5xx status code
func (*UserFindListInternalServerError) IsSuccess ¶
func (o *UserFindListInternalServerError) IsSuccess() bool
IsSuccess returns true when this user find list internal server error response has a 2xx status code
func (*UserFindListInternalServerError) String ¶
func (o *UserFindListInternalServerError) String() string
type UserFindListOK ¶
type UserFindListOK struct {
Payload *models.UserFindResponse
}
UserFindListOK describes a response with status code 200, with default header values.
OK
func NewUserFindListOK ¶
func NewUserFindListOK() *UserFindListOK
NewUserFindListOK creates a UserFindListOK with default headers values
func (*UserFindListOK) Code ¶
func (o *UserFindListOK) Code() int
Code gets the status code for the user find list o k response
func (*UserFindListOK) Error ¶
func (o *UserFindListOK) Error() string
func (*UserFindListOK) GetPayload ¶
func (o *UserFindListOK) GetPayload() *models.UserFindResponse
func (*UserFindListOK) IsClientError ¶
func (o *UserFindListOK) IsClientError() bool
IsClientError returns true when this user find list o k response has a 4xx status code
func (*UserFindListOK) IsCode ¶
func (o *UserFindListOK) IsCode(code int) bool
IsCode returns true when this user find list o k response a status code equal to that given
func (*UserFindListOK) IsRedirect ¶
func (o *UserFindListOK) IsRedirect() bool
IsRedirect returns true when this user find list o k response has a 3xx status code
func (*UserFindListOK) IsServerError ¶
func (o *UserFindListOK) IsServerError() bool
IsServerError returns true when this user find list o k response has a 5xx status code
func (*UserFindListOK) IsSuccess ¶
func (o *UserFindListOK) IsSuccess() bool
IsSuccess returns true when this user find list o k response has a 2xx status code
func (*UserFindListOK) String ¶
func (o *UserFindListOK) String() string
type UserFindListParams ¶
type UserFindListParams struct { /* Application. Application the user belongs to. */ Application string /* Email. A users's email. */ Email *string /* FirstName. A user's first name. */ FirstName *string /* ID. A user's id. */ ID *string /* LastName. A user's last name. */ LastName *string /* Phone. A user's phone number. */ Phone *string /* UserName. A user's username. */ UserName *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
UserFindListParams contains all the parameters to send to the API endpoint
for the user find list operation. Typically these are written to a http.Request.
func NewUserFindListParams ¶
func NewUserFindListParams() *UserFindListParams
NewUserFindListParams creates a new UserFindListParams 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 NewUserFindListParamsWithContext ¶
func NewUserFindListParamsWithContext(ctx context.Context) *UserFindListParams
NewUserFindListParamsWithContext creates a new UserFindListParams object with the ability to set a context for a request.
func NewUserFindListParamsWithHTTPClient ¶
func NewUserFindListParamsWithHTTPClient(client *http.Client) *UserFindListParams
NewUserFindListParamsWithHTTPClient creates a new UserFindListParams object with the ability to set a custom HTTPClient for a request.
func NewUserFindListParamsWithTimeout ¶
func NewUserFindListParamsWithTimeout(timeout time.Duration) *UserFindListParams
NewUserFindListParamsWithTimeout creates a new UserFindListParams object with the ability to set a timeout on a request.
func (*UserFindListParams) SetApplication ¶
func (o *UserFindListParams) SetApplication(application string)
SetApplication adds the application to the user find list params
func (*UserFindListParams) SetContext ¶
func (o *UserFindListParams) SetContext(ctx context.Context)
SetContext adds the context to the user find list params
func (*UserFindListParams) SetDefaults ¶
func (o *UserFindListParams) SetDefaults()
SetDefaults hydrates default values in the user find list params (not the query body).
All values with no default are reset to their zero value.
func (*UserFindListParams) SetEmail ¶
func (o *UserFindListParams) SetEmail(email *string)
SetEmail adds the email to the user find list params
func (*UserFindListParams) SetFirstName ¶
func (o *UserFindListParams) SetFirstName(firstName *string)
SetFirstName adds the firstName to the user find list params
func (*UserFindListParams) SetHTTPClient ¶
func (o *UserFindListParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the user find list params
func (*UserFindListParams) SetID ¶
func (o *UserFindListParams) SetID(id *string)
SetID adds the id to the user find list params
func (*UserFindListParams) SetLastName ¶
func (o *UserFindListParams) SetLastName(lastName *string)
SetLastName adds the lastName to the user find list params
func (*UserFindListParams) SetPhone ¶
func (o *UserFindListParams) SetPhone(phone *string)
SetPhone adds the phone to the user find list params
func (*UserFindListParams) SetTimeout ¶
func (o *UserFindListParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the user find list params
func (*UserFindListParams) SetUserName ¶
func (o *UserFindListParams) SetUserName(userName *string)
SetUserName adds the userName to the user find list params
func (*UserFindListParams) WithApplication ¶
func (o *UserFindListParams) WithApplication(application string) *UserFindListParams
WithApplication adds the application to the user find list params
func (*UserFindListParams) WithContext ¶
func (o *UserFindListParams) WithContext(ctx context.Context) *UserFindListParams
WithContext adds the context to the user find list params
func (*UserFindListParams) WithDefaults ¶
func (o *UserFindListParams) WithDefaults() *UserFindListParams
WithDefaults hydrates default values in the user find list params (not the query body).
All values with no default are reset to their zero value.
func (*UserFindListParams) WithEmail ¶
func (o *UserFindListParams) WithEmail(email *string) *UserFindListParams
WithEmail adds the email to the user find list params
func (*UserFindListParams) WithFirstName ¶
func (o *UserFindListParams) WithFirstName(firstName *string) *UserFindListParams
WithFirstName adds the firstName to the user find list params
func (*UserFindListParams) WithHTTPClient ¶
func (o *UserFindListParams) WithHTTPClient(client *http.Client) *UserFindListParams
WithHTTPClient adds the HTTPClient to the user find list params
func (*UserFindListParams) WithID ¶
func (o *UserFindListParams) WithID(id *string) *UserFindListParams
WithID adds the id to the user find list params
func (*UserFindListParams) WithLastName ¶
func (o *UserFindListParams) WithLastName(lastName *string) *UserFindListParams
WithLastName adds the lastName to the user find list params
func (*UserFindListParams) WithPhone ¶
func (o *UserFindListParams) WithPhone(phone *string) *UserFindListParams
WithPhone adds the phone to the user find list params
func (*UserFindListParams) WithTimeout ¶
func (o *UserFindListParams) WithTimeout(timeout time.Duration) *UserFindListParams
WithTimeout adds the timeout to the user find list params
func (*UserFindListParams) WithUserName ¶
func (o *UserFindListParams) WithUserName(userName *string) *UserFindListParams
WithUserName adds the userName to the user find list params
func (*UserFindListParams) WriteToRequest ¶
func (o *UserFindListParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type UserFindListReader ¶
type UserFindListReader struct {
// contains filtered or unexported fields
}
UserFindListReader is a Reader for the UserFindList structure.
func (*UserFindListReader) ReadResponse ¶
func (o *UserFindListReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type UserFindListUnauthorized ¶
type UserFindListUnauthorized struct {
}UserFindListUnauthorized describes a response with status code 401, with default header values.
Access Denied
func NewUserFindListUnauthorized ¶
func NewUserFindListUnauthorized() *UserFindListUnauthorized
NewUserFindListUnauthorized creates a UserFindListUnauthorized with default headers values
func (*UserFindListUnauthorized) Code ¶
func (o *UserFindListUnauthorized) Code() int
Code gets the status code for the user find list unauthorized response
func (*UserFindListUnauthorized) Error ¶
func (o *UserFindListUnauthorized) Error() string
func (*UserFindListUnauthorized) GetPayload ¶
func (o *UserFindListUnauthorized) GetPayload() *models.Response
func (*UserFindListUnauthorized) IsClientError ¶
func (o *UserFindListUnauthorized) IsClientError() bool
IsClientError returns true when this user find list unauthorized response has a 4xx status code
func (*UserFindListUnauthorized) IsCode ¶
func (o *UserFindListUnauthorized) IsCode(code int) bool
IsCode returns true when this user find list unauthorized response a status code equal to that given
func (*UserFindListUnauthorized) IsRedirect ¶
func (o *UserFindListUnauthorized) IsRedirect() bool
IsRedirect returns true when this user find list unauthorized response has a 3xx status code
func (*UserFindListUnauthorized) IsServerError ¶
func (o *UserFindListUnauthorized) IsServerError() bool
IsServerError returns true when this user find list unauthorized response has a 5xx status code
func (*UserFindListUnauthorized) IsSuccess ¶
func (o *UserFindListUnauthorized) IsSuccess() bool
IsSuccess returns true when this user find list unauthorized response has a 2xx status code
func (*UserFindListUnauthorized) String ¶
func (o *UserFindListUnauthorized) String() string
type UserIDUpdateBadRequest ¶
UserIDUpdateBadRequest describes a response with status code 400, with default header values.
Bad Request
func NewUserIDUpdateBadRequest ¶
func NewUserIDUpdateBadRequest() *UserIDUpdateBadRequest
NewUserIDUpdateBadRequest creates a UserIDUpdateBadRequest with default headers values
func (*UserIDUpdateBadRequest) Code ¶
func (o *UserIDUpdateBadRequest) Code() int
Code gets the status code for the user Id update bad request response
func (*UserIDUpdateBadRequest) Error ¶
func (o *UserIDUpdateBadRequest) Error() string
func (*UserIDUpdateBadRequest) GetPayload ¶
func (o *UserIDUpdateBadRequest) GetPayload() *models.Response
func (*UserIDUpdateBadRequest) IsClientError ¶
func (o *UserIDUpdateBadRequest) IsClientError() bool
IsClientError returns true when this user Id update bad request response has a 4xx status code
func (*UserIDUpdateBadRequest) IsCode ¶
func (o *UserIDUpdateBadRequest) IsCode(code int) bool
IsCode returns true when this user Id update bad request response a status code equal to that given
func (*UserIDUpdateBadRequest) IsRedirect ¶
func (o *UserIDUpdateBadRequest) IsRedirect() bool
IsRedirect returns true when this user Id update bad request response has a 3xx status code
func (*UserIDUpdateBadRequest) IsServerError ¶
func (o *UserIDUpdateBadRequest) IsServerError() bool
IsServerError returns true when this user Id update bad request response has a 5xx status code
func (*UserIDUpdateBadRequest) IsSuccess ¶
func (o *UserIDUpdateBadRequest) IsSuccess() bool
IsSuccess returns true when this user Id update bad request response has a 2xx status code
func (*UserIDUpdateBadRequest) String ¶
func (o *UserIDUpdateBadRequest) String() string
type UserIDUpdateInternalServerError ¶
UserIDUpdateInternalServerError describes a response with status code 500, with default header values.
Internal Server Error
func NewUserIDUpdateInternalServerError ¶
func NewUserIDUpdateInternalServerError() *UserIDUpdateInternalServerError
NewUserIDUpdateInternalServerError creates a UserIDUpdateInternalServerError with default headers values
func (*UserIDUpdateInternalServerError) Code ¶
func (o *UserIDUpdateInternalServerError) Code() int
Code gets the status code for the user Id update internal server error response
func (*UserIDUpdateInternalServerError) Error ¶
func (o *UserIDUpdateInternalServerError) Error() string
func (*UserIDUpdateInternalServerError) GetPayload ¶
func (o *UserIDUpdateInternalServerError) GetPayload() *models.Response
func (*UserIDUpdateInternalServerError) IsClientError ¶
func (o *UserIDUpdateInternalServerError) IsClientError() bool
IsClientError returns true when this user Id update internal server error response has a 4xx status code
func (*UserIDUpdateInternalServerError) IsCode ¶
func (o *UserIDUpdateInternalServerError) IsCode(code int) bool
IsCode returns true when this user Id update internal server error response a status code equal to that given
func (*UserIDUpdateInternalServerError) IsRedirect ¶
func (o *UserIDUpdateInternalServerError) IsRedirect() bool
IsRedirect returns true when this user Id update internal server error response has a 3xx status code
func (*UserIDUpdateInternalServerError) IsServerError ¶
func (o *UserIDUpdateInternalServerError) IsServerError() bool
IsServerError returns true when this user Id update internal server error response has a 5xx status code
func (*UserIDUpdateInternalServerError) IsSuccess ¶
func (o *UserIDUpdateInternalServerError) IsSuccess() bool
IsSuccess returns true when this user Id update internal server error response has a 2xx status code
func (*UserIDUpdateInternalServerError) String ¶
func (o *UserIDUpdateInternalServerError) String() string
type UserIDUpdateOK ¶
UserIDUpdateOK describes a response with status code 200, with default header values.
OK
func NewUserIDUpdateOK ¶
func NewUserIDUpdateOK() *UserIDUpdateOK
NewUserIDUpdateOK creates a UserIDUpdateOK with default headers values
func (*UserIDUpdateOK) Code ¶
func (o *UserIDUpdateOK) Code() int
Code gets the status code for the user Id update o k response
func (*UserIDUpdateOK) Error ¶
func (o *UserIDUpdateOK) Error() string
func (*UserIDUpdateOK) GetPayload ¶
func (o *UserIDUpdateOK) GetPayload() *models.Response
func (*UserIDUpdateOK) IsClientError ¶
func (o *UserIDUpdateOK) IsClientError() bool
IsClientError returns true when this user Id update o k response has a 4xx status code
func (*UserIDUpdateOK) IsCode ¶
func (o *UserIDUpdateOK) IsCode(code int) bool
IsCode returns true when this user Id update o k response a status code equal to that given
func (*UserIDUpdateOK) IsRedirect ¶
func (o *UserIDUpdateOK) IsRedirect() bool
IsRedirect returns true when this user Id update o k response has a 3xx status code
func (*UserIDUpdateOK) IsServerError ¶
func (o *UserIDUpdateOK) IsServerError() bool
IsServerError returns true when this user Id update o k response has a 5xx status code
func (*UserIDUpdateOK) IsSuccess ¶
func (o *UserIDUpdateOK) IsSuccess() bool
IsSuccess returns true when this user Id update o k response has a 2xx status code
func (*UserIDUpdateOK) String ¶
func (o *UserIDUpdateOK) String() string
type UserIDUpdateParams ¶
type UserIDUpdateParams struct { /* Body. User information to be updated in CEDAR. */ Body *models.UserUpdateRequest /* ID. ID of user to update. */ ID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
UserIDUpdateParams contains all the parameters to send to the API endpoint
for the user Id update operation. Typically these are written to a http.Request.
func NewUserIDUpdateParams ¶
func NewUserIDUpdateParams() *UserIDUpdateParams
NewUserIDUpdateParams creates a new UserIDUpdateParams 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 NewUserIDUpdateParamsWithContext ¶
func NewUserIDUpdateParamsWithContext(ctx context.Context) *UserIDUpdateParams
NewUserIDUpdateParamsWithContext creates a new UserIDUpdateParams object with the ability to set a context for a request.
func NewUserIDUpdateParamsWithHTTPClient ¶
func NewUserIDUpdateParamsWithHTTPClient(client *http.Client) *UserIDUpdateParams
NewUserIDUpdateParamsWithHTTPClient creates a new UserIDUpdateParams object with the ability to set a custom HTTPClient for a request.
func NewUserIDUpdateParamsWithTimeout ¶
func NewUserIDUpdateParamsWithTimeout(timeout time.Duration) *UserIDUpdateParams
NewUserIDUpdateParamsWithTimeout creates a new UserIDUpdateParams object with the ability to set a timeout on a request.
func (*UserIDUpdateParams) SetBody ¶
func (o *UserIDUpdateParams) SetBody(body *models.UserUpdateRequest)
SetBody adds the body to the user Id update params
func (*UserIDUpdateParams) SetContext ¶
func (o *UserIDUpdateParams) SetContext(ctx context.Context)
SetContext adds the context to the user Id update params
func (*UserIDUpdateParams) SetDefaults ¶
func (o *UserIDUpdateParams) SetDefaults()
SetDefaults hydrates default values in the user Id update params (not the query body).
All values with no default are reset to their zero value.
func (*UserIDUpdateParams) SetHTTPClient ¶
func (o *UserIDUpdateParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the user Id update params
func (*UserIDUpdateParams) SetID ¶
func (o *UserIDUpdateParams) SetID(id string)
SetID adds the id to the user Id update params
func (*UserIDUpdateParams) SetTimeout ¶
func (o *UserIDUpdateParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the user Id update params
func (*UserIDUpdateParams) WithBody ¶
func (o *UserIDUpdateParams) WithBody(body *models.UserUpdateRequest) *UserIDUpdateParams
WithBody adds the body to the user Id update params
func (*UserIDUpdateParams) WithContext ¶
func (o *UserIDUpdateParams) WithContext(ctx context.Context) *UserIDUpdateParams
WithContext adds the context to the user Id update params
func (*UserIDUpdateParams) WithDefaults ¶
func (o *UserIDUpdateParams) WithDefaults() *UserIDUpdateParams
WithDefaults hydrates default values in the user Id update params (not the query body).
All values with no default are reset to their zero value.
func (*UserIDUpdateParams) WithHTTPClient ¶
func (o *UserIDUpdateParams) WithHTTPClient(client *http.Client) *UserIDUpdateParams
WithHTTPClient adds the HTTPClient to the user Id update params
func (*UserIDUpdateParams) WithID ¶
func (o *UserIDUpdateParams) WithID(id string) *UserIDUpdateParams
WithID adds the id to the user Id update params
func (*UserIDUpdateParams) WithTimeout ¶
func (o *UserIDUpdateParams) WithTimeout(timeout time.Duration) *UserIDUpdateParams
WithTimeout adds the timeout to the user Id update params
func (*UserIDUpdateParams) WriteToRequest ¶
func (o *UserIDUpdateParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type UserIDUpdateReader ¶
type UserIDUpdateReader struct {
// contains filtered or unexported fields
}
UserIDUpdateReader is a Reader for the UserIDUpdate structure.
func (*UserIDUpdateReader) ReadResponse ¶
func (o *UserIDUpdateReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type UserIDUpdateUnauthorized ¶
type UserIDUpdateUnauthorized struct {
}UserIDUpdateUnauthorized describes a response with status code 401, with default header values.
Access Denied
func NewUserIDUpdateUnauthorized ¶
func NewUserIDUpdateUnauthorized() *UserIDUpdateUnauthorized
NewUserIDUpdateUnauthorized creates a UserIDUpdateUnauthorized with default headers values
func (*UserIDUpdateUnauthorized) Code ¶
func (o *UserIDUpdateUnauthorized) Code() int
Code gets the status code for the user Id update unauthorized response
func (*UserIDUpdateUnauthorized) Error ¶
func (o *UserIDUpdateUnauthorized) Error() string
func (*UserIDUpdateUnauthorized) GetPayload ¶
func (o *UserIDUpdateUnauthorized) GetPayload() *models.Response
func (*UserIDUpdateUnauthorized) IsClientError ¶
func (o *UserIDUpdateUnauthorized) IsClientError() bool
IsClientError returns true when this user Id update unauthorized response has a 4xx status code
func (*UserIDUpdateUnauthorized) IsCode ¶
func (o *UserIDUpdateUnauthorized) IsCode(code int) bool
IsCode returns true when this user Id update unauthorized response a status code equal to that given
func (*UserIDUpdateUnauthorized) IsRedirect ¶
func (o *UserIDUpdateUnauthorized) IsRedirect() bool
IsRedirect returns true when this user Id update unauthorized response has a 3xx status code
func (*UserIDUpdateUnauthorized) IsServerError ¶
func (o *UserIDUpdateUnauthorized) IsServerError() bool
IsServerError returns true when this user Id update unauthorized response has a 5xx status code
func (*UserIDUpdateUnauthorized) IsSuccess ¶
func (o *UserIDUpdateUnauthorized) IsSuccess() bool
IsSuccess returns true when this user Id update unauthorized response has a 2xx status code
func (*UserIDUpdateUnauthorized) String ¶
func (o *UserIDUpdateUnauthorized) String() string
type UserNameUpdateBadRequest ¶
UserNameUpdateBadRequest describes a response with status code 400, with default header values.
Bad Request
func NewUserNameUpdateBadRequest ¶
func NewUserNameUpdateBadRequest() *UserNameUpdateBadRequest
NewUserNameUpdateBadRequest creates a UserNameUpdateBadRequest with default headers values
func (*UserNameUpdateBadRequest) Code ¶
func (o *UserNameUpdateBadRequest) Code() int
Code gets the status code for the user name update bad request response
func (*UserNameUpdateBadRequest) Error ¶
func (o *UserNameUpdateBadRequest) Error() string
func (*UserNameUpdateBadRequest) GetPayload ¶
func (o *UserNameUpdateBadRequest) GetPayload() *models.Response
func (*UserNameUpdateBadRequest) IsClientError ¶
func (o *UserNameUpdateBadRequest) IsClientError() bool
IsClientError returns true when this user name update bad request response has a 4xx status code
func (*UserNameUpdateBadRequest) IsCode ¶
func (o *UserNameUpdateBadRequest) IsCode(code int) bool
IsCode returns true when this user name update bad request response a status code equal to that given
func (*UserNameUpdateBadRequest) IsRedirect ¶
func (o *UserNameUpdateBadRequest) IsRedirect() bool
IsRedirect returns true when this user name update bad request response has a 3xx status code
func (*UserNameUpdateBadRequest) IsServerError ¶
func (o *UserNameUpdateBadRequest) IsServerError() bool
IsServerError returns true when this user name update bad request response has a 5xx status code
func (*UserNameUpdateBadRequest) IsSuccess ¶
func (o *UserNameUpdateBadRequest) IsSuccess() bool
IsSuccess returns true when this user name update bad request response has a 2xx status code
func (*UserNameUpdateBadRequest) String ¶
func (o *UserNameUpdateBadRequest) String() string
type UserNameUpdateInternalServerError ¶
UserNameUpdateInternalServerError describes a response with status code 500, with default header values.
Internal Server Error
func NewUserNameUpdateInternalServerError ¶
func NewUserNameUpdateInternalServerError() *UserNameUpdateInternalServerError
NewUserNameUpdateInternalServerError creates a UserNameUpdateInternalServerError with default headers values
func (*UserNameUpdateInternalServerError) Code ¶
func (o *UserNameUpdateInternalServerError) Code() int
Code gets the status code for the user name update internal server error response
func (*UserNameUpdateInternalServerError) Error ¶
func (o *UserNameUpdateInternalServerError) Error() string
func (*UserNameUpdateInternalServerError) GetPayload ¶
func (o *UserNameUpdateInternalServerError) GetPayload() *models.Response
func (*UserNameUpdateInternalServerError) IsClientError ¶
func (o *UserNameUpdateInternalServerError) IsClientError() bool
IsClientError returns true when this user name update internal server error response has a 4xx status code
func (*UserNameUpdateInternalServerError) IsCode ¶
func (o *UserNameUpdateInternalServerError) IsCode(code int) bool
IsCode returns true when this user name update internal server error response a status code equal to that given
func (*UserNameUpdateInternalServerError) IsRedirect ¶
func (o *UserNameUpdateInternalServerError) IsRedirect() bool
IsRedirect returns true when this user name update internal server error response has a 3xx status code
func (*UserNameUpdateInternalServerError) IsServerError ¶
func (o *UserNameUpdateInternalServerError) IsServerError() bool
IsServerError returns true when this user name update internal server error response has a 5xx status code
func (*UserNameUpdateInternalServerError) IsSuccess ¶
func (o *UserNameUpdateInternalServerError) IsSuccess() bool
IsSuccess returns true when this user name update internal server error response has a 2xx status code
func (*UserNameUpdateInternalServerError) String ¶
func (o *UserNameUpdateInternalServerError) String() string
type UserNameUpdateOK ¶
UserNameUpdateOK describes a response with status code 200, with default header values.
OK
func NewUserNameUpdateOK ¶
func NewUserNameUpdateOK() *UserNameUpdateOK
NewUserNameUpdateOK creates a UserNameUpdateOK with default headers values
func (*UserNameUpdateOK) Code ¶
func (o *UserNameUpdateOK) Code() int
Code gets the status code for the user name update o k response
func (*UserNameUpdateOK) Error ¶
func (o *UserNameUpdateOK) Error() string
func (*UserNameUpdateOK) GetPayload ¶
func (o *UserNameUpdateOK) GetPayload() *models.Response
func (*UserNameUpdateOK) IsClientError ¶
func (o *UserNameUpdateOK) IsClientError() bool
IsClientError returns true when this user name update o k response has a 4xx status code
func (*UserNameUpdateOK) IsCode ¶
func (o *UserNameUpdateOK) IsCode(code int) bool
IsCode returns true when this user name update o k response a status code equal to that given
func (*UserNameUpdateOK) IsRedirect ¶
func (o *UserNameUpdateOK) IsRedirect() bool
IsRedirect returns true when this user name update o k response has a 3xx status code
func (*UserNameUpdateOK) IsServerError ¶
func (o *UserNameUpdateOK) IsServerError() bool
IsServerError returns true when this user name update o k response has a 5xx status code
func (*UserNameUpdateOK) IsSuccess ¶
func (o *UserNameUpdateOK) IsSuccess() bool
IsSuccess returns true when this user name update o k response has a 2xx status code
func (*UserNameUpdateOK) String ¶
func (o *UserNameUpdateOK) String() string
type UserNameUpdateParams ¶
type UserNameUpdateParams struct { /* Body. User information to be updated in CEDAR. */ Body *models.UserUpdateRequest /* Username. Username of user to update. */ Username string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
UserNameUpdateParams contains all the parameters to send to the API endpoint
for the user name update operation. Typically these are written to a http.Request.
func NewUserNameUpdateParams ¶
func NewUserNameUpdateParams() *UserNameUpdateParams
NewUserNameUpdateParams creates a new UserNameUpdateParams 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 NewUserNameUpdateParamsWithContext ¶
func NewUserNameUpdateParamsWithContext(ctx context.Context) *UserNameUpdateParams
NewUserNameUpdateParamsWithContext creates a new UserNameUpdateParams object with the ability to set a context for a request.
func NewUserNameUpdateParamsWithHTTPClient ¶
func NewUserNameUpdateParamsWithHTTPClient(client *http.Client) *UserNameUpdateParams
NewUserNameUpdateParamsWithHTTPClient creates a new UserNameUpdateParams object with the ability to set a custom HTTPClient for a request.
func NewUserNameUpdateParamsWithTimeout ¶
func NewUserNameUpdateParamsWithTimeout(timeout time.Duration) *UserNameUpdateParams
NewUserNameUpdateParamsWithTimeout creates a new UserNameUpdateParams object with the ability to set a timeout on a request.
func (*UserNameUpdateParams) SetBody ¶
func (o *UserNameUpdateParams) SetBody(body *models.UserUpdateRequest)
SetBody adds the body to the user name update params
func (*UserNameUpdateParams) SetContext ¶
func (o *UserNameUpdateParams) SetContext(ctx context.Context)
SetContext adds the context to the user name update params
func (*UserNameUpdateParams) SetDefaults ¶
func (o *UserNameUpdateParams) SetDefaults()
SetDefaults hydrates default values in the user name update params (not the query body).
All values with no default are reset to their zero value.
func (*UserNameUpdateParams) SetHTTPClient ¶
func (o *UserNameUpdateParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the user name update params
func (*UserNameUpdateParams) SetTimeout ¶
func (o *UserNameUpdateParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the user name update params
func (*UserNameUpdateParams) SetUsername ¶
func (o *UserNameUpdateParams) SetUsername(username string)
SetUsername adds the username to the user name update params
func (*UserNameUpdateParams) WithBody ¶
func (o *UserNameUpdateParams) WithBody(body *models.UserUpdateRequest) *UserNameUpdateParams
WithBody adds the body to the user name update params
func (*UserNameUpdateParams) WithContext ¶
func (o *UserNameUpdateParams) WithContext(ctx context.Context) *UserNameUpdateParams
WithContext adds the context to the user name update params
func (*UserNameUpdateParams) WithDefaults ¶
func (o *UserNameUpdateParams) WithDefaults() *UserNameUpdateParams
WithDefaults hydrates default values in the user name update params (not the query body).
All values with no default are reset to their zero value.
func (*UserNameUpdateParams) WithHTTPClient ¶
func (o *UserNameUpdateParams) WithHTTPClient(client *http.Client) *UserNameUpdateParams
WithHTTPClient adds the HTTPClient to the user name update params
func (*UserNameUpdateParams) WithTimeout ¶
func (o *UserNameUpdateParams) WithTimeout(timeout time.Duration) *UserNameUpdateParams
WithTimeout adds the timeout to the user name update params
func (*UserNameUpdateParams) WithUsername ¶
func (o *UserNameUpdateParams) WithUsername(username string) *UserNameUpdateParams
WithUsername adds the username to the user name update params
func (*UserNameUpdateParams) WriteToRequest ¶
func (o *UserNameUpdateParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type UserNameUpdateReader ¶
type UserNameUpdateReader struct {
// contains filtered or unexported fields
}
UserNameUpdateReader is a Reader for the UserNameUpdate structure.
func (*UserNameUpdateReader) ReadResponse ¶
func (o *UserNameUpdateReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type UserNameUpdateUnauthorized ¶
type UserNameUpdateUnauthorized struct {
}UserNameUpdateUnauthorized describes a response with status code 401, with default header values.
Access Denied
func NewUserNameUpdateUnauthorized ¶
func NewUserNameUpdateUnauthorized() *UserNameUpdateUnauthorized
NewUserNameUpdateUnauthorized creates a UserNameUpdateUnauthorized with default headers values
func (*UserNameUpdateUnauthorized) Code ¶
func (o *UserNameUpdateUnauthorized) Code() int
Code gets the status code for the user name update unauthorized response
func (*UserNameUpdateUnauthorized) Error ¶
func (o *UserNameUpdateUnauthorized) Error() string
func (*UserNameUpdateUnauthorized) GetPayload ¶
func (o *UserNameUpdateUnauthorized) GetPayload() *models.Response
func (*UserNameUpdateUnauthorized) IsClientError ¶
func (o *UserNameUpdateUnauthorized) IsClientError() bool
IsClientError returns true when this user name update unauthorized response has a 4xx status code
func (*UserNameUpdateUnauthorized) IsCode ¶
func (o *UserNameUpdateUnauthorized) IsCode(code int) bool
IsCode returns true when this user name update unauthorized response a status code equal to that given
func (*UserNameUpdateUnauthorized) IsRedirect ¶
func (o *UserNameUpdateUnauthorized) IsRedirect() bool
IsRedirect returns true when this user name update unauthorized response has a 3xx status code
func (*UserNameUpdateUnauthorized) IsServerError ¶
func (o *UserNameUpdateUnauthorized) IsServerError() bool
IsServerError returns true when this user name update unauthorized response has a 5xx status code
func (*UserNameUpdateUnauthorized) IsSuccess ¶
func (o *UserNameUpdateUnauthorized) IsSuccess() bool
IsSuccess returns true when this user name update unauthorized response has a 2xx status code
func (*UserNameUpdateUnauthorized) String ¶
func (o *UserNameUpdateUnauthorized) String() string
Source Files ¶
- user_add_parameters.go
- user_add_responses.go
- user_client.go
- user_find_by_id_parameters.go
- user_find_by_id_responses.go
- user_find_by_username_parameters.go
- user_find_by_username_responses.go
- user_find_list_parameters.go
- user_find_list_responses.go
- user_id_update_parameters.go
- user_id_update_responses.go
- user_name_update_parameters.go
- user_name_update_responses.go