user

package
v0.0.0-...-b3f093e Latest Latest
Warning

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

Go to latest
Published: Apr 19, 2024 License: Apache-2.0 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 (*Client) SetTransport

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

SetTransport changes the transport on the client

func (*Client) UserAdd

func (a *Client) UserAdd(params *UserAddParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UserAddOK, error)

UserAdd adds users to a c e d a r application this interface takes an array of user documents

Add users to a CEDAR application. This interface takes an array of User documents.

func (*Client) UserFindByID

func (a *Client) UserFindByID(params *UserFindByIDParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UserFindByIDOK, error)

UserFindByID retrieves an existing user from a c e d a r application this interface takes an id

Retrieve an existing user from a CEDAR application. This interface takes an id.

func (*Client) UserFindByUsername

func (a *Client) UserFindByUsername(params *UserFindByUsernameParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UserFindByUsernameOK, error)

UserFindByUsername retrieves an existing user in a c e d a r system based on the user name this interface takes username

Retrieve an existing user in a CEDAR system based on the user name. This interface takes username.

func (*Client) UserFindList

func (a *Client) UserFindList(params *UserFindListParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UserFindListOK, error)

UserFindList retrieves a list of users from a c e d a r application this interface takes in application id user name first name last name phone and email

Retrieve a list of users from a CEDAR application. This interface takes in application, id, userName, firstName, lastName, phone and email.

func (*Client) UserIDUpdate

func (a *Client) UserIDUpdate(params *UserIDUpdateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UserIDUpdateOK, error)

UserIDUpdate updates a list existing user in a c e d a r application this interface takes an arrary of user documents

Update a list existing user in a CEDAR application.This interface takes an arrary of User documents.

func (*Client) UserNameUpdate

func (a *Client) UserNameUpdate(params *UserNameUpdateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UserNameUpdateOK, error)

UserNameUpdate updates a list existing user in a c e d a r system this interface takes an array of user documents

Update a list existing user in a CEDAR system. This interface takes an array of User documents.

type ClientOption

type ClientOption func(*runtime.ClientOperation)

ClientOption is the option for Client methods

type ClientService

type ClientService interface {
	UserAdd(params *UserAddParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UserAddOK, error)

	UserFindByID(params *UserFindByIDParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UserFindByIDOK, error)

	UserFindByUsername(params *UserFindByUsernameParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UserFindByUsernameOK, error)

	UserFindList(params *UserFindListParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UserFindListOK, error)

	UserIDUpdate(params *UserIDUpdateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UserIDUpdateOK, error)

	UserNameUpdate(params *UserNameUpdateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UserNameUpdateOK, error)

	SetTransport(transport runtime.ClientTransport)
}

ClientService is the interface for Client methods

func New

func New(transport runtime.ClientTransport, formats strfmt.Registry) ClientService

New creates a new user API client.

type UserAddBadRequest

type UserAddBadRequest struct {
	Payload *models.Response
}

UserAddBadRequest describes a response with status code 400, with default header values.

Bad Request

func NewUserAddBadRequest

func NewUserAddBadRequest() *UserAddBadRequest

NewUserAddBadRequest creates a UserAddBadRequest with default headers values

func (*UserAddBadRequest) Code

func (o *UserAddBadRequest) Code() int

Code gets the status code for the user add bad request response

func (*UserAddBadRequest) Error

func (o *UserAddBadRequest) Error() string

func (*UserAddBadRequest) GetPayload

func (o *UserAddBadRequest) GetPayload() *models.Response

func (*UserAddBadRequest) IsClientError

func (o *UserAddBadRequest) IsClientError() bool

IsClientError returns true when this user add bad request response has a 4xx status code

func (*UserAddBadRequest) IsCode

func (o *UserAddBadRequest) IsCode(code int) bool

IsCode returns true when this user add bad request response a status code equal to that given

func (*UserAddBadRequest) IsRedirect

func (o *UserAddBadRequest) IsRedirect() bool

IsRedirect returns true when this user add bad request response has a 3xx status code

func (*UserAddBadRequest) IsServerError

func (o *UserAddBadRequest) IsServerError() bool

IsServerError returns true when this user add bad request response has a 5xx status code

func (*UserAddBadRequest) IsSuccess

func (o *UserAddBadRequest) IsSuccess() bool

IsSuccess returns true when this user add bad request response has a 2xx status code

func (*UserAddBadRequest) String

func (o *UserAddBadRequest) String() string

type UserAddInternalServerError

type UserAddInternalServerError struct {
	Payload *models.Response
}

UserAddInternalServerError describes a response with status code 500, with default header values.

Internal Server Error

func NewUserAddInternalServerError

func NewUserAddInternalServerError() *UserAddInternalServerError

NewUserAddInternalServerError creates a UserAddInternalServerError with default headers values

func (*UserAddInternalServerError) Code

func (o *UserAddInternalServerError) Code() int

Code gets the status code for the user add internal server error response

func (*UserAddInternalServerError) Error

func (*UserAddInternalServerError) GetPayload

func (o *UserAddInternalServerError) GetPayload() *models.Response

func (*UserAddInternalServerError) IsClientError

func (o *UserAddInternalServerError) IsClientError() bool

IsClientError returns true when this user add internal server error response has a 4xx status code

func (*UserAddInternalServerError) IsCode

func (o *UserAddInternalServerError) IsCode(code int) bool

IsCode returns true when this user add internal server error response a status code equal to that given

func (*UserAddInternalServerError) IsRedirect

func (o *UserAddInternalServerError) IsRedirect() bool

IsRedirect returns true when this user add internal server error response has a 3xx status code

func (*UserAddInternalServerError) IsServerError

func (o *UserAddInternalServerError) IsServerError() bool

IsServerError returns true when this user add internal server error response has a 5xx status code

func (*UserAddInternalServerError) IsSuccess

func (o *UserAddInternalServerError) IsSuccess() bool

IsSuccess returns true when this user add internal server error response has a 2xx status code

func (*UserAddInternalServerError) String

func (o *UserAddInternalServerError) String() string

type UserAddOK

type UserAddOK struct {
	Payload *models.Response
}

UserAddOK describes a response with status code 200, with default header values.

OK

func NewUserAddOK

func NewUserAddOK() *UserAddOK

NewUserAddOK creates a UserAddOK with default headers values

func (*UserAddOK) Code

func (o *UserAddOK) Code() int

Code gets the status code for the user add o k response

func (*UserAddOK) Error

func (o *UserAddOK) Error() string

func (*UserAddOK) GetPayload

func (o *UserAddOK) GetPayload() *models.Response

func (*UserAddOK) IsClientError

func (o *UserAddOK) IsClientError() bool

IsClientError returns true when this user add o k response has a 4xx status code

func (*UserAddOK) IsCode

func (o *UserAddOK) IsCode(code int) bool

IsCode returns true when this user add o k response a status code equal to that given

func (*UserAddOK) IsRedirect

func (o *UserAddOK) IsRedirect() bool

IsRedirect returns true when this user add o k response has a 3xx status code

func (*UserAddOK) IsServerError

func (o *UserAddOK) IsServerError() bool

IsServerError returns true when this user add o k response has a 5xx status code

func (*UserAddOK) IsSuccess

func (o *UserAddOK) IsSuccess() bool

IsSuccess returns true when this user add o k response has a 2xx status code

func (*UserAddOK) String

func (o *UserAddOK) String() string

type UserAddParams

type UserAddParams struct {

	/* Body.

	   User information to be added to a CEDAR application.
	*/
	Body *models.UserAddRequest

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

UserAddParams contains all the parameters to send to the API endpoint

for the user add operation.

Typically these are written to a http.Request.

func NewUserAddParams

func NewUserAddParams() *UserAddParams

NewUserAddParams creates a new UserAddParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewUserAddParamsWithContext

func NewUserAddParamsWithContext(ctx context.Context) *UserAddParams

NewUserAddParamsWithContext creates a new UserAddParams object with the ability to set a context for a request.

func NewUserAddParamsWithHTTPClient

func NewUserAddParamsWithHTTPClient(client *http.Client) *UserAddParams

NewUserAddParamsWithHTTPClient creates a new UserAddParams object with the ability to set a custom HTTPClient for a request.

func NewUserAddParamsWithTimeout

func NewUserAddParamsWithTimeout(timeout time.Duration) *UserAddParams

NewUserAddParamsWithTimeout creates a new UserAddParams object with the ability to set a timeout on a request.

func (*UserAddParams) SetBody

func (o *UserAddParams) SetBody(body *models.UserAddRequest)

SetBody adds the body to the user add params

func (*UserAddParams) SetContext

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

SetContext adds the context to the user add params

func (*UserAddParams) SetDefaults

func (o *UserAddParams) SetDefaults()

SetDefaults hydrates default values in the user add params (not the query body).

All values with no default are reset to their zero value.

func (*UserAddParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the user add params

func (*UserAddParams) SetTimeout

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

SetTimeout adds the timeout to the user add params

func (*UserAddParams) WithBody

func (o *UserAddParams) WithBody(body *models.UserAddRequest) *UserAddParams

WithBody adds the body to the user add params

func (*UserAddParams) WithContext

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

WithContext adds the context to the user add params

func (*UserAddParams) WithDefaults

func (o *UserAddParams) WithDefaults() *UserAddParams

WithDefaults hydrates default values in the user add params (not the query body).

All values with no default are reset to their zero value.

func (*UserAddParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the user add params

func (*UserAddParams) WithTimeout

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

WithTimeout adds the timeout to the user add params

func (*UserAddParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type UserAddReader

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

UserAddReader is a Reader for the UserAdd structure.

func (*UserAddReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type UserAddUnauthorized

type UserAddUnauthorized struct {
	Payload *models.Response
}

UserAddUnauthorized describes a response with status code 401, with default header values.

Access Denied

func NewUserAddUnauthorized

func NewUserAddUnauthorized() *UserAddUnauthorized

NewUserAddUnauthorized creates a UserAddUnauthorized with default headers values

func (*UserAddUnauthorized) Code

func (o *UserAddUnauthorized) Code() int

Code gets the status code for the user add unauthorized response

func (*UserAddUnauthorized) Error

func (o *UserAddUnauthorized) Error() string

func (*UserAddUnauthorized) GetPayload

func (o *UserAddUnauthorized) GetPayload() *models.Response

func (*UserAddUnauthorized) IsClientError

func (o *UserAddUnauthorized) IsClientError() bool

IsClientError returns true when this user add unauthorized response has a 4xx status code

func (*UserAddUnauthorized) IsCode

func (o *UserAddUnauthorized) IsCode(code int) bool

IsCode returns true when this user add unauthorized response a status code equal to that given

func (*UserAddUnauthorized) IsRedirect

func (o *UserAddUnauthorized) IsRedirect() bool

IsRedirect returns true when this user add unauthorized response has a 3xx status code

func (*UserAddUnauthorized) IsServerError

func (o *UserAddUnauthorized) IsServerError() bool

IsServerError returns true when this user add unauthorized response has a 5xx status code

func (*UserAddUnauthorized) IsSuccess

func (o *UserAddUnauthorized) IsSuccess() bool

IsSuccess returns true when this user add unauthorized response has a 2xx status code

func (*UserAddUnauthorized) String

func (o *UserAddUnauthorized) String() string

type UserFindByIDBadRequest

type UserFindByIDBadRequest struct {
	Payload *models.Response
}

UserFindByIDBadRequest describes a response with status code 400, with default header values.

Bad Request

func NewUserFindByIDBadRequest

func NewUserFindByIDBadRequest() *UserFindByIDBadRequest

NewUserFindByIDBadRequest creates a UserFindByIDBadRequest with default headers values

func (*UserFindByIDBadRequest) Code

func (o *UserFindByIDBadRequest) Code() int

Code gets the status code for the user find by Id bad request response

func (*UserFindByIDBadRequest) Error

func (o *UserFindByIDBadRequest) Error() string

func (*UserFindByIDBadRequest) GetPayload

func (o *UserFindByIDBadRequest) GetPayload() *models.Response

func (*UserFindByIDBadRequest) IsClientError

func (o *UserFindByIDBadRequest) IsClientError() bool

IsClientError returns true when this user find by Id bad request response has a 4xx status code

func (*UserFindByIDBadRequest) IsCode

func (o *UserFindByIDBadRequest) IsCode(code int) bool

IsCode returns true when this user find by Id bad request response a status code equal to that given

func (*UserFindByIDBadRequest) IsRedirect

func (o *UserFindByIDBadRequest) IsRedirect() bool

IsRedirect returns true when this user find by Id bad request response has a 3xx status code

func (*UserFindByIDBadRequest) IsServerError

func (o *UserFindByIDBadRequest) IsServerError() bool

IsServerError returns true when this user find by Id bad request response has a 5xx status code

func (*UserFindByIDBadRequest) IsSuccess

func (o *UserFindByIDBadRequest) IsSuccess() bool

IsSuccess returns true when this user find by Id bad request response has a 2xx status code

func (*UserFindByIDBadRequest) String

func (o *UserFindByIDBadRequest) String() string

type UserFindByIDInternalServerError

type UserFindByIDInternalServerError struct {
	Payload *models.Response
}

UserFindByIDInternalServerError describes a response with status code 500, with default header values.

Internal Server Error

func NewUserFindByIDInternalServerError

func NewUserFindByIDInternalServerError() *UserFindByIDInternalServerError

NewUserFindByIDInternalServerError creates a UserFindByIDInternalServerError with default headers values

func (*UserFindByIDInternalServerError) Code

Code gets the status code for the user find by Id internal server error response

func (*UserFindByIDInternalServerError) Error

func (*UserFindByIDInternalServerError) GetPayload

func (*UserFindByIDInternalServerError) IsClientError

func (o *UserFindByIDInternalServerError) IsClientError() bool

IsClientError returns true when this user find by Id internal server error response has a 4xx status code

func (*UserFindByIDInternalServerError) IsCode

func (o *UserFindByIDInternalServerError) IsCode(code int) bool

IsCode returns true when this user find by Id internal server error response a status code equal to that given

func (*UserFindByIDInternalServerError) IsRedirect

func (o *UserFindByIDInternalServerError) IsRedirect() bool

IsRedirect returns true when this user find by Id internal server error response has a 3xx status code

func (*UserFindByIDInternalServerError) IsServerError

func (o *UserFindByIDInternalServerError) IsServerError() bool

IsServerError returns true when this user find by Id internal server error response has a 5xx status code

func (*UserFindByIDInternalServerError) IsSuccess

func (o *UserFindByIDInternalServerError) IsSuccess() bool

IsSuccess returns true when this user find by Id internal server error response has a 2xx status code

func (*UserFindByIDInternalServerError) String

type UserFindByIDOK

type UserFindByIDOK struct {
	Payload *models.User
}

UserFindByIDOK describes a response with status code 200, with default header values.

OK

func NewUserFindByIDOK

func NewUserFindByIDOK() *UserFindByIDOK

NewUserFindByIDOK creates a UserFindByIDOK with default headers values

func (*UserFindByIDOK) Code

func (o *UserFindByIDOK) Code() int

Code gets the status code for the user find by Id o k response

func (*UserFindByIDOK) Error

func (o *UserFindByIDOK) Error() string

func (*UserFindByIDOK) GetPayload

func (o *UserFindByIDOK) GetPayload() *models.User

func (*UserFindByIDOK) IsClientError

func (o *UserFindByIDOK) IsClientError() bool

IsClientError returns true when this user find by Id o k response has a 4xx status code

func (*UserFindByIDOK) IsCode

func (o *UserFindByIDOK) IsCode(code int) bool

IsCode returns true when this user find by Id o k response a status code equal to that given

func (*UserFindByIDOK) IsRedirect

func (o *UserFindByIDOK) IsRedirect() bool

IsRedirect returns true when this user find by Id o k response has a 3xx status code

func (*UserFindByIDOK) IsServerError

func (o *UserFindByIDOK) IsServerError() bool

IsServerError returns true when this user find by Id o k response has a 5xx status code

func (*UserFindByIDOK) IsSuccess

func (o *UserFindByIDOK) IsSuccess() bool

IsSuccess returns true when this user find by Id o k response has a 2xx status code

func (*UserFindByIDOK) String

func (o *UserFindByIDOK) String() string

type UserFindByIDParams

type UserFindByIDParams struct {

	/* ID.

	   ID of user to retrieve.
	*/
	ID string

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

UserFindByIDParams contains all the parameters to send to the API endpoint

for the user find by Id operation.

Typically these are written to a http.Request.

func NewUserFindByIDParams

func NewUserFindByIDParams() *UserFindByIDParams

NewUserFindByIDParams creates a new UserFindByIDParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewUserFindByIDParamsWithContext

func NewUserFindByIDParamsWithContext(ctx context.Context) *UserFindByIDParams

NewUserFindByIDParamsWithContext creates a new UserFindByIDParams object with the ability to set a context for a request.

func NewUserFindByIDParamsWithHTTPClient

func NewUserFindByIDParamsWithHTTPClient(client *http.Client) *UserFindByIDParams

NewUserFindByIDParamsWithHTTPClient creates a new UserFindByIDParams object with the ability to set a custom HTTPClient for a request.

func NewUserFindByIDParamsWithTimeout

func NewUserFindByIDParamsWithTimeout(timeout time.Duration) *UserFindByIDParams

NewUserFindByIDParamsWithTimeout creates a new UserFindByIDParams object with the ability to set a timeout on a request.

func (*UserFindByIDParams) SetContext

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

SetContext adds the context to the user find by Id params

func (*UserFindByIDParams) SetDefaults

func (o *UserFindByIDParams) SetDefaults()

SetDefaults hydrates default values in the user find by Id params (not the query body).

All values with no default are reset to their zero value.

func (*UserFindByIDParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the user find by Id params

func (*UserFindByIDParams) SetID

func (o *UserFindByIDParams) SetID(id string)

SetID adds the id to the user find by Id params

func (*UserFindByIDParams) SetTimeout

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

SetTimeout adds the timeout to the user find by Id params

func (*UserFindByIDParams) WithContext

WithContext adds the context to the user find by Id params

func (*UserFindByIDParams) WithDefaults

func (o *UserFindByIDParams) WithDefaults() *UserFindByIDParams

WithDefaults hydrates default values in the user find by Id params (not the query body).

All values with no default are reset to their zero value.

func (*UserFindByIDParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the user find by Id params

func (*UserFindByIDParams) WithID

WithID adds the id to the user find by Id params

func (*UserFindByIDParams) WithTimeout

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

WithTimeout adds the timeout to the user find by Id params

func (*UserFindByIDParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type UserFindByIDReader

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

UserFindByIDReader is a Reader for the UserFindByID structure.

func (*UserFindByIDReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type UserFindByIDUnauthorized

type UserFindByIDUnauthorized struct {
	Payload *models.Response
}

UserFindByIDUnauthorized describes a response with status code 401, with default header values.

Access Denied

func NewUserFindByIDUnauthorized

func NewUserFindByIDUnauthorized() *UserFindByIDUnauthorized

NewUserFindByIDUnauthorized creates a UserFindByIDUnauthorized with default headers values

func (*UserFindByIDUnauthorized) Code

func (o *UserFindByIDUnauthorized) Code() int

Code gets the status code for the user find by Id unauthorized response

func (*UserFindByIDUnauthorized) Error

func (o *UserFindByIDUnauthorized) Error() string

func (*UserFindByIDUnauthorized) GetPayload

func (o *UserFindByIDUnauthorized) GetPayload() *models.Response

func (*UserFindByIDUnauthorized) IsClientError

func (o *UserFindByIDUnauthorized) IsClientError() bool

IsClientError returns true when this user find by Id unauthorized response has a 4xx status code

func (*UserFindByIDUnauthorized) IsCode

func (o *UserFindByIDUnauthorized) IsCode(code int) bool

IsCode returns true when this user find by Id unauthorized response a status code equal to that given

func (*UserFindByIDUnauthorized) IsRedirect

func (o *UserFindByIDUnauthorized) IsRedirect() bool

IsRedirect returns true when this user find by Id unauthorized response has a 3xx status code

func (*UserFindByIDUnauthorized) IsServerError

func (o *UserFindByIDUnauthorized) IsServerError() bool

IsServerError returns true when this user find by Id unauthorized response has a 5xx status code

func (*UserFindByIDUnauthorized) IsSuccess

func (o *UserFindByIDUnauthorized) IsSuccess() bool

IsSuccess returns true when this user find by Id unauthorized response has a 2xx status code

func (*UserFindByIDUnauthorized) String

func (o *UserFindByIDUnauthorized) String() string

type UserFindByUsernameBadRequest

type UserFindByUsernameBadRequest struct {
	Payload *models.Response
}

UserFindByUsernameBadRequest describes a response with status code 400, with default header values.

Bad Request

func NewUserFindByUsernameBadRequest

func NewUserFindByUsernameBadRequest() *UserFindByUsernameBadRequest

NewUserFindByUsernameBadRequest creates a UserFindByUsernameBadRequest with default headers values

func (*UserFindByUsernameBadRequest) Code

Code gets the status code for the user find by username bad request response

func (*UserFindByUsernameBadRequest) Error

func (*UserFindByUsernameBadRequest) GetPayload

func (o *UserFindByUsernameBadRequest) GetPayload() *models.Response

func (*UserFindByUsernameBadRequest) IsClientError

func (o *UserFindByUsernameBadRequest) IsClientError() bool

IsClientError returns true when this user find by username bad request response has a 4xx status code

func (*UserFindByUsernameBadRequest) IsCode

func (o *UserFindByUsernameBadRequest) IsCode(code int) bool

IsCode returns true when this user find by username bad request response a status code equal to that given

func (*UserFindByUsernameBadRequest) IsRedirect

func (o *UserFindByUsernameBadRequest) IsRedirect() bool

IsRedirect returns true when this user find by username bad request response has a 3xx status code

func (*UserFindByUsernameBadRequest) IsServerError

func (o *UserFindByUsernameBadRequest) IsServerError() bool

IsServerError returns true when this user find by username bad request response has a 5xx status code

func (*UserFindByUsernameBadRequest) IsSuccess

func (o *UserFindByUsernameBadRequest) IsSuccess() bool

IsSuccess returns true when this user find by username bad request response has a 2xx status code

func (*UserFindByUsernameBadRequest) String

type UserFindByUsernameInternalServerError

type UserFindByUsernameInternalServerError struct {
	Payload *models.Response
}

UserFindByUsernameInternalServerError describes a response with status code 500, with default header values.

Internal Server Error

func NewUserFindByUsernameInternalServerError

func NewUserFindByUsernameInternalServerError() *UserFindByUsernameInternalServerError

NewUserFindByUsernameInternalServerError creates a UserFindByUsernameInternalServerError with default headers values

func (*UserFindByUsernameInternalServerError) Code

Code gets the status code for the user find by username internal server error response

func (*UserFindByUsernameInternalServerError) Error

func (*UserFindByUsernameInternalServerError) GetPayload

func (*UserFindByUsernameInternalServerError) IsClientError

func (o *UserFindByUsernameInternalServerError) IsClientError() bool

IsClientError returns true when this user find by username internal server error response has a 4xx status code

func (*UserFindByUsernameInternalServerError) IsCode

IsCode returns true when this user find by username internal server error response a status code equal to that given

func (*UserFindByUsernameInternalServerError) IsRedirect

IsRedirect returns true when this user find by username internal server error response has a 3xx status code

func (*UserFindByUsernameInternalServerError) IsServerError

func (o *UserFindByUsernameInternalServerError) IsServerError() bool

IsServerError returns true when this user find by username internal server error response has a 5xx status code

func (*UserFindByUsernameInternalServerError) IsSuccess

IsSuccess returns true when this user find by username internal server error response has a 2xx status code

func (*UserFindByUsernameInternalServerError) String

type UserFindByUsernameOK

type UserFindByUsernameOK struct {
	Payload *models.User
}

UserFindByUsernameOK describes a response with status code 200, with default header values.

OK

func NewUserFindByUsernameOK

func NewUserFindByUsernameOK() *UserFindByUsernameOK

NewUserFindByUsernameOK creates a UserFindByUsernameOK with default headers values

func (*UserFindByUsernameOK) Code

func (o *UserFindByUsernameOK) Code() int

Code gets the status code for the user find by username o k response

func (*UserFindByUsernameOK) Error

func (o *UserFindByUsernameOK) Error() string

func (*UserFindByUsernameOK) GetPayload

func (o *UserFindByUsernameOK) GetPayload() *models.User

func (*UserFindByUsernameOK) IsClientError

func (o *UserFindByUsernameOK) IsClientError() bool

IsClientError returns true when this user find by username o k response has a 4xx status code

func (*UserFindByUsernameOK) IsCode

func (o *UserFindByUsernameOK) IsCode(code int) bool

IsCode returns true when this user find by username o k response a status code equal to that given

func (*UserFindByUsernameOK) IsRedirect

func (o *UserFindByUsernameOK) IsRedirect() bool

IsRedirect returns true when this user find by username o k response has a 3xx status code

func (*UserFindByUsernameOK) IsServerError

func (o *UserFindByUsernameOK) IsServerError() bool

IsServerError returns true when this user find by username o k response has a 5xx status code

func (*UserFindByUsernameOK) IsSuccess

func (o *UserFindByUsernameOK) IsSuccess() bool

IsSuccess returns true when this user find by username o k response has a 2xx status code

func (*UserFindByUsernameOK) String

func (o *UserFindByUsernameOK) String() string

type UserFindByUsernameParams

type UserFindByUsernameParams struct {

	/* Username.

	   Username of user to retrieve.
	*/
	Username string

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

UserFindByUsernameParams contains all the parameters to send to the API endpoint

for the user find by username operation.

Typically these are written to a http.Request.

func NewUserFindByUsernameParams

func NewUserFindByUsernameParams() *UserFindByUsernameParams

NewUserFindByUsernameParams creates a new UserFindByUsernameParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewUserFindByUsernameParamsWithContext

func NewUserFindByUsernameParamsWithContext(ctx context.Context) *UserFindByUsernameParams

NewUserFindByUsernameParamsWithContext creates a new UserFindByUsernameParams object with the ability to set a context for a request.

func NewUserFindByUsernameParamsWithHTTPClient

func NewUserFindByUsernameParamsWithHTTPClient(client *http.Client) *UserFindByUsernameParams

NewUserFindByUsernameParamsWithHTTPClient creates a new UserFindByUsernameParams object with the ability to set a custom HTTPClient for a request.

func NewUserFindByUsernameParamsWithTimeout

func NewUserFindByUsernameParamsWithTimeout(timeout time.Duration) *UserFindByUsernameParams

NewUserFindByUsernameParamsWithTimeout creates a new UserFindByUsernameParams object with the ability to set a timeout on a request.

func (*UserFindByUsernameParams) SetContext

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

SetContext adds the context to the user find by username params

func (*UserFindByUsernameParams) SetDefaults

func (o *UserFindByUsernameParams) SetDefaults()

SetDefaults hydrates default values in the user find by username params (not the query body).

All values with no default are reset to their zero value.

func (*UserFindByUsernameParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the user find by username params

func (*UserFindByUsernameParams) SetTimeout

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

SetTimeout adds the timeout to the user find by username params

func (*UserFindByUsernameParams) SetUsername

func (o *UserFindByUsernameParams) SetUsername(username string)

SetUsername adds the username to the user find by username params

func (*UserFindByUsernameParams) WithContext

WithContext adds the context to the user find by username params

func (*UserFindByUsernameParams) WithDefaults

WithDefaults hydrates default values in the user find by username params (not the query body).

All values with no default are reset to their zero value.

func (*UserFindByUsernameParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the user find by username params

func (*UserFindByUsernameParams) WithTimeout

WithTimeout adds the timeout to the user find by username params

func (*UserFindByUsernameParams) WithUsername

func (o *UserFindByUsernameParams) WithUsername(username string) *UserFindByUsernameParams

WithUsername adds the username to the user find by username params

func (*UserFindByUsernameParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type UserFindByUsernameReader

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

UserFindByUsernameReader is a Reader for the UserFindByUsername structure.

func (*UserFindByUsernameReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type UserFindByUsernameUnauthorized

type UserFindByUsernameUnauthorized struct {
	Payload *models.Response
}

UserFindByUsernameUnauthorized describes a response with status code 401, with default header values.

Access Denied

func NewUserFindByUsernameUnauthorized

func NewUserFindByUsernameUnauthorized() *UserFindByUsernameUnauthorized

NewUserFindByUsernameUnauthorized creates a UserFindByUsernameUnauthorized with default headers values

func (*UserFindByUsernameUnauthorized) Code

Code gets the status code for the user find by username unauthorized response

func (*UserFindByUsernameUnauthorized) Error

func (*UserFindByUsernameUnauthorized) GetPayload

func (*UserFindByUsernameUnauthorized) IsClientError

func (o *UserFindByUsernameUnauthorized) IsClientError() bool

IsClientError returns true when this user find by username unauthorized response has a 4xx status code

func (*UserFindByUsernameUnauthorized) IsCode

func (o *UserFindByUsernameUnauthorized) IsCode(code int) bool

IsCode returns true when this user find by username unauthorized response a status code equal to that given

func (*UserFindByUsernameUnauthorized) IsRedirect

func (o *UserFindByUsernameUnauthorized) IsRedirect() bool

IsRedirect returns true when this user find by username unauthorized response has a 3xx status code

func (*UserFindByUsernameUnauthorized) IsServerError

func (o *UserFindByUsernameUnauthorized) IsServerError() bool

IsServerError returns true when this user find by username unauthorized response has a 5xx status code

func (*UserFindByUsernameUnauthorized) IsSuccess

func (o *UserFindByUsernameUnauthorized) IsSuccess() bool

IsSuccess returns true when this user find by username unauthorized response has a 2xx status code

func (*UserFindByUsernameUnauthorized) String

type UserFindListBadRequest

type UserFindListBadRequest struct {
	Payload *models.Response
}

UserFindListBadRequest describes a response with status code 400, with default header values.

Bad Request

func NewUserFindListBadRequest

func NewUserFindListBadRequest() *UserFindListBadRequest

NewUserFindListBadRequest creates a UserFindListBadRequest with default headers values

func (*UserFindListBadRequest) Code

func (o *UserFindListBadRequest) Code() int

Code gets the status code for the user find list bad request response

func (*UserFindListBadRequest) Error

func (o *UserFindListBadRequest) Error() string

func (*UserFindListBadRequest) GetPayload

func (o *UserFindListBadRequest) GetPayload() *models.Response

func (*UserFindListBadRequest) IsClientError

func (o *UserFindListBadRequest) IsClientError() bool

IsClientError returns true when this user find list bad request response has a 4xx status code

func (*UserFindListBadRequest) IsCode

func (o *UserFindListBadRequest) IsCode(code int) bool

IsCode returns true when this user find list bad request response a status code equal to that given

func (*UserFindListBadRequest) IsRedirect

func (o *UserFindListBadRequest) IsRedirect() bool

IsRedirect returns true when this user find list bad request response has a 3xx status code

func (*UserFindListBadRequest) IsServerError

func (o *UserFindListBadRequest) IsServerError() bool

IsServerError returns true when this user find list bad request response has a 5xx status code

func (*UserFindListBadRequest) IsSuccess

func (o *UserFindListBadRequest) IsSuccess() bool

IsSuccess returns true when this user find list bad request response has a 2xx status code

func (*UserFindListBadRequest) String

func (o *UserFindListBadRequest) String() string

type UserFindListInternalServerError

type UserFindListInternalServerError struct {
	Payload *models.Response
}

UserFindListInternalServerError describes a response with status code 500, with default header values.

Internal Server Error

func NewUserFindListInternalServerError

func NewUserFindListInternalServerError() *UserFindListInternalServerError

NewUserFindListInternalServerError creates a UserFindListInternalServerError with default headers values

func (*UserFindListInternalServerError) Code

Code gets the status code for the user find list internal server error response

func (*UserFindListInternalServerError) Error

func (*UserFindListInternalServerError) GetPayload

func (*UserFindListInternalServerError) IsClientError

func (o *UserFindListInternalServerError) IsClientError() bool

IsClientError returns true when this user find list internal server error response has a 4xx status code

func (*UserFindListInternalServerError) IsCode

func (o *UserFindListInternalServerError) IsCode(code int) bool

IsCode returns true when this user find list internal server error response a status code equal to that given

func (*UserFindListInternalServerError) IsRedirect

func (o *UserFindListInternalServerError) IsRedirect() bool

IsRedirect returns true when this user find list internal server error response has a 3xx status code

func (*UserFindListInternalServerError) IsServerError

func (o *UserFindListInternalServerError) IsServerError() bool

IsServerError returns true when this user find list internal server error response has a 5xx status code

func (*UserFindListInternalServerError) IsSuccess

func (o *UserFindListInternalServerError) IsSuccess() bool

IsSuccess returns true when this user find list internal server error response has a 2xx status code

func (*UserFindListInternalServerError) String

type UserFindListOK

type UserFindListOK struct {
	Payload *models.UserFindResponse
}

UserFindListOK describes a response with status code 200, with default header values.

OK

func NewUserFindListOK

func NewUserFindListOK() *UserFindListOK

NewUserFindListOK creates a UserFindListOK with default headers values

func (*UserFindListOK) Code

func (o *UserFindListOK) Code() int

Code gets the status code for the user find list o k response

func (*UserFindListOK) Error

func (o *UserFindListOK) Error() string

func (*UserFindListOK) GetPayload

func (o *UserFindListOK) GetPayload() *models.UserFindResponse

func (*UserFindListOK) IsClientError

func (o *UserFindListOK) IsClientError() bool

IsClientError returns true when this user find list o k response has a 4xx status code

func (*UserFindListOK) IsCode

func (o *UserFindListOK) IsCode(code int) bool

IsCode returns true when this user find list o k response a status code equal to that given

func (*UserFindListOK) IsRedirect

func (o *UserFindListOK) IsRedirect() bool

IsRedirect returns true when this user find list o k response has a 3xx status code

func (*UserFindListOK) IsServerError

func (o *UserFindListOK) IsServerError() bool

IsServerError returns true when this user find list o k response has a 5xx status code

func (*UserFindListOK) IsSuccess

func (o *UserFindListOK) IsSuccess() bool

IsSuccess returns true when this user find list o k response has a 2xx status code

func (*UserFindListOK) String

func (o *UserFindListOK) String() string

type UserFindListParams

type UserFindListParams struct {

	/* Application.

	   Application the user belongs to.
	*/
	Application string

	/* Email.

	   A users's email.
	*/
	Email *string

	/* FirstName.

	   A user's first name.
	*/
	FirstName *string

	/* ID.

	   A user's id.
	*/
	ID *string

	/* LastName.

	   A user's last name.
	*/
	LastName *string

	/* Phone.

	   A user's phone number.
	*/
	Phone *string

	/* UserName.

	   A user's username.
	*/
	UserName *string

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

UserFindListParams contains all the parameters to send to the API endpoint

for the user find list operation.

Typically these are written to a http.Request.

func NewUserFindListParams

func NewUserFindListParams() *UserFindListParams

NewUserFindListParams creates a new UserFindListParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewUserFindListParamsWithContext

func NewUserFindListParamsWithContext(ctx context.Context) *UserFindListParams

NewUserFindListParamsWithContext creates a new UserFindListParams object with the ability to set a context for a request.

func NewUserFindListParamsWithHTTPClient

func NewUserFindListParamsWithHTTPClient(client *http.Client) *UserFindListParams

NewUserFindListParamsWithHTTPClient creates a new UserFindListParams object with the ability to set a custom HTTPClient for a request.

func NewUserFindListParamsWithTimeout

func NewUserFindListParamsWithTimeout(timeout time.Duration) *UserFindListParams

NewUserFindListParamsWithTimeout creates a new UserFindListParams object with the ability to set a timeout on a request.

func (*UserFindListParams) SetApplication

func (o *UserFindListParams) SetApplication(application string)

SetApplication adds the application to the user find list params

func (*UserFindListParams) SetContext

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

SetContext adds the context to the user find list params

func (*UserFindListParams) SetDefaults

func (o *UserFindListParams) SetDefaults()

SetDefaults hydrates default values in the user find list params (not the query body).

All values with no default are reset to their zero value.

func (*UserFindListParams) SetEmail

func (o *UserFindListParams) SetEmail(email *string)

SetEmail adds the email to the user find list params

func (*UserFindListParams) SetFirstName

func (o *UserFindListParams) SetFirstName(firstName *string)

SetFirstName adds the firstName to the user find list params

func (*UserFindListParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the user find list params

func (*UserFindListParams) SetID

func (o *UserFindListParams) SetID(id *string)

SetID adds the id to the user find list params

func (*UserFindListParams) SetLastName

func (o *UserFindListParams) SetLastName(lastName *string)

SetLastName adds the lastName to the user find list params

func (*UserFindListParams) SetPhone

func (o *UserFindListParams) SetPhone(phone *string)

SetPhone adds the phone to the user find list params

func (*UserFindListParams) SetTimeout

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

SetTimeout adds the timeout to the user find list params

func (*UserFindListParams) SetUserName

func (o *UserFindListParams) SetUserName(userName *string)

SetUserName adds the userName to the user find list params

func (*UserFindListParams) WithApplication

func (o *UserFindListParams) WithApplication(application string) *UserFindListParams

WithApplication adds the application to the user find list params

func (*UserFindListParams) WithContext

WithContext adds the context to the user find list params

func (*UserFindListParams) WithDefaults

func (o *UserFindListParams) WithDefaults() *UserFindListParams

WithDefaults hydrates default values in the user find list params (not the query body).

All values with no default are reset to their zero value.

func (*UserFindListParams) WithEmail

func (o *UserFindListParams) WithEmail(email *string) *UserFindListParams

WithEmail adds the email to the user find list params

func (*UserFindListParams) WithFirstName

func (o *UserFindListParams) WithFirstName(firstName *string) *UserFindListParams

WithFirstName adds the firstName to the user find list params

func (*UserFindListParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the user find list params

func (*UserFindListParams) WithID

WithID adds the id to the user find list params

func (*UserFindListParams) WithLastName

func (o *UserFindListParams) WithLastName(lastName *string) *UserFindListParams

WithLastName adds the lastName to the user find list params

func (*UserFindListParams) WithPhone

func (o *UserFindListParams) WithPhone(phone *string) *UserFindListParams

WithPhone adds the phone to the user find list params

func (*UserFindListParams) WithTimeout

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

WithTimeout adds the timeout to the user find list params

func (*UserFindListParams) WithUserName

func (o *UserFindListParams) WithUserName(userName *string) *UserFindListParams

WithUserName adds the userName to the user find list params

func (*UserFindListParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type UserFindListReader

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

UserFindListReader is a Reader for the UserFindList structure.

func (*UserFindListReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type UserFindListUnauthorized

type UserFindListUnauthorized struct {
	Payload *models.Response
}

UserFindListUnauthorized describes a response with status code 401, with default header values.

Access Denied

func NewUserFindListUnauthorized

func NewUserFindListUnauthorized() *UserFindListUnauthorized

NewUserFindListUnauthorized creates a UserFindListUnauthorized with default headers values

func (*UserFindListUnauthorized) Code

func (o *UserFindListUnauthorized) Code() int

Code gets the status code for the user find list unauthorized response

func (*UserFindListUnauthorized) Error

func (o *UserFindListUnauthorized) Error() string

func (*UserFindListUnauthorized) GetPayload

func (o *UserFindListUnauthorized) GetPayload() *models.Response

func (*UserFindListUnauthorized) IsClientError

func (o *UserFindListUnauthorized) IsClientError() bool

IsClientError returns true when this user find list unauthorized response has a 4xx status code

func (*UserFindListUnauthorized) IsCode

func (o *UserFindListUnauthorized) IsCode(code int) bool

IsCode returns true when this user find list unauthorized response a status code equal to that given

func (*UserFindListUnauthorized) IsRedirect

func (o *UserFindListUnauthorized) IsRedirect() bool

IsRedirect returns true when this user find list unauthorized response has a 3xx status code

func (*UserFindListUnauthorized) IsServerError

func (o *UserFindListUnauthorized) IsServerError() bool

IsServerError returns true when this user find list unauthorized response has a 5xx status code

func (*UserFindListUnauthorized) IsSuccess

func (o *UserFindListUnauthorized) IsSuccess() bool

IsSuccess returns true when this user find list unauthorized response has a 2xx status code

func (*UserFindListUnauthorized) String

func (o *UserFindListUnauthorized) String() string

type UserIDUpdateBadRequest

type UserIDUpdateBadRequest struct {
	Payload *models.Response
}

UserIDUpdateBadRequest describes a response with status code 400, with default header values.

Bad Request

func NewUserIDUpdateBadRequest

func NewUserIDUpdateBadRequest() *UserIDUpdateBadRequest

NewUserIDUpdateBadRequest creates a UserIDUpdateBadRequest with default headers values

func (*UserIDUpdateBadRequest) Code

func (o *UserIDUpdateBadRequest) Code() int

Code gets the status code for the user Id update bad request response

func (*UserIDUpdateBadRequest) Error

func (o *UserIDUpdateBadRequest) Error() string

func (*UserIDUpdateBadRequest) GetPayload

func (o *UserIDUpdateBadRequest) GetPayload() *models.Response

func (*UserIDUpdateBadRequest) IsClientError

func (o *UserIDUpdateBadRequest) IsClientError() bool

IsClientError returns true when this user Id update bad request response has a 4xx status code

func (*UserIDUpdateBadRequest) IsCode

func (o *UserIDUpdateBadRequest) IsCode(code int) bool

IsCode returns true when this user Id update bad request response a status code equal to that given

func (*UserIDUpdateBadRequest) IsRedirect

func (o *UserIDUpdateBadRequest) IsRedirect() bool

IsRedirect returns true when this user Id update bad request response has a 3xx status code

func (*UserIDUpdateBadRequest) IsServerError

func (o *UserIDUpdateBadRequest) IsServerError() bool

IsServerError returns true when this user Id update bad request response has a 5xx status code

func (*UserIDUpdateBadRequest) IsSuccess

func (o *UserIDUpdateBadRequest) IsSuccess() bool

IsSuccess returns true when this user Id update bad request response has a 2xx status code

func (*UserIDUpdateBadRequest) String

func (o *UserIDUpdateBadRequest) String() string

type UserIDUpdateInternalServerError

type UserIDUpdateInternalServerError struct {
	Payload *models.Response
}

UserIDUpdateInternalServerError describes a response with status code 500, with default header values.

Internal Server Error

func NewUserIDUpdateInternalServerError

func NewUserIDUpdateInternalServerError() *UserIDUpdateInternalServerError

NewUserIDUpdateInternalServerError creates a UserIDUpdateInternalServerError with default headers values

func (*UserIDUpdateInternalServerError) Code

Code gets the status code for the user Id update internal server error response

func (*UserIDUpdateInternalServerError) Error

func (*UserIDUpdateInternalServerError) GetPayload

func (*UserIDUpdateInternalServerError) IsClientError

func (o *UserIDUpdateInternalServerError) IsClientError() bool

IsClientError returns true when this user Id update internal server error response has a 4xx status code

func (*UserIDUpdateInternalServerError) IsCode

func (o *UserIDUpdateInternalServerError) IsCode(code int) bool

IsCode returns true when this user Id update internal server error response a status code equal to that given

func (*UserIDUpdateInternalServerError) IsRedirect

func (o *UserIDUpdateInternalServerError) IsRedirect() bool

IsRedirect returns true when this user Id update internal server error response has a 3xx status code

func (*UserIDUpdateInternalServerError) IsServerError

func (o *UserIDUpdateInternalServerError) IsServerError() bool

IsServerError returns true when this user Id update internal server error response has a 5xx status code

func (*UserIDUpdateInternalServerError) IsSuccess

func (o *UserIDUpdateInternalServerError) IsSuccess() bool

IsSuccess returns true when this user Id update internal server error response has a 2xx status code

func (*UserIDUpdateInternalServerError) String

type UserIDUpdateOK

type UserIDUpdateOK struct {
	Payload *models.Response
}

UserIDUpdateOK describes a response with status code 200, with default header values.

OK

func NewUserIDUpdateOK

func NewUserIDUpdateOK() *UserIDUpdateOK

NewUserIDUpdateOK creates a UserIDUpdateOK with default headers values

func (*UserIDUpdateOK) Code

func (o *UserIDUpdateOK) Code() int

Code gets the status code for the user Id update o k response

func (*UserIDUpdateOK) Error

func (o *UserIDUpdateOK) Error() string

func (*UserIDUpdateOK) GetPayload

func (o *UserIDUpdateOK) GetPayload() *models.Response

func (*UserIDUpdateOK) IsClientError

func (o *UserIDUpdateOK) IsClientError() bool

IsClientError returns true when this user Id update o k response has a 4xx status code

func (*UserIDUpdateOK) IsCode

func (o *UserIDUpdateOK) IsCode(code int) bool

IsCode returns true when this user Id update o k response a status code equal to that given

func (*UserIDUpdateOK) IsRedirect

func (o *UserIDUpdateOK) IsRedirect() bool

IsRedirect returns true when this user Id update o k response has a 3xx status code

func (*UserIDUpdateOK) IsServerError

func (o *UserIDUpdateOK) IsServerError() bool

IsServerError returns true when this user Id update o k response has a 5xx status code

func (*UserIDUpdateOK) IsSuccess

func (o *UserIDUpdateOK) IsSuccess() bool

IsSuccess returns true when this user Id update o k response has a 2xx status code

func (*UserIDUpdateOK) String

func (o *UserIDUpdateOK) String() string

type UserIDUpdateParams

type UserIDUpdateParams struct {

	/* Body.

	   User information to be updated in CEDAR.
	*/
	Body *models.UserUpdateRequest

	/* ID.

	   ID of user to update.
	*/
	ID string

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

UserIDUpdateParams contains all the parameters to send to the API endpoint

for the user Id update operation.

Typically these are written to a http.Request.

func NewUserIDUpdateParams

func NewUserIDUpdateParams() *UserIDUpdateParams

NewUserIDUpdateParams creates a new UserIDUpdateParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewUserIDUpdateParamsWithContext

func NewUserIDUpdateParamsWithContext(ctx context.Context) *UserIDUpdateParams

NewUserIDUpdateParamsWithContext creates a new UserIDUpdateParams object with the ability to set a context for a request.

func NewUserIDUpdateParamsWithHTTPClient

func NewUserIDUpdateParamsWithHTTPClient(client *http.Client) *UserIDUpdateParams

NewUserIDUpdateParamsWithHTTPClient creates a new UserIDUpdateParams object with the ability to set a custom HTTPClient for a request.

func NewUserIDUpdateParamsWithTimeout

func NewUserIDUpdateParamsWithTimeout(timeout time.Duration) *UserIDUpdateParams

NewUserIDUpdateParamsWithTimeout creates a new UserIDUpdateParams object with the ability to set a timeout on a request.

func (*UserIDUpdateParams) SetBody

func (o *UserIDUpdateParams) SetBody(body *models.UserUpdateRequest)

SetBody adds the body to the user Id update params

func (*UserIDUpdateParams) SetContext

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

SetContext adds the context to the user Id update params

func (*UserIDUpdateParams) SetDefaults

func (o *UserIDUpdateParams) SetDefaults()

SetDefaults hydrates default values in the user Id update params (not the query body).

All values with no default are reset to their zero value.

func (*UserIDUpdateParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the user Id update params

func (*UserIDUpdateParams) SetID

func (o *UserIDUpdateParams) SetID(id string)

SetID adds the id to the user Id update params

func (*UserIDUpdateParams) SetTimeout

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

SetTimeout adds the timeout to the user Id update params

func (*UserIDUpdateParams) WithBody

WithBody adds the body to the user Id update params

func (*UserIDUpdateParams) WithContext

WithContext adds the context to the user Id update params

func (*UserIDUpdateParams) WithDefaults

func (o *UserIDUpdateParams) WithDefaults() *UserIDUpdateParams

WithDefaults hydrates default values in the user Id update params (not the query body).

All values with no default are reset to their zero value.

func (*UserIDUpdateParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the user Id update params

func (*UserIDUpdateParams) WithID

WithID adds the id to the user Id update params

func (*UserIDUpdateParams) WithTimeout

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

WithTimeout adds the timeout to the user Id update params

func (*UserIDUpdateParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type UserIDUpdateReader

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

UserIDUpdateReader is a Reader for the UserIDUpdate structure.

func (*UserIDUpdateReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type UserIDUpdateUnauthorized

type UserIDUpdateUnauthorized struct {
	Payload *models.Response
}

UserIDUpdateUnauthorized describes a response with status code 401, with default header values.

Access Denied

func NewUserIDUpdateUnauthorized

func NewUserIDUpdateUnauthorized() *UserIDUpdateUnauthorized

NewUserIDUpdateUnauthorized creates a UserIDUpdateUnauthorized with default headers values

func (*UserIDUpdateUnauthorized) Code

func (o *UserIDUpdateUnauthorized) Code() int

Code gets the status code for the user Id update unauthorized response

func (*UserIDUpdateUnauthorized) Error

func (o *UserIDUpdateUnauthorized) Error() string

func (*UserIDUpdateUnauthorized) GetPayload

func (o *UserIDUpdateUnauthorized) GetPayload() *models.Response

func (*UserIDUpdateUnauthorized) IsClientError

func (o *UserIDUpdateUnauthorized) IsClientError() bool

IsClientError returns true when this user Id update unauthorized response has a 4xx status code

func (*UserIDUpdateUnauthorized) IsCode

func (o *UserIDUpdateUnauthorized) IsCode(code int) bool

IsCode returns true when this user Id update unauthorized response a status code equal to that given

func (*UserIDUpdateUnauthorized) IsRedirect

func (o *UserIDUpdateUnauthorized) IsRedirect() bool

IsRedirect returns true when this user Id update unauthorized response has a 3xx status code

func (*UserIDUpdateUnauthorized) IsServerError

func (o *UserIDUpdateUnauthorized) IsServerError() bool

IsServerError returns true when this user Id update unauthorized response has a 5xx status code

func (*UserIDUpdateUnauthorized) IsSuccess

func (o *UserIDUpdateUnauthorized) IsSuccess() bool

IsSuccess returns true when this user Id update unauthorized response has a 2xx status code

func (*UserIDUpdateUnauthorized) String

func (o *UserIDUpdateUnauthorized) String() string

type UserNameUpdateBadRequest

type UserNameUpdateBadRequest struct {
	Payload *models.Response
}

UserNameUpdateBadRequest describes a response with status code 400, with default header values.

Bad Request

func NewUserNameUpdateBadRequest

func NewUserNameUpdateBadRequest() *UserNameUpdateBadRequest

NewUserNameUpdateBadRequest creates a UserNameUpdateBadRequest with default headers values

func (*UserNameUpdateBadRequest) Code

func (o *UserNameUpdateBadRequest) Code() int

Code gets the status code for the user name update bad request response

func (*UserNameUpdateBadRequest) Error

func (o *UserNameUpdateBadRequest) Error() string

func (*UserNameUpdateBadRequest) GetPayload

func (o *UserNameUpdateBadRequest) GetPayload() *models.Response

func (*UserNameUpdateBadRequest) IsClientError

func (o *UserNameUpdateBadRequest) IsClientError() bool

IsClientError returns true when this user name update bad request response has a 4xx status code

func (*UserNameUpdateBadRequest) IsCode

func (o *UserNameUpdateBadRequest) IsCode(code int) bool

IsCode returns true when this user name update bad request response a status code equal to that given

func (*UserNameUpdateBadRequest) IsRedirect

func (o *UserNameUpdateBadRequest) IsRedirect() bool

IsRedirect returns true when this user name update bad request response has a 3xx status code

func (*UserNameUpdateBadRequest) IsServerError

func (o *UserNameUpdateBadRequest) IsServerError() bool

IsServerError returns true when this user name update bad request response has a 5xx status code

func (*UserNameUpdateBadRequest) IsSuccess

func (o *UserNameUpdateBadRequest) IsSuccess() bool

IsSuccess returns true when this user name update bad request response has a 2xx status code

func (*UserNameUpdateBadRequest) String

func (o *UserNameUpdateBadRequest) String() string

type UserNameUpdateInternalServerError

type UserNameUpdateInternalServerError struct {
	Payload *models.Response
}

UserNameUpdateInternalServerError describes a response with status code 500, with default header values.

Internal Server Error

func NewUserNameUpdateInternalServerError

func NewUserNameUpdateInternalServerError() *UserNameUpdateInternalServerError

NewUserNameUpdateInternalServerError creates a UserNameUpdateInternalServerError with default headers values

func (*UserNameUpdateInternalServerError) Code

Code gets the status code for the user name update internal server error response

func (*UserNameUpdateInternalServerError) Error

func (*UserNameUpdateInternalServerError) GetPayload

func (*UserNameUpdateInternalServerError) IsClientError

func (o *UserNameUpdateInternalServerError) IsClientError() bool

IsClientError returns true when this user name update internal server error response has a 4xx status code

func (*UserNameUpdateInternalServerError) IsCode

func (o *UserNameUpdateInternalServerError) IsCode(code int) bool

IsCode returns true when this user name update internal server error response a status code equal to that given

func (*UserNameUpdateInternalServerError) IsRedirect

func (o *UserNameUpdateInternalServerError) IsRedirect() bool

IsRedirect returns true when this user name update internal server error response has a 3xx status code

func (*UserNameUpdateInternalServerError) IsServerError

func (o *UserNameUpdateInternalServerError) IsServerError() bool

IsServerError returns true when this user name update internal server error response has a 5xx status code

func (*UserNameUpdateInternalServerError) IsSuccess

func (o *UserNameUpdateInternalServerError) IsSuccess() bool

IsSuccess returns true when this user name update internal server error response has a 2xx status code

func (*UserNameUpdateInternalServerError) String

type UserNameUpdateOK

type UserNameUpdateOK struct {
	Payload *models.Response
}

UserNameUpdateOK describes a response with status code 200, with default header values.

OK

func NewUserNameUpdateOK

func NewUserNameUpdateOK() *UserNameUpdateOK

NewUserNameUpdateOK creates a UserNameUpdateOK with default headers values

func (*UserNameUpdateOK) Code

func (o *UserNameUpdateOK) Code() int

Code gets the status code for the user name update o k response

func (*UserNameUpdateOK) Error

func (o *UserNameUpdateOK) Error() string

func (*UserNameUpdateOK) GetPayload

func (o *UserNameUpdateOK) GetPayload() *models.Response

func (*UserNameUpdateOK) IsClientError

func (o *UserNameUpdateOK) IsClientError() bool

IsClientError returns true when this user name update o k response has a 4xx status code

func (*UserNameUpdateOK) IsCode

func (o *UserNameUpdateOK) IsCode(code int) bool

IsCode returns true when this user name update o k response a status code equal to that given

func (*UserNameUpdateOK) IsRedirect

func (o *UserNameUpdateOK) IsRedirect() bool

IsRedirect returns true when this user name update o k response has a 3xx status code

func (*UserNameUpdateOK) IsServerError

func (o *UserNameUpdateOK) IsServerError() bool

IsServerError returns true when this user name update o k response has a 5xx status code

func (*UserNameUpdateOK) IsSuccess

func (o *UserNameUpdateOK) IsSuccess() bool

IsSuccess returns true when this user name update o k response has a 2xx status code

func (*UserNameUpdateOK) String

func (o *UserNameUpdateOK) String() string

type UserNameUpdateParams

type UserNameUpdateParams struct {

	/* Body.

	   User information to be updated in CEDAR.
	*/
	Body *models.UserUpdateRequest

	/* Username.

	   Username of user to update.
	*/
	Username string

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

UserNameUpdateParams contains all the parameters to send to the API endpoint

for the user name update operation.

Typically these are written to a http.Request.

func NewUserNameUpdateParams

func NewUserNameUpdateParams() *UserNameUpdateParams

NewUserNameUpdateParams creates a new UserNameUpdateParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewUserNameUpdateParamsWithContext

func NewUserNameUpdateParamsWithContext(ctx context.Context) *UserNameUpdateParams

NewUserNameUpdateParamsWithContext creates a new UserNameUpdateParams object with the ability to set a context for a request.

func NewUserNameUpdateParamsWithHTTPClient

func NewUserNameUpdateParamsWithHTTPClient(client *http.Client) *UserNameUpdateParams

NewUserNameUpdateParamsWithHTTPClient creates a new UserNameUpdateParams object with the ability to set a custom HTTPClient for a request.

func NewUserNameUpdateParamsWithTimeout

func NewUserNameUpdateParamsWithTimeout(timeout time.Duration) *UserNameUpdateParams

NewUserNameUpdateParamsWithTimeout creates a new UserNameUpdateParams object with the ability to set a timeout on a request.

func (*UserNameUpdateParams) SetBody

func (o *UserNameUpdateParams) SetBody(body *models.UserUpdateRequest)

SetBody adds the body to the user name update params

func (*UserNameUpdateParams) SetContext

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

SetContext adds the context to the user name update params

func (*UserNameUpdateParams) SetDefaults

func (o *UserNameUpdateParams) SetDefaults()

SetDefaults hydrates default values in the user name update params (not the query body).

All values with no default are reset to their zero value.

func (*UserNameUpdateParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the user name update params

func (*UserNameUpdateParams) SetTimeout

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

SetTimeout adds the timeout to the user name update params

func (*UserNameUpdateParams) SetUsername

func (o *UserNameUpdateParams) SetUsername(username string)

SetUsername adds the username to the user name update params

func (*UserNameUpdateParams) WithBody

WithBody adds the body to the user name update params

func (*UserNameUpdateParams) WithContext

WithContext adds the context to the user name update params

func (*UserNameUpdateParams) WithDefaults

func (o *UserNameUpdateParams) WithDefaults() *UserNameUpdateParams

WithDefaults hydrates default values in the user name update params (not the query body).

All values with no default are reset to their zero value.

func (*UserNameUpdateParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the user name update params

func (*UserNameUpdateParams) WithTimeout

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

WithTimeout adds the timeout to the user name update params

func (*UserNameUpdateParams) WithUsername

func (o *UserNameUpdateParams) WithUsername(username string) *UserNameUpdateParams

WithUsername adds the username to the user name update params

func (*UserNameUpdateParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type UserNameUpdateReader

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

UserNameUpdateReader is a Reader for the UserNameUpdate structure.

func (*UserNameUpdateReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type UserNameUpdateUnauthorized

type UserNameUpdateUnauthorized struct {
	Payload *models.Response
}

UserNameUpdateUnauthorized describes a response with status code 401, with default header values.

Access Denied

func NewUserNameUpdateUnauthorized

func NewUserNameUpdateUnauthorized() *UserNameUpdateUnauthorized

NewUserNameUpdateUnauthorized creates a UserNameUpdateUnauthorized with default headers values

func (*UserNameUpdateUnauthorized) Code

func (o *UserNameUpdateUnauthorized) Code() int

Code gets the status code for the user name update unauthorized response

func (*UserNameUpdateUnauthorized) Error

func (*UserNameUpdateUnauthorized) GetPayload

func (o *UserNameUpdateUnauthorized) GetPayload() *models.Response

func (*UserNameUpdateUnauthorized) IsClientError

func (o *UserNameUpdateUnauthorized) IsClientError() bool

IsClientError returns true when this user name update unauthorized response has a 4xx status code

func (*UserNameUpdateUnauthorized) IsCode

func (o *UserNameUpdateUnauthorized) IsCode(code int) bool

IsCode returns true when this user name update unauthorized response a status code equal to that given

func (*UserNameUpdateUnauthorized) IsRedirect

func (o *UserNameUpdateUnauthorized) IsRedirect() bool

IsRedirect returns true when this user name update unauthorized response has a 3xx status code

func (*UserNameUpdateUnauthorized) IsServerError

func (o *UserNameUpdateUnauthorized) IsServerError() bool

IsServerError returns true when this user name update unauthorized response has a 5xx status code

func (*UserNameUpdateUnauthorized) IsSuccess

func (o *UserNameUpdateUnauthorized) IsSuccess() bool

IsSuccess returns true when this user name update unauthorized response has a 2xx status code

func (*UserNameUpdateUnauthorized) String

func (o *UserNameUpdateUnauthorized) String() string

Jump to

Keyboard shortcuts

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