user

package
v0.0.0-...-5f4f26f Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 13, 2019 License: MIT Imports: 10 Imported by: 0

Documentation

Index

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) GetAccessTokens

func (a *Client) GetAccessTokens(params *GetAccessTokensParams) (*GetAccessTokensOK, error)

GetAccessTokens gets access tokens

The Get Access Tokens service is used to retrieve the access tokens for the application id(s) provided.<br>URL in the response can be used to launch the application for which token is requested.<br><b>Note:</b> This endpoint is deprecated for customers using the API Key-based authentication <br>and is applicable only to customers who use the SAML-based authentication.<br>

func (*Client) GetUser

func (a *Client) GetUser(params *GetUserParams) (*GetUserOK, error)

GetUser gets user details

The get user details service is used to get the user profile information and the application <br>preferences set at the time of user registration.<br>

func (*Client) RegisterUser

func (a *Client) RegisterUser(params *RegisterUserParams) (*RegisterUserOK, error)

RegisterUser registers user

The register user service is used to register a user in Yodlee.<br>The loginName cannot include spaces and must be between 3 and 150 characters.<br>Password must be at least 8 characters long and contain at least one upper case letter,<br>one number and any of these special characters !@#$%^&*() <br>Password should not be same as the loginName and should not contain more than <br>two recurring characters(e.g. aaa123 is an invalid password)<br>The permitted maximum length for password is 50.<br>locale passed must be one of the supported locales for the customer. <br>Currency provided in the input will be respected in the derived services and the amount fields in the response will be provided in the preferred currency.<br>userParam is accepted as a body parameter. <br><b>Note:</b> user.password is no longer supported.Use the code samples for API key based auth only. <br>The content type has to be passed as application/json for the body parameter.<br>

func (*Client) SamlLogin

func (a *Client) SamlLogin(params *SamlLoginParams) (*SamlLoginOK, error)

SamlLogin samls login

The SAML login service is used to authenticate system users with a SAML response.<br>A new user will be created with the input provided if that user isn't already in the system.<br>For existing users, the system will make updates based on changes or new information.<br>When authentication is successful, a user session token is returned.<br><b>Note:</b> The content type has to be passed as application/x-www-form-urlencoded. <br>issuer, source and samlResponse should be passed as body parameters.<br>

func (*Client) SetTransport

func (a *Client) SetTransport(transport runtime.ClientTransport)

SetTransport changes the transport on the client

func (*Client) Unregister

func (a *Client) Unregister(params *UnregisterParams) (*UnregisterNoContent, error)

Unregister deletes user

The delete user service is used to delete or unregister a user from Yodlee. <br>Once deleted, the information related to the users cannot be retrieved. <br>The HTTP response code is 204 (Success without content)<br>

func (*Client) UpdateUser

func (a *Client) UpdateUser(params *UpdateUserParams) (*UpdateUserNoContent, error)

UpdateUser updates user details

The update user details service is used to update user details like name, address, currency preference, etc.<br>Currency provided in the input will be respected in the <a href="https://developer.yodlee.com/apidocs/index.php#!/derived">derived</a> services and the amount fields in the response will be provided in the preferred currency.<br>The HTTP response code is 204 (Success without content). <br>

func (*Client) UserLogout

func (a *Client) UserLogout(params *UserLogoutParams) (*UserLogoutNoContent, error)

UserLogout users logout

<b>Deprecated</b>: This endpoint is deprecated for API Key-based authentication. The user logout service allows the user to log out of the application.<br>The service does not return a response body. The HTTP response code is 204 (Success with no content).<br>

type GetAccessTokensNotFound

type GetAccessTokensNotFound struct {
}

GetAccessTokensNotFound handles this case with default header values.

Not Found

func NewGetAccessTokensNotFound

func NewGetAccessTokensNotFound() *GetAccessTokensNotFound

NewGetAccessTokensNotFound creates a GetAccessTokensNotFound with default headers values

func (*GetAccessTokensNotFound) Error

func (o *GetAccessTokensNotFound) Error() string

type GetAccessTokensOK

type GetAccessTokensOK struct {
	Payload *models.UserAccessTokensResponse
}

GetAccessTokensOK handles this case with default header values.

OK

func NewGetAccessTokensOK

func NewGetAccessTokensOK() *GetAccessTokensOK

NewGetAccessTokensOK creates a GetAccessTokensOK with default headers values

func (*GetAccessTokensOK) Error

func (o *GetAccessTokensOK) Error() string

func (*GetAccessTokensOK) GetPayload

type GetAccessTokensParams

type GetAccessTokensParams struct {

	/*AppIds
	  appIds

	*/
	AppIds string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetAccessTokensParams contains all the parameters to send to the API endpoint for the get access tokens operation typically these are written to a http.Request

func NewGetAccessTokensParams

func NewGetAccessTokensParams() *GetAccessTokensParams

NewGetAccessTokensParams creates a new GetAccessTokensParams object with the default values initialized.

func NewGetAccessTokensParamsWithContext

func NewGetAccessTokensParamsWithContext(ctx context.Context) *GetAccessTokensParams

NewGetAccessTokensParamsWithContext creates a new GetAccessTokensParams object with the default values initialized, and the ability to set a context for a request

func NewGetAccessTokensParamsWithHTTPClient

func NewGetAccessTokensParamsWithHTTPClient(client *http.Client) *GetAccessTokensParams

NewGetAccessTokensParamsWithHTTPClient creates a new GetAccessTokensParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewGetAccessTokensParamsWithTimeout

func NewGetAccessTokensParamsWithTimeout(timeout time.Duration) *GetAccessTokensParams

NewGetAccessTokensParamsWithTimeout creates a new GetAccessTokensParams object with the default values initialized, and the ability to set a timeout on a request

func (*GetAccessTokensParams) SetAppIds

func (o *GetAccessTokensParams) SetAppIds(appIds string)

SetAppIds adds the appIds to the get access tokens params

func (*GetAccessTokensParams) SetContext

func (o *GetAccessTokensParams) SetContext(ctx context.Context)

SetContext adds the context to the get access tokens params

func (*GetAccessTokensParams) SetHTTPClient

func (o *GetAccessTokensParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the get access tokens params

func (*GetAccessTokensParams) SetTimeout

func (o *GetAccessTokensParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the get access tokens params

func (*GetAccessTokensParams) WithAppIds

func (o *GetAccessTokensParams) WithAppIds(appIds string) *GetAccessTokensParams

WithAppIds adds the appIds to the get access tokens params

func (*GetAccessTokensParams) WithContext

WithContext adds the context to the get access tokens params

func (*GetAccessTokensParams) WithHTTPClient

func (o *GetAccessTokensParams) WithHTTPClient(client *http.Client) *GetAccessTokensParams

WithHTTPClient adds the HTTPClient to the get access tokens params

func (*GetAccessTokensParams) WithTimeout

func (o *GetAccessTokensParams) WithTimeout(timeout time.Duration) *GetAccessTokensParams

WithTimeout adds the timeout to the get access tokens params

func (*GetAccessTokensParams) WriteToRequest

func (o *GetAccessTokensParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type GetAccessTokensReader

type GetAccessTokensReader struct {
	// contains filtered or unexported fields
}

GetAccessTokensReader is a Reader for the GetAccessTokens structure.

func (*GetAccessTokensReader) ReadResponse

func (o *GetAccessTokensReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type GetAccessTokensUnauthorized

type GetAccessTokensUnauthorized struct {
}

GetAccessTokensUnauthorized handles this case with default header values.

Unauthorized

func NewGetAccessTokensUnauthorized

func NewGetAccessTokensUnauthorized() *GetAccessTokensUnauthorized

NewGetAccessTokensUnauthorized creates a GetAccessTokensUnauthorized with default headers values

func (*GetAccessTokensUnauthorized) Error

type GetUserNotFound

type GetUserNotFound struct {
}

GetUserNotFound handles this case with default header values.

Not Found

func NewGetUserNotFound

func NewGetUserNotFound() *GetUserNotFound

NewGetUserNotFound creates a GetUserNotFound with default headers values

func (*GetUserNotFound) Error

func (o *GetUserNotFound) Error() string

type GetUserOK

type GetUserOK struct {
	Payload *models.UserDetailResponse
}

GetUserOK handles this case with default header values.

OK

func NewGetUserOK

func NewGetUserOK() *GetUserOK

NewGetUserOK creates a GetUserOK with default headers values

func (*GetUserOK) Error

func (o *GetUserOK) Error() string

func (*GetUserOK) GetPayload

func (o *GetUserOK) GetPayload() *models.UserDetailResponse

type GetUserParams

type GetUserParams struct {
	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetUserParams contains all the parameters to send to the API endpoint for the get user operation typically these are written to a http.Request

func NewGetUserParams

func NewGetUserParams() *GetUserParams

NewGetUserParams creates a new GetUserParams object with the default values initialized.

func NewGetUserParamsWithContext

func NewGetUserParamsWithContext(ctx context.Context) *GetUserParams

NewGetUserParamsWithContext creates a new GetUserParams object with the default values initialized, and the ability to set a context for a request

func NewGetUserParamsWithHTTPClient

func NewGetUserParamsWithHTTPClient(client *http.Client) *GetUserParams

NewGetUserParamsWithHTTPClient creates a new GetUserParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewGetUserParamsWithTimeout

func NewGetUserParamsWithTimeout(timeout time.Duration) *GetUserParams

NewGetUserParamsWithTimeout creates a new GetUserParams object with the default values initialized, and the ability to set a timeout on a request

func (*GetUserParams) SetContext

func (o *GetUserParams) SetContext(ctx context.Context)

SetContext adds the context to the get user params

func (*GetUserParams) SetHTTPClient

func (o *GetUserParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the get user params

func (*GetUserParams) SetTimeout

func (o *GetUserParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the get user params

func (*GetUserParams) WithContext

func (o *GetUserParams) WithContext(ctx context.Context) *GetUserParams

WithContext adds the context to the get user params

func (*GetUserParams) WithHTTPClient

func (o *GetUserParams) WithHTTPClient(client *http.Client) *GetUserParams

WithHTTPClient adds the HTTPClient to the get user params

func (*GetUserParams) WithTimeout

func (o *GetUserParams) WithTimeout(timeout time.Duration) *GetUserParams

WithTimeout adds the timeout to the get user params

func (*GetUserParams) WriteToRequest

func (o *GetUserParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type GetUserReader

type GetUserReader struct {
	// contains filtered or unexported fields
}

GetUserReader is a Reader for the GetUser structure.

func (*GetUserReader) ReadResponse

func (o *GetUserReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type GetUserUnauthorized

type GetUserUnauthorized struct {
}

GetUserUnauthorized handles this case with default header values.

Unauthorized

func NewGetUserUnauthorized

func NewGetUserUnauthorized() *GetUserUnauthorized

NewGetUserUnauthorized creates a GetUserUnauthorized with default headers values

func (*GetUserUnauthorized) Error

func (o *GetUserUnauthorized) Error() string

type RegisterUserBadRequest

type RegisterUserBadRequest struct {
	Payload *models.YodleeError
}

RegisterUserBadRequest handles this case with default header values.

Y800 : Invalid value for loginName<br>Y800 : Invalid value for password<br>Y800 : Invalid value for email<br>Y801 : Invalid length for loginName<br>Y801 : Invalid length for password<br>

func NewRegisterUserBadRequest

func NewRegisterUserBadRequest() *RegisterUserBadRequest

NewRegisterUserBadRequest creates a RegisterUserBadRequest with default headers values

func (*RegisterUserBadRequest) Error

func (o *RegisterUserBadRequest) Error() string

func (*RegisterUserBadRequest) GetPayload

func (o *RegisterUserBadRequest) GetPayload() *models.YodleeError

type RegisterUserNotFound

type RegisterUserNotFound struct {
}

RegisterUserNotFound handles this case with default header values.

Not Found

func NewRegisterUserNotFound

func NewRegisterUserNotFound() *RegisterUserNotFound

NewRegisterUserNotFound creates a RegisterUserNotFound with default headers values

func (*RegisterUserNotFound) Error

func (o *RegisterUserNotFound) Error() string

type RegisterUserOK

type RegisterUserOK struct {
	Payload *models.UserResponse
}

RegisterUserOK handles this case with default header values.

Login Successful

func NewRegisterUserOK

func NewRegisterUserOK() *RegisterUserOK

NewRegisterUserOK creates a RegisterUserOK with default headers values

func (*RegisterUserOK) Error

func (o *RegisterUserOK) Error() string

func (*RegisterUserOK) GetPayload

func (o *RegisterUserOK) GetPayload() *models.UserResponse

type RegisterUserParams

type RegisterUserParams struct {

	/*UserRequest
	  userRequest

	*/
	UserRequest *models.UserRequest

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

RegisterUserParams contains all the parameters to send to the API endpoint for the register user operation typically these are written to a http.Request

func NewRegisterUserParams

func NewRegisterUserParams() *RegisterUserParams

NewRegisterUserParams creates a new RegisterUserParams object with the default values initialized.

func NewRegisterUserParamsWithContext

func NewRegisterUserParamsWithContext(ctx context.Context) *RegisterUserParams

NewRegisterUserParamsWithContext creates a new RegisterUserParams object with the default values initialized, and the ability to set a context for a request

func NewRegisterUserParamsWithHTTPClient

func NewRegisterUserParamsWithHTTPClient(client *http.Client) *RegisterUserParams

NewRegisterUserParamsWithHTTPClient creates a new RegisterUserParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewRegisterUserParamsWithTimeout

func NewRegisterUserParamsWithTimeout(timeout time.Duration) *RegisterUserParams

NewRegisterUserParamsWithTimeout creates a new RegisterUserParams object with the default values initialized, and the ability to set a timeout on a request

func (*RegisterUserParams) SetContext

func (o *RegisterUserParams) SetContext(ctx context.Context)

SetContext adds the context to the register user params

func (*RegisterUserParams) SetHTTPClient

func (o *RegisterUserParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the register user params

func (*RegisterUserParams) SetTimeout

func (o *RegisterUserParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the register user params

func (*RegisterUserParams) SetUserRequest

func (o *RegisterUserParams) SetUserRequest(userRequest *models.UserRequest)

SetUserRequest adds the userRequest to the register user params

func (*RegisterUserParams) WithContext

WithContext adds the context to the register user params

func (*RegisterUserParams) WithHTTPClient

func (o *RegisterUserParams) WithHTTPClient(client *http.Client) *RegisterUserParams

WithHTTPClient adds the HTTPClient to the register user params

func (*RegisterUserParams) WithTimeout

func (o *RegisterUserParams) WithTimeout(timeout time.Duration) *RegisterUserParams

WithTimeout adds the timeout to the register user params

func (*RegisterUserParams) WithUserRequest

func (o *RegisterUserParams) WithUserRequest(userRequest *models.UserRequest) *RegisterUserParams

WithUserRequest adds the userRequest to the register user params

func (*RegisterUserParams) WriteToRequest

func (o *RegisterUserParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type RegisterUserReader

type RegisterUserReader struct {
	// contains filtered or unexported fields
}

RegisterUserReader is a Reader for the RegisterUser structure.

func (*RegisterUserReader) ReadResponse

func (o *RegisterUserReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type RegisterUserUnauthorized

type RegisterUserUnauthorized struct {
}

RegisterUserUnauthorized handles this case with default header values.

Unauthorized

func NewRegisterUserUnauthorized

func NewRegisterUserUnauthorized() *RegisterUserUnauthorized

NewRegisterUserUnauthorized creates a RegisterUserUnauthorized with default headers values

func (*RegisterUserUnauthorized) Error

func (o *RegisterUserUnauthorized) Error() string

type SamlLoginBadRequest

type SamlLoginBadRequest struct {
	Payload *models.YodleeError
}

SamlLoginBadRequest handles this case with default header values.

Y013 : Invalid value for samlResponse<br>Y013 : Invalid value for issuer<br>Y013 : Invalid value for source<br>

func NewSamlLoginBadRequest

func NewSamlLoginBadRequest() *SamlLoginBadRequest

NewSamlLoginBadRequest creates a SamlLoginBadRequest with default headers values

func (*SamlLoginBadRequest) Error

func (o *SamlLoginBadRequest) Error() string

func (*SamlLoginBadRequest) GetPayload

func (o *SamlLoginBadRequest) GetPayload() *models.YodleeError

type SamlLoginNotFound

type SamlLoginNotFound struct {
}

SamlLoginNotFound handles this case with default header values.

Not Found

func NewSamlLoginNotFound

func NewSamlLoginNotFound() *SamlLoginNotFound

NewSamlLoginNotFound creates a SamlLoginNotFound with default headers values

func (*SamlLoginNotFound) Error

func (o *SamlLoginNotFound) Error() string

type SamlLoginOK

type SamlLoginOK struct {
	Payload *models.UserResponse
}

SamlLoginOK handles this case with default header values.

OK

func NewSamlLoginOK

func NewSamlLoginOK() *SamlLoginOK

NewSamlLoginOK creates a SamlLoginOK with default headers values

func (*SamlLoginOK) Error

func (o *SamlLoginOK) Error() string

func (*SamlLoginOK) GetPayload

func (o *SamlLoginOK) GetPayload() *models.UserResponse

type SamlLoginParams

type SamlLoginParams struct {

	/*Issuer
	  issuer

	*/
	Issuer string
	/*SamlResponse
	  samlResponse

	*/
	SamlResponse string
	/*Source
	  source

	*/
	Source string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

SamlLoginParams contains all the parameters to send to the API endpoint for the saml login operation typically these are written to a http.Request

func NewSamlLoginParams

func NewSamlLoginParams() *SamlLoginParams

NewSamlLoginParams creates a new SamlLoginParams object with the default values initialized.

func NewSamlLoginParamsWithContext

func NewSamlLoginParamsWithContext(ctx context.Context) *SamlLoginParams

NewSamlLoginParamsWithContext creates a new SamlLoginParams object with the default values initialized, and the ability to set a context for a request

func NewSamlLoginParamsWithHTTPClient

func NewSamlLoginParamsWithHTTPClient(client *http.Client) *SamlLoginParams

NewSamlLoginParamsWithHTTPClient creates a new SamlLoginParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewSamlLoginParamsWithTimeout

func NewSamlLoginParamsWithTimeout(timeout time.Duration) *SamlLoginParams

NewSamlLoginParamsWithTimeout creates a new SamlLoginParams object with the default values initialized, and the ability to set a timeout on a request

func (*SamlLoginParams) SetContext

func (o *SamlLoginParams) SetContext(ctx context.Context)

SetContext adds the context to the saml login params

func (*SamlLoginParams) SetHTTPClient

func (o *SamlLoginParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the saml login params

func (*SamlLoginParams) SetIssuer

func (o *SamlLoginParams) SetIssuer(issuer string)

SetIssuer adds the issuer to the saml login params

func (*SamlLoginParams) SetSamlResponse

func (o *SamlLoginParams) SetSamlResponse(samlResponse string)

SetSamlResponse adds the samlResponse to the saml login params

func (*SamlLoginParams) SetSource

func (o *SamlLoginParams) SetSource(source string)

SetSource adds the source to the saml login params

func (*SamlLoginParams) SetTimeout

func (o *SamlLoginParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the saml login params

func (*SamlLoginParams) WithContext

func (o *SamlLoginParams) WithContext(ctx context.Context) *SamlLoginParams

WithContext adds the context to the saml login params

func (*SamlLoginParams) WithHTTPClient

func (o *SamlLoginParams) WithHTTPClient(client *http.Client) *SamlLoginParams

WithHTTPClient adds the HTTPClient to the saml login params

func (*SamlLoginParams) WithIssuer

func (o *SamlLoginParams) WithIssuer(issuer string) *SamlLoginParams

WithIssuer adds the issuer to the saml login params

func (*SamlLoginParams) WithSamlResponse

func (o *SamlLoginParams) WithSamlResponse(samlResponse string) *SamlLoginParams

WithSamlResponse adds the samlResponse to the saml login params

func (*SamlLoginParams) WithSource

func (o *SamlLoginParams) WithSource(source string) *SamlLoginParams

WithSource adds the source to the saml login params

func (*SamlLoginParams) WithTimeout

func (o *SamlLoginParams) WithTimeout(timeout time.Duration) *SamlLoginParams

WithTimeout adds the timeout to the saml login params

func (*SamlLoginParams) WriteToRequest

func (o *SamlLoginParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type SamlLoginReader

type SamlLoginReader struct {
	// contains filtered or unexported fields
}

SamlLoginReader is a Reader for the SamlLogin structure.

func (*SamlLoginReader) ReadResponse

func (o *SamlLoginReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type SamlLoginUnauthorized

type SamlLoginUnauthorized struct {
}

SamlLoginUnauthorized handles this case with default header values.

Unauthorized

func NewSamlLoginUnauthorized

func NewSamlLoginUnauthorized() *SamlLoginUnauthorized

NewSamlLoginUnauthorized creates a SamlLoginUnauthorized with default headers values

func (*SamlLoginUnauthorized) Error

func (o *SamlLoginUnauthorized) Error() string

type UnregisterNoContent

type UnregisterNoContent struct {
}

UnregisterNoContent handles this case with default header values.

No Content

func NewUnregisterNoContent

func NewUnregisterNoContent() *UnregisterNoContent

NewUnregisterNoContent creates a UnregisterNoContent with default headers values

func (*UnregisterNoContent) Error

func (o *UnregisterNoContent) Error() string

type UnregisterNotFound

type UnregisterNotFound struct {
}

UnregisterNotFound handles this case with default header values.

Not Found

func NewUnregisterNotFound

func NewUnregisterNotFound() *UnregisterNotFound

NewUnregisterNotFound creates a UnregisterNotFound with default headers values

func (*UnregisterNotFound) Error

func (o *UnregisterNotFound) Error() string

type UnregisterParams

type UnregisterParams struct {
	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

UnregisterParams contains all the parameters to send to the API endpoint for the unregister operation typically these are written to a http.Request

func NewUnregisterParams

func NewUnregisterParams() *UnregisterParams

NewUnregisterParams creates a new UnregisterParams object with the default values initialized.

func NewUnregisterParamsWithContext

func NewUnregisterParamsWithContext(ctx context.Context) *UnregisterParams

NewUnregisterParamsWithContext creates a new UnregisterParams object with the default values initialized, and the ability to set a context for a request

func NewUnregisterParamsWithHTTPClient

func NewUnregisterParamsWithHTTPClient(client *http.Client) *UnregisterParams

NewUnregisterParamsWithHTTPClient creates a new UnregisterParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewUnregisterParamsWithTimeout

func NewUnregisterParamsWithTimeout(timeout time.Duration) *UnregisterParams

NewUnregisterParamsWithTimeout creates a new UnregisterParams object with the default values initialized, and the ability to set a timeout on a request

func (*UnregisterParams) SetContext

func (o *UnregisterParams) SetContext(ctx context.Context)

SetContext adds the context to the unregister params

func (*UnregisterParams) SetHTTPClient

func (o *UnregisterParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the unregister params

func (*UnregisterParams) SetTimeout

func (o *UnregisterParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the unregister params

func (*UnregisterParams) WithContext

func (o *UnregisterParams) WithContext(ctx context.Context) *UnregisterParams

WithContext adds the context to the unregister params

func (*UnregisterParams) WithHTTPClient

func (o *UnregisterParams) WithHTTPClient(client *http.Client) *UnregisterParams

WithHTTPClient adds the HTTPClient to the unregister params

func (*UnregisterParams) WithTimeout

func (o *UnregisterParams) WithTimeout(timeout time.Duration) *UnregisterParams

WithTimeout adds the timeout to the unregister params

func (*UnregisterParams) WriteToRequest

func (o *UnregisterParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type UnregisterReader

type UnregisterReader struct {
	// contains filtered or unexported fields
}

UnregisterReader is a Reader for the Unregister structure.

func (*UnregisterReader) ReadResponse

func (o *UnregisterReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type UnregisterUnauthorized

type UnregisterUnauthorized struct {
}

UnregisterUnauthorized handles this case with default header values.

Unauthorized

func NewUnregisterUnauthorized

func NewUnregisterUnauthorized() *UnregisterUnauthorized

NewUnregisterUnauthorized creates a UnregisterUnauthorized with default headers values

func (*UnregisterUnauthorized) Error

func (o *UnregisterUnauthorized) Error() string

type UpdateUserNoContent

type UpdateUserNoContent struct {
}

UpdateUserNoContent handles this case with default header values.

No Content

func NewUpdateUserNoContent

func NewUpdateUserNoContent() *UpdateUserNoContent

NewUpdateUserNoContent creates a UpdateUserNoContent with default headers values

func (*UpdateUserNoContent) Error

func (o *UpdateUserNoContent) Error() string

type UpdateUserNotFound

type UpdateUserNotFound struct {
}

UpdateUserNotFound handles this case with default header values.

Not Found

func NewUpdateUserNotFound

func NewUpdateUserNotFound() *UpdateUserNotFound

NewUpdateUserNotFound creates a UpdateUserNotFound with default headers values

func (*UpdateUserNotFound) Error

func (o *UpdateUserNotFound) Error() string

type UpdateUserParams

type UpdateUserParams struct {

	/*UserRequest
	  userRequest

	*/
	UserRequest *models.UpdateUserRequest

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

UpdateUserParams contains all the parameters to send to the API endpoint for the update user operation typically these are written to a http.Request

func NewUpdateUserParams

func NewUpdateUserParams() *UpdateUserParams

NewUpdateUserParams creates a new UpdateUserParams object with the default values initialized.

func NewUpdateUserParamsWithContext

func NewUpdateUserParamsWithContext(ctx context.Context) *UpdateUserParams

NewUpdateUserParamsWithContext creates a new UpdateUserParams object with the default values initialized, and the ability to set a context for a request

func NewUpdateUserParamsWithHTTPClient

func NewUpdateUserParamsWithHTTPClient(client *http.Client) *UpdateUserParams

NewUpdateUserParamsWithHTTPClient creates a new UpdateUserParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewUpdateUserParamsWithTimeout

func NewUpdateUserParamsWithTimeout(timeout time.Duration) *UpdateUserParams

NewUpdateUserParamsWithTimeout creates a new UpdateUserParams object with the default values initialized, and the ability to set a timeout on a request

func (*UpdateUserParams) SetContext

func (o *UpdateUserParams) SetContext(ctx context.Context)

SetContext adds the context to the update user params

func (*UpdateUserParams) SetHTTPClient

func (o *UpdateUserParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the update user params

func (*UpdateUserParams) SetTimeout

func (o *UpdateUserParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the update user params

func (*UpdateUserParams) SetUserRequest

func (o *UpdateUserParams) SetUserRequest(userRequest *models.UpdateUserRequest)

SetUserRequest adds the userRequest to the update user params

func (*UpdateUserParams) WithContext

func (o *UpdateUserParams) WithContext(ctx context.Context) *UpdateUserParams

WithContext adds the context to the update user params

func (*UpdateUserParams) WithHTTPClient

func (o *UpdateUserParams) WithHTTPClient(client *http.Client) *UpdateUserParams

WithHTTPClient adds the HTTPClient to the update user params

func (*UpdateUserParams) WithTimeout

func (o *UpdateUserParams) WithTimeout(timeout time.Duration) *UpdateUserParams

WithTimeout adds the timeout to the update user params

func (*UpdateUserParams) WithUserRequest

func (o *UpdateUserParams) WithUserRequest(userRequest *models.UpdateUserRequest) *UpdateUserParams

WithUserRequest adds the userRequest to the update user params

func (*UpdateUserParams) WriteToRequest

func (o *UpdateUserParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type UpdateUserReader

type UpdateUserReader struct {
	// contains filtered or unexported fields
}

UpdateUserReader is a Reader for the UpdateUser structure.

func (*UpdateUserReader) ReadResponse

func (o *UpdateUserReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type UpdateUserUnauthorized

type UpdateUserUnauthorized struct {
}

UpdateUserUnauthorized handles this case with default header values.

Unauthorized

func NewUpdateUserUnauthorized

func NewUpdateUserUnauthorized() *UpdateUserUnauthorized

NewUpdateUserUnauthorized creates a UpdateUserUnauthorized with default headers values

func (*UpdateUserUnauthorized) Error

func (o *UpdateUserUnauthorized) Error() string

type UserLogoutNoContent

type UserLogoutNoContent struct {
}

UserLogoutNoContent handles this case with default header values.

Logout successful

func NewUserLogoutNoContent

func NewUserLogoutNoContent() *UserLogoutNoContent

NewUserLogoutNoContent creates a UserLogoutNoContent with default headers values

func (*UserLogoutNoContent) Error

func (o *UserLogoutNoContent) Error() string

type UserLogoutNotFound

type UserLogoutNotFound struct {
}

UserLogoutNotFound handles this case with default header values.

Not Found

func NewUserLogoutNotFound

func NewUserLogoutNotFound() *UserLogoutNotFound

NewUserLogoutNotFound creates a UserLogoutNotFound with default headers values

func (*UserLogoutNotFound) Error

func (o *UserLogoutNotFound) Error() string

type UserLogoutParams

type UserLogoutParams struct {
	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

UserLogoutParams contains all the parameters to send to the API endpoint for the user logout operation typically these are written to a http.Request

func NewUserLogoutParams

func NewUserLogoutParams() *UserLogoutParams

NewUserLogoutParams creates a new UserLogoutParams object with the default values initialized.

func NewUserLogoutParamsWithContext

func NewUserLogoutParamsWithContext(ctx context.Context) *UserLogoutParams

NewUserLogoutParamsWithContext creates a new UserLogoutParams object with the default values initialized, and the ability to set a context for a request

func NewUserLogoutParamsWithHTTPClient

func NewUserLogoutParamsWithHTTPClient(client *http.Client) *UserLogoutParams

NewUserLogoutParamsWithHTTPClient creates a new UserLogoutParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewUserLogoutParamsWithTimeout

func NewUserLogoutParamsWithTimeout(timeout time.Duration) *UserLogoutParams

NewUserLogoutParamsWithTimeout creates a new UserLogoutParams object with the default values initialized, and the ability to set a timeout on a request

func (*UserLogoutParams) SetContext

func (o *UserLogoutParams) SetContext(ctx context.Context)

SetContext adds the context to the user logout params

func (*UserLogoutParams) SetHTTPClient

func (o *UserLogoutParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the user logout params

func (*UserLogoutParams) SetTimeout

func (o *UserLogoutParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the user logout params

func (*UserLogoutParams) WithContext

func (o *UserLogoutParams) WithContext(ctx context.Context) *UserLogoutParams

WithContext adds the context to the user logout params

func (*UserLogoutParams) WithHTTPClient

func (o *UserLogoutParams) WithHTTPClient(client *http.Client) *UserLogoutParams

WithHTTPClient adds the HTTPClient to the user logout params

func (*UserLogoutParams) WithTimeout

func (o *UserLogoutParams) WithTimeout(timeout time.Duration) *UserLogoutParams

WithTimeout adds the timeout to the user logout params

func (*UserLogoutParams) WriteToRequest

func (o *UserLogoutParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type UserLogoutReader

type UserLogoutReader struct {
	// contains filtered or unexported fields
}

UserLogoutReader is a Reader for the UserLogout structure.

func (*UserLogoutReader) ReadResponse

func (o *UserLogoutReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type UserLogoutUnauthorized

type UserLogoutUnauthorized struct {
}

UserLogoutUnauthorized handles this case with default header values.

Unauthorized

func NewUserLogoutUnauthorized

func NewUserLogoutUnauthorized() *UserLogoutUnauthorized

NewUserLogoutUnauthorized creates a UserLogoutUnauthorized with default headers values

func (*UserLogoutUnauthorized) Error

func (o *UserLogoutUnauthorized) Error() string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL