Documentation
¶
Index ¶
- type Client
- func (a *Client) CreateOAuthUser(params *CreateOAuthUserParams) (*CreateOAuthUserOK, error)
- func (a *Client) DeleteUserAccount(params *DeleteUserAccountParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteUserAccountNoContent, error)
- func (a *Client) EmailVerification(params *EmailVerificationParams) (*EmailVerificationNoContent, error)
- func (a *Client) EmailVerificationResend(params *EmailVerificationResendParams) (*EmailVerificationResendNoContent, error)
- func (a *Client) GetOAuthUser(params *GetOAuthUserParams) (*GetOAuthUserOK, error)
- func (a *Client) GetUserAccount(params *GetUserAccountParams, authInfo runtime.ClientAuthInfoWriter) (*GetUserAccountOK, error)
- func (a *Client) Login(params *LoginParams) (*LoginOK, error)
- func (a *Client) PasswordResetReq(params *PasswordResetReqParams) (*PasswordResetReqNoContent, error)
- func (a *Client) PasswordResetUpdate(params *PasswordResetUpdateParams) (*PasswordResetUpdateNoContent, error)
- func (a *Client) RefreshToken(params *RefreshTokenParams, authInfo runtime.ClientAuthInfoWriter) (*RefreshTokenOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- func (a *Client) SignUp(params *SignUpParams) (*SignUpNoContent, error)
- func (a *Client) UpdateUserAccount(params *UpdateUserAccountParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateUserAccountOK, error)
- func (a *Client) UpdateUserGuide(params *UpdateUserGuideParams) (*UpdateUserGuideNoContent, error)
- type CreateOAuthUserDefault
- type CreateOAuthUserOK
- type CreateOAuthUserOKBody
- type CreateOAuthUserParams
- func NewCreateOAuthUserParams() *CreateOAuthUserParams
- func NewCreateOAuthUserParamsWithContext(ctx context.Context) *CreateOAuthUserParams
- func NewCreateOAuthUserParamsWithHTTPClient(client *http.Client) *CreateOAuthUserParams
- func NewCreateOAuthUserParamsWithTimeout(timeout time.Duration) *CreateOAuthUserParams
- func (o *CreateOAuthUserParams) SetBody(body *models.NewOAuthUser)
- func (o *CreateOAuthUserParams) SetContext(ctx context.Context)
- func (o *CreateOAuthUserParams) SetHTTPClient(client *http.Client)
- func (o *CreateOAuthUserParams) SetSocialType(socialType string)
- func (o *CreateOAuthUserParams) SetTimeout(timeout time.Duration)
- func (o *CreateOAuthUserParams) WithBody(body *models.NewOAuthUser) *CreateOAuthUserParams
- func (o *CreateOAuthUserParams) WithContext(ctx context.Context) *CreateOAuthUserParams
- func (o *CreateOAuthUserParams) WithHTTPClient(client *http.Client) *CreateOAuthUserParams
- func (o *CreateOAuthUserParams) WithSocialType(socialType string) *CreateOAuthUserParams
- func (o *CreateOAuthUserParams) WithTimeout(timeout time.Duration) *CreateOAuthUserParams
- func (o *CreateOAuthUserParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CreateOAuthUserReader
- type CreateOAuthUserUnauthorized
- type DeleteUserAccountDefault
- type DeleteUserAccountForbidden
- type DeleteUserAccountNoContent
- type DeleteUserAccountParams
- func NewDeleteUserAccountParams() *DeleteUserAccountParams
- func NewDeleteUserAccountParamsWithContext(ctx context.Context) *DeleteUserAccountParams
- func NewDeleteUserAccountParamsWithHTTPClient(client *http.Client) *DeleteUserAccountParams
- func NewDeleteUserAccountParamsWithTimeout(timeout time.Duration) *DeleteUserAccountParams
- func (o *DeleteUserAccountParams) SetContext(ctx context.Context)
- func (o *DeleteUserAccountParams) SetHTTPClient(client *http.Client)
- func (o *DeleteUserAccountParams) SetTimeout(timeout time.Duration)
- func (o *DeleteUserAccountParams) WithContext(ctx context.Context) *DeleteUserAccountParams
- func (o *DeleteUserAccountParams) WithHTTPClient(client *http.Client) *DeleteUserAccountParams
- func (o *DeleteUserAccountParams) WithTimeout(timeout time.Duration) *DeleteUserAccountParams
- func (o *DeleteUserAccountParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteUserAccountReader
- type EmailVerificationDefault
- type EmailVerificationNoContent
- type EmailVerificationNotFound
- type EmailVerificationParams
- func NewEmailVerificationParams() *EmailVerificationParams
- func NewEmailVerificationParamsWithContext(ctx context.Context) *EmailVerificationParams
- func NewEmailVerificationParamsWithHTTPClient(client *http.Client) *EmailVerificationParams
- func NewEmailVerificationParamsWithTimeout(timeout time.Duration) *EmailVerificationParams
- func (o *EmailVerificationParams) SetContext(ctx context.Context)
- func (o *EmailVerificationParams) SetHTTPClient(client *http.Client)
- func (o *EmailVerificationParams) SetTimeout(timeout time.Duration)
- func (o *EmailVerificationParams) SetVerificationToken(verificationToken string)
- func (o *EmailVerificationParams) WithContext(ctx context.Context) *EmailVerificationParams
- func (o *EmailVerificationParams) WithHTTPClient(client *http.Client) *EmailVerificationParams
- func (o *EmailVerificationParams) WithTimeout(timeout time.Duration) *EmailVerificationParams
- func (o *EmailVerificationParams) WithVerificationToken(verificationToken string) *EmailVerificationParams
- func (o *EmailVerificationParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type EmailVerificationReader
- type EmailVerificationResendDefault
- type EmailVerificationResendNoContent
- type EmailVerificationResendParams
- func NewEmailVerificationResendParams() *EmailVerificationResendParams
- func NewEmailVerificationResendParamsWithContext(ctx context.Context) *EmailVerificationResendParams
- func NewEmailVerificationResendParamsWithHTTPClient(client *http.Client) *EmailVerificationResendParams
- func NewEmailVerificationResendParamsWithTimeout(timeout time.Duration) *EmailVerificationResendParams
- func (o *EmailVerificationResendParams) SetBody(body *models.UserEmail)
- func (o *EmailVerificationResendParams) SetContext(ctx context.Context)
- func (o *EmailVerificationResendParams) SetHTTPClient(client *http.Client)
- func (o *EmailVerificationResendParams) SetTimeout(timeout time.Duration)
- func (o *EmailVerificationResendParams) WithBody(body *models.UserEmail) *EmailVerificationResendParams
- func (o *EmailVerificationResendParams) WithContext(ctx context.Context) *EmailVerificationResendParams
- func (o *EmailVerificationResendParams) WithHTTPClient(client *http.Client) *EmailVerificationResendParams
- func (o *EmailVerificationResendParams) WithTimeout(timeout time.Duration) *EmailVerificationResendParams
- func (o *EmailVerificationResendParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type EmailVerificationResendReader
- type EmailVerificationResendUnprocessableEntity
- type EmailVerificationUnprocessableEntity
- type GetOAuthUserDefault
- type GetOAuthUserOK
- type GetOAuthUserOKBody
- type GetOAuthUserParams
- func (o *GetOAuthUserParams) SetContext(ctx context.Context)
- func (o *GetOAuthUserParams) SetHTTPClient(client *http.Client)
- func (o *GetOAuthUserParams) SetOauthCode(oauthCode string)
- func (o *GetOAuthUserParams) SetSocialType(socialType string)
- func (o *GetOAuthUserParams) SetTimeout(timeout time.Duration)
- func (o *GetOAuthUserParams) WithContext(ctx context.Context) *GetOAuthUserParams
- func (o *GetOAuthUserParams) WithHTTPClient(client *http.Client) *GetOAuthUserParams
- func (o *GetOAuthUserParams) WithOauthCode(oauthCode string) *GetOAuthUserParams
- func (o *GetOAuthUserParams) WithSocialType(socialType string) *GetOAuthUserParams
- func (o *GetOAuthUserParams) WithTimeout(timeout time.Duration) *GetOAuthUserParams
- func (o *GetOAuthUserParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetOAuthUserReader
- type GetOAuthUserUnauthorized
- type GetUserAccountDefault
- type GetUserAccountOK
- type GetUserAccountOKBody
- type GetUserAccountParams
- func NewGetUserAccountParams() *GetUserAccountParams
- func NewGetUserAccountParamsWithContext(ctx context.Context) *GetUserAccountParams
- func NewGetUserAccountParamsWithHTTPClient(client *http.Client) *GetUserAccountParams
- func NewGetUserAccountParamsWithTimeout(timeout time.Duration) *GetUserAccountParams
- func (o *GetUserAccountParams) SetContext(ctx context.Context)
- func (o *GetUserAccountParams) SetHTTPClient(client *http.Client)
- func (o *GetUserAccountParams) SetTimeout(timeout time.Duration)
- func (o *GetUserAccountParams) WithContext(ctx context.Context) *GetUserAccountParams
- func (o *GetUserAccountParams) WithHTTPClient(client *http.Client) *GetUserAccountParams
- func (o *GetUserAccountParams) WithTimeout(timeout time.Duration) *GetUserAccountParams
- func (o *GetUserAccountParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetUserAccountReader
- type LoginDefault
- type LoginOK
- type LoginOKBody
- type LoginParams
- func (o *LoginParams) SetBody(body *models.UserLogin)
- func (o *LoginParams) SetContext(ctx context.Context)
- func (o *LoginParams) SetHTTPClient(client *http.Client)
- func (o *LoginParams) SetTimeout(timeout time.Duration)
- func (o *LoginParams) WithBody(body *models.UserLogin) *LoginParams
- func (o *LoginParams) WithContext(ctx context.Context) *LoginParams
- func (o *LoginParams) WithHTTPClient(client *http.Client) *LoginParams
- func (o *LoginParams) WithTimeout(timeout time.Duration) *LoginParams
- func (o *LoginParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type LoginReader
- type LoginUnauthorized
- type LoginUnprocessableEntity
- type PasswordResetReqDefault
- type PasswordResetReqNoContent
- type PasswordResetReqParams
- func NewPasswordResetReqParams() *PasswordResetReqParams
- func NewPasswordResetReqParamsWithContext(ctx context.Context) *PasswordResetReqParams
- func NewPasswordResetReqParamsWithHTTPClient(client *http.Client) *PasswordResetReqParams
- func NewPasswordResetReqParamsWithTimeout(timeout time.Duration) *PasswordResetReqParams
- func (o *PasswordResetReqParams) SetBody(body *models.UserPasswordResetReq)
- func (o *PasswordResetReqParams) SetContext(ctx context.Context)
- func (o *PasswordResetReqParams) SetHTTPClient(client *http.Client)
- func (o *PasswordResetReqParams) SetTimeout(timeout time.Duration)
- func (o *PasswordResetReqParams) WithBody(body *models.UserPasswordResetReq) *PasswordResetReqParams
- func (o *PasswordResetReqParams) WithContext(ctx context.Context) *PasswordResetReqParams
- func (o *PasswordResetReqParams) WithHTTPClient(client *http.Client) *PasswordResetReqParams
- func (o *PasswordResetReqParams) WithTimeout(timeout time.Duration) *PasswordResetReqParams
- func (o *PasswordResetReqParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PasswordResetReqReader
- type PasswordResetReqUnprocessableEntity
- type PasswordResetUpdateDefault
- type PasswordResetUpdateNoContent
- type PasswordResetUpdateNotFound
- type PasswordResetUpdateParams
- func NewPasswordResetUpdateParams() *PasswordResetUpdateParams
- func NewPasswordResetUpdateParamsWithContext(ctx context.Context) *PasswordResetUpdateParams
- func NewPasswordResetUpdateParamsWithHTTPClient(client *http.Client) *PasswordResetUpdateParams
- func NewPasswordResetUpdateParamsWithTimeout(timeout time.Duration) *PasswordResetUpdateParams
- func (o *PasswordResetUpdateParams) SetBody(body *models.UserPasswordResetUpdate)
- func (o *PasswordResetUpdateParams) SetContext(ctx context.Context)
- func (o *PasswordResetUpdateParams) SetHTTPClient(client *http.Client)
- func (o *PasswordResetUpdateParams) SetTimeout(timeout time.Duration)
- func (o *PasswordResetUpdateParams) WithBody(body *models.UserPasswordResetUpdate) *PasswordResetUpdateParams
- func (o *PasswordResetUpdateParams) WithContext(ctx context.Context) *PasswordResetUpdateParams
- func (o *PasswordResetUpdateParams) WithHTTPClient(client *http.Client) *PasswordResetUpdateParams
- func (o *PasswordResetUpdateParams) WithTimeout(timeout time.Duration) *PasswordResetUpdateParams
- func (o *PasswordResetUpdateParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PasswordResetUpdateReader
- type PasswordResetUpdateUnprocessableEntity
- type RefreshTokenDefault
- type RefreshTokenOK
- type RefreshTokenOKBody
- type RefreshTokenParams
- func (o *RefreshTokenParams) SetChildCanonical(childCanonical *string)
- func (o *RefreshTokenParams) SetContext(ctx context.Context)
- func (o *RefreshTokenParams) SetHTTPClient(client *http.Client)
- func (o *RefreshTokenParams) SetOrganizationCanonical(organizationCanonical *string)
- func (o *RefreshTokenParams) SetTimeout(timeout time.Duration)
- func (o *RefreshTokenParams) WithChildCanonical(childCanonical *string) *RefreshTokenParams
- func (o *RefreshTokenParams) WithContext(ctx context.Context) *RefreshTokenParams
- func (o *RefreshTokenParams) WithHTTPClient(client *http.Client) *RefreshTokenParams
- func (o *RefreshTokenParams) WithOrganizationCanonical(organizationCanonical *string) *RefreshTokenParams
- func (o *RefreshTokenParams) WithTimeout(timeout time.Duration) *RefreshTokenParams
- func (o *RefreshTokenParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type RefreshTokenReader
- type RefreshTokenUnauthorized
- type SignUpDefault
- type SignUpLengthRequired
- type SignUpNoContent
- type SignUpParams
- func (o *SignUpParams) SetBody(body *models.NewAccount)
- func (o *SignUpParams) SetContext(ctx context.Context)
- func (o *SignUpParams) SetHTTPClient(client *http.Client)
- func (o *SignUpParams) SetTimeout(timeout time.Duration)
- func (o *SignUpParams) WithBody(body *models.NewAccount) *SignUpParams
- func (o *SignUpParams) WithContext(ctx context.Context) *SignUpParams
- func (o *SignUpParams) WithHTTPClient(client *http.Client) *SignUpParams
- func (o *SignUpParams) WithTimeout(timeout time.Duration) *SignUpParams
- func (o *SignUpParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type SignUpReader
- type SignUpUnprocessableEntity
- type UpdateUserAccountConflict
- type UpdateUserAccountDefault
- type UpdateUserAccountLengthRequired
- type UpdateUserAccountOK
- type UpdateUserAccountOKBody
- type UpdateUserAccountParams
- func NewUpdateUserAccountParams() *UpdateUserAccountParams
- func NewUpdateUserAccountParamsWithContext(ctx context.Context) *UpdateUserAccountParams
- func NewUpdateUserAccountParamsWithHTTPClient(client *http.Client) *UpdateUserAccountParams
- func NewUpdateUserAccountParamsWithTimeout(timeout time.Duration) *UpdateUserAccountParams
- func (o *UpdateUserAccountParams) SetBody(body *models.UpdateUserAccount)
- func (o *UpdateUserAccountParams) SetContext(ctx context.Context)
- func (o *UpdateUserAccountParams) SetHTTPClient(client *http.Client)
- func (o *UpdateUserAccountParams) SetTimeout(timeout time.Duration)
- func (o *UpdateUserAccountParams) WithBody(body *models.UpdateUserAccount) *UpdateUserAccountParams
- func (o *UpdateUserAccountParams) WithContext(ctx context.Context) *UpdateUserAccountParams
- func (o *UpdateUserAccountParams) WithHTTPClient(client *http.Client) *UpdateUserAccountParams
- func (o *UpdateUserAccountParams) WithTimeout(timeout time.Duration) *UpdateUserAccountParams
- func (o *UpdateUserAccountParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UpdateUserAccountReader
- type UpdateUserAccountServiceUnavailable
- type UpdateUserAccountUnprocessableEntity
- type UpdateUserGuideDefault
- type UpdateUserGuideNoContent
- type UpdateUserGuideNotFound
- type UpdateUserGuideParams
- func NewUpdateUserGuideParams() *UpdateUserGuideParams
- func NewUpdateUserGuideParamsWithContext(ctx context.Context) *UpdateUserGuideParams
- func NewUpdateUserGuideParamsWithHTTPClient(client *http.Client) *UpdateUserGuideParams
- func NewUpdateUserGuideParamsWithTimeout(timeout time.Duration) *UpdateUserGuideParams
- func (o *UpdateUserGuideParams) SetBody(body models.UserGuide)
- func (o *UpdateUserGuideParams) SetContext(ctx context.Context)
- func (o *UpdateUserGuideParams) SetHTTPClient(client *http.Client)
- func (o *UpdateUserGuideParams) SetTimeout(timeout time.Duration)
- func (o *UpdateUserGuideParams) WithBody(body models.UserGuide) *UpdateUserGuideParams
- func (o *UpdateUserGuideParams) WithContext(ctx context.Context) *UpdateUserGuideParams
- func (o *UpdateUserGuideParams) WithHTTPClient(client *http.Client) *UpdateUserGuideParams
- func (o *UpdateUserGuideParams) WithTimeout(timeout time.Duration) *UpdateUserGuideParams
- func (o *UpdateUserGuideParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UpdateUserGuideReader
- type UpdateUserGuideUnprocessableEntity
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 New ¶
func New(transport runtime.ClientTransport, formats strfmt.Registry) *Client
New creates a new user API client.
func (*Client) CreateOAuthUser ¶
func (a *Client) CreateOAuthUser(params *CreateOAuthUserParams) (*CreateOAuthUserOK, error)
CreateOAuthUser Create a user from the OAuth 'social_type'
func (*Client) DeleteUserAccount ¶
func (a *Client) DeleteUserAccount(params *DeleteUserAccountParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteUserAccountNoContent, error)
DeleteUserAccount The authenticated user delete itself from the system.
func (*Client) EmailVerification ¶
func (a *Client) EmailVerification(params *EmailVerificationParams) (*EmailVerificationNoContent, error)
EmailVerification Verify that the email address is own by the user.
func (*Client) EmailVerificationResend ¶
func (a *Client) EmailVerificationResend(params *EmailVerificationResendParams) (*EmailVerificationResendNoContent, error)
EmailVerificationResend Re-send the verification user's email to the indicated address.
func (*Client) GetOAuthUser ¶
func (a *Client) GetOAuthUser(params *GetOAuthUserParams) (*GetOAuthUserOK, error)
GetOAuthUser Used to know if a user from the platform exists on that 'social_type'. If it exists we'll return the JWT 'token', if it does not we'll return the data of that user on the 'user' so it can be confirmed and created
func (*Client) GetUserAccount ¶
func (a *Client) GetUserAccount(params *GetUserAccountParams, authInfo runtime.ClientAuthInfoWriter) (*GetUserAccountOK, error)
GetUserAccount Get the information of the account of the authenticated user.
func (*Client) Login ¶
func (a *Client) Login(params *LoginParams) (*LoginOK, error)
Login Authenticate a user and return a new JWT token.
func (*Client) PasswordResetReq ¶
func (a *Client) PasswordResetReq(params *PasswordResetReqParams) (*PasswordResetReqNoContent, error)
PasswordResetReq Request to reset the password. Due to security reasons, this endpoint doesn't return Not Found (404) when the email doesn't exist or belongs to a user primary email.
func (*Client) PasswordResetUpdate ¶
func (a *Client) PasswordResetUpdate(params *PasswordResetUpdateParams) (*PasswordResetUpdateNoContent, error)
PasswordResetUpdate Reset the user password when it has been forgotten. Due to security reasons, the endpoint doesn't return a Unprocessable Entity (422) when the token is invalid. 404 Status code is returned if the user has been deleted of the system between the user password request and this request.
func (*Client) RefreshToken ¶
func (a *Client) RefreshToken(params *RefreshTokenParams, authInfo runtime.ClientAuthInfoWriter) (*RefreshTokenOK, error)
RefreshToken Refresh the user JWT and returns a new one if the previous is valid. The 'organization_canonical_query' has to be of an organization in which the user belongs to, and the 'child_canonical_query' of a child of the 'organization_canonical_query' in any level (could be of a grand child).
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
func (*Client) SignUp ¶
func (a *Client) SignUp(params *SignUpParams) (*SignUpNoContent, error)
SignUp Create a new User (sign-up).
func (*Client) UpdateUserAccount ¶
func (a *Client) UpdateUserAccount(params *UpdateUserAccountParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateUserAccountOK, error)
UpdateUserAccount Update the information of the account of the authenticated user.
func (*Client) UpdateUserGuide ¶
func (a *Client) UpdateUserGuide(params *UpdateUserGuideParams) (*UpdateUserGuideNoContent, error)
UpdateUserGuide Update user's guide progress.
type CreateOAuthUserDefault ¶
type CreateOAuthUserDefault struct {
Payload *models.ErrorPayload
// contains filtered or unexported fields
}
CreateOAuthUserDefault handles this case with default header values.
The response sent when an unexpected error happened, as known as an internal server error.
func NewCreateOAuthUserDefault ¶
func NewCreateOAuthUserDefault(code int) *CreateOAuthUserDefault
NewCreateOAuthUserDefault creates a CreateOAuthUserDefault with default headers values
func (*CreateOAuthUserDefault) Code ¶
func (o *CreateOAuthUserDefault) Code() int
Code gets the status code for the create o auth user default response
func (*CreateOAuthUserDefault) Error ¶
func (o *CreateOAuthUserDefault) Error() string
func (*CreateOAuthUserDefault) GetPayload ¶
func (o *CreateOAuthUserDefault) GetPayload() *models.ErrorPayload
type CreateOAuthUserOK ¶
type CreateOAuthUserOK struct {
Payload *CreateOAuthUserOKBody
}
CreateOAuthUserOK handles this case with default header values.
Create a user from the OAuth 'social_type'
func NewCreateOAuthUserOK ¶
func NewCreateOAuthUserOK() *CreateOAuthUserOK
NewCreateOAuthUserOK creates a CreateOAuthUserOK with default headers values
func (*CreateOAuthUserOK) Error ¶
func (o *CreateOAuthUserOK) Error() string
func (*CreateOAuthUserOK) GetPayload ¶
func (o *CreateOAuthUserOK) GetPayload() *CreateOAuthUserOKBody
type CreateOAuthUserOKBody ¶
type CreateOAuthUserOKBody struct {
// data
// Required: true
Data *models.UserSession `json:"data"`
}
CreateOAuthUserOKBody create o auth user o k body swagger:model CreateOAuthUserOKBody
func (*CreateOAuthUserOKBody) MarshalBinary ¶
func (o *CreateOAuthUserOKBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*CreateOAuthUserOKBody) UnmarshalBinary ¶
func (o *CreateOAuthUserOKBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type CreateOAuthUserParams ¶
type CreateOAuthUserParams struct {
/*Body
The user content
*/
Body *models.NewOAuthUser
/*SocialType
The OAuth Social type
*/
SocialType string
Context context.Context
HTTPClient *http.Client
// contains filtered or unexported fields
}
CreateOAuthUserParams contains all the parameters to send to the API endpoint for the create o auth user operation typically these are written to a http.Request
func NewCreateOAuthUserParams ¶
func NewCreateOAuthUserParams() *CreateOAuthUserParams
NewCreateOAuthUserParams creates a new CreateOAuthUserParams object with the default values initialized.
func NewCreateOAuthUserParamsWithContext ¶
func NewCreateOAuthUserParamsWithContext(ctx context.Context) *CreateOAuthUserParams
NewCreateOAuthUserParamsWithContext creates a new CreateOAuthUserParams object with the default values initialized, and the ability to set a context for a request
func NewCreateOAuthUserParamsWithHTTPClient ¶
func NewCreateOAuthUserParamsWithHTTPClient(client *http.Client) *CreateOAuthUserParams
NewCreateOAuthUserParamsWithHTTPClient creates a new CreateOAuthUserParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewCreateOAuthUserParamsWithTimeout ¶
func NewCreateOAuthUserParamsWithTimeout(timeout time.Duration) *CreateOAuthUserParams
NewCreateOAuthUserParamsWithTimeout creates a new CreateOAuthUserParams object with the default values initialized, and the ability to set a timeout on a request
func (*CreateOAuthUserParams) SetBody ¶
func (o *CreateOAuthUserParams) SetBody(body *models.NewOAuthUser)
SetBody adds the body to the create o auth user params
func (*CreateOAuthUserParams) SetContext ¶
func (o *CreateOAuthUserParams) SetContext(ctx context.Context)
SetContext adds the context to the create o auth user params
func (*CreateOAuthUserParams) SetHTTPClient ¶
func (o *CreateOAuthUserParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the create o auth user params
func (*CreateOAuthUserParams) SetSocialType ¶
func (o *CreateOAuthUserParams) SetSocialType(socialType string)
SetSocialType adds the socialType to the create o auth user params
func (*CreateOAuthUserParams) SetTimeout ¶
func (o *CreateOAuthUserParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the create o auth user params
func (*CreateOAuthUserParams) WithBody ¶
func (o *CreateOAuthUserParams) WithBody(body *models.NewOAuthUser) *CreateOAuthUserParams
WithBody adds the body to the create o auth user params
func (*CreateOAuthUserParams) WithContext ¶
func (o *CreateOAuthUserParams) WithContext(ctx context.Context) *CreateOAuthUserParams
WithContext adds the context to the create o auth user params
func (*CreateOAuthUserParams) WithHTTPClient ¶
func (o *CreateOAuthUserParams) WithHTTPClient(client *http.Client) *CreateOAuthUserParams
WithHTTPClient adds the HTTPClient to the create o auth user params
func (*CreateOAuthUserParams) WithSocialType ¶
func (o *CreateOAuthUserParams) WithSocialType(socialType string) *CreateOAuthUserParams
WithSocialType adds the socialType to the create o auth user params
func (*CreateOAuthUserParams) WithTimeout ¶
func (o *CreateOAuthUserParams) WithTimeout(timeout time.Duration) *CreateOAuthUserParams
WithTimeout adds the timeout to the create o auth user params
func (*CreateOAuthUserParams) WriteToRequest ¶
func (o *CreateOAuthUserParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type CreateOAuthUserReader ¶
type CreateOAuthUserReader struct {
// contains filtered or unexported fields
}
CreateOAuthUserReader is a Reader for the CreateOAuthUser structure.
func (*CreateOAuthUserReader) ReadResponse ¶
func (o *CreateOAuthUserReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type CreateOAuthUserUnauthorized ¶
type CreateOAuthUserUnauthorized struct {
}
CreateOAuthUserUnauthorized handles this case with default header values.
The user cannot be authenticated with the credentials which she/he has used.
func NewCreateOAuthUserUnauthorized ¶
func NewCreateOAuthUserUnauthorized() *CreateOAuthUserUnauthorized
NewCreateOAuthUserUnauthorized creates a CreateOAuthUserUnauthorized with default headers values
func (*CreateOAuthUserUnauthorized) Error ¶
func (o *CreateOAuthUserUnauthorized) Error() string
func (*CreateOAuthUserUnauthorized) GetPayload ¶
func (o *CreateOAuthUserUnauthorized) GetPayload() *models.ErrorPayload
type DeleteUserAccountDefault ¶
type DeleteUserAccountDefault struct {
Payload *models.ErrorPayload
// contains filtered or unexported fields
}
DeleteUserAccountDefault handles this case with default header values.
The response sent when an unexpected error happened, as known as an internal server error.
func NewDeleteUserAccountDefault ¶
func NewDeleteUserAccountDefault(code int) *DeleteUserAccountDefault
NewDeleteUserAccountDefault creates a DeleteUserAccountDefault with default headers values
func (*DeleteUserAccountDefault) Code ¶
func (o *DeleteUserAccountDefault) Code() int
Code gets the status code for the delete user account default response
func (*DeleteUserAccountDefault) Error ¶
func (o *DeleteUserAccountDefault) Error() string
func (*DeleteUserAccountDefault) GetPayload ¶
func (o *DeleteUserAccountDefault) GetPayload() *models.ErrorPayload
type DeleteUserAccountForbidden ¶
type DeleteUserAccountForbidden struct {
Payload *models.ErrorPayload
}
DeleteUserAccountForbidden handles this case with default header values.
The authenticated user cannot perform the operation because, it doesn't have permissions for such operation.
func NewDeleteUserAccountForbidden ¶
func NewDeleteUserAccountForbidden() *DeleteUserAccountForbidden
NewDeleteUserAccountForbidden creates a DeleteUserAccountForbidden with default headers values
func (*DeleteUserAccountForbidden) Error ¶
func (o *DeleteUserAccountForbidden) Error() string
func (*DeleteUserAccountForbidden) GetPayload ¶
func (o *DeleteUserAccountForbidden) GetPayload() *models.ErrorPayload
type DeleteUserAccountNoContent ¶
type DeleteUserAccountNoContent struct {
}
DeleteUserAccountNoContent handles this case with default header values.
User account has been deleted.
func NewDeleteUserAccountNoContent ¶
func NewDeleteUserAccountNoContent() *DeleteUserAccountNoContent
NewDeleteUserAccountNoContent creates a DeleteUserAccountNoContent with default headers values
func (*DeleteUserAccountNoContent) Error ¶
func (o *DeleteUserAccountNoContent) Error() string
type DeleteUserAccountParams ¶
type DeleteUserAccountParams struct {
Context context.Context
HTTPClient *http.Client
// contains filtered or unexported fields
}
DeleteUserAccountParams contains all the parameters to send to the API endpoint for the delete user account operation typically these are written to a http.Request
func NewDeleteUserAccountParams ¶
func NewDeleteUserAccountParams() *DeleteUserAccountParams
NewDeleteUserAccountParams creates a new DeleteUserAccountParams object with the default values initialized.
func NewDeleteUserAccountParamsWithContext ¶
func NewDeleteUserAccountParamsWithContext(ctx context.Context) *DeleteUserAccountParams
NewDeleteUserAccountParamsWithContext creates a new DeleteUserAccountParams object with the default values initialized, and the ability to set a context for a request
func NewDeleteUserAccountParamsWithHTTPClient ¶
func NewDeleteUserAccountParamsWithHTTPClient(client *http.Client) *DeleteUserAccountParams
NewDeleteUserAccountParamsWithHTTPClient creates a new DeleteUserAccountParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewDeleteUserAccountParamsWithTimeout ¶
func NewDeleteUserAccountParamsWithTimeout(timeout time.Duration) *DeleteUserAccountParams
NewDeleteUserAccountParamsWithTimeout creates a new DeleteUserAccountParams object with the default values initialized, and the ability to set a timeout on a request
func (*DeleteUserAccountParams) SetContext ¶
func (o *DeleteUserAccountParams) SetContext(ctx context.Context)
SetContext adds the context to the delete user account params
func (*DeleteUserAccountParams) SetHTTPClient ¶
func (o *DeleteUserAccountParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the delete user account params
func (*DeleteUserAccountParams) SetTimeout ¶
func (o *DeleteUserAccountParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the delete user account params
func (*DeleteUserAccountParams) WithContext ¶
func (o *DeleteUserAccountParams) WithContext(ctx context.Context) *DeleteUserAccountParams
WithContext adds the context to the delete user account params
func (*DeleteUserAccountParams) WithHTTPClient ¶
func (o *DeleteUserAccountParams) WithHTTPClient(client *http.Client) *DeleteUserAccountParams
WithHTTPClient adds the HTTPClient to the delete user account params
func (*DeleteUserAccountParams) WithTimeout ¶
func (o *DeleteUserAccountParams) WithTimeout(timeout time.Duration) *DeleteUserAccountParams
WithTimeout adds the timeout to the delete user account params
func (*DeleteUserAccountParams) WriteToRequest ¶
func (o *DeleteUserAccountParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DeleteUserAccountReader ¶
type DeleteUserAccountReader struct {
// contains filtered or unexported fields
}
DeleteUserAccountReader is a Reader for the DeleteUserAccount structure.
func (*DeleteUserAccountReader) ReadResponse ¶
func (o *DeleteUserAccountReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type EmailVerificationDefault ¶
type EmailVerificationDefault struct {
Payload *models.ErrorPayload
// contains filtered or unexported fields
}
EmailVerificationDefault handles this case with default header values.
The response sent when an unexpected error happened, as known as an internal server error.
func NewEmailVerificationDefault ¶
func NewEmailVerificationDefault(code int) *EmailVerificationDefault
NewEmailVerificationDefault creates a EmailVerificationDefault with default headers values
func (*EmailVerificationDefault) Code ¶
func (o *EmailVerificationDefault) Code() int
Code gets the status code for the email verification default response
func (*EmailVerificationDefault) Error ¶
func (o *EmailVerificationDefault) Error() string
func (*EmailVerificationDefault) GetPayload ¶
func (o *EmailVerificationDefault) GetPayload() *models.ErrorPayload
type EmailVerificationNoContent ¶
type EmailVerificationNoContent struct {
}
EmailVerificationNoContent handles this case with default header values.
Email address has been verified.
func NewEmailVerificationNoContent ¶
func NewEmailVerificationNoContent() *EmailVerificationNoContent
NewEmailVerificationNoContent creates a EmailVerificationNoContent with default headers values
func (*EmailVerificationNoContent) Error ¶
func (o *EmailVerificationNoContent) Error() string
type EmailVerificationNotFound ¶
type EmailVerificationNotFound struct {
Payload *models.ErrorPayload
}
EmailVerificationNotFound handles this case with default header values.
The response sent when any of the entities present in the path is not found.
func NewEmailVerificationNotFound ¶
func NewEmailVerificationNotFound() *EmailVerificationNotFound
NewEmailVerificationNotFound creates a EmailVerificationNotFound with default headers values
func (*EmailVerificationNotFound) Error ¶
func (o *EmailVerificationNotFound) Error() string
func (*EmailVerificationNotFound) GetPayload ¶
func (o *EmailVerificationNotFound) GetPayload() *models.ErrorPayload
type EmailVerificationParams ¶
type EmailVerificationParams struct {
/*VerificationToken
A token for verifying emails, invitations, etc.
*/
VerificationToken string
Context context.Context
HTTPClient *http.Client
// contains filtered or unexported fields
}
EmailVerificationParams contains all the parameters to send to the API endpoint for the email verification operation typically these are written to a http.Request
func NewEmailVerificationParams ¶
func NewEmailVerificationParams() *EmailVerificationParams
NewEmailVerificationParams creates a new EmailVerificationParams object with the default values initialized.
func NewEmailVerificationParamsWithContext ¶
func NewEmailVerificationParamsWithContext(ctx context.Context) *EmailVerificationParams
NewEmailVerificationParamsWithContext creates a new EmailVerificationParams object with the default values initialized, and the ability to set a context for a request
func NewEmailVerificationParamsWithHTTPClient ¶
func NewEmailVerificationParamsWithHTTPClient(client *http.Client) *EmailVerificationParams
NewEmailVerificationParamsWithHTTPClient creates a new EmailVerificationParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewEmailVerificationParamsWithTimeout ¶
func NewEmailVerificationParamsWithTimeout(timeout time.Duration) *EmailVerificationParams
NewEmailVerificationParamsWithTimeout creates a new EmailVerificationParams object with the default values initialized, and the ability to set a timeout on a request
func (*EmailVerificationParams) SetContext ¶
func (o *EmailVerificationParams) SetContext(ctx context.Context)
SetContext adds the context to the email verification params
func (*EmailVerificationParams) SetHTTPClient ¶
func (o *EmailVerificationParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the email verification params
func (*EmailVerificationParams) SetTimeout ¶
func (o *EmailVerificationParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the email verification params
func (*EmailVerificationParams) SetVerificationToken ¶
func (o *EmailVerificationParams) SetVerificationToken(verificationToken string)
SetVerificationToken adds the verificationToken to the email verification params
func (*EmailVerificationParams) WithContext ¶
func (o *EmailVerificationParams) WithContext(ctx context.Context) *EmailVerificationParams
WithContext adds the context to the email verification params
func (*EmailVerificationParams) WithHTTPClient ¶
func (o *EmailVerificationParams) WithHTTPClient(client *http.Client) *EmailVerificationParams
WithHTTPClient adds the HTTPClient to the email verification params
func (*EmailVerificationParams) WithTimeout ¶
func (o *EmailVerificationParams) WithTimeout(timeout time.Duration) *EmailVerificationParams
WithTimeout adds the timeout to the email verification params
func (*EmailVerificationParams) WithVerificationToken ¶
func (o *EmailVerificationParams) WithVerificationToken(verificationToken string) *EmailVerificationParams
WithVerificationToken adds the verificationToken to the email verification params
func (*EmailVerificationParams) WriteToRequest ¶
func (o *EmailVerificationParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type EmailVerificationReader ¶
type EmailVerificationReader struct {
// contains filtered or unexported fields
}
EmailVerificationReader is a Reader for the EmailVerification structure.
func (*EmailVerificationReader) ReadResponse ¶
func (o *EmailVerificationReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type EmailVerificationResendDefault ¶
type EmailVerificationResendDefault struct {
Payload *models.ErrorPayload
// contains filtered or unexported fields
}
EmailVerificationResendDefault handles this case with default header values.
The response sent when an unexpected error happened, as known as an internal server error.
func NewEmailVerificationResendDefault ¶
func NewEmailVerificationResendDefault(code int) *EmailVerificationResendDefault
NewEmailVerificationResendDefault creates a EmailVerificationResendDefault with default headers values
func (*EmailVerificationResendDefault) Code ¶
func (o *EmailVerificationResendDefault) Code() int
Code gets the status code for the email verification resend default response
func (*EmailVerificationResendDefault) Error ¶
func (o *EmailVerificationResendDefault) Error() string
func (*EmailVerificationResendDefault) GetPayload ¶
func (o *EmailVerificationResendDefault) GetPayload() *models.ErrorPayload
type EmailVerificationResendNoContent ¶
type EmailVerificationResendNoContent struct {
}
EmailVerificationResendNoContent handles this case with default header values.
The email verification has been re-sent.
func NewEmailVerificationResendNoContent ¶
func NewEmailVerificationResendNoContent() *EmailVerificationResendNoContent
NewEmailVerificationResendNoContent creates a EmailVerificationResendNoContent with default headers values
func (*EmailVerificationResendNoContent) Error ¶
func (o *EmailVerificationResendNoContent) Error() string
type EmailVerificationResendParams ¶
type EmailVerificationResendParams struct {
/*Body
The email address to re-send the verification email. This endpoint doesn't return any error status code if the email doesn't exist nor it's already verified for avoiding that an attacker could find registered users email address.
*/
Body *models.UserEmail
Context context.Context
HTTPClient *http.Client
// contains filtered or unexported fields
}
EmailVerificationResendParams contains all the parameters to send to the API endpoint for the email verification resend operation typically these are written to a http.Request
func NewEmailVerificationResendParams ¶
func NewEmailVerificationResendParams() *EmailVerificationResendParams
NewEmailVerificationResendParams creates a new EmailVerificationResendParams object with the default values initialized.
func NewEmailVerificationResendParamsWithContext ¶
func NewEmailVerificationResendParamsWithContext(ctx context.Context) *EmailVerificationResendParams
NewEmailVerificationResendParamsWithContext creates a new EmailVerificationResendParams object with the default values initialized, and the ability to set a context for a request
func NewEmailVerificationResendParamsWithHTTPClient ¶
func NewEmailVerificationResendParamsWithHTTPClient(client *http.Client) *EmailVerificationResendParams
NewEmailVerificationResendParamsWithHTTPClient creates a new EmailVerificationResendParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewEmailVerificationResendParamsWithTimeout ¶
func NewEmailVerificationResendParamsWithTimeout(timeout time.Duration) *EmailVerificationResendParams
NewEmailVerificationResendParamsWithTimeout creates a new EmailVerificationResendParams object with the default values initialized, and the ability to set a timeout on a request
func (*EmailVerificationResendParams) SetBody ¶
func (o *EmailVerificationResendParams) SetBody(body *models.UserEmail)
SetBody adds the body to the email verification resend params
func (*EmailVerificationResendParams) SetContext ¶
func (o *EmailVerificationResendParams) SetContext(ctx context.Context)
SetContext adds the context to the email verification resend params
func (*EmailVerificationResendParams) SetHTTPClient ¶
func (o *EmailVerificationResendParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the email verification resend params
func (*EmailVerificationResendParams) SetTimeout ¶
func (o *EmailVerificationResendParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the email verification resend params
func (*EmailVerificationResendParams) WithBody ¶
func (o *EmailVerificationResendParams) WithBody(body *models.UserEmail) *EmailVerificationResendParams
WithBody adds the body to the email verification resend params
func (*EmailVerificationResendParams) WithContext ¶
func (o *EmailVerificationResendParams) WithContext(ctx context.Context) *EmailVerificationResendParams
WithContext adds the context to the email verification resend params
func (*EmailVerificationResendParams) WithHTTPClient ¶
func (o *EmailVerificationResendParams) WithHTTPClient(client *http.Client) *EmailVerificationResendParams
WithHTTPClient adds the HTTPClient to the email verification resend params
func (*EmailVerificationResendParams) WithTimeout ¶
func (o *EmailVerificationResendParams) WithTimeout(timeout time.Duration) *EmailVerificationResendParams
WithTimeout adds the timeout to the email verification resend params
func (*EmailVerificationResendParams) WriteToRequest ¶
func (o *EmailVerificationResendParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type EmailVerificationResendReader ¶
type EmailVerificationResendReader struct {
// contains filtered or unexported fields
}
EmailVerificationResendReader is a Reader for the EmailVerificationResend structure.
func (*EmailVerificationResendReader) ReadResponse ¶
func (o *EmailVerificationResendReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type EmailVerificationResendUnprocessableEntity ¶
type EmailVerificationResendUnprocessableEntity struct {
Payload *models.ErrorPayload
}
EmailVerificationResendUnprocessableEntity handles this case with default header values.
All the custom errors that are generated from the Cycloid API
func NewEmailVerificationResendUnprocessableEntity ¶
func NewEmailVerificationResendUnprocessableEntity() *EmailVerificationResendUnprocessableEntity
NewEmailVerificationResendUnprocessableEntity creates a EmailVerificationResendUnprocessableEntity with default headers values
func (*EmailVerificationResendUnprocessableEntity) Error ¶
func (o *EmailVerificationResendUnprocessableEntity) Error() string
func (*EmailVerificationResendUnprocessableEntity) GetPayload ¶
func (o *EmailVerificationResendUnprocessableEntity) GetPayload() *models.ErrorPayload
type EmailVerificationUnprocessableEntity ¶
type EmailVerificationUnprocessableEntity struct {
Payload *models.ErrorPayload
}
EmailVerificationUnprocessableEntity handles this case with default header values.
All the custom errors that are generated from the Cycloid API
func NewEmailVerificationUnprocessableEntity ¶
func NewEmailVerificationUnprocessableEntity() *EmailVerificationUnprocessableEntity
NewEmailVerificationUnprocessableEntity creates a EmailVerificationUnprocessableEntity with default headers values
func (*EmailVerificationUnprocessableEntity) Error ¶
func (o *EmailVerificationUnprocessableEntity) Error() string
func (*EmailVerificationUnprocessableEntity) GetPayload ¶
func (o *EmailVerificationUnprocessableEntity) GetPayload() *models.ErrorPayload
type GetOAuthUserDefault ¶
type GetOAuthUserDefault struct {
Payload *models.ErrorPayload
// contains filtered or unexported fields
}
GetOAuthUserDefault handles this case with default header values.
The response sent when an unexpected error happened, as known as an internal server error.
func NewGetOAuthUserDefault ¶
func NewGetOAuthUserDefault(code int) *GetOAuthUserDefault
NewGetOAuthUserDefault creates a GetOAuthUserDefault with default headers values
func (*GetOAuthUserDefault) Code ¶
func (o *GetOAuthUserDefault) Code() int
Code gets the status code for the get o auth user default response
func (*GetOAuthUserDefault) Error ¶
func (o *GetOAuthUserDefault) Error() string
func (*GetOAuthUserDefault) GetPayload ¶
func (o *GetOAuthUserDefault) GetPayload() *models.ErrorPayload
type GetOAuthUserOK ¶
type GetOAuthUserOK struct {
Payload *GetOAuthUserOKBody
}
GetOAuthUserOK handles this case with default header values.
Used to know if a user from the platform exists on that 'social_type'.
func NewGetOAuthUserOK ¶
func NewGetOAuthUserOK() *GetOAuthUserOK
NewGetOAuthUserOK creates a GetOAuthUserOK with default headers values
func (*GetOAuthUserOK) Error ¶
func (o *GetOAuthUserOK) Error() string
func (*GetOAuthUserOK) GetPayload ¶
func (o *GetOAuthUserOK) GetPayload() *GetOAuthUserOKBody
type GetOAuthUserOKBody ¶
GetOAuthUserOKBody get o auth user o k body swagger:model GetOAuthUserOKBody
func (*GetOAuthUserOKBody) MarshalBinary ¶
func (o *GetOAuthUserOKBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetOAuthUserOKBody) UnmarshalBinary ¶
func (o *GetOAuthUserOKBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetOAuthUserParams ¶
type GetOAuthUserParams struct {
/*OauthCode
The OAuth code returned form the Social Provider
*/
OauthCode string
/*SocialType
The OAuth Social type
*/
SocialType string
Context context.Context
HTTPClient *http.Client
// contains filtered or unexported fields
}
GetOAuthUserParams contains all the parameters to send to the API endpoint for the get o auth user operation typically these are written to a http.Request
func NewGetOAuthUserParams ¶
func NewGetOAuthUserParams() *GetOAuthUserParams
NewGetOAuthUserParams creates a new GetOAuthUserParams object with the default values initialized.
func NewGetOAuthUserParamsWithContext ¶
func NewGetOAuthUserParamsWithContext(ctx context.Context) *GetOAuthUserParams
NewGetOAuthUserParamsWithContext creates a new GetOAuthUserParams object with the default values initialized, and the ability to set a context for a request
func NewGetOAuthUserParamsWithHTTPClient ¶
func NewGetOAuthUserParamsWithHTTPClient(client *http.Client) *GetOAuthUserParams
NewGetOAuthUserParamsWithHTTPClient creates a new GetOAuthUserParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetOAuthUserParamsWithTimeout ¶
func NewGetOAuthUserParamsWithTimeout(timeout time.Duration) *GetOAuthUserParams
NewGetOAuthUserParamsWithTimeout creates a new GetOAuthUserParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetOAuthUserParams) SetContext ¶
func (o *GetOAuthUserParams) SetContext(ctx context.Context)
SetContext adds the context to the get o auth user params
func (*GetOAuthUserParams) SetHTTPClient ¶
func (o *GetOAuthUserParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get o auth user params
func (*GetOAuthUserParams) SetOauthCode ¶
func (o *GetOAuthUserParams) SetOauthCode(oauthCode string)
SetOauthCode adds the oauthCode to the get o auth user params
func (*GetOAuthUserParams) SetSocialType ¶
func (o *GetOAuthUserParams) SetSocialType(socialType string)
SetSocialType adds the socialType to the get o auth user params
func (*GetOAuthUserParams) SetTimeout ¶
func (o *GetOAuthUserParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get o auth user params
func (*GetOAuthUserParams) WithContext ¶
func (o *GetOAuthUserParams) WithContext(ctx context.Context) *GetOAuthUserParams
WithContext adds the context to the get o auth user params
func (*GetOAuthUserParams) WithHTTPClient ¶
func (o *GetOAuthUserParams) WithHTTPClient(client *http.Client) *GetOAuthUserParams
WithHTTPClient adds the HTTPClient to the get o auth user params
func (*GetOAuthUserParams) WithOauthCode ¶
func (o *GetOAuthUserParams) WithOauthCode(oauthCode string) *GetOAuthUserParams
WithOauthCode adds the oauthCode to the get o auth user params
func (*GetOAuthUserParams) WithSocialType ¶
func (o *GetOAuthUserParams) WithSocialType(socialType string) *GetOAuthUserParams
WithSocialType adds the socialType to the get o auth user params
func (*GetOAuthUserParams) WithTimeout ¶
func (o *GetOAuthUserParams) WithTimeout(timeout time.Duration) *GetOAuthUserParams
WithTimeout adds the timeout to the get o auth user params
func (*GetOAuthUserParams) WriteToRequest ¶
func (o *GetOAuthUserParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetOAuthUserReader ¶
type GetOAuthUserReader struct {
// contains filtered or unexported fields
}
GetOAuthUserReader is a Reader for the GetOAuthUser structure.
func (*GetOAuthUserReader) ReadResponse ¶
func (o *GetOAuthUserReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetOAuthUserUnauthorized ¶
type GetOAuthUserUnauthorized struct {
}
GetOAuthUserUnauthorized handles this case with default header values.
The user cannot be authenticated with the credentials which she/he has used.
func NewGetOAuthUserUnauthorized ¶
func NewGetOAuthUserUnauthorized() *GetOAuthUserUnauthorized
NewGetOAuthUserUnauthorized creates a GetOAuthUserUnauthorized with default headers values
func (*GetOAuthUserUnauthorized) Error ¶
func (o *GetOAuthUserUnauthorized) Error() string
func (*GetOAuthUserUnauthorized) GetPayload ¶
func (o *GetOAuthUserUnauthorized) GetPayload() *models.ErrorPayload
type GetUserAccountDefault ¶
type GetUserAccountDefault struct {
Payload *models.ErrorPayload
// contains filtered or unexported fields
}
GetUserAccountDefault handles this case with default header values.
The response sent when an unexpected error happened, as known as an internal server error.
func NewGetUserAccountDefault ¶
func NewGetUserAccountDefault(code int) *GetUserAccountDefault
NewGetUserAccountDefault creates a GetUserAccountDefault with default headers values
func (*GetUserAccountDefault) Code ¶
func (o *GetUserAccountDefault) Code() int
Code gets the status code for the get user account default response
func (*GetUserAccountDefault) Error ¶
func (o *GetUserAccountDefault) Error() string
func (*GetUserAccountDefault) GetPayload ¶
func (o *GetUserAccountDefault) GetPayload() *models.ErrorPayload
type GetUserAccountOK ¶
type GetUserAccountOK struct {
Payload *GetUserAccountOKBody
}
GetUserAccountOK handles this case with default header values.
The user account information.
func NewGetUserAccountOK ¶
func NewGetUserAccountOK() *GetUserAccountOK
NewGetUserAccountOK creates a GetUserAccountOK with default headers values
func (*GetUserAccountOK) Error ¶
func (o *GetUserAccountOK) Error() string
func (*GetUserAccountOK) GetPayload ¶
func (o *GetUserAccountOK) GetPayload() *GetUserAccountOKBody
type GetUserAccountOKBody ¶
type GetUserAccountOKBody struct {
// data
// Required: true
Data *models.UserAccount `json:"data"`
}
GetUserAccountOKBody get user account o k body swagger:model GetUserAccountOKBody
func (*GetUserAccountOKBody) MarshalBinary ¶
func (o *GetUserAccountOKBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetUserAccountOKBody) UnmarshalBinary ¶
func (o *GetUserAccountOKBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetUserAccountParams ¶
type GetUserAccountParams struct {
Context context.Context
HTTPClient *http.Client
// contains filtered or unexported fields
}
GetUserAccountParams contains all the parameters to send to the API endpoint for the get user account operation typically these are written to a http.Request
func NewGetUserAccountParams ¶
func NewGetUserAccountParams() *GetUserAccountParams
NewGetUserAccountParams creates a new GetUserAccountParams object with the default values initialized.
func NewGetUserAccountParamsWithContext ¶
func NewGetUserAccountParamsWithContext(ctx context.Context) *GetUserAccountParams
NewGetUserAccountParamsWithContext creates a new GetUserAccountParams object with the default values initialized, and the ability to set a context for a request
func NewGetUserAccountParamsWithHTTPClient ¶
func NewGetUserAccountParamsWithHTTPClient(client *http.Client) *GetUserAccountParams
NewGetUserAccountParamsWithHTTPClient creates a new GetUserAccountParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetUserAccountParamsWithTimeout ¶
func NewGetUserAccountParamsWithTimeout(timeout time.Duration) *GetUserAccountParams
NewGetUserAccountParamsWithTimeout creates a new GetUserAccountParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetUserAccountParams) SetContext ¶
func (o *GetUserAccountParams) SetContext(ctx context.Context)
SetContext adds the context to the get user account params
func (*GetUserAccountParams) SetHTTPClient ¶
func (o *GetUserAccountParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get user account params
func (*GetUserAccountParams) SetTimeout ¶
func (o *GetUserAccountParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get user account params
func (*GetUserAccountParams) WithContext ¶
func (o *GetUserAccountParams) WithContext(ctx context.Context) *GetUserAccountParams
WithContext adds the context to the get user account params
func (*GetUserAccountParams) WithHTTPClient ¶
func (o *GetUserAccountParams) WithHTTPClient(client *http.Client) *GetUserAccountParams
WithHTTPClient adds the HTTPClient to the get user account params
func (*GetUserAccountParams) WithTimeout ¶
func (o *GetUserAccountParams) WithTimeout(timeout time.Duration) *GetUserAccountParams
WithTimeout adds the timeout to the get user account params
func (*GetUserAccountParams) WriteToRequest ¶
func (o *GetUserAccountParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetUserAccountReader ¶
type GetUserAccountReader struct {
// contains filtered or unexported fields
}
GetUserAccountReader is a Reader for the GetUserAccount structure.
func (*GetUserAccountReader) ReadResponse ¶
func (o *GetUserAccountReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type LoginDefault ¶
type LoginDefault struct {
Payload *models.ErrorPayload
// contains filtered or unexported fields
}
LoginDefault handles this case with default header values.
The response sent when an unexpected error happened, as known as an internal server error.
func NewLoginDefault ¶
func NewLoginDefault(code int) *LoginDefault
NewLoginDefault creates a LoginDefault with default headers values
func (*LoginDefault) Code ¶
func (o *LoginDefault) Code() int
Code gets the status code for the login default response
func (*LoginDefault) Error ¶
func (o *LoginDefault) Error() string
func (*LoginDefault) GetPayload ¶
func (o *LoginDefault) GetPayload() *models.ErrorPayload
type LoginOK ¶
type LoginOK struct {
Payload *LoginOKBody
}
LoginOK handles this case with default header values.
The token which represents the session of the user.
func NewLoginOK ¶
func NewLoginOK() *LoginOK
NewLoginOK creates a LoginOK with default headers values
func (*LoginOK) GetPayload ¶
func (o *LoginOK) GetPayload() *LoginOKBody
type LoginOKBody ¶
type LoginOKBody struct {
// data
// Required: true
Data *models.UserSession `json:"data"`
}
LoginOKBody login o k body swagger:model LoginOKBody
func (*LoginOKBody) MarshalBinary ¶
func (o *LoginOKBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*LoginOKBody) UnmarshalBinary ¶
func (o *LoginOKBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type LoginParams ¶
type LoginParams struct {
/*Body
The user content
*/
Body *models.UserLogin
Context context.Context
HTTPClient *http.Client
// contains filtered or unexported fields
}
LoginParams contains all the parameters to send to the API endpoint for the login operation typically these are written to a http.Request
func NewLoginParams ¶
func NewLoginParams() *LoginParams
NewLoginParams creates a new LoginParams object with the default values initialized.
func NewLoginParamsWithContext ¶
func NewLoginParamsWithContext(ctx context.Context) *LoginParams
NewLoginParamsWithContext creates a new LoginParams object with the default values initialized, and the ability to set a context for a request
func NewLoginParamsWithHTTPClient ¶
func NewLoginParamsWithHTTPClient(client *http.Client) *LoginParams
NewLoginParamsWithHTTPClient creates a new LoginParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewLoginParamsWithTimeout ¶
func NewLoginParamsWithTimeout(timeout time.Duration) *LoginParams
NewLoginParamsWithTimeout creates a new LoginParams object with the default values initialized, and the ability to set a timeout on a request
func (*LoginParams) SetBody ¶
func (o *LoginParams) SetBody(body *models.UserLogin)
SetBody adds the body to the login params
func (*LoginParams) SetContext ¶
func (o *LoginParams) SetContext(ctx context.Context)
SetContext adds the context to the login params
func (*LoginParams) SetHTTPClient ¶
func (o *LoginParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the login params
func (*LoginParams) SetTimeout ¶
func (o *LoginParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the login params
func (*LoginParams) WithBody ¶
func (o *LoginParams) WithBody(body *models.UserLogin) *LoginParams
WithBody adds the body to the login params
func (*LoginParams) WithContext ¶
func (o *LoginParams) WithContext(ctx context.Context) *LoginParams
WithContext adds the context to the login params
func (*LoginParams) WithHTTPClient ¶
func (o *LoginParams) WithHTTPClient(client *http.Client) *LoginParams
WithHTTPClient adds the HTTPClient to the login params
func (*LoginParams) WithTimeout ¶
func (o *LoginParams) WithTimeout(timeout time.Duration) *LoginParams
WithTimeout adds the timeout to the login params
func (*LoginParams) WriteToRequest ¶
func (o *LoginParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type LoginReader ¶
type LoginReader struct {
// contains filtered or unexported fields
}
LoginReader is a Reader for the Login structure.
func (*LoginReader) ReadResponse ¶
func (o *LoginReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type LoginUnauthorized ¶
type LoginUnauthorized struct {
}
LoginUnauthorized handles this case with default header values.
The user cannot be authenticated with the credentials which she/he has used.
func NewLoginUnauthorized ¶
func NewLoginUnauthorized() *LoginUnauthorized
NewLoginUnauthorized creates a LoginUnauthorized with default headers values
func (*LoginUnauthorized) Error ¶
func (o *LoginUnauthorized) Error() string
func (*LoginUnauthorized) GetPayload ¶
func (o *LoginUnauthorized) GetPayload() *models.ErrorPayload
type LoginUnprocessableEntity ¶
type LoginUnprocessableEntity struct {
Payload *models.ErrorPayload
}
LoginUnprocessableEntity handles this case with default header values.
All the custom errors that are generated from the Cycloid API
func NewLoginUnprocessableEntity ¶
func NewLoginUnprocessableEntity() *LoginUnprocessableEntity
NewLoginUnprocessableEntity creates a LoginUnprocessableEntity with default headers values
func (*LoginUnprocessableEntity) Error ¶
func (o *LoginUnprocessableEntity) Error() string
func (*LoginUnprocessableEntity) GetPayload ¶
func (o *LoginUnprocessableEntity) GetPayload() *models.ErrorPayload
type PasswordResetReqDefault ¶
type PasswordResetReqDefault struct {
Payload *models.ErrorPayload
// contains filtered or unexported fields
}
PasswordResetReqDefault handles this case with default header values.
The response sent when an unexpected error happened, as known as an internal server error.
func NewPasswordResetReqDefault ¶
func NewPasswordResetReqDefault(code int) *PasswordResetReqDefault
NewPasswordResetReqDefault creates a PasswordResetReqDefault with default headers values
func (*PasswordResetReqDefault) Code ¶
func (o *PasswordResetReqDefault) Code() int
Code gets the status code for the password reset req default response
func (*PasswordResetReqDefault) Error ¶
func (o *PasswordResetReqDefault) Error() string
func (*PasswordResetReqDefault) GetPayload ¶
func (o *PasswordResetReqDefault) GetPayload() *models.ErrorPayload
type PasswordResetReqNoContent ¶
type PasswordResetReqNoContent struct {
}
PasswordResetReqNoContent handles this case with default header values.
The password has been changed.
func NewPasswordResetReqNoContent ¶
func NewPasswordResetReqNoContent() *PasswordResetReqNoContent
NewPasswordResetReqNoContent creates a PasswordResetReqNoContent with default headers values
func (*PasswordResetReqNoContent) Error ¶
func (o *PasswordResetReqNoContent) Error() string
type PasswordResetReqParams ¶
type PasswordResetReqParams struct {
/*Body
The reset password payload
*/
Body *models.UserPasswordResetReq
Context context.Context
HTTPClient *http.Client
// contains filtered or unexported fields
}
PasswordResetReqParams contains all the parameters to send to the API endpoint for the password reset req operation typically these are written to a http.Request
func NewPasswordResetReqParams ¶
func NewPasswordResetReqParams() *PasswordResetReqParams
NewPasswordResetReqParams creates a new PasswordResetReqParams object with the default values initialized.
func NewPasswordResetReqParamsWithContext ¶
func NewPasswordResetReqParamsWithContext(ctx context.Context) *PasswordResetReqParams
NewPasswordResetReqParamsWithContext creates a new PasswordResetReqParams object with the default values initialized, and the ability to set a context for a request
func NewPasswordResetReqParamsWithHTTPClient ¶
func NewPasswordResetReqParamsWithHTTPClient(client *http.Client) *PasswordResetReqParams
NewPasswordResetReqParamsWithHTTPClient creates a new PasswordResetReqParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewPasswordResetReqParamsWithTimeout ¶
func NewPasswordResetReqParamsWithTimeout(timeout time.Duration) *PasswordResetReqParams
NewPasswordResetReqParamsWithTimeout creates a new PasswordResetReqParams object with the default values initialized, and the ability to set a timeout on a request
func (*PasswordResetReqParams) SetBody ¶
func (o *PasswordResetReqParams) SetBody(body *models.UserPasswordResetReq)
SetBody adds the body to the password reset req params
func (*PasswordResetReqParams) SetContext ¶
func (o *PasswordResetReqParams) SetContext(ctx context.Context)
SetContext adds the context to the password reset req params
func (*PasswordResetReqParams) SetHTTPClient ¶
func (o *PasswordResetReqParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the password reset req params
func (*PasswordResetReqParams) SetTimeout ¶
func (o *PasswordResetReqParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the password reset req params
func (*PasswordResetReqParams) WithBody ¶
func (o *PasswordResetReqParams) WithBody(body *models.UserPasswordResetReq) *PasswordResetReqParams
WithBody adds the body to the password reset req params
func (*PasswordResetReqParams) WithContext ¶
func (o *PasswordResetReqParams) WithContext(ctx context.Context) *PasswordResetReqParams
WithContext adds the context to the password reset req params
func (*PasswordResetReqParams) WithHTTPClient ¶
func (o *PasswordResetReqParams) WithHTTPClient(client *http.Client) *PasswordResetReqParams
WithHTTPClient adds the HTTPClient to the password reset req params
func (*PasswordResetReqParams) WithTimeout ¶
func (o *PasswordResetReqParams) WithTimeout(timeout time.Duration) *PasswordResetReqParams
WithTimeout adds the timeout to the password reset req params
func (*PasswordResetReqParams) WriteToRequest ¶
func (o *PasswordResetReqParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PasswordResetReqReader ¶
type PasswordResetReqReader struct {
// contains filtered or unexported fields
}
PasswordResetReqReader is a Reader for the PasswordResetReq structure.
func (*PasswordResetReqReader) ReadResponse ¶
func (o *PasswordResetReqReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PasswordResetReqUnprocessableEntity ¶
type PasswordResetReqUnprocessableEntity struct {
Payload *models.ErrorPayload
}
PasswordResetReqUnprocessableEntity handles this case with default header values.
All the custom errors that are generated from the Cycloid API
func NewPasswordResetReqUnprocessableEntity ¶
func NewPasswordResetReqUnprocessableEntity() *PasswordResetReqUnprocessableEntity
NewPasswordResetReqUnprocessableEntity creates a PasswordResetReqUnprocessableEntity with default headers values
func (*PasswordResetReqUnprocessableEntity) Error ¶
func (o *PasswordResetReqUnprocessableEntity) Error() string
func (*PasswordResetReqUnprocessableEntity) GetPayload ¶
func (o *PasswordResetReqUnprocessableEntity) GetPayload() *models.ErrorPayload
type PasswordResetUpdateDefault ¶
type PasswordResetUpdateDefault struct {
Payload *models.ErrorPayload
// contains filtered or unexported fields
}
PasswordResetUpdateDefault handles this case with default header values.
The response sent when an unexpected error happened, as known as an internal server error.
func NewPasswordResetUpdateDefault ¶
func NewPasswordResetUpdateDefault(code int) *PasswordResetUpdateDefault
NewPasswordResetUpdateDefault creates a PasswordResetUpdateDefault with default headers values
func (*PasswordResetUpdateDefault) Code ¶
func (o *PasswordResetUpdateDefault) Code() int
Code gets the status code for the password reset update default response
func (*PasswordResetUpdateDefault) Error ¶
func (o *PasswordResetUpdateDefault) Error() string
func (*PasswordResetUpdateDefault) GetPayload ¶
func (o *PasswordResetUpdateDefault) GetPayload() *models.ErrorPayload
type PasswordResetUpdateNoContent ¶
type PasswordResetUpdateNoContent struct {
}
PasswordResetUpdateNoContent handles this case with default header values.
The password has been changed.
func NewPasswordResetUpdateNoContent ¶
func NewPasswordResetUpdateNoContent() *PasswordResetUpdateNoContent
NewPasswordResetUpdateNoContent creates a PasswordResetUpdateNoContent with default headers values
func (*PasswordResetUpdateNoContent) Error ¶
func (o *PasswordResetUpdateNoContent) Error() string
type PasswordResetUpdateNotFound ¶
type PasswordResetUpdateNotFound struct {
Payload *models.ErrorPayload
}
PasswordResetUpdateNotFound handles this case with default header values.
The response sent when any of the entities present in the path is not found.
func NewPasswordResetUpdateNotFound ¶
func NewPasswordResetUpdateNotFound() *PasswordResetUpdateNotFound
NewPasswordResetUpdateNotFound creates a PasswordResetUpdateNotFound with default headers values
func (*PasswordResetUpdateNotFound) Error ¶
func (o *PasswordResetUpdateNotFound) Error() string
func (*PasswordResetUpdateNotFound) GetPayload ¶
func (o *PasswordResetUpdateNotFound) GetPayload() *models.ErrorPayload
type PasswordResetUpdateParams ¶
type PasswordResetUpdateParams struct {
/*Body
The reset password payload
*/
Body *models.UserPasswordResetUpdate
Context context.Context
HTTPClient *http.Client
// contains filtered or unexported fields
}
PasswordResetUpdateParams contains all the parameters to send to the API endpoint for the password reset update operation typically these are written to a http.Request
func NewPasswordResetUpdateParams ¶
func NewPasswordResetUpdateParams() *PasswordResetUpdateParams
NewPasswordResetUpdateParams creates a new PasswordResetUpdateParams object with the default values initialized.
func NewPasswordResetUpdateParamsWithContext ¶
func NewPasswordResetUpdateParamsWithContext(ctx context.Context) *PasswordResetUpdateParams
NewPasswordResetUpdateParamsWithContext creates a new PasswordResetUpdateParams object with the default values initialized, and the ability to set a context for a request
func NewPasswordResetUpdateParamsWithHTTPClient ¶
func NewPasswordResetUpdateParamsWithHTTPClient(client *http.Client) *PasswordResetUpdateParams
NewPasswordResetUpdateParamsWithHTTPClient creates a new PasswordResetUpdateParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewPasswordResetUpdateParamsWithTimeout ¶
func NewPasswordResetUpdateParamsWithTimeout(timeout time.Duration) *PasswordResetUpdateParams
NewPasswordResetUpdateParamsWithTimeout creates a new PasswordResetUpdateParams object with the default values initialized, and the ability to set a timeout on a request
func (*PasswordResetUpdateParams) SetBody ¶
func (o *PasswordResetUpdateParams) SetBody(body *models.UserPasswordResetUpdate)
SetBody adds the body to the password reset update params
func (*PasswordResetUpdateParams) SetContext ¶
func (o *PasswordResetUpdateParams) SetContext(ctx context.Context)
SetContext adds the context to the password reset update params
func (*PasswordResetUpdateParams) SetHTTPClient ¶
func (o *PasswordResetUpdateParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the password reset update params
func (*PasswordResetUpdateParams) SetTimeout ¶
func (o *PasswordResetUpdateParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the password reset update params
func (*PasswordResetUpdateParams) WithBody ¶
func (o *PasswordResetUpdateParams) WithBody(body *models.UserPasswordResetUpdate) *PasswordResetUpdateParams
WithBody adds the body to the password reset update params
func (*PasswordResetUpdateParams) WithContext ¶
func (o *PasswordResetUpdateParams) WithContext(ctx context.Context) *PasswordResetUpdateParams
WithContext adds the context to the password reset update params
func (*PasswordResetUpdateParams) WithHTTPClient ¶
func (o *PasswordResetUpdateParams) WithHTTPClient(client *http.Client) *PasswordResetUpdateParams
WithHTTPClient adds the HTTPClient to the password reset update params
func (*PasswordResetUpdateParams) WithTimeout ¶
func (o *PasswordResetUpdateParams) WithTimeout(timeout time.Duration) *PasswordResetUpdateParams
WithTimeout adds the timeout to the password reset update params
func (*PasswordResetUpdateParams) WriteToRequest ¶
func (o *PasswordResetUpdateParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PasswordResetUpdateReader ¶
type PasswordResetUpdateReader struct {
// contains filtered or unexported fields
}
PasswordResetUpdateReader is a Reader for the PasswordResetUpdate structure.
func (*PasswordResetUpdateReader) ReadResponse ¶
func (o *PasswordResetUpdateReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PasswordResetUpdateUnprocessableEntity ¶
type PasswordResetUpdateUnprocessableEntity struct {
Payload *models.ErrorPayload
}
PasswordResetUpdateUnprocessableEntity handles this case with default header values.
All the custom errors that are generated from the Cycloid API
func NewPasswordResetUpdateUnprocessableEntity ¶
func NewPasswordResetUpdateUnprocessableEntity() *PasswordResetUpdateUnprocessableEntity
NewPasswordResetUpdateUnprocessableEntity creates a PasswordResetUpdateUnprocessableEntity with default headers values
func (*PasswordResetUpdateUnprocessableEntity) Error ¶
func (o *PasswordResetUpdateUnprocessableEntity) Error() string
func (*PasswordResetUpdateUnprocessableEntity) GetPayload ¶
func (o *PasswordResetUpdateUnprocessableEntity) GetPayload() *models.ErrorPayload
type RefreshTokenDefault ¶
type RefreshTokenDefault struct {
Payload *models.ErrorPayload
// contains filtered or unexported fields
}
RefreshTokenDefault handles this case with default header values.
The response sent when an unexpected error happened, as known as an internal server error.
func NewRefreshTokenDefault ¶
func NewRefreshTokenDefault(code int) *RefreshTokenDefault
NewRefreshTokenDefault creates a RefreshTokenDefault with default headers values
func (*RefreshTokenDefault) Code ¶
func (o *RefreshTokenDefault) Code() int
Code gets the status code for the refresh token default response
func (*RefreshTokenDefault) Error ¶
func (o *RefreshTokenDefault) Error() string
func (*RefreshTokenDefault) GetPayload ¶
func (o *RefreshTokenDefault) GetPayload() *models.ErrorPayload
type RefreshTokenOK ¶
type RefreshTokenOK struct {
Payload *RefreshTokenOKBody
}
RefreshTokenOK handles this case with default header values.
The token which represents the session of the user.
func NewRefreshTokenOK ¶
func NewRefreshTokenOK() *RefreshTokenOK
NewRefreshTokenOK creates a RefreshTokenOK with default headers values
func (*RefreshTokenOK) Error ¶
func (o *RefreshTokenOK) Error() string
func (*RefreshTokenOK) GetPayload ¶
func (o *RefreshTokenOK) GetPayload() *RefreshTokenOKBody
type RefreshTokenOKBody ¶
type RefreshTokenOKBody struct {
// data
// Required: true
Data *models.UserSession `json:"data"`
}
RefreshTokenOKBody refresh token o k body swagger:model RefreshTokenOKBody
func (*RefreshTokenOKBody) MarshalBinary ¶
func (o *RefreshTokenOKBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*RefreshTokenOKBody) UnmarshalBinary ¶
func (o *RefreshTokenOKBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type RefreshTokenParams ¶
type RefreshTokenParams struct {
/*ChildCanonical
A canonical of a child organization used for filtering.
*/
ChildCanonical *string
/*OrganizationCanonical
A canonical of a organization used for filtering.
*/
OrganizationCanonical *string
Context context.Context
HTTPClient *http.Client
// contains filtered or unexported fields
}
RefreshTokenParams contains all the parameters to send to the API endpoint for the refresh token operation typically these are written to a http.Request
func NewRefreshTokenParams ¶
func NewRefreshTokenParams() *RefreshTokenParams
NewRefreshTokenParams creates a new RefreshTokenParams object with the default values initialized.
func NewRefreshTokenParamsWithContext ¶
func NewRefreshTokenParamsWithContext(ctx context.Context) *RefreshTokenParams
NewRefreshTokenParamsWithContext creates a new RefreshTokenParams object with the default values initialized, and the ability to set a context for a request
func NewRefreshTokenParamsWithHTTPClient ¶
func NewRefreshTokenParamsWithHTTPClient(client *http.Client) *RefreshTokenParams
NewRefreshTokenParamsWithHTTPClient creates a new RefreshTokenParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewRefreshTokenParamsWithTimeout ¶
func NewRefreshTokenParamsWithTimeout(timeout time.Duration) *RefreshTokenParams
NewRefreshTokenParamsWithTimeout creates a new RefreshTokenParams object with the default values initialized, and the ability to set a timeout on a request
func (*RefreshTokenParams) SetChildCanonical ¶
func (o *RefreshTokenParams) SetChildCanonical(childCanonical *string)
SetChildCanonical adds the childCanonical to the refresh token params
func (*RefreshTokenParams) SetContext ¶
func (o *RefreshTokenParams) SetContext(ctx context.Context)
SetContext adds the context to the refresh token params
func (*RefreshTokenParams) SetHTTPClient ¶
func (o *RefreshTokenParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the refresh token params
func (*RefreshTokenParams) SetOrganizationCanonical ¶
func (o *RefreshTokenParams) SetOrganizationCanonical(organizationCanonical *string)
SetOrganizationCanonical adds the organizationCanonical to the refresh token params
func (*RefreshTokenParams) SetTimeout ¶
func (o *RefreshTokenParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the refresh token params
func (*RefreshTokenParams) WithChildCanonical ¶
func (o *RefreshTokenParams) WithChildCanonical(childCanonical *string) *RefreshTokenParams
WithChildCanonical adds the childCanonical to the refresh token params
func (*RefreshTokenParams) WithContext ¶
func (o *RefreshTokenParams) WithContext(ctx context.Context) *RefreshTokenParams
WithContext adds the context to the refresh token params
func (*RefreshTokenParams) WithHTTPClient ¶
func (o *RefreshTokenParams) WithHTTPClient(client *http.Client) *RefreshTokenParams
WithHTTPClient adds the HTTPClient to the refresh token params
func (*RefreshTokenParams) WithOrganizationCanonical ¶
func (o *RefreshTokenParams) WithOrganizationCanonical(organizationCanonical *string) *RefreshTokenParams
WithOrganizationCanonical adds the organizationCanonical to the refresh token params
func (*RefreshTokenParams) WithTimeout ¶
func (o *RefreshTokenParams) WithTimeout(timeout time.Duration) *RefreshTokenParams
WithTimeout adds the timeout to the refresh token params
func (*RefreshTokenParams) WriteToRequest ¶
func (o *RefreshTokenParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type RefreshTokenReader ¶
type RefreshTokenReader struct {
// contains filtered or unexported fields
}
RefreshTokenReader is a Reader for the RefreshToken structure.
func (*RefreshTokenReader) ReadResponse ¶
func (o *RefreshTokenReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type RefreshTokenUnauthorized ¶
type RefreshTokenUnauthorized struct {
}
RefreshTokenUnauthorized handles this case with default header values.
The user cannot be authenticated with the credentials which she/he has used.
func NewRefreshTokenUnauthorized ¶
func NewRefreshTokenUnauthorized() *RefreshTokenUnauthorized
NewRefreshTokenUnauthorized creates a RefreshTokenUnauthorized with default headers values
func (*RefreshTokenUnauthorized) Error ¶
func (o *RefreshTokenUnauthorized) Error() string
func (*RefreshTokenUnauthorized) GetPayload ¶
func (o *RefreshTokenUnauthorized) GetPayload() *models.ErrorPayload
type SignUpDefault ¶
type SignUpDefault struct {
Payload *models.ErrorPayload
// contains filtered or unexported fields
}
SignUpDefault handles this case with default header values.
The response sent when an unexpected error happened, as known as an internal server error.
func NewSignUpDefault ¶
func NewSignUpDefault(code int) *SignUpDefault
NewSignUpDefault creates a SignUpDefault with default headers values
func (*SignUpDefault) Code ¶
func (o *SignUpDefault) Code() int
Code gets the status code for the sign up default response
func (*SignUpDefault) Error ¶
func (o *SignUpDefault) Error() string
func (*SignUpDefault) GetPayload ¶
func (o *SignUpDefault) GetPayload() *models.ErrorPayload
type SignUpLengthRequired ¶
type SignUpLengthRequired struct {
}
SignUpLengthRequired handles this case with default header values.
The request has a body but it doesn't have a Content-Length header.
func NewSignUpLengthRequired ¶
func NewSignUpLengthRequired() *SignUpLengthRequired
NewSignUpLengthRequired creates a SignUpLengthRequired with default headers values
func (*SignUpLengthRequired) Error ¶
func (o *SignUpLengthRequired) Error() string
type SignUpNoContent ¶
type SignUpNoContent struct {
}
SignUpNoContent handles this case with default header values.
Account created. The account MUST be verified through the link sent to the email address.
func NewSignUpNoContent ¶
func NewSignUpNoContent() *SignUpNoContent
NewSignUpNoContent creates a SignUpNoContent with default headers values
func (*SignUpNoContent) Error ¶
func (o *SignUpNoContent) Error() string
type SignUpParams ¶
type SignUpParams struct {
/*Body
The user content
*/
Body *models.NewAccount
Context context.Context
HTTPClient *http.Client
// contains filtered or unexported fields
}
SignUpParams contains all the parameters to send to the API endpoint for the sign up operation typically these are written to a http.Request
func NewSignUpParams ¶
func NewSignUpParams() *SignUpParams
NewSignUpParams creates a new SignUpParams object with the default values initialized.
func NewSignUpParamsWithContext ¶
func NewSignUpParamsWithContext(ctx context.Context) *SignUpParams
NewSignUpParamsWithContext creates a new SignUpParams object with the default values initialized, and the ability to set a context for a request
func NewSignUpParamsWithHTTPClient ¶
func NewSignUpParamsWithHTTPClient(client *http.Client) *SignUpParams
NewSignUpParamsWithHTTPClient creates a new SignUpParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewSignUpParamsWithTimeout ¶
func NewSignUpParamsWithTimeout(timeout time.Duration) *SignUpParams
NewSignUpParamsWithTimeout creates a new SignUpParams object with the default values initialized, and the ability to set a timeout on a request
func (*SignUpParams) SetBody ¶
func (o *SignUpParams) SetBody(body *models.NewAccount)
SetBody adds the body to the sign up params
func (*SignUpParams) SetContext ¶
func (o *SignUpParams) SetContext(ctx context.Context)
SetContext adds the context to the sign up params
func (*SignUpParams) SetHTTPClient ¶
func (o *SignUpParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the sign up params
func (*SignUpParams) SetTimeout ¶
func (o *SignUpParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the sign up params
func (*SignUpParams) WithBody ¶
func (o *SignUpParams) WithBody(body *models.NewAccount) *SignUpParams
WithBody adds the body to the sign up params
func (*SignUpParams) WithContext ¶
func (o *SignUpParams) WithContext(ctx context.Context) *SignUpParams
WithContext adds the context to the sign up params
func (*SignUpParams) WithHTTPClient ¶
func (o *SignUpParams) WithHTTPClient(client *http.Client) *SignUpParams
WithHTTPClient adds the HTTPClient to the sign up params
func (*SignUpParams) WithTimeout ¶
func (o *SignUpParams) WithTimeout(timeout time.Duration) *SignUpParams
WithTimeout adds the timeout to the sign up params
func (*SignUpParams) WriteToRequest ¶
func (o *SignUpParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type SignUpReader ¶
type SignUpReader struct {
// contains filtered or unexported fields
}
SignUpReader is a Reader for the SignUp structure.
func (*SignUpReader) ReadResponse ¶
func (o *SignUpReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type SignUpUnprocessableEntity ¶
type SignUpUnprocessableEntity struct {
Payload *models.ErrorPayload
}
SignUpUnprocessableEntity handles this case with default header values.
All the custom errors that are generated from the Cycloid API
func NewSignUpUnprocessableEntity ¶
func NewSignUpUnprocessableEntity() *SignUpUnprocessableEntity
NewSignUpUnprocessableEntity creates a SignUpUnprocessableEntity with default headers values
func (*SignUpUnprocessableEntity) Error ¶
func (o *SignUpUnprocessableEntity) Error() string
func (*SignUpUnprocessableEntity) GetPayload ¶
func (o *SignUpUnprocessableEntity) GetPayload() *models.ErrorPayload
type UpdateUserAccountConflict ¶
type UpdateUserAccountConflict struct {
}
UpdateUserAccountConflict handles this case with default header values.
Trying setting an unverified email as the primary
func NewUpdateUserAccountConflict ¶
func NewUpdateUserAccountConflict() *UpdateUserAccountConflict
NewUpdateUserAccountConflict creates a UpdateUserAccountConflict with default headers values
func (*UpdateUserAccountConflict) Error ¶
func (o *UpdateUserAccountConflict) Error() string
type UpdateUserAccountDefault ¶
type UpdateUserAccountDefault struct {
Payload *models.ErrorPayload
// contains filtered or unexported fields
}
UpdateUserAccountDefault handles this case with default header values.
The response sent when an unexpected error happened, as known as an internal server error.
func NewUpdateUserAccountDefault ¶
func NewUpdateUserAccountDefault(code int) *UpdateUserAccountDefault
NewUpdateUserAccountDefault creates a UpdateUserAccountDefault with default headers values
func (*UpdateUserAccountDefault) Code ¶
func (o *UpdateUserAccountDefault) Code() int
Code gets the status code for the update user account default response
func (*UpdateUserAccountDefault) Error ¶
func (o *UpdateUserAccountDefault) Error() string
func (*UpdateUserAccountDefault) GetPayload ¶
func (o *UpdateUserAccountDefault) GetPayload() *models.ErrorPayload
type UpdateUserAccountLengthRequired ¶
type UpdateUserAccountLengthRequired struct {
}
UpdateUserAccountLengthRequired handles this case with default header values.
The request has a body but it doesn't have a Content-Length header.
func NewUpdateUserAccountLengthRequired ¶
func NewUpdateUserAccountLengthRequired() *UpdateUserAccountLengthRequired
NewUpdateUserAccountLengthRequired creates a UpdateUserAccountLengthRequired with default headers values
func (*UpdateUserAccountLengthRequired) Error ¶
func (o *UpdateUserAccountLengthRequired) Error() string
type UpdateUserAccountOK ¶
type UpdateUserAccountOK struct {
Payload *UpdateUserAccountOKBody
}
UpdateUserAccountOK handles this case with default header values.
The updated user profile information.
func NewUpdateUserAccountOK ¶
func NewUpdateUserAccountOK() *UpdateUserAccountOK
NewUpdateUserAccountOK creates a UpdateUserAccountOK with default headers values
func (*UpdateUserAccountOK) Error ¶
func (o *UpdateUserAccountOK) Error() string
func (*UpdateUserAccountOK) GetPayload ¶
func (o *UpdateUserAccountOK) GetPayload() *UpdateUserAccountOKBody
type UpdateUserAccountOKBody ¶
type UpdateUserAccountOKBody struct {
// data
// Required: true
Data *models.UserAccount `json:"data"`
}
UpdateUserAccountOKBody update user account o k body swagger:model UpdateUserAccountOKBody
func (*UpdateUserAccountOKBody) MarshalBinary ¶
func (o *UpdateUserAccountOKBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*UpdateUserAccountOKBody) UnmarshalBinary ¶
func (o *UpdateUserAccountOKBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type UpdateUserAccountParams ¶
type UpdateUserAccountParams struct {
/*Body
The user content
*/
Body *models.UpdateUserAccount
Context context.Context
HTTPClient *http.Client
// contains filtered or unexported fields
}
UpdateUserAccountParams contains all the parameters to send to the API endpoint for the update user account operation typically these are written to a http.Request
func NewUpdateUserAccountParams ¶
func NewUpdateUserAccountParams() *UpdateUserAccountParams
NewUpdateUserAccountParams creates a new UpdateUserAccountParams object with the default values initialized.
func NewUpdateUserAccountParamsWithContext ¶
func NewUpdateUserAccountParamsWithContext(ctx context.Context) *UpdateUserAccountParams
NewUpdateUserAccountParamsWithContext creates a new UpdateUserAccountParams object with the default values initialized, and the ability to set a context for a request
func NewUpdateUserAccountParamsWithHTTPClient ¶
func NewUpdateUserAccountParamsWithHTTPClient(client *http.Client) *UpdateUserAccountParams
NewUpdateUserAccountParamsWithHTTPClient creates a new UpdateUserAccountParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewUpdateUserAccountParamsWithTimeout ¶
func NewUpdateUserAccountParamsWithTimeout(timeout time.Duration) *UpdateUserAccountParams
NewUpdateUserAccountParamsWithTimeout creates a new UpdateUserAccountParams object with the default values initialized, and the ability to set a timeout on a request
func (*UpdateUserAccountParams) SetBody ¶
func (o *UpdateUserAccountParams) SetBody(body *models.UpdateUserAccount)
SetBody adds the body to the update user account params
func (*UpdateUserAccountParams) SetContext ¶
func (o *UpdateUserAccountParams) SetContext(ctx context.Context)
SetContext adds the context to the update user account params
func (*UpdateUserAccountParams) SetHTTPClient ¶
func (o *UpdateUserAccountParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the update user account params
func (*UpdateUserAccountParams) SetTimeout ¶
func (o *UpdateUserAccountParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the update user account params
func (*UpdateUserAccountParams) WithBody ¶
func (o *UpdateUserAccountParams) WithBody(body *models.UpdateUserAccount) *UpdateUserAccountParams
WithBody adds the body to the update user account params
func (*UpdateUserAccountParams) WithContext ¶
func (o *UpdateUserAccountParams) WithContext(ctx context.Context) *UpdateUserAccountParams
WithContext adds the context to the update user account params
func (*UpdateUserAccountParams) WithHTTPClient ¶
func (o *UpdateUserAccountParams) WithHTTPClient(client *http.Client) *UpdateUserAccountParams
WithHTTPClient adds the HTTPClient to the update user account params
func (*UpdateUserAccountParams) WithTimeout ¶
func (o *UpdateUserAccountParams) WithTimeout(timeout time.Duration) *UpdateUserAccountParams
WithTimeout adds the timeout to the update user account params
func (*UpdateUserAccountParams) WriteToRequest ¶
func (o *UpdateUserAccountParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type UpdateUserAccountReader ¶
type UpdateUserAccountReader struct {
// contains filtered or unexported fields
}
UpdateUserAccountReader is a Reader for the UpdateUserAccount structure.
func (*UpdateUserAccountReader) ReadResponse ¶
func (o *UpdateUserAccountReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type UpdateUserAccountServiceUnavailable ¶
type UpdateUserAccountServiceUnavailable struct {
}
UpdateUserAccountServiceUnavailable handles this case with default header values.
The operation couldn't be executed or completed and it should retried.
func NewUpdateUserAccountServiceUnavailable ¶
func NewUpdateUserAccountServiceUnavailable() *UpdateUserAccountServiceUnavailable
NewUpdateUserAccountServiceUnavailable creates a UpdateUserAccountServiceUnavailable with default headers values
func (*UpdateUserAccountServiceUnavailable) Error ¶
func (o *UpdateUserAccountServiceUnavailable) Error() string
func (*UpdateUserAccountServiceUnavailable) GetPayload ¶
func (o *UpdateUserAccountServiceUnavailable) GetPayload() *models.ErrorPayload
type UpdateUserAccountUnprocessableEntity ¶
type UpdateUserAccountUnprocessableEntity struct {
Payload *models.ErrorPayload
}
UpdateUserAccountUnprocessableEntity handles this case with default header values.
All the custom errors that are generated from the Cycloid API
func NewUpdateUserAccountUnprocessableEntity ¶
func NewUpdateUserAccountUnprocessableEntity() *UpdateUserAccountUnprocessableEntity
NewUpdateUserAccountUnprocessableEntity creates a UpdateUserAccountUnprocessableEntity with default headers values
func (*UpdateUserAccountUnprocessableEntity) Error ¶
func (o *UpdateUserAccountUnprocessableEntity) Error() string
func (*UpdateUserAccountUnprocessableEntity) GetPayload ¶
func (o *UpdateUserAccountUnprocessableEntity) GetPayload() *models.ErrorPayload
type UpdateUserGuideDefault ¶
type UpdateUserGuideDefault struct {
Payload *models.ErrorPayload
// contains filtered or unexported fields
}
UpdateUserGuideDefault handles this case with default header values.
The response sent when an unexpected error happened, as known as an internal server error.
func NewUpdateUserGuideDefault ¶
func NewUpdateUserGuideDefault(code int) *UpdateUserGuideDefault
NewUpdateUserGuideDefault creates a UpdateUserGuideDefault with default headers values
func (*UpdateUserGuideDefault) Code ¶
func (o *UpdateUserGuideDefault) Code() int
Code gets the status code for the update user guide default response
func (*UpdateUserGuideDefault) Error ¶
func (o *UpdateUserGuideDefault) Error() string
func (*UpdateUserGuideDefault) GetPayload ¶
func (o *UpdateUserGuideDefault) GetPayload() *models.ErrorPayload
type UpdateUserGuideNoContent ¶
type UpdateUserGuideNoContent struct {
}
UpdateUserGuideNoContent handles this case with default header values.
The guide progress has been updated.
func NewUpdateUserGuideNoContent ¶
func NewUpdateUserGuideNoContent() *UpdateUserGuideNoContent
NewUpdateUserGuideNoContent creates a UpdateUserGuideNoContent with default headers values
func (*UpdateUserGuideNoContent) Error ¶
func (o *UpdateUserGuideNoContent) Error() string
type UpdateUserGuideNotFound ¶
type UpdateUserGuideNotFound struct {
Payload *models.ErrorPayload
}
UpdateUserGuideNotFound handles this case with default header values.
The response sent when any of the entities present in the path is not found.
func NewUpdateUserGuideNotFound ¶
func NewUpdateUserGuideNotFound() *UpdateUserGuideNotFound
NewUpdateUserGuideNotFound creates a UpdateUserGuideNotFound with default headers values
func (*UpdateUserGuideNotFound) Error ¶
func (o *UpdateUserGuideNotFound) Error() string
func (*UpdateUserGuideNotFound) GetPayload ¶
func (o *UpdateUserGuideNotFound) GetPayload() *models.ErrorPayload
type UpdateUserGuideParams ¶
type UpdateUserGuideParams struct {
/*Body
The guide's progress JSON schema
*/
Body models.UserGuide
Context context.Context
HTTPClient *http.Client
// contains filtered or unexported fields
}
UpdateUserGuideParams contains all the parameters to send to the API endpoint for the update user guide operation typically these are written to a http.Request
func NewUpdateUserGuideParams ¶
func NewUpdateUserGuideParams() *UpdateUserGuideParams
NewUpdateUserGuideParams creates a new UpdateUserGuideParams object with the default values initialized.
func NewUpdateUserGuideParamsWithContext ¶
func NewUpdateUserGuideParamsWithContext(ctx context.Context) *UpdateUserGuideParams
NewUpdateUserGuideParamsWithContext creates a new UpdateUserGuideParams object with the default values initialized, and the ability to set a context for a request
func NewUpdateUserGuideParamsWithHTTPClient ¶
func NewUpdateUserGuideParamsWithHTTPClient(client *http.Client) *UpdateUserGuideParams
NewUpdateUserGuideParamsWithHTTPClient creates a new UpdateUserGuideParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewUpdateUserGuideParamsWithTimeout ¶
func NewUpdateUserGuideParamsWithTimeout(timeout time.Duration) *UpdateUserGuideParams
NewUpdateUserGuideParamsWithTimeout creates a new UpdateUserGuideParams object with the default values initialized, and the ability to set a timeout on a request
func (*UpdateUserGuideParams) SetBody ¶
func (o *UpdateUserGuideParams) SetBody(body models.UserGuide)
SetBody adds the body to the update user guide params
func (*UpdateUserGuideParams) SetContext ¶
func (o *UpdateUserGuideParams) SetContext(ctx context.Context)
SetContext adds the context to the update user guide params
func (*UpdateUserGuideParams) SetHTTPClient ¶
func (o *UpdateUserGuideParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the update user guide params
func (*UpdateUserGuideParams) SetTimeout ¶
func (o *UpdateUserGuideParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the update user guide params
func (*UpdateUserGuideParams) WithBody ¶
func (o *UpdateUserGuideParams) WithBody(body models.UserGuide) *UpdateUserGuideParams
WithBody adds the body to the update user guide params
func (*UpdateUserGuideParams) WithContext ¶
func (o *UpdateUserGuideParams) WithContext(ctx context.Context) *UpdateUserGuideParams
WithContext adds the context to the update user guide params
func (*UpdateUserGuideParams) WithHTTPClient ¶
func (o *UpdateUserGuideParams) WithHTTPClient(client *http.Client) *UpdateUserGuideParams
WithHTTPClient adds the HTTPClient to the update user guide params
func (*UpdateUserGuideParams) WithTimeout ¶
func (o *UpdateUserGuideParams) WithTimeout(timeout time.Duration) *UpdateUserGuideParams
WithTimeout adds the timeout to the update user guide params
func (*UpdateUserGuideParams) WriteToRequest ¶
func (o *UpdateUserGuideParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type UpdateUserGuideReader ¶
type UpdateUserGuideReader struct {
// contains filtered or unexported fields
}
UpdateUserGuideReader is a Reader for the UpdateUserGuide structure.
func (*UpdateUserGuideReader) ReadResponse ¶
func (o *UpdateUserGuideReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type UpdateUserGuideUnprocessableEntity ¶
type UpdateUserGuideUnprocessableEntity struct {
Payload *models.ErrorPayload
}
UpdateUserGuideUnprocessableEntity handles this case with default header values.
All the custom errors that are generated from the Cycloid API
func NewUpdateUserGuideUnprocessableEntity ¶
func NewUpdateUserGuideUnprocessableEntity() *UpdateUserGuideUnprocessableEntity
NewUpdateUserGuideUnprocessableEntity creates a UpdateUserGuideUnprocessableEntity with default headers values
func (*UpdateUserGuideUnprocessableEntity) Error ¶
func (o *UpdateUserGuideUnprocessableEntity) Error() string
func (*UpdateUserGuideUnprocessableEntity) GetPayload ¶
func (o *UpdateUserGuideUnprocessableEntity) GetPayload() *models.ErrorPayload
Source Files
¶
- create_o_auth_user_parameters.go
- create_o_auth_user_responses.go
- delete_user_account_parameters.go
- delete_user_account_responses.go
- email_verification_parameters.go
- email_verification_resend_parameters.go
- email_verification_resend_responses.go
- email_verification_responses.go
- get_o_auth_user_parameters.go
- get_o_auth_user_responses.go
- get_user_account_parameters.go
- get_user_account_responses.go
- login_parameters.go
- login_responses.go
- password_reset_req_parameters.go
- password_reset_req_responses.go
- password_reset_update_parameters.go
- password_reset_update_responses.go
- refresh_token_parameters.go
- refresh_token_responses.go
- sign_up_parameters.go
- sign_up_responses.go
- update_user_account_parameters.go
- update_user_account_responses.go
- update_user_guide_parameters.go
- update_user_guide_responses.go
- user_client.go