Documentation
¶
Index ¶
- func WithContentTypeApplicationJSON(r *runtime.ClientOperation)
- func WithContentTypeApplicationxWwwFormUrlencoded(r *runtime.ClientOperation)
- type Client
- func (a *Client) GetUserByUsername(params *GetUserByUsernameParams, authInfo runtime.ClientAuthInfoWriter, ...) (*GetUserByUsernameOK, error)
- func (a *Client) GetUserMe(params *GetUserMeParams, authInfo runtime.ClientAuthInfoWriter, ...) (*GetUserMeOK, error)
- func (a *Client) GetUserOrgUsernames(params *GetUserOrgUsernamesParams, authInfo runtime.ClientAuthInfoWriter, ...) (*GetUserOrgUsernamesOK, error)
- func (a *Client) PatchUserProfile(params *PatchUserProfileParams, authInfo runtime.ClientAuthInfoWriter, ...) (*PatchUserProfileOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientOption
- type ClientService
- type GetUserByUsernameBadRequest
- func (o *GetUserByUsernameBadRequest) Code() int
- func (o *GetUserByUsernameBadRequest) Error() string
- func (o *GetUserByUsernameBadRequest) GetPayload() *models.ResponseFailResponse
- func (o *GetUserByUsernameBadRequest) IsClientError() bool
- func (o *GetUserByUsernameBadRequest) IsCode(code int) bool
- func (o *GetUserByUsernameBadRequest) IsRedirect() bool
- func (o *GetUserByUsernameBadRequest) IsServerError() bool
- func (o *GetUserByUsernameBadRequest) IsSuccess() bool
- func (o *GetUserByUsernameBadRequest) String() string
- type GetUserByUsernameInternalServerError
- func (o *GetUserByUsernameInternalServerError) Code() int
- func (o *GetUserByUsernameInternalServerError) Error() string
- func (o *GetUserByUsernameInternalServerError) GetPayload() *models.ResponseErrorResponse
- func (o *GetUserByUsernameInternalServerError) IsClientError() bool
- func (o *GetUserByUsernameInternalServerError) IsCode(code int) bool
- func (o *GetUserByUsernameInternalServerError) IsRedirect() bool
- func (o *GetUserByUsernameInternalServerError) IsServerError() bool
- func (o *GetUserByUsernameInternalServerError) IsSuccess() bool
- func (o *GetUserByUsernameInternalServerError) String() string
- type GetUserByUsernameOK
- func (o *GetUserByUsernameOK) Code() int
- func (o *GetUserByUsernameOK) Error() string
- func (o *GetUserByUsernameOK) GetPayload() *models.ResponseGetUserByUsernameAndGuestIDResponse
- func (o *GetUserByUsernameOK) IsClientError() bool
- func (o *GetUserByUsernameOK) IsCode(code int) bool
- func (o *GetUserByUsernameOK) IsRedirect() bool
- func (o *GetUserByUsernameOK) IsServerError() bool
- func (o *GetUserByUsernameOK) IsSuccess() bool
- func (o *GetUserByUsernameOK) String() string
- type GetUserByUsernameParams
- func NewGetUserByUsernameParams() *GetUserByUsernameParams
- func NewGetUserByUsernameParamsWithContext(ctx context.Context) *GetUserByUsernameParams
- func NewGetUserByUsernameParamsWithHTTPClient(client *http.Client) *GetUserByUsernameParams
- func NewGetUserByUsernameParamsWithTimeout(timeout time.Duration) *GetUserByUsernameParams
- func (o *GetUserByUsernameParams) SetContext(ctx context.Context)
- func (o *GetUserByUsernameParams) SetDefaults()
- func (o *GetUserByUsernameParams) SetHTTPClient(client *http.Client)
- func (o *GetUserByUsernameParams) SetTimeout(timeout time.Duration)
- func (o *GetUserByUsernameParams) SetUsername(username string)
- func (o *GetUserByUsernameParams) WithContext(ctx context.Context) *GetUserByUsernameParams
- func (o *GetUserByUsernameParams) WithDefaults() *GetUserByUsernameParams
- func (o *GetUserByUsernameParams) WithHTTPClient(client *http.Client) *GetUserByUsernameParams
- func (o *GetUserByUsernameParams) WithTimeout(timeout time.Duration) *GetUserByUsernameParams
- func (o *GetUserByUsernameParams) WithUsername(username string) *GetUserByUsernameParams
- func (o *GetUserByUsernameParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetUserByUsernameReader
- type GetUserMeBadRequest
- func (o *GetUserMeBadRequest) Code() int
- func (o *GetUserMeBadRequest) Error() string
- func (o *GetUserMeBadRequest) GetPayload() *models.ResponseFailResponse
- func (o *GetUserMeBadRequest) IsClientError() bool
- func (o *GetUserMeBadRequest) IsCode(code int) bool
- func (o *GetUserMeBadRequest) IsRedirect() bool
- func (o *GetUserMeBadRequest) IsServerError() bool
- func (o *GetUserMeBadRequest) IsSuccess() bool
- func (o *GetUserMeBadRequest) String() string
- type GetUserMeInternalServerError
- func (o *GetUserMeInternalServerError) Code() int
- func (o *GetUserMeInternalServerError) Error() string
- func (o *GetUserMeInternalServerError) GetPayload() *models.ResponseErrorResponse
- func (o *GetUserMeInternalServerError) IsClientError() bool
- func (o *GetUserMeInternalServerError) IsCode(code int) bool
- func (o *GetUserMeInternalServerError) IsRedirect() bool
- func (o *GetUserMeInternalServerError) IsServerError() bool
- func (o *GetUserMeInternalServerError) IsSuccess() bool
- func (o *GetUserMeInternalServerError) String() string
- type GetUserMeOK
- func (o *GetUserMeOK) Code() int
- func (o *GetUserMeOK) Error() string
- func (o *GetUserMeOK) GetPayload() *models.ResponseGetMeResponse
- func (o *GetUserMeOK) IsClientError() bool
- func (o *GetUserMeOK) IsCode(code int) bool
- func (o *GetUserMeOK) IsRedirect() bool
- func (o *GetUserMeOK) IsServerError() bool
- func (o *GetUserMeOK) IsSuccess() bool
- func (o *GetUserMeOK) String() string
- type GetUserMeParams
- func (o *GetUserMeParams) SetContext(ctx context.Context)
- func (o *GetUserMeParams) SetDefaults()
- func (o *GetUserMeParams) SetHTTPClient(client *http.Client)
- func (o *GetUserMeParams) SetTimeout(timeout time.Duration)
- func (o *GetUserMeParams) WithContext(ctx context.Context) *GetUserMeParams
- func (o *GetUserMeParams) WithDefaults() *GetUserMeParams
- func (o *GetUserMeParams) WithHTTPClient(client *http.Client) *GetUserMeParams
- func (o *GetUserMeParams) WithTimeout(timeout time.Duration) *GetUserMeParams
- func (o *GetUserMeParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetUserMeReader
- type GetUserOrgUsernamesBadRequest
- func (o *GetUserOrgUsernamesBadRequest) Code() int
- func (o *GetUserOrgUsernamesBadRequest) Error() string
- func (o *GetUserOrgUsernamesBadRequest) GetPayload() *models.ResponseFailResponse
- func (o *GetUserOrgUsernamesBadRequest) IsClientError() bool
- func (o *GetUserOrgUsernamesBadRequest) IsCode(code int) bool
- func (o *GetUserOrgUsernamesBadRequest) IsRedirect() bool
- func (o *GetUserOrgUsernamesBadRequest) IsServerError() bool
- func (o *GetUserOrgUsernamesBadRequest) IsSuccess() bool
- func (o *GetUserOrgUsernamesBadRequest) String() string
- type GetUserOrgUsernamesInternalServerError
- func (o *GetUserOrgUsernamesInternalServerError) Code() int
- func (o *GetUserOrgUsernamesInternalServerError) Error() string
- func (o *GetUserOrgUsernamesInternalServerError) GetPayload() *models.ResponseErrorResponse
- func (o *GetUserOrgUsernamesInternalServerError) IsClientError() bool
- func (o *GetUserOrgUsernamesInternalServerError) IsCode(code int) bool
- func (o *GetUserOrgUsernamesInternalServerError) IsRedirect() bool
- func (o *GetUserOrgUsernamesInternalServerError) IsServerError() bool
- func (o *GetUserOrgUsernamesInternalServerError) IsSuccess() bool
- func (o *GetUserOrgUsernamesInternalServerError) String() string
- type GetUserOrgUsernamesOK
- func (o *GetUserOrgUsernamesOK) Code() int
- func (o *GetUserOrgUsernamesOK) Error() string
- func (o *GetUserOrgUsernamesOK) GetPayload() *models.ResponseGetUserOrganizationUsernamesResponse
- func (o *GetUserOrgUsernamesOK) IsClientError() bool
- func (o *GetUserOrgUsernamesOK) IsCode(code int) bool
- func (o *GetUserOrgUsernamesOK) IsRedirect() bool
- func (o *GetUserOrgUsernamesOK) IsServerError() bool
- func (o *GetUserOrgUsernamesOK) IsSuccess() bool
- func (o *GetUserOrgUsernamesOK) String() string
- type GetUserOrgUsernamesParams
- func NewGetUserOrgUsernamesParams() *GetUserOrgUsernamesParams
- func NewGetUserOrgUsernamesParamsWithContext(ctx context.Context) *GetUserOrgUsernamesParams
- func NewGetUserOrgUsernamesParamsWithHTTPClient(client *http.Client) *GetUserOrgUsernamesParams
- func NewGetUserOrgUsernamesParamsWithTimeout(timeout time.Duration) *GetUserOrgUsernamesParams
- func (o *GetUserOrgUsernamesParams) SetContext(ctx context.Context)
- func (o *GetUserOrgUsernamesParams) SetDefaults()
- func (o *GetUserOrgUsernamesParams) SetHTTPClient(client *http.Client)
- func (o *GetUserOrgUsernamesParams) SetTimeout(timeout time.Duration)
- func (o *GetUserOrgUsernamesParams) WithContext(ctx context.Context) *GetUserOrgUsernamesParams
- func (o *GetUserOrgUsernamesParams) WithDefaults() *GetUserOrgUsernamesParams
- func (o *GetUserOrgUsernamesParams) WithHTTPClient(client *http.Client) *GetUserOrgUsernamesParams
- func (o *GetUserOrgUsernamesParams) WithTimeout(timeout time.Duration) *GetUserOrgUsernamesParams
- func (o *GetUserOrgUsernamesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetUserOrgUsernamesReader
- type PatchUserProfileBadRequest
- func (o *PatchUserProfileBadRequest) Code() int
- func (o *PatchUserProfileBadRequest) Error() string
- func (o *PatchUserProfileBadRequest) GetPayload() *models.ResponseFailResponse
- func (o *PatchUserProfileBadRequest) IsClientError() bool
- func (o *PatchUserProfileBadRequest) IsCode(code int) bool
- func (o *PatchUserProfileBadRequest) IsRedirect() bool
- func (o *PatchUserProfileBadRequest) IsServerError() bool
- func (o *PatchUserProfileBadRequest) IsSuccess() bool
- func (o *PatchUserProfileBadRequest) String() string
- type PatchUserProfileInternalServerError
- func (o *PatchUserProfileInternalServerError) Code() int
- func (o *PatchUserProfileInternalServerError) Error() string
- func (o *PatchUserProfileInternalServerError) GetPayload() *models.ResponseErrorResponse
- func (o *PatchUserProfileInternalServerError) IsClientError() bool
- func (o *PatchUserProfileInternalServerError) IsCode(code int) bool
- func (o *PatchUserProfileInternalServerError) IsRedirect() bool
- func (o *PatchUserProfileInternalServerError) IsServerError() bool
- func (o *PatchUserProfileInternalServerError) IsSuccess() bool
- func (o *PatchUserProfileInternalServerError) String() string
- type PatchUserProfileOK
- func (o *PatchUserProfileOK) Code() int
- func (o *PatchUserProfileOK) Error() string
- func (o *PatchUserProfileOK) GetPayload() *models.ResponseSuccessResponse
- func (o *PatchUserProfileOK) IsClientError() bool
- func (o *PatchUserProfileOK) IsCode(code int) bool
- func (o *PatchUserProfileOK) IsRedirect() bool
- func (o *PatchUserProfileOK) IsServerError() bool
- func (o *PatchUserProfileOK) IsSuccess() bool
- func (o *PatchUserProfileOK) String() string
- type PatchUserProfileParams
- func NewPatchUserProfileParams() *PatchUserProfileParams
- func NewPatchUserProfileParamsWithContext(ctx context.Context) *PatchUserProfileParams
- func NewPatchUserProfileParamsWithHTTPClient(client *http.Client) *PatchUserProfileParams
- func NewPatchUserProfileParamsWithTimeout(timeout time.Duration) *PatchUserProfileParams
- func (o *PatchUserProfileParams) SetContext(ctx context.Context)
- func (o *PatchUserProfileParams) SetDefaults()
- func (o *PatchUserProfileParams) SetHTTPClient(client *http.Client)
- func (o *PatchUserProfileParams) SetInput(input *models.RequestUpdateUserProfileRequest)
- func (o *PatchUserProfileParams) SetTimeout(timeout time.Duration)
- func (o *PatchUserProfileParams) WithContext(ctx context.Context) *PatchUserProfileParams
- func (o *PatchUserProfileParams) WithDefaults() *PatchUserProfileParams
- func (o *PatchUserProfileParams) WithHTTPClient(client *http.Client) *PatchUserProfileParams
- func (o *PatchUserProfileParams) WithInput(input *models.RequestUpdateUserProfileRequest) *PatchUserProfileParams
- func (o *PatchUserProfileParams) WithTimeout(timeout time.Duration) *PatchUserProfileParams
- func (o *PatchUserProfileParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PatchUserProfileReader
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func WithContentTypeApplicationJSON ¶
func WithContentTypeApplicationJSON(r *runtime.ClientOperation)
WithContentTypeApplicationJSON sets the Content-Type header to "application/json".
func WithContentTypeApplicationxWwwFormUrlencoded ¶
func WithContentTypeApplicationxWwwFormUrlencoded(r *runtime.ClientOperation)
WithContentTypeApplicationxWwwFormUrlencoded sets the Content-Type header to "application/x-www-form-urlencoded".
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client for user API
func (*Client) GetUserByUsername ¶
func (a *Client) GetUserByUsername(params *GetUserByUsernameParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetUserByUsernameOK, error)
GetUserByUsername gets user s info
func (*Client) GetUserMe ¶
func (a *Client) GetUserMe(params *GetUserMeParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetUserMeOK, error)
GetUserMe gets user s info
func (*Client) GetUserOrgUsernames ¶
func (a *Client) GetUserOrgUsernames(params *GetUserOrgUsernamesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetUserOrgUsernamesOK, error)
GetUserOrgUsernames gets user s organization usernames
func (*Client) PatchUserProfile ¶
func (a *Client) PatchUserProfile(params *PatchUserProfileParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PatchUserProfileOK, error)
PatchUserProfile updates user s profile
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
type ClientOption ¶
type ClientOption func(*runtime.ClientOperation)
ClientOption may be used to customize the behavior of Client methods.
func WithContentType ¶
func WithContentType(mime string) ClientOption
WithContentType allows the client to force the Content-Type header to negotiate a specific Consumer from the server.
You may use this option to set arbitrary extensions to your MIME media type.
type ClientService ¶
type ClientService interface {
GetUserByUsername(params *GetUserByUsernameParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetUserByUsernameOK, error)
GetUserMe(params *GetUserMeParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetUserMeOK, error)
GetUserOrgUsernames(params *GetUserOrgUsernamesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetUserOrgUsernamesOK, error)
PatchUserProfile(params *PatchUserProfileParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PatchUserProfileOK, error)
SetTransport(transport runtime.ClientTransport)
}
ClientService is the interface for Client methods
func New ¶
func New(transport runtime.ClientTransport, formats strfmt.Registry) ClientService
New creates a new user API client.
func NewClientWithBasicAuth ¶
func NewClientWithBasicAuth(host, basePath, scheme, user, password string) ClientService
New creates a new user API client with basic auth credentials. It takes the following parameters: - host: http host (github.com). - basePath: any base path for the API client ("/v1", "/v3"). - scheme: http scheme ("http", "https"). - user: user for basic authentication header. - password: password for basic authentication header.
func NewClientWithBearerToken ¶
func NewClientWithBearerToken(host, basePath, scheme, bearerToken string) ClientService
New creates a new user API client with a bearer token for authentication. It takes the following parameters: - host: http host (github.com). - basePath: any base path for the API client ("/v1", "/v3"). - scheme: http scheme ("http", "https"). - bearerToken: bearer token for Bearer authentication header.
type GetUserByUsernameBadRequest ¶
type GetUserByUsernameBadRequest struct {
Payload *models.ResponseFailResponse
}
GetUserByUsernameBadRequest describes a response with status code 400, with default header values.
Bad Request
func NewGetUserByUsernameBadRequest ¶
func NewGetUserByUsernameBadRequest() *GetUserByUsernameBadRequest
NewGetUserByUsernameBadRequest creates a GetUserByUsernameBadRequest with default headers values
func (*GetUserByUsernameBadRequest) Code ¶
func (o *GetUserByUsernameBadRequest) Code() int
Code gets the status code for the get user by username bad request response
func (*GetUserByUsernameBadRequest) Error ¶
func (o *GetUserByUsernameBadRequest) Error() string
func (*GetUserByUsernameBadRequest) GetPayload ¶
func (o *GetUserByUsernameBadRequest) GetPayload() *models.ResponseFailResponse
func (*GetUserByUsernameBadRequest) IsClientError ¶
func (o *GetUserByUsernameBadRequest) IsClientError() bool
IsClientError returns true when this get user by username bad request response has a 4xx status code
func (*GetUserByUsernameBadRequest) IsCode ¶
func (o *GetUserByUsernameBadRequest) IsCode(code int) bool
IsCode returns true when this get user by username bad request response a status code equal to that given
func (*GetUserByUsernameBadRequest) IsRedirect ¶
func (o *GetUserByUsernameBadRequest) IsRedirect() bool
IsRedirect returns true when this get user by username bad request response has a 3xx status code
func (*GetUserByUsernameBadRequest) IsServerError ¶
func (o *GetUserByUsernameBadRequest) IsServerError() bool
IsServerError returns true when this get user by username bad request response has a 5xx status code
func (*GetUserByUsernameBadRequest) IsSuccess ¶
func (o *GetUserByUsernameBadRequest) IsSuccess() bool
IsSuccess returns true when this get user by username bad request response has a 2xx status code
func (*GetUserByUsernameBadRequest) String ¶
func (o *GetUserByUsernameBadRequest) String() string
type GetUserByUsernameInternalServerError ¶
type GetUserByUsernameInternalServerError struct {
Payload *models.ResponseErrorResponse
}
GetUserByUsernameInternalServerError describes a response with status code 500, with default header values.
Internal Server Error
func NewGetUserByUsernameInternalServerError ¶
func NewGetUserByUsernameInternalServerError() *GetUserByUsernameInternalServerError
NewGetUserByUsernameInternalServerError creates a GetUserByUsernameInternalServerError with default headers values
func (*GetUserByUsernameInternalServerError) Code ¶
func (o *GetUserByUsernameInternalServerError) Code() int
Code gets the status code for the get user by username internal server error response
func (*GetUserByUsernameInternalServerError) Error ¶
func (o *GetUserByUsernameInternalServerError) Error() string
func (*GetUserByUsernameInternalServerError) GetPayload ¶
func (o *GetUserByUsernameInternalServerError) GetPayload() *models.ResponseErrorResponse
func (*GetUserByUsernameInternalServerError) IsClientError ¶
func (o *GetUserByUsernameInternalServerError) IsClientError() bool
IsClientError returns true when this get user by username internal server error response has a 4xx status code
func (*GetUserByUsernameInternalServerError) IsCode ¶
func (o *GetUserByUsernameInternalServerError) IsCode(code int) bool
IsCode returns true when this get user by username internal server error response a status code equal to that given
func (*GetUserByUsernameInternalServerError) IsRedirect ¶
func (o *GetUserByUsernameInternalServerError) IsRedirect() bool
IsRedirect returns true when this get user by username internal server error response has a 3xx status code
func (*GetUserByUsernameInternalServerError) IsServerError ¶
func (o *GetUserByUsernameInternalServerError) IsServerError() bool
IsServerError returns true when this get user by username internal server error response has a 5xx status code
func (*GetUserByUsernameInternalServerError) IsSuccess ¶
func (o *GetUserByUsernameInternalServerError) IsSuccess() bool
IsSuccess returns true when this get user by username internal server error response has a 2xx status code
func (*GetUserByUsernameInternalServerError) String ¶
func (o *GetUserByUsernameInternalServerError) String() string
type GetUserByUsernameOK ¶
type GetUserByUsernameOK struct {
Payload *models.ResponseGetUserByUsernameAndGuestIDResponse
}
GetUserByUsernameOK describes a response with status code 200, with default header values.
OK
func NewGetUserByUsernameOK ¶
func NewGetUserByUsernameOK() *GetUserByUsernameOK
NewGetUserByUsernameOK creates a GetUserByUsernameOK with default headers values
func (*GetUserByUsernameOK) Code ¶
func (o *GetUserByUsernameOK) Code() int
Code gets the status code for the get user by username o k response
func (*GetUserByUsernameOK) Error ¶
func (o *GetUserByUsernameOK) Error() string
func (*GetUserByUsernameOK) GetPayload ¶
func (o *GetUserByUsernameOK) GetPayload() *models.ResponseGetUserByUsernameAndGuestIDResponse
func (*GetUserByUsernameOK) IsClientError ¶
func (o *GetUserByUsernameOK) IsClientError() bool
IsClientError returns true when this get user by username o k response has a 4xx status code
func (*GetUserByUsernameOK) IsCode ¶
func (o *GetUserByUsernameOK) IsCode(code int) bool
IsCode returns true when this get user by username o k response a status code equal to that given
func (*GetUserByUsernameOK) IsRedirect ¶
func (o *GetUserByUsernameOK) IsRedirect() bool
IsRedirect returns true when this get user by username o k response has a 3xx status code
func (*GetUserByUsernameOK) IsServerError ¶
func (o *GetUserByUsernameOK) IsServerError() bool
IsServerError returns true when this get user by username o k response has a 5xx status code
func (*GetUserByUsernameOK) IsSuccess ¶
func (o *GetUserByUsernameOK) IsSuccess() bool
IsSuccess returns true when this get user by username o k response has a 2xx status code
func (*GetUserByUsernameOK) String ¶
func (o *GetUserByUsernameOK) String() string
type GetUserByUsernameParams ¶
type GetUserByUsernameParams struct {
/* Username.
username
*/
Username string
Context context.Context
HTTPClient *http.Client
// contains filtered or unexported fields
}
GetUserByUsernameParams contains all the parameters to send to the API endpoint
for the get user by username operation. Typically these are written to a http.Request.
func NewGetUserByUsernameParams ¶
func NewGetUserByUsernameParams() *GetUserByUsernameParams
NewGetUserByUsernameParams creates a new GetUserByUsernameParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewGetUserByUsernameParamsWithContext ¶
func NewGetUserByUsernameParamsWithContext(ctx context.Context) *GetUserByUsernameParams
NewGetUserByUsernameParamsWithContext creates a new GetUserByUsernameParams object with the ability to set a context for a request.
func NewGetUserByUsernameParamsWithHTTPClient ¶
func NewGetUserByUsernameParamsWithHTTPClient(client *http.Client) *GetUserByUsernameParams
NewGetUserByUsernameParamsWithHTTPClient creates a new GetUserByUsernameParams object with the ability to set a custom HTTPClient for a request.
func NewGetUserByUsernameParamsWithTimeout ¶
func NewGetUserByUsernameParamsWithTimeout(timeout time.Duration) *GetUserByUsernameParams
NewGetUserByUsernameParamsWithTimeout creates a new GetUserByUsernameParams object with the ability to set a timeout on a request.
func (*GetUserByUsernameParams) SetContext ¶
func (o *GetUserByUsernameParams) SetContext(ctx context.Context)
SetContext adds the context to the get user by username params
func (*GetUserByUsernameParams) SetDefaults ¶
func (o *GetUserByUsernameParams) SetDefaults()
SetDefaults hydrates default values in the get user by username params (not the query body).
All values with no default are reset to their zero value.
func (*GetUserByUsernameParams) SetHTTPClient ¶
func (o *GetUserByUsernameParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get user by username params
func (*GetUserByUsernameParams) SetTimeout ¶
func (o *GetUserByUsernameParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get user by username params
func (*GetUserByUsernameParams) SetUsername ¶
func (o *GetUserByUsernameParams) SetUsername(username string)
SetUsername adds the username to the get user by username params
func (*GetUserByUsernameParams) WithContext ¶
func (o *GetUserByUsernameParams) WithContext(ctx context.Context) *GetUserByUsernameParams
WithContext adds the context to the get user by username params
func (*GetUserByUsernameParams) WithDefaults ¶
func (o *GetUserByUsernameParams) WithDefaults() *GetUserByUsernameParams
WithDefaults hydrates default values in the get user by username params (not the query body).
All values with no default are reset to their zero value.
func (*GetUserByUsernameParams) WithHTTPClient ¶
func (o *GetUserByUsernameParams) WithHTTPClient(client *http.Client) *GetUserByUsernameParams
WithHTTPClient adds the HTTPClient to the get user by username params
func (*GetUserByUsernameParams) WithTimeout ¶
func (o *GetUserByUsernameParams) WithTimeout(timeout time.Duration) *GetUserByUsernameParams
WithTimeout adds the timeout to the get user by username params
func (*GetUserByUsernameParams) WithUsername ¶
func (o *GetUserByUsernameParams) WithUsername(username string) *GetUserByUsernameParams
WithUsername adds the username to the get user by username params
func (*GetUserByUsernameParams) WriteToRequest ¶
func (o *GetUserByUsernameParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetUserByUsernameReader ¶
type GetUserByUsernameReader struct {
// contains filtered or unexported fields
}
GetUserByUsernameReader is a Reader for the GetUserByUsername structure.
func (*GetUserByUsernameReader) ReadResponse ¶
func (o *GetUserByUsernameReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (any, error)
ReadResponse reads a server response into the received o.
type GetUserMeBadRequest ¶
type GetUserMeBadRequest struct {
Payload *models.ResponseFailResponse
}
GetUserMeBadRequest describes a response with status code 400, with default header values.
Bad Request
func NewGetUserMeBadRequest ¶
func NewGetUserMeBadRequest() *GetUserMeBadRequest
NewGetUserMeBadRequest creates a GetUserMeBadRequest with default headers values
func (*GetUserMeBadRequest) Code ¶
func (o *GetUserMeBadRequest) Code() int
Code gets the status code for the get user me bad request response
func (*GetUserMeBadRequest) Error ¶
func (o *GetUserMeBadRequest) Error() string
func (*GetUserMeBadRequest) GetPayload ¶
func (o *GetUserMeBadRequest) GetPayload() *models.ResponseFailResponse
func (*GetUserMeBadRequest) IsClientError ¶
func (o *GetUserMeBadRequest) IsClientError() bool
IsClientError returns true when this get user me bad request response has a 4xx status code
func (*GetUserMeBadRequest) IsCode ¶
func (o *GetUserMeBadRequest) IsCode(code int) bool
IsCode returns true when this get user me bad request response a status code equal to that given
func (*GetUserMeBadRequest) IsRedirect ¶
func (o *GetUserMeBadRequest) IsRedirect() bool
IsRedirect returns true when this get user me bad request response has a 3xx status code
func (*GetUserMeBadRequest) IsServerError ¶
func (o *GetUserMeBadRequest) IsServerError() bool
IsServerError returns true when this get user me bad request response has a 5xx status code
func (*GetUserMeBadRequest) IsSuccess ¶
func (o *GetUserMeBadRequest) IsSuccess() bool
IsSuccess returns true when this get user me bad request response has a 2xx status code
func (*GetUserMeBadRequest) String ¶
func (o *GetUserMeBadRequest) String() string
type GetUserMeInternalServerError ¶
type GetUserMeInternalServerError struct {
Payload *models.ResponseErrorResponse
}
GetUserMeInternalServerError describes a response with status code 500, with default header values.
Internal Server Error
func NewGetUserMeInternalServerError ¶
func NewGetUserMeInternalServerError() *GetUserMeInternalServerError
NewGetUserMeInternalServerError creates a GetUserMeInternalServerError with default headers values
func (*GetUserMeInternalServerError) Code ¶
func (o *GetUserMeInternalServerError) Code() int
Code gets the status code for the get user me internal server error response
func (*GetUserMeInternalServerError) Error ¶
func (o *GetUserMeInternalServerError) Error() string
func (*GetUserMeInternalServerError) GetPayload ¶
func (o *GetUserMeInternalServerError) GetPayload() *models.ResponseErrorResponse
func (*GetUserMeInternalServerError) IsClientError ¶
func (o *GetUserMeInternalServerError) IsClientError() bool
IsClientError returns true when this get user me internal server error response has a 4xx status code
func (*GetUserMeInternalServerError) IsCode ¶
func (o *GetUserMeInternalServerError) IsCode(code int) bool
IsCode returns true when this get user me internal server error response a status code equal to that given
func (*GetUserMeInternalServerError) IsRedirect ¶
func (o *GetUserMeInternalServerError) IsRedirect() bool
IsRedirect returns true when this get user me internal server error response has a 3xx status code
func (*GetUserMeInternalServerError) IsServerError ¶
func (o *GetUserMeInternalServerError) IsServerError() bool
IsServerError returns true when this get user me internal server error response has a 5xx status code
func (*GetUserMeInternalServerError) IsSuccess ¶
func (o *GetUserMeInternalServerError) IsSuccess() bool
IsSuccess returns true when this get user me internal server error response has a 2xx status code
func (*GetUserMeInternalServerError) String ¶
func (o *GetUserMeInternalServerError) String() string
type GetUserMeOK ¶
type GetUserMeOK struct {
Payload *models.ResponseGetMeResponse
}
GetUserMeOK describes a response with status code 200, with default header values.
OK
func NewGetUserMeOK ¶
func NewGetUserMeOK() *GetUserMeOK
NewGetUserMeOK creates a GetUserMeOK with default headers values
func (*GetUserMeOK) Code ¶
func (o *GetUserMeOK) Code() int
Code gets the status code for the get user me o k response
func (*GetUserMeOK) Error ¶
func (o *GetUserMeOK) Error() string
func (*GetUserMeOK) GetPayload ¶
func (o *GetUserMeOK) GetPayload() *models.ResponseGetMeResponse
func (*GetUserMeOK) IsClientError ¶
func (o *GetUserMeOK) IsClientError() bool
IsClientError returns true when this get user me o k response has a 4xx status code
func (*GetUserMeOK) IsCode ¶
func (o *GetUserMeOK) IsCode(code int) bool
IsCode returns true when this get user me o k response a status code equal to that given
func (*GetUserMeOK) IsRedirect ¶
func (o *GetUserMeOK) IsRedirect() bool
IsRedirect returns true when this get user me o k response has a 3xx status code
func (*GetUserMeOK) IsServerError ¶
func (o *GetUserMeOK) IsServerError() bool
IsServerError returns true when this get user me o k response has a 5xx status code
func (*GetUserMeOK) IsSuccess ¶
func (o *GetUserMeOK) IsSuccess() bool
IsSuccess returns true when this get user me o k response has a 2xx status code
func (*GetUserMeOK) String ¶
func (o *GetUserMeOK) String() string
type GetUserMeParams ¶
type GetUserMeParams struct {
Context context.Context
HTTPClient *http.Client
// contains filtered or unexported fields
}
GetUserMeParams contains all the parameters to send to the API endpoint
for the get user me operation. Typically these are written to a http.Request.
func NewGetUserMeParams ¶
func NewGetUserMeParams() *GetUserMeParams
NewGetUserMeParams creates a new GetUserMeParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewGetUserMeParamsWithContext ¶
func NewGetUserMeParamsWithContext(ctx context.Context) *GetUserMeParams
NewGetUserMeParamsWithContext creates a new GetUserMeParams object with the ability to set a context for a request.
func NewGetUserMeParamsWithHTTPClient ¶
func NewGetUserMeParamsWithHTTPClient(client *http.Client) *GetUserMeParams
NewGetUserMeParamsWithHTTPClient creates a new GetUserMeParams object with the ability to set a custom HTTPClient for a request.
func NewGetUserMeParamsWithTimeout ¶
func NewGetUserMeParamsWithTimeout(timeout time.Duration) *GetUserMeParams
NewGetUserMeParamsWithTimeout creates a new GetUserMeParams object with the ability to set a timeout on a request.
func (*GetUserMeParams) SetContext ¶
func (o *GetUserMeParams) SetContext(ctx context.Context)
SetContext adds the context to the get user me params
func (*GetUserMeParams) SetDefaults ¶
func (o *GetUserMeParams) SetDefaults()
SetDefaults hydrates default values in the get user me params (not the query body).
All values with no default are reset to their zero value.
func (*GetUserMeParams) SetHTTPClient ¶
func (o *GetUserMeParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get user me params
func (*GetUserMeParams) SetTimeout ¶
func (o *GetUserMeParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get user me params
func (*GetUserMeParams) WithContext ¶
func (o *GetUserMeParams) WithContext(ctx context.Context) *GetUserMeParams
WithContext adds the context to the get user me params
func (*GetUserMeParams) WithDefaults ¶
func (o *GetUserMeParams) WithDefaults() *GetUserMeParams
WithDefaults hydrates default values in the get user me params (not the query body).
All values with no default are reset to their zero value.
func (*GetUserMeParams) WithHTTPClient ¶
func (o *GetUserMeParams) WithHTTPClient(client *http.Client) *GetUserMeParams
WithHTTPClient adds the HTTPClient to the get user me params
func (*GetUserMeParams) WithTimeout ¶
func (o *GetUserMeParams) WithTimeout(timeout time.Duration) *GetUserMeParams
WithTimeout adds the timeout to the get user me params
func (*GetUserMeParams) WriteToRequest ¶
func (o *GetUserMeParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetUserMeReader ¶
type GetUserMeReader struct {
// contains filtered or unexported fields
}
GetUserMeReader is a Reader for the GetUserMe structure.
func (*GetUserMeReader) ReadResponse ¶
func (o *GetUserMeReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (any, error)
ReadResponse reads a server response into the received o.
type GetUserOrgUsernamesBadRequest ¶
type GetUserOrgUsernamesBadRequest struct {
Payload *models.ResponseFailResponse
}
GetUserOrgUsernamesBadRequest describes a response with status code 400, with default header values.
Bad Request
func NewGetUserOrgUsernamesBadRequest ¶
func NewGetUserOrgUsernamesBadRequest() *GetUserOrgUsernamesBadRequest
NewGetUserOrgUsernamesBadRequest creates a GetUserOrgUsernamesBadRequest with default headers values
func (*GetUserOrgUsernamesBadRequest) Code ¶
func (o *GetUserOrgUsernamesBadRequest) Code() int
Code gets the status code for the get user org usernames bad request response
func (*GetUserOrgUsernamesBadRequest) Error ¶
func (o *GetUserOrgUsernamesBadRequest) Error() string
func (*GetUserOrgUsernamesBadRequest) GetPayload ¶
func (o *GetUserOrgUsernamesBadRequest) GetPayload() *models.ResponseFailResponse
func (*GetUserOrgUsernamesBadRequest) IsClientError ¶
func (o *GetUserOrgUsernamesBadRequest) IsClientError() bool
IsClientError returns true when this get user org usernames bad request response has a 4xx status code
func (*GetUserOrgUsernamesBadRequest) IsCode ¶
func (o *GetUserOrgUsernamesBadRequest) IsCode(code int) bool
IsCode returns true when this get user org usernames bad request response a status code equal to that given
func (*GetUserOrgUsernamesBadRequest) IsRedirect ¶
func (o *GetUserOrgUsernamesBadRequest) IsRedirect() bool
IsRedirect returns true when this get user org usernames bad request response has a 3xx status code
func (*GetUserOrgUsernamesBadRequest) IsServerError ¶
func (o *GetUserOrgUsernamesBadRequest) IsServerError() bool
IsServerError returns true when this get user org usernames bad request response has a 5xx status code
func (*GetUserOrgUsernamesBadRequest) IsSuccess ¶
func (o *GetUserOrgUsernamesBadRequest) IsSuccess() bool
IsSuccess returns true when this get user org usernames bad request response has a 2xx status code
func (*GetUserOrgUsernamesBadRequest) String ¶
func (o *GetUserOrgUsernamesBadRequest) String() string
type GetUserOrgUsernamesInternalServerError ¶
type GetUserOrgUsernamesInternalServerError struct {
Payload *models.ResponseErrorResponse
}
GetUserOrgUsernamesInternalServerError describes a response with status code 500, with default header values.
Internal Server Error
func NewGetUserOrgUsernamesInternalServerError ¶
func NewGetUserOrgUsernamesInternalServerError() *GetUserOrgUsernamesInternalServerError
NewGetUserOrgUsernamesInternalServerError creates a GetUserOrgUsernamesInternalServerError with default headers values
func (*GetUserOrgUsernamesInternalServerError) Code ¶
func (o *GetUserOrgUsernamesInternalServerError) Code() int
Code gets the status code for the get user org usernames internal server error response
func (*GetUserOrgUsernamesInternalServerError) Error ¶
func (o *GetUserOrgUsernamesInternalServerError) Error() string
func (*GetUserOrgUsernamesInternalServerError) GetPayload ¶
func (o *GetUserOrgUsernamesInternalServerError) GetPayload() *models.ResponseErrorResponse
func (*GetUserOrgUsernamesInternalServerError) IsClientError ¶
func (o *GetUserOrgUsernamesInternalServerError) IsClientError() bool
IsClientError returns true when this get user org usernames internal server error response has a 4xx status code
func (*GetUserOrgUsernamesInternalServerError) IsCode ¶
func (o *GetUserOrgUsernamesInternalServerError) IsCode(code int) bool
IsCode returns true when this get user org usernames internal server error response a status code equal to that given
func (*GetUserOrgUsernamesInternalServerError) IsRedirect ¶
func (o *GetUserOrgUsernamesInternalServerError) IsRedirect() bool
IsRedirect returns true when this get user org usernames internal server error response has a 3xx status code
func (*GetUserOrgUsernamesInternalServerError) IsServerError ¶
func (o *GetUserOrgUsernamesInternalServerError) IsServerError() bool
IsServerError returns true when this get user org usernames internal server error response has a 5xx status code
func (*GetUserOrgUsernamesInternalServerError) IsSuccess ¶
func (o *GetUserOrgUsernamesInternalServerError) IsSuccess() bool
IsSuccess returns true when this get user org usernames internal server error response has a 2xx status code
func (*GetUserOrgUsernamesInternalServerError) String ¶
func (o *GetUserOrgUsernamesInternalServerError) String() string
type GetUserOrgUsernamesOK ¶
type GetUserOrgUsernamesOK struct {
Payload *models.ResponseGetUserOrganizationUsernamesResponse
}
GetUserOrgUsernamesOK describes a response with status code 200, with default header values.
OK
func NewGetUserOrgUsernamesOK ¶
func NewGetUserOrgUsernamesOK() *GetUserOrgUsernamesOK
NewGetUserOrgUsernamesOK creates a GetUserOrgUsernamesOK with default headers values
func (*GetUserOrgUsernamesOK) Code ¶
func (o *GetUserOrgUsernamesOK) Code() int
Code gets the status code for the get user org usernames o k response
func (*GetUserOrgUsernamesOK) Error ¶
func (o *GetUserOrgUsernamesOK) Error() string
func (*GetUserOrgUsernamesOK) GetPayload ¶
func (o *GetUserOrgUsernamesOK) GetPayload() *models.ResponseGetUserOrganizationUsernamesResponse
func (*GetUserOrgUsernamesOK) IsClientError ¶
func (o *GetUserOrgUsernamesOK) IsClientError() bool
IsClientError returns true when this get user org usernames o k response has a 4xx status code
func (*GetUserOrgUsernamesOK) IsCode ¶
func (o *GetUserOrgUsernamesOK) IsCode(code int) bool
IsCode returns true when this get user org usernames o k response a status code equal to that given
func (*GetUserOrgUsernamesOK) IsRedirect ¶
func (o *GetUserOrgUsernamesOK) IsRedirect() bool
IsRedirect returns true when this get user org usernames o k response has a 3xx status code
func (*GetUserOrgUsernamesOK) IsServerError ¶
func (o *GetUserOrgUsernamesOK) IsServerError() bool
IsServerError returns true when this get user org usernames o k response has a 5xx status code
func (*GetUserOrgUsernamesOK) IsSuccess ¶
func (o *GetUserOrgUsernamesOK) IsSuccess() bool
IsSuccess returns true when this get user org usernames o k response has a 2xx status code
func (*GetUserOrgUsernamesOK) String ¶
func (o *GetUserOrgUsernamesOK) String() string
type GetUserOrgUsernamesParams ¶
type GetUserOrgUsernamesParams struct {
Context context.Context
HTTPClient *http.Client
// contains filtered or unexported fields
}
GetUserOrgUsernamesParams contains all the parameters to send to the API endpoint
for the get user org usernames operation. Typically these are written to a http.Request.
func NewGetUserOrgUsernamesParams ¶
func NewGetUserOrgUsernamesParams() *GetUserOrgUsernamesParams
NewGetUserOrgUsernamesParams creates a new GetUserOrgUsernamesParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewGetUserOrgUsernamesParamsWithContext ¶
func NewGetUserOrgUsernamesParamsWithContext(ctx context.Context) *GetUserOrgUsernamesParams
NewGetUserOrgUsernamesParamsWithContext creates a new GetUserOrgUsernamesParams object with the ability to set a context for a request.
func NewGetUserOrgUsernamesParamsWithHTTPClient ¶
func NewGetUserOrgUsernamesParamsWithHTTPClient(client *http.Client) *GetUserOrgUsernamesParams
NewGetUserOrgUsernamesParamsWithHTTPClient creates a new GetUserOrgUsernamesParams object with the ability to set a custom HTTPClient for a request.
func NewGetUserOrgUsernamesParamsWithTimeout ¶
func NewGetUserOrgUsernamesParamsWithTimeout(timeout time.Duration) *GetUserOrgUsernamesParams
NewGetUserOrgUsernamesParamsWithTimeout creates a new GetUserOrgUsernamesParams object with the ability to set a timeout on a request.
func (*GetUserOrgUsernamesParams) SetContext ¶
func (o *GetUserOrgUsernamesParams) SetContext(ctx context.Context)
SetContext adds the context to the get user org usernames params
func (*GetUserOrgUsernamesParams) SetDefaults ¶
func (o *GetUserOrgUsernamesParams) SetDefaults()
SetDefaults hydrates default values in the get user org usernames params (not the query body).
All values with no default are reset to their zero value.
func (*GetUserOrgUsernamesParams) SetHTTPClient ¶
func (o *GetUserOrgUsernamesParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get user org usernames params
func (*GetUserOrgUsernamesParams) SetTimeout ¶
func (o *GetUserOrgUsernamesParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get user org usernames params
func (*GetUserOrgUsernamesParams) WithContext ¶
func (o *GetUserOrgUsernamesParams) WithContext(ctx context.Context) *GetUserOrgUsernamesParams
WithContext adds the context to the get user org usernames params
func (*GetUserOrgUsernamesParams) WithDefaults ¶
func (o *GetUserOrgUsernamesParams) WithDefaults() *GetUserOrgUsernamesParams
WithDefaults hydrates default values in the get user org usernames params (not the query body).
All values with no default are reset to their zero value.
func (*GetUserOrgUsernamesParams) WithHTTPClient ¶
func (o *GetUserOrgUsernamesParams) WithHTTPClient(client *http.Client) *GetUserOrgUsernamesParams
WithHTTPClient adds the HTTPClient to the get user org usernames params
func (*GetUserOrgUsernamesParams) WithTimeout ¶
func (o *GetUserOrgUsernamesParams) WithTimeout(timeout time.Duration) *GetUserOrgUsernamesParams
WithTimeout adds the timeout to the get user org usernames params
func (*GetUserOrgUsernamesParams) WriteToRequest ¶
func (o *GetUserOrgUsernamesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetUserOrgUsernamesReader ¶
type GetUserOrgUsernamesReader struct {
// contains filtered or unexported fields
}
GetUserOrgUsernamesReader is a Reader for the GetUserOrgUsernames structure.
func (*GetUserOrgUsernamesReader) ReadResponse ¶
func (o *GetUserOrgUsernamesReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (any, error)
ReadResponse reads a server response into the received o.
type PatchUserProfileBadRequest ¶
type PatchUserProfileBadRequest struct {
Payload *models.ResponseFailResponse
}
PatchUserProfileBadRequest describes a response with status code 400, with default header values.
Bad Request
func NewPatchUserProfileBadRequest ¶
func NewPatchUserProfileBadRequest() *PatchUserProfileBadRequest
NewPatchUserProfileBadRequest creates a PatchUserProfileBadRequest with default headers values
func (*PatchUserProfileBadRequest) Code ¶
func (o *PatchUserProfileBadRequest) Code() int
Code gets the status code for the patch user profile bad request response
func (*PatchUserProfileBadRequest) Error ¶
func (o *PatchUserProfileBadRequest) Error() string
func (*PatchUserProfileBadRequest) GetPayload ¶
func (o *PatchUserProfileBadRequest) GetPayload() *models.ResponseFailResponse
func (*PatchUserProfileBadRequest) IsClientError ¶
func (o *PatchUserProfileBadRequest) IsClientError() bool
IsClientError returns true when this patch user profile bad request response has a 4xx status code
func (*PatchUserProfileBadRequest) IsCode ¶
func (o *PatchUserProfileBadRequest) IsCode(code int) bool
IsCode returns true when this patch user profile bad request response a status code equal to that given
func (*PatchUserProfileBadRequest) IsRedirect ¶
func (o *PatchUserProfileBadRequest) IsRedirect() bool
IsRedirect returns true when this patch user profile bad request response has a 3xx status code
func (*PatchUserProfileBadRequest) IsServerError ¶
func (o *PatchUserProfileBadRequest) IsServerError() bool
IsServerError returns true when this patch user profile bad request response has a 5xx status code
func (*PatchUserProfileBadRequest) IsSuccess ¶
func (o *PatchUserProfileBadRequest) IsSuccess() bool
IsSuccess returns true when this patch user profile bad request response has a 2xx status code
func (*PatchUserProfileBadRequest) String ¶
func (o *PatchUserProfileBadRequest) String() string
type PatchUserProfileInternalServerError ¶
type PatchUserProfileInternalServerError struct {
Payload *models.ResponseErrorResponse
}
PatchUserProfileInternalServerError describes a response with status code 500, with default header values.
Internal Server Error
func NewPatchUserProfileInternalServerError ¶
func NewPatchUserProfileInternalServerError() *PatchUserProfileInternalServerError
NewPatchUserProfileInternalServerError creates a PatchUserProfileInternalServerError with default headers values
func (*PatchUserProfileInternalServerError) Code ¶
func (o *PatchUserProfileInternalServerError) Code() int
Code gets the status code for the patch user profile internal server error response
func (*PatchUserProfileInternalServerError) Error ¶
func (o *PatchUserProfileInternalServerError) Error() string
func (*PatchUserProfileInternalServerError) GetPayload ¶
func (o *PatchUserProfileInternalServerError) GetPayload() *models.ResponseErrorResponse
func (*PatchUserProfileInternalServerError) IsClientError ¶
func (o *PatchUserProfileInternalServerError) IsClientError() bool
IsClientError returns true when this patch user profile internal server error response has a 4xx status code
func (*PatchUserProfileInternalServerError) IsCode ¶
func (o *PatchUserProfileInternalServerError) IsCode(code int) bool
IsCode returns true when this patch user profile internal server error response a status code equal to that given
func (*PatchUserProfileInternalServerError) IsRedirect ¶
func (o *PatchUserProfileInternalServerError) IsRedirect() bool
IsRedirect returns true when this patch user profile internal server error response has a 3xx status code
func (*PatchUserProfileInternalServerError) IsServerError ¶
func (o *PatchUserProfileInternalServerError) IsServerError() bool
IsServerError returns true when this patch user profile internal server error response has a 5xx status code
func (*PatchUserProfileInternalServerError) IsSuccess ¶
func (o *PatchUserProfileInternalServerError) IsSuccess() bool
IsSuccess returns true when this patch user profile internal server error response has a 2xx status code
func (*PatchUserProfileInternalServerError) String ¶
func (o *PatchUserProfileInternalServerError) String() string
type PatchUserProfileOK ¶
type PatchUserProfileOK struct {
Payload *models.ResponseSuccessResponse
}
PatchUserProfileOK describes a response with status code 200, with default header values.
OK
func NewPatchUserProfileOK ¶
func NewPatchUserProfileOK() *PatchUserProfileOK
NewPatchUserProfileOK creates a PatchUserProfileOK with default headers values
func (*PatchUserProfileOK) Code ¶
func (o *PatchUserProfileOK) Code() int
Code gets the status code for the patch user profile o k response
func (*PatchUserProfileOK) Error ¶
func (o *PatchUserProfileOK) Error() string
func (*PatchUserProfileOK) GetPayload ¶
func (o *PatchUserProfileOK) GetPayload() *models.ResponseSuccessResponse
func (*PatchUserProfileOK) IsClientError ¶
func (o *PatchUserProfileOK) IsClientError() bool
IsClientError returns true when this patch user profile o k response has a 4xx status code
func (*PatchUserProfileOK) IsCode ¶
func (o *PatchUserProfileOK) IsCode(code int) bool
IsCode returns true when this patch user profile o k response a status code equal to that given
func (*PatchUserProfileOK) IsRedirect ¶
func (o *PatchUserProfileOK) IsRedirect() bool
IsRedirect returns true when this patch user profile o k response has a 3xx status code
func (*PatchUserProfileOK) IsServerError ¶
func (o *PatchUserProfileOK) IsServerError() bool
IsServerError returns true when this patch user profile o k response has a 5xx status code
func (*PatchUserProfileOK) IsSuccess ¶
func (o *PatchUserProfileOK) IsSuccess() bool
IsSuccess returns true when this patch user profile o k response has a 2xx status code
func (*PatchUserProfileOK) String ¶
func (o *PatchUserProfileOK) String() string
type PatchUserProfileParams ¶
type PatchUserProfileParams struct {
/* Input.
user's profile data
*/
Input *models.RequestUpdateUserProfileRequest
Context context.Context
HTTPClient *http.Client
// contains filtered or unexported fields
}
PatchUserProfileParams contains all the parameters to send to the API endpoint
for the patch user profile operation. Typically these are written to a http.Request.
func NewPatchUserProfileParams ¶
func NewPatchUserProfileParams() *PatchUserProfileParams
NewPatchUserProfileParams creates a new PatchUserProfileParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewPatchUserProfileParamsWithContext ¶
func NewPatchUserProfileParamsWithContext(ctx context.Context) *PatchUserProfileParams
NewPatchUserProfileParamsWithContext creates a new PatchUserProfileParams object with the ability to set a context for a request.
func NewPatchUserProfileParamsWithHTTPClient ¶
func NewPatchUserProfileParamsWithHTTPClient(client *http.Client) *PatchUserProfileParams
NewPatchUserProfileParamsWithHTTPClient creates a new PatchUserProfileParams object with the ability to set a custom HTTPClient for a request.
func NewPatchUserProfileParamsWithTimeout ¶
func NewPatchUserProfileParamsWithTimeout(timeout time.Duration) *PatchUserProfileParams
NewPatchUserProfileParamsWithTimeout creates a new PatchUserProfileParams object with the ability to set a timeout on a request.
func (*PatchUserProfileParams) SetContext ¶
func (o *PatchUserProfileParams) SetContext(ctx context.Context)
SetContext adds the context to the patch user profile params
func (*PatchUserProfileParams) SetDefaults ¶
func (o *PatchUserProfileParams) SetDefaults()
SetDefaults hydrates default values in the patch user profile params (not the query body).
All values with no default are reset to their zero value.
func (*PatchUserProfileParams) SetHTTPClient ¶
func (o *PatchUserProfileParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the patch user profile params
func (*PatchUserProfileParams) SetInput ¶
func (o *PatchUserProfileParams) SetInput(input *models.RequestUpdateUserProfileRequest)
SetInput adds the input to the patch user profile params
func (*PatchUserProfileParams) SetTimeout ¶
func (o *PatchUserProfileParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the patch user profile params
func (*PatchUserProfileParams) WithContext ¶
func (o *PatchUserProfileParams) WithContext(ctx context.Context) *PatchUserProfileParams
WithContext adds the context to the patch user profile params
func (*PatchUserProfileParams) WithDefaults ¶
func (o *PatchUserProfileParams) WithDefaults() *PatchUserProfileParams
WithDefaults hydrates default values in the patch user profile params (not the query body).
All values with no default are reset to their zero value.
func (*PatchUserProfileParams) WithHTTPClient ¶
func (o *PatchUserProfileParams) WithHTTPClient(client *http.Client) *PatchUserProfileParams
WithHTTPClient adds the HTTPClient to the patch user profile params
func (*PatchUserProfileParams) WithInput ¶
func (o *PatchUserProfileParams) WithInput(input *models.RequestUpdateUserProfileRequest) *PatchUserProfileParams
WithInput adds the input to the patch user profile params
func (*PatchUserProfileParams) WithTimeout ¶
func (o *PatchUserProfileParams) WithTimeout(timeout time.Duration) *PatchUserProfileParams
WithTimeout adds the timeout to the patch user profile params
func (*PatchUserProfileParams) WriteToRequest ¶
func (o *PatchUserProfileParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PatchUserProfileReader ¶
type PatchUserProfileReader struct {
// contains filtered or unexported fields
}
PatchUserProfileReader is a Reader for the PatchUserProfile structure.
func (*PatchUserProfileReader) ReadResponse ¶
func (o *PatchUserProfileReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (any, error)
ReadResponse reads a server response into the received o.