Documentation
¶
Index ¶
- type Client
- func (a *Client) PersonAdd(params *PersonAddParams, authInfo runtime.ClientAuthInfoWriter, ...) (*PersonAddOK, error)
- func (a *Client) PersonFindByID(params *PersonFindByIDParams, authInfo runtime.ClientAuthInfoWriter, ...) (*PersonFindByIDOK, error)
- func (a *Client) PersonFindList(params *PersonFindListParams, authInfo runtime.ClientAuthInfoWriter, ...) (*PersonFindListOK, error)
- func (a *Client) PersonUpdate(params *PersonUpdateParams, authInfo runtime.ClientAuthInfoWriter, ...) (*PersonUpdateOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientOption
- type ClientService
- type PersonAddBadRequest
- func (o *PersonAddBadRequest) Code() int
- func (o *PersonAddBadRequest) Error() string
- func (o *PersonAddBadRequest) GetPayload() *models.Response
- func (o *PersonAddBadRequest) IsClientError() bool
- func (o *PersonAddBadRequest) IsCode(code int) bool
- func (o *PersonAddBadRequest) IsRedirect() bool
- func (o *PersonAddBadRequest) IsServerError() bool
- func (o *PersonAddBadRequest) IsSuccess() bool
- func (o *PersonAddBadRequest) String() string
- type PersonAddInternalServerError
- func (o *PersonAddInternalServerError) Code() int
- func (o *PersonAddInternalServerError) Error() string
- func (o *PersonAddInternalServerError) GetPayload() *models.Response
- func (o *PersonAddInternalServerError) IsClientError() bool
- func (o *PersonAddInternalServerError) IsCode(code int) bool
- func (o *PersonAddInternalServerError) IsRedirect() bool
- func (o *PersonAddInternalServerError) IsServerError() bool
- func (o *PersonAddInternalServerError) IsSuccess() bool
- func (o *PersonAddInternalServerError) String() string
- type PersonAddOK
- func (o *PersonAddOK) Code() int
- func (o *PersonAddOK) Error() string
- func (o *PersonAddOK) GetPayload() *models.Response
- func (o *PersonAddOK) IsClientError() bool
- func (o *PersonAddOK) IsCode(code int) bool
- func (o *PersonAddOK) IsRedirect() bool
- func (o *PersonAddOK) IsServerError() bool
- func (o *PersonAddOK) IsSuccess() bool
- func (o *PersonAddOK) String() string
- type PersonAddParams
- func (o *PersonAddParams) SetBody(body *models.Person)
- func (o *PersonAddParams) SetContext(ctx context.Context)
- func (o *PersonAddParams) SetDefaults()
- func (o *PersonAddParams) SetHTTPClient(client *http.Client)
- func (o *PersonAddParams) SetTimeout(timeout time.Duration)
- func (o *PersonAddParams) WithBody(body *models.Person) *PersonAddParams
- func (o *PersonAddParams) WithContext(ctx context.Context) *PersonAddParams
- func (o *PersonAddParams) WithDefaults() *PersonAddParams
- func (o *PersonAddParams) WithHTTPClient(client *http.Client) *PersonAddParams
- func (o *PersonAddParams) WithTimeout(timeout time.Duration) *PersonAddParams
- func (o *PersonAddParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PersonAddReader
- type PersonAddUnauthorized
- func (o *PersonAddUnauthorized) Code() int
- func (o *PersonAddUnauthorized) Error() string
- func (o *PersonAddUnauthorized) GetPayload() *models.Response
- func (o *PersonAddUnauthorized) IsClientError() bool
- func (o *PersonAddUnauthorized) IsCode(code int) bool
- func (o *PersonAddUnauthorized) IsRedirect() bool
- func (o *PersonAddUnauthorized) IsServerError() bool
- func (o *PersonAddUnauthorized) IsSuccess() bool
- func (o *PersonAddUnauthorized) String() string
- type PersonFindByIDBadRequest
- func (o *PersonFindByIDBadRequest) Code() int
- func (o *PersonFindByIDBadRequest) Error() string
- func (o *PersonFindByIDBadRequest) GetPayload() *models.Response
- func (o *PersonFindByIDBadRequest) IsClientError() bool
- func (o *PersonFindByIDBadRequest) IsCode(code int) bool
- func (o *PersonFindByIDBadRequest) IsRedirect() bool
- func (o *PersonFindByIDBadRequest) IsServerError() bool
- func (o *PersonFindByIDBadRequest) IsSuccess() bool
- func (o *PersonFindByIDBadRequest) String() string
- type PersonFindByIDInternalServerError
- func (o *PersonFindByIDInternalServerError) Code() int
- func (o *PersonFindByIDInternalServerError) Error() string
- func (o *PersonFindByIDInternalServerError) GetPayload() *models.Response
- func (o *PersonFindByIDInternalServerError) IsClientError() bool
- func (o *PersonFindByIDInternalServerError) IsCode(code int) bool
- func (o *PersonFindByIDInternalServerError) IsRedirect() bool
- func (o *PersonFindByIDInternalServerError) IsServerError() bool
- func (o *PersonFindByIDInternalServerError) IsSuccess() bool
- func (o *PersonFindByIDInternalServerError) String() string
- type PersonFindByIDNotFound
- func (o *PersonFindByIDNotFound) Code() int
- func (o *PersonFindByIDNotFound) Error() string
- func (o *PersonFindByIDNotFound) GetPayload() *models.Response
- func (o *PersonFindByIDNotFound) IsClientError() bool
- func (o *PersonFindByIDNotFound) IsCode(code int) bool
- func (o *PersonFindByIDNotFound) IsRedirect() bool
- func (o *PersonFindByIDNotFound) IsServerError() bool
- func (o *PersonFindByIDNotFound) IsSuccess() bool
- func (o *PersonFindByIDNotFound) String() string
- type PersonFindByIDOK
- func (o *PersonFindByIDOK) Code() int
- func (o *PersonFindByIDOK) Error() string
- func (o *PersonFindByIDOK) GetPayload() *models.Person
- func (o *PersonFindByIDOK) IsClientError() bool
- func (o *PersonFindByIDOK) IsCode(code int) bool
- func (o *PersonFindByIDOK) IsRedirect() bool
- func (o *PersonFindByIDOK) IsServerError() bool
- func (o *PersonFindByIDOK) IsSuccess() bool
- func (o *PersonFindByIDOK) String() string
- type PersonFindByIDParams
- func NewPersonFindByIDParams() *PersonFindByIDParams
- func NewPersonFindByIDParamsWithContext(ctx context.Context) *PersonFindByIDParams
- func NewPersonFindByIDParamsWithHTTPClient(client *http.Client) *PersonFindByIDParams
- func NewPersonFindByIDParamsWithTimeout(timeout time.Duration) *PersonFindByIDParams
- func (o *PersonFindByIDParams) SetContext(ctx context.Context)
- func (o *PersonFindByIDParams) SetDefaults()
- func (o *PersonFindByIDParams) SetHTTPClient(client *http.Client)
- func (o *PersonFindByIDParams) SetID(id string)
- func (o *PersonFindByIDParams) SetTimeout(timeout time.Duration)
- func (o *PersonFindByIDParams) WithContext(ctx context.Context) *PersonFindByIDParams
- func (o *PersonFindByIDParams) WithDefaults() *PersonFindByIDParams
- func (o *PersonFindByIDParams) WithHTTPClient(client *http.Client) *PersonFindByIDParams
- func (o *PersonFindByIDParams) WithID(id string) *PersonFindByIDParams
- func (o *PersonFindByIDParams) WithTimeout(timeout time.Duration) *PersonFindByIDParams
- func (o *PersonFindByIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PersonFindByIDReader
- type PersonFindByIDUnauthorized
- func (o *PersonFindByIDUnauthorized) Code() int
- func (o *PersonFindByIDUnauthorized) Error() string
- func (o *PersonFindByIDUnauthorized) GetPayload() *models.Response
- func (o *PersonFindByIDUnauthorized) IsClientError() bool
- func (o *PersonFindByIDUnauthorized) IsCode(code int) bool
- func (o *PersonFindByIDUnauthorized) IsRedirect() bool
- func (o *PersonFindByIDUnauthorized) IsServerError() bool
- func (o *PersonFindByIDUnauthorized) IsSuccess() bool
- func (o *PersonFindByIDUnauthorized) String() string
- type PersonFindListBadRequest
- func (o *PersonFindListBadRequest) Code() int
- func (o *PersonFindListBadRequest) Error() string
- func (o *PersonFindListBadRequest) GetPayload() *models.Response
- func (o *PersonFindListBadRequest) IsClientError() bool
- func (o *PersonFindListBadRequest) IsCode(code int) bool
- func (o *PersonFindListBadRequest) IsRedirect() bool
- func (o *PersonFindListBadRequest) IsServerError() bool
- func (o *PersonFindListBadRequest) IsSuccess() bool
- func (o *PersonFindListBadRequest) String() string
- type PersonFindListInternalServerError
- func (o *PersonFindListInternalServerError) Code() int
- func (o *PersonFindListInternalServerError) Error() string
- func (o *PersonFindListInternalServerError) GetPayload() *models.Response
- func (o *PersonFindListInternalServerError) IsClientError() bool
- func (o *PersonFindListInternalServerError) IsCode(code int) bool
- func (o *PersonFindListInternalServerError) IsRedirect() bool
- func (o *PersonFindListInternalServerError) IsServerError() bool
- func (o *PersonFindListInternalServerError) IsSuccess() bool
- func (o *PersonFindListInternalServerError) String() string
- type PersonFindListOK
- func (o *PersonFindListOK) Code() int
- func (o *PersonFindListOK) Error() string
- func (o *PersonFindListOK) GetPayload() *models.PersonFindResponse
- func (o *PersonFindListOK) IsClientError() bool
- func (o *PersonFindListOK) IsCode(code int) bool
- func (o *PersonFindListOK) IsRedirect() bool
- func (o *PersonFindListOK) IsServerError() bool
- func (o *PersonFindListOK) IsSuccess() bool
- func (o *PersonFindListOK) String() string
- type PersonFindListParams
- func NewPersonFindListParams() *PersonFindListParams
- func NewPersonFindListParamsWithContext(ctx context.Context) *PersonFindListParams
- func NewPersonFindListParamsWithHTTPClient(client *http.Client) *PersonFindListParams
- func NewPersonFindListParamsWithTimeout(timeout time.Duration) *PersonFindListParams
- func (o *PersonFindListParams) SetContext(ctx context.Context)
- func (o *PersonFindListParams) SetDefaults()
- func (o *PersonFindListParams) SetEmail(email *string)
- func (o *PersonFindListParams) SetFirstName(firstName *string)
- func (o *PersonFindListParams) SetHTTPClient(client *http.Client)
- func (o *PersonFindListParams) SetID(id *string)
- func (o *PersonFindListParams) SetLastName(lastName *string)
- func (o *PersonFindListParams) SetPhone(phone *string)
- func (o *PersonFindListParams) SetTimeout(timeout time.Duration)
- func (o *PersonFindListParams) SetUserName(userName *string)
- func (o *PersonFindListParams) WithContext(ctx context.Context) *PersonFindListParams
- func (o *PersonFindListParams) WithDefaults() *PersonFindListParams
- func (o *PersonFindListParams) WithEmail(email *string) *PersonFindListParams
- func (o *PersonFindListParams) WithFirstName(firstName *string) *PersonFindListParams
- func (o *PersonFindListParams) WithHTTPClient(client *http.Client) *PersonFindListParams
- func (o *PersonFindListParams) WithID(id *string) *PersonFindListParams
- func (o *PersonFindListParams) WithLastName(lastName *string) *PersonFindListParams
- func (o *PersonFindListParams) WithPhone(phone *string) *PersonFindListParams
- func (o *PersonFindListParams) WithTimeout(timeout time.Duration) *PersonFindListParams
- func (o *PersonFindListParams) WithUserName(userName *string) *PersonFindListParams
- func (o *PersonFindListParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PersonFindListReader
- type PersonFindListUnauthorized
- func (o *PersonFindListUnauthorized) Code() int
- func (o *PersonFindListUnauthorized) Error() string
- func (o *PersonFindListUnauthorized) GetPayload() *models.Response
- func (o *PersonFindListUnauthorized) IsClientError() bool
- func (o *PersonFindListUnauthorized) IsCode(code int) bool
- func (o *PersonFindListUnauthorized) IsRedirect() bool
- func (o *PersonFindListUnauthorized) IsServerError() bool
- func (o *PersonFindListUnauthorized) IsSuccess() bool
- func (o *PersonFindListUnauthorized) String() string
- type PersonUpdateBadRequest
- func (o *PersonUpdateBadRequest) Code() int
- func (o *PersonUpdateBadRequest) Error() string
- func (o *PersonUpdateBadRequest) GetPayload() *models.Response
- func (o *PersonUpdateBadRequest) IsClientError() bool
- func (o *PersonUpdateBadRequest) IsCode(code int) bool
- func (o *PersonUpdateBadRequest) IsRedirect() bool
- func (o *PersonUpdateBadRequest) IsServerError() bool
- func (o *PersonUpdateBadRequest) IsSuccess() bool
- func (o *PersonUpdateBadRequest) String() string
- type PersonUpdateInternalServerError
- func (o *PersonUpdateInternalServerError) Code() int
- func (o *PersonUpdateInternalServerError) Error() string
- func (o *PersonUpdateInternalServerError) GetPayload() *models.Response
- func (o *PersonUpdateInternalServerError) IsClientError() bool
- func (o *PersonUpdateInternalServerError) IsCode(code int) bool
- func (o *PersonUpdateInternalServerError) IsRedirect() bool
- func (o *PersonUpdateInternalServerError) IsServerError() bool
- func (o *PersonUpdateInternalServerError) IsSuccess() bool
- func (o *PersonUpdateInternalServerError) String() string
- type PersonUpdateOK
- func (o *PersonUpdateOK) Code() int
- func (o *PersonUpdateOK) Error() string
- func (o *PersonUpdateOK) GetPayload() *models.Response
- func (o *PersonUpdateOK) IsClientError() bool
- func (o *PersonUpdateOK) IsCode(code int) bool
- func (o *PersonUpdateOK) IsRedirect() bool
- func (o *PersonUpdateOK) IsServerError() bool
- func (o *PersonUpdateOK) IsSuccess() bool
- func (o *PersonUpdateOK) String() string
- type PersonUpdateParams
- func (o *PersonUpdateParams) SetBody(body *models.Person)
- func (o *PersonUpdateParams) SetContext(ctx context.Context)
- func (o *PersonUpdateParams) SetDefaults()
- func (o *PersonUpdateParams) SetHTTPClient(client *http.Client)
- func (o *PersonUpdateParams) SetTimeout(timeout time.Duration)
- func (o *PersonUpdateParams) WithBody(body *models.Person) *PersonUpdateParams
- func (o *PersonUpdateParams) WithContext(ctx context.Context) *PersonUpdateParams
- func (o *PersonUpdateParams) WithDefaults() *PersonUpdateParams
- func (o *PersonUpdateParams) WithHTTPClient(client *http.Client) *PersonUpdateParams
- func (o *PersonUpdateParams) WithTimeout(timeout time.Duration) *PersonUpdateParams
- func (o *PersonUpdateParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PersonUpdateReader
- type PersonUpdateUnauthorized
- func (o *PersonUpdateUnauthorized) Code() int
- func (o *PersonUpdateUnauthorized) Error() string
- func (o *PersonUpdateUnauthorized) GetPayload() *models.Response
- func (o *PersonUpdateUnauthorized) IsClientError() bool
- func (o *PersonUpdateUnauthorized) IsCode(code int) bool
- func (o *PersonUpdateUnauthorized) IsRedirect() bool
- func (o *PersonUpdateUnauthorized) IsServerError() bool
- func (o *PersonUpdateUnauthorized) IsSuccess() bool
- func (o *PersonUpdateUnauthorized) String() string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client for person API
func (*Client) PersonAdd ¶
func (a *Client) PersonAdd(params *PersonAddParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PersonAddOK, error)
PersonAdd adds a person record to alfabet this interface takes in id user name first name last name phone and email
Add a person record to Alfabet. This interface takes in id, userName, firstName, lastName, phone and email.
func (*Client) PersonFindByID ¶
func (a *Client) PersonFindByID(params *PersonFindByIDParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PersonFindByIDOK, error)
PersonFindByID retrieves an existing person or a sigle person record based on the users e u a id
Retrieve an existing person or a sigle person record based on the users EUA id.
func (*Client) PersonFindList ¶
func (a *Client) PersonFindList(params *PersonFindListParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PersonFindListOK, error)
PersonFindList retrieves a list of persons based on the inputs passed in
Retrieve a list of persons based on the inputs passed in.
func (*Client) PersonUpdate ¶
func (a *Client) PersonUpdate(params *PersonUpdateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PersonUpdateOK, error)
PersonUpdate updates a person record to alfabet this interface takes in id user name first name last name phone and email
Update a person record to Alfabet. This interface takes in id, userName, firstName, lastName, phone and email.
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 is the option for Client methods
type ClientService ¶
type ClientService interface { PersonAdd(params *PersonAddParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PersonAddOK, error) PersonFindByID(params *PersonFindByIDParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PersonFindByIDOK, error) PersonFindList(params *PersonFindListParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PersonFindListOK, error) PersonUpdate(params *PersonUpdateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PersonUpdateOK, 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 person API client.
type PersonAddBadRequest ¶
PersonAddBadRequest describes a response with status code 400, with default header values.
Bad Request
func NewPersonAddBadRequest ¶
func NewPersonAddBadRequest() *PersonAddBadRequest
NewPersonAddBadRequest creates a PersonAddBadRequest with default headers values
func (*PersonAddBadRequest) Code ¶
func (o *PersonAddBadRequest) Code() int
Code gets the status code for the person add bad request response
func (*PersonAddBadRequest) Error ¶
func (o *PersonAddBadRequest) Error() string
func (*PersonAddBadRequest) GetPayload ¶
func (o *PersonAddBadRequest) GetPayload() *models.Response
func (*PersonAddBadRequest) IsClientError ¶
func (o *PersonAddBadRequest) IsClientError() bool
IsClientError returns true when this person add bad request response has a 4xx status code
func (*PersonAddBadRequest) IsCode ¶
func (o *PersonAddBadRequest) IsCode(code int) bool
IsCode returns true when this person add bad request response a status code equal to that given
func (*PersonAddBadRequest) IsRedirect ¶
func (o *PersonAddBadRequest) IsRedirect() bool
IsRedirect returns true when this person add bad request response has a 3xx status code
func (*PersonAddBadRequest) IsServerError ¶
func (o *PersonAddBadRequest) IsServerError() bool
IsServerError returns true when this person add bad request response has a 5xx status code
func (*PersonAddBadRequest) IsSuccess ¶
func (o *PersonAddBadRequest) IsSuccess() bool
IsSuccess returns true when this person add bad request response has a 2xx status code
func (*PersonAddBadRequest) String ¶
func (o *PersonAddBadRequest) String() string
type PersonAddInternalServerError ¶
PersonAddInternalServerError describes a response with status code 500, with default header values.
Internal Server Error
func NewPersonAddInternalServerError ¶
func NewPersonAddInternalServerError() *PersonAddInternalServerError
NewPersonAddInternalServerError creates a PersonAddInternalServerError with default headers values
func (*PersonAddInternalServerError) Code ¶
func (o *PersonAddInternalServerError) Code() int
Code gets the status code for the person add internal server error response
func (*PersonAddInternalServerError) Error ¶
func (o *PersonAddInternalServerError) Error() string
func (*PersonAddInternalServerError) GetPayload ¶
func (o *PersonAddInternalServerError) GetPayload() *models.Response
func (*PersonAddInternalServerError) IsClientError ¶
func (o *PersonAddInternalServerError) IsClientError() bool
IsClientError returns true when this person add internal server error response has a 4xx status code
func (*PersonAddInternalServerError) IsCode ¶
func (o *PersonAddInternalServerError) IsCode(code int) bool
IsCode returns true when this person add internal server error response a status code equal to that given
func (*PersonAddInternalServerError) IsRedirect ¶
func (o *PersonAddInternalServerError) IsRedirect() bool
IsRedirect returns true when this person add internal server error response has a 3xx status code
func (*PersonAddInternalServerError) IsServerError ¶
func (o *PersonAddInternalServerError) IsServerError() bool
IsServerError returns true when this person add internal server error response has a 5xx status code
func (*PersonAddInternalServerError) IsSuccess ¶
func (o *PersonAddInternalServerError) IsSuccess() bool
IsSuccess returns true when this person add internal server error response has a 2xx status code
func (*PersonAddInternalServerError) String ¶
func (o *PersonAddInternalServerError) String() string
type PersonAddOK ¶
PersonAddOK describes a response with status code 200, with default header values.
OK
func NewPersonAddOK ¶
func NewPersonAddOK() *PersonAddOK
NewPersonAddOK creates a PersonAddOK with default headers values
func (*PersonAddOK) Code ¶
func (o *PersonAddOK) Code() int
Code gets the status code for the person add o k response
func (*PersonAddOK) Error ¶
func (o *PersonAddOK) Error() string
func (*PersonAddOK) GetPayload ¶
func (o *PersonAddOK) GetPayload() *models.Response
func (*PersonAddOK) IsClientError ¶
func (o *PersonAddOK) IsClientError() bool
IsClientError returns true when this person add o k response has a 4xx status code
func (*PersonAddOK) IsCode ¶
func (o *PersonAddOK) IsCode(code int) bool
IsCode returns true when this person add o k response a status code equal to that given
func (*PersonAddOK) IsRedirect ¶
func (o *PersonAddOK) IsRedirect() bool
IsRedirect returns true when this person add o k response has a 3xx status code
func (*PersonAddOK) IsServerError ¶
func (o *PersonAddOK) IsServerError() bool
IsServerError returns true when this person add o k response has a 5xx status code
func (*PersonAddOK) IsSuccess ¶
func (o *PersonAddOK) IsSuccess() bool
IsSuccess returns true when this person add o k response has a 2xx status code
func (*PersonAddOK) String ¶
func (o *PersonAddOK) String() string
type PersonAddParams ¶
type PersonAddParams struct { /* Body. Person information to be added to Alfabet. */ Body *models.Person Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
PersonAddParams contains all the parameters to send to the API endpoint
for the person add operation. Typically these are written to a http.Request.
func NewPersonAddParams ¶
func NewPersonAddParams() *PersonAddParams
NewPersonAddParams creates a new PersonAddParams 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 NewPersonAddParamsWithContext ¶
func NewPersonAddParamsWithContext(ctx context.Context) *PersonAddParams
NewPersonAddParamsWithContext creates a new PersonAddParams object with the ability to set a context for a request.
func NewPersonAddParamsWithHTTPClient ¶
func NewPersonAddParamsWithHTTPClient(client *http.Client) *PersonAddParams
NewPersonAddParamsWithHTTPClient creates a new PersonAddParams object with the ability to set a custom HTTPClient for a request.
func NewPersonAddParamsWithTimeout ¶
func NewPersonAddParamsWithTimeout(timeout time.Duration) *PersonAddParams
NewPersonAddParamsWithTimeout creates a new PersonAddParams object with the ability to set a timeout on a request.
func (*PersonAddParams) SetBody ¶
func (o *PersonAddParams) SetBody(body *models.Person)
SetBody adds the body to the person add params
func (*PersonAddParams) SetContext ¶
func (o *PersonAddParams) SetContext(ctx context.Context)
SetContext adds the context to the person add params
func (*PersonAddParams) SetDefaults ¶
func (o *PersonAddParams) SetDefaults()
SetDefaults hydrates default values in the person add params (not the query body).
All values with no default are reset to their zero value.
func (*PersonAddParams) SetHTTPClient ¶
func (o *PersonAddParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the person add params
func (*PersonAddParams) SetTimeout ¶
func (o *PersonAddParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the person add params
func (*PersonAddParams) WithBody ¶
func (o *PersonAddParams) WithBody(body *models.Person) *PersonAddParams
WithBody adds the body to the person add params
func (*PersonAddParams) WithContext ¶
func (o *PersonAddParams) WithContext(ctx context.Context) *PersonAddParams
WithContext adds the context to the person add params
func (*PersonAddParams) WithDefaults ¶
func (o *PersonAddParams) WithDefaults() *PersonAddParams
WithDefaults hydrates default values in the person add params (not the query body).
All values with no default are reset to their zero value.
func (*PersonAddParams) WithHTTPClient ¶
func (o *PersonAddParams) WithHTTPClient(client *http.Client) *PersonAddParams
WithHTTPClient adds the HTTPClient to the person add params
func (*PersonAddParams) WithTimeout ¶
func (o *PersonAddParams) WithTimeout(timeout time.Duration) *PersonAddParams
WithTimeout adds the timeout to the person add params
func (*PersonAddParams) WriteToRequest ¶
func (o *PersonAddParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PersonAddReader ¶
type PersonAddReader struct {
// contains filtered or unexported fields
}
PersonAddReader is a Reader for the PersonAdd structure.
func (*PersonAddReader) ReadResponse ¶
func (o *PersonAddReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PersonAddUnauthorized ¶
type PersonAddUnauthorized struct {
}PersonAddUnauthorized describes a response with status code 401, with default header values.
Access Denied
func NewPersonAddUnauthorized ¶
func NewPersonAddUnauthorized() *PersonAddUnauthorized
NewPersonAddUnauthorized creates a PersonAddUnauthorized with default headers values
func (*PersonAddUnauthorized) Code ¶
func (o *PersonAddUnauthorized) Code() int
Code gets the status code for the person add unauthorized response
func (*PersonAddUnauthorized) Error ¶
func (o *PersonAddUnauthorized) Error() string
func (*PersonAddUnauthorized) GetPayload ¶
func (o *PersonAddUnauthorized) GetPayload() *models.Response
func (*PersonAddUnauthorized) IsClientError ¶
func (o *PersonAddUnauthorized) IsClientError() bool
IsClientError returns true when this person add unauthorized response has a 4xx status code
func (*PersonAddUnauthorized) IsCode ¶
func (o *PersonAddUnauthorized) IsCode(code int) bool
IsCode returns true when this person add unauthorized response a status code equal to that given
func (*PersonAddUnauthorized) IsRedirect ¶
func (o *PersonAddUnauthorized) IsRedirect() bool
IsRedirect returns true when this person add unauthorized response has a 3xx status code
func (*PersonAddUnauthorized) IsServerError ¶
func (o *PersonAddUnauthorized) IsServerError() bool
IsServerError returns true when this person add unauthorized response has a 5xx status code
func (*PersonAddUnauthorized) IsSuccess ¶
func (o *PersonAddUnauthorized) IsSuccess() bool
IsSuccess returns true when this person add unauthorized response has a 2xx status code
func (*PersonAddUnauthorized) String ¶
func (o *PersonAddUnauthorized) String() string
type PersonFindByIDBadRequest ¶
PersonFindByIDBadRequest describes a response with status code 400, with default header values.
Bad Request
func NewPersonFindByIDBadRequest ¶
func NewPersonFindByIDBadRequest() *PersonFindByIDBadRequest
NewPersonFindByIDBadRequest creates a PersonFindByIDBadRequest with default headers values
func (*PersonFindByIDBadRequest) Code ¶
func (o *PersonFindByIDBadRequest) Code() int
Code gets the status code for the person find by Id bad request response
func (*PersonFindByIDBadRequest) Error ¶
func (o *PersonFindByIDBadRequest) Error() string
func (*PersonFindByIDBadRequest) GetPayload ¶
func (o *PersonFindByIDBadRequest) GetPayload() *models.Response
func (*PersonFindByIDBadRequest) IsClientError ¶
func (o *PersonFindByIDBadRequest) IsClientError() bool
IsClientError returns true when this person find by Id bad request response has a 4xx status code
func (*PersonFindByIDBadRequest) IsCode ¶
func (o *PersonFindByIDBadRequest) IsCode(code int) bool
IsCode returns true when this person find by Id bad request response a status code equal to that given
func (*PersonFindByIDBadRequest) IsRedirect ¶
func (o *PersonFindByIDBadRequest) IsRedirect() bool
IsRedirect returns true when this person find by Id bad request response has a 3xx status code
func (*PersonFindByIDBadRequest) IsServerError ¶
func (o *PersonFindByIDBadRequest) IsServerError() bool
IsServerError returns true when this person find by Id bad request response has a 5xx status code
func (*PersonFindByIDBadRequest) IsSuccess ¶
func (o *PersonFindByIDBadRequest) IsSuccess() bool
IsSuccess returns true when this person find by Id bad request response has a 2xx status code
func (*PersonFindByIDBadRequest) String ¶
func (o *PersonFindByIDBadRequest) String() string
type PersonFindByIDInternalServerError ¶
PersonFindByIDInternalServerError describes a response with status code 500, with default header values.
Internal Server Error
func NewPersonFindByIDInternalServerError ¶
func NewPersonFindByIDInternalServerError() *PersonFindByIDInternalServerError
NewPersonFindByIDInternalServerError creates a PersonFindByIDInternalServerError with default headers values
func (*PersonFindByIDInternalServerError) Code ¶
func (o *PersonFindByIDInternalServerError) Code() int
Code gets the status code for the person find by Id internal server error response
func (*PersonFindByIDInternalServerError) Error ¶
func (o *PersonFindByIDInternalServerError) Error() string
func (*PersonFindByIDInternalServerError) GetPayload ¶
func (o *PersonFindByIDInternalServerError) GetPayload() *models.Response
func (*PersonFindByIDInternalServerError) IsClientError ¶
func (o *PersonFindByIDInternalServerError) IsClientError() bool
IsClientError returns true when this person find by Id internal server error response has a 4xx status code
func (*PersonFindByIDInternalServerError) IsCode ¶
func (o *PersonFindByIDInternalServerError) IsCode(code int) bool
IsCode returns true when this person find by Id internal server error response a status code equal to that given
func (*PersonFindByIDInternalServerError) IsRedirect ¶
func (o *PersonFindByIDInternalServerError) IsRedirect() bool
IsRedirect returns true when this person find by Id internal server error response has a 3xx status code
func (*PersonFindByIDInternalServerError) IsServerError ¶
func (o *PersonFindByIDInternalServerError) IsServerError() bool
IsServerError returns true when this person find by Id internal server error response has a 5xx status code
func (*PersonFindByIDInternalServerError) IsSuccess ¶
func (o *PersonFindByIDInternalServerError) IsSuccess() bool
IsSuccess returns true when this person find by Id internal server error response has a 2xx status code
func (*PersonFindByIDInternalServerError) String ¶
func (o *PersonFindByIDInternalServerError) String() string
type PersonFindByIDNotFound ¶
PersonFindByIDNotFound describes a response with status code 404, with default header values.
Not Found
func NewPersonFindByIDNotFound ¶
func NewPersonFindByIDNotFound() *PersonFindByIDNotFound
NewPersonFindByIDNotFound creates a PersonFindByIDNotFound with default headers values
func (*PersonFindByIDNotFound) Code ¶
func (o *PersonFindByIDNotFound) Code() int
Code gets the status code for the person find by Id not found response
func (*PersonFindByIDNotFound) Error ¶
func (o *PersonFindByIDNotFound) Error() string
func (*PersonFindByIDNotFound) GetPayload ¶
func (o *PersonFindByIDNotFound) GetPayload() *models.Response
func (*PersonFindByIDNotFound) IsClientError ¶
func (o *PersonFindByIDNotFound) IsClientError() bool
IsClientError returns true when this person find by Id not found response has a 4xx status code
func (*PersonFindByIDNotFound) IsCode ¶
func (o *PersonFindByIDNotFound) IsCode(code int) bool
IsCode returns true when this person find by Id not found response a status code equal to that given
func (*PersonFindByIDNotFound) IsRedirect ¶
func (o *PersonFindByIDNotFound) IsRedirect() bool
IsRedirect returns true when this person find by Id not found response has a 3xx status code
func (*PersonFindByIDNotFound) IsServerError ¶
func (o *PersonFindByIDNotFound) IsServerError() bool
IsServerError returns true when this person find by Id not found response has a 5xx status code
func (*PersonFindByIDNotFound) IsSuccess ¶
func (o *PersonFindByIDNotFound) IsSuccess() bool
IsSuccess returns true when this person find by Id not found response has a 2xx status code
func (*PersonFindByIDNotFound) String ¶
func (o *PersonFindByIDNotFound) String() string
type PersonFindByIDOK ¶
PersonFindByIDOK describes a response with status code 200, with default header values.
OK
func NewPersonFindByIDOK ¶
func NewPersonFindByIDOK() *PersonFindByIDOK
NewPersonFindByIDOK creates a PersonFindByIDOK with default headers values
func (*PersonFindByIDOK) Code ¶
func (o *PersonFindByIDOK) Code() int
Code gets the status code for the person find by Id o k response
func (*PersonFindByIDOK) Error ¶
func (o *PersonFindByIDOK) Error() string
func (*PersonFindByIDOK) GetPayload ¶
func (o *PersonFindByIDOK) GetPayload() *models.Person
func (*PersonFindByIDOK) IsClientError ¶
func (o *PersonFindByIDOK) IsClientError() bool
IsClientError returns true when this person find by Id o k response has a 4xx status code
func (*PersonFindByIDOK) IsCode ¶
func (o *PersonFindByIDOK) IsCode(code int) bool
IsCode returns true when this person find by Id o k response a status code equal to that given
func (*PersonFindByIDOK) IsRedirect ¶
func (o *PersonFindByIDOK) IsRedirect() bool
IsRedirect returns true when this person find by Id o k response has a 3xx status code
func (*PersonFindByIDOK) IsServerError ¶
func (o *PersonFindByIDOK) IsServerError() bool
IsServerError returns true when this person find by Id o k response has a 5xx status code
func (*PersonFindByIDOK) IsSuccess ¶
func (o *PersonFindByIDOK) IsSuccess() bool
IsSuccess returns true when this person find by Id o k response has a 2xx status code
func (*PersonFindByIDOK) String ¶
func (o *PersonFindByIDOK) String() string
type PersonFindByIDParams ¶
type PersonFindByIDParams struct { /* ID. ID of person to retrieve. */ ID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
PersonFindByIDParams contains all the parameters to send to the API endpoint
for the person find by Id operation. Typically these are written to a http.Request.
func NewPersonFindByIDParams ¶
func NewPersonFindByIDParams() *PersonFindByIDParams
NewPersonFindByIDParams creates a new PersonFindByIDParams 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 NewPersonFindByIDParamsWithContext ¶
func NewPersonFindByIDParamsWithContext(ctx context.Context) *PersonFindByIDParams
NewPersonFindByIDParamsWithContext creates a new PersonFindByIDParams object with the ability to set a context for a request.
func NewPersonFindByIDParamsWithHTTPClient ¶
func NewPersonFindByIDParamsWithHTTPClient(client *http.Client) *PersonFindByIDParams
NewPersonFindByIDParamsWithHTTPClient creates a new PersonFindByIDParams object with the ability to set a custom HTTPClient for a request.
func NewPersonFindByIDParamsWithTimeout ¶
func NewPersonFindByIDParamsWithTimeout(timeout time.Duration) *PersonFindByIDParams
NewPersonFindByIDParamsWithTimeout creates a new PersonFindByIDParams object with the ability to set a timeout on a request.
func (*PersonFindByIDParams) SetContext ¶
func (o *PersonFindByIDParams) SetContext(ctx context.Context)
SetContext adds the context to the person find by Id params
func (*PersonFindByIDParams) SetDefaults ¶
func (o *PersonFindByIDParams) SetDefaults()
SetDefaults hydrates default values in the person find by Id params (not the query body).
All values with no default are reset to their zero value.
func (*PersonFindByIDParams) SetHTTPClient ¶
func (o *PersonFindByIDParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the person find by Id params
func (*PersonFindByIDParams) SetID ¶
func (o *PersonFindByIDParams) SetID(id string)
SetID adds the id to the person find by Id params
func (*PersonFindByIDParams) SetTimeout ¶
func (o *PersonFindByIDParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the person find by Id params
func (*PersonFindByIDParams) WithContext ¶
func (o *PersonFindByIDParams) WithContext(ctx context.Context) *PersonFindByIDParams
WithContext adds the context to the person find by Id params
func (*PersonFindByIDParams) WithDefaults ¶
func (o *PersonFindByIDParams) WithDefaults() *PersonFindByIDParams
WithDefaults hydrates default values in the person find by Id params (not the query body).
All values with no default are reset to their zero value.
func (*PersonFindByIDParams) WithHTTPClient ¶
func (o *PersonFindByIDParams) WithHTTPClient(client *http.Client) *PersonFindByIDParams
WithHTTPClient adds the HTTPClient to the person find by Id params
func (*PersonFindByIDParams) WithID ¶
func (o *PersonFindByIDParams) WithID(id string) *PersonFindByIDParams
WithID adds the id to the person find by Id params
func (*PersonFindByIDParams) WithTimeout ¶
func (o *PersonFindByIDParams) WithTimeout(timeout time.Duration) *PersonFindByIDParams
WithTimeout adds the timeout to the person find by Id params
func (*PersonFindByIDParams) WriteToRequest ¶
func (o *PersonFindByIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PersonFindByIDReader ¶
type PersonFindByIDReader struct {
// contains filtered or unexported fields
}
PersonFindByIDReader is a Reader for the PersonFindByID structure.
func (*PersonFindByIDReader) ReadResponse ¶
func (o *PersonFindByIDReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PersonFindByIDUnauthorized ¶
type PersonFindByIDUnauthorized struct {
}PersonFindByIDUnauthorized describes a response with status code 401, with default header values.
Access Denied
func NewPersonFindByIDUnauthorized ¶
func NewPersonFindByIDUnauthorized() *PersonFindByIDUnauthorized
NewPersonFindByIDUnauthorized creates a PersonFindByIDUnauthorized with default headers values
func (*PersonFindByIDUnauthorized) Code ¶
func (o *PersonFindByIDUnauthorized) Code() int
Code gets the status code for the person find by Id unauthorized response
func (*PersonFindByIDUnauthorized) Error ¶
func (o *PersonFindByIDUnauthorized) Error() string
func (*PersonFindByIDUnauthorized) GetPayload ¶
func (o *PersonFindByIDUnauthorized) GetPayload() *models.Response
func (*PersonFindByIDUnauthorized) IsClientError ¶
func (o *PersonFindByIDUnauthorized) IsClientError() bool
IsClientError returns true when this person find by Id unauthorized response has a 4xx status code
func (*PersonFindByIDUnauthorized) IsCode ¶
func (o *PersonFindByIDUnauthorized) IsCode(code int) bool
IsCode returns true when this person find by Id unauthorized response a status code equal to that given
func (*PersonFindByIDUnauthorized) IsRedirect ¶
func (o *PersonFindByIDUnauthorized) IsRedirect() bool
IsRedirect returns true when this person find by Id unauthorized response has a 3xx status code
func (*PersonFindByIDUnauthorized) IsServerError ¶
func (o *PersonFindByIDUnauthorized) IsServerError() bool
IsServerError returns true when this person find by Id unauthorized response has a 5xx status code
func (*PersonFindByIDUnauthorized) IsSuccess ¶
func (o *PersonFindByIDUnauthorized) IsSuccess() bool
IsSuccess returns true when this person find by Id unauthorized response has a 2xx status code
func (*PersonFindByIDUnauthorized) String ¶
func (o *PersonFindByIDUnauthorized) String() string
type PersonFindListBadRequest ¶
PersonFindListBadRequest describes a response with status code 400, with default header values.
Bad Request
func NewPersonFindListBadRequest ¶
func NewPersonFindListBadRequest() *PersonFindListBadRequest
NewPersonFindListBadRequest creates a PersonFindListBadRequest with default headers values
func (*PersonFindListBadRequest) Code ¶
func (o *PersonFindListBadRequest) Code() int
Code gets the status code for the person find list bad request response
func (*PersonFindListBadRequest) Error ¶
func (o *PersonFindListBadRequest) Error() string
func (*PersonFindListBadRequest) GetPayload ¶
func (o *PersonFindListBadRequest) GetPayload() *models.Response
func (*PersonFindListBadRequest) IsClientError ¶
func (o *PersonFindListBadRequest) IsClientError() bool
IsClientError returns true when this person find list bad request response has a 4xx status code
func (*PersonFindListBadRequest) IsCode ¶
func (o *PersonFindListBadRequest) IsCode(code int) bool
IsCode returns true when this person find list bad request response a status code equal to that given
func (*PersonFindListBadRequest) IsRedirect ¶
func (o *PersonFindListBadRequest) IsRedirect() bool
IsRedirect returns true when this person find list bad request response has a 3xx status code
func (*PersonFindListBadRequest) IsServerError ¶
func (o *PersonFindListBadRequest) IsServerError() bool
IsServerError returns true when this person find list bad request response has a 5xx status code
func (*PersonFindListBadRequest) IsSuccess ¶
func (o *PersonFindListBadRequest) IsSuccess() bool
IsSuccess returns true when this person find list bad request response has a 2xx status code
func (*PersonFindListBadRequest) String ¶
func (o *PersonFindListBadRequest) String() string
type PersonFindListInternalServerError ¶
PersonFindListInternalServerError describes a response with status code 500, with default header values.
Internal Server Error
func NewPersonFindListInternalServerError ¶
func NewPersonFindListInternalServerError() *PersonFindListInternalServerError
NewPersonFindListInternalServerError creates a PersonFindListInternalServerError with default headers values
func (*PersonFindListInternalServerError) Code ¶
func (o *PersonFindListInternalServerError) Code() int
Code gets the status code for the person find list internal server error response
func (*PersonFindListInternalServerError) Error ¶
func (o *PersonFindListInternalServerError) Error() string
func (*PersonFindListInternalServerError) GetPayload ¶
func (o *PersonFindListInternalServerError) GetPayload() *models.Response
func (*PersonFindListInternalServerError) IsClientError ¶
func (o *PersonFindListInternalServerError) IsClientError() bool
IsClientError returns true when this person find list internal server error response has a 4xx status code
func (*PersonFindListInternalServerError) IsCode ¶
func (o *PersonFindListInternalServerError) IsCode(code int) bool
IsCode returns true when this person find list internal server error response a status code equal to that given
func (*PersonFindListInternalServerError) IsRedirect ¶
func (o *PersonFindListInternalServerError) IsRedirect() bool
IsRedirect returns true when this person find list internal server error response has a 3xx status code
func (*PersonFindListInternalServerError) IsServerError ¶
func (o *PersonFindListInternalServerError) IsServerError() bool
IsServerError returns true when this person find list internal server error response has a 5xx status code
func (*PersonFindListInternalServerError) IsSuccess ¶
func (o *PersonFindListInternalServerError) IsSuccess() bool
IsSuccess returns true when this person find list internal server error response has a 2xx status code
func (*PersonFindListInternalServerError) String ¶
func (o *PersonFindListInternalServerError) String() string
type PersonFindListOK ¶
type PersonFindListOK struct {
Payload *models.PersonFindResponse
}
PersonFindListOK describes a response with status code 200, with default header values.
OK
func NewPersonFindListOK ¶
func NewPersonFindListOK() *PersonFindListOK
NewPersonFindListOK creates a PersonFindListOK with default headers values
func (*PersonFindListOK) Code ¶
func (o *PersonFindListOK) Code() int
Code gets the status code for the person find list o k response
func (*PersonFindListOK) Error ¶
func (o *PersonFindListOK) Error() string
func (*PersonFindListOK) GetPayload ¶
func (o *PersonFindListOK) GetPayload() *models.PersonFindResponse
func (*PersonFindListOK) IsClientError ¶
func (o *PersonFindListOK) IsClientError() bool
IsClientError returns true when this person find list o k response has a 4xx status code
func (*PersonFindListOK) IsCode ¶
func (o *PersonFindListOK) IsCode(code int) bool
IsCode returns true when this person find list o k response a status code equal to that given
func (*PersonFindListOK) IsRedirect ¶
func (o *PersonFindListOK) IsRedirect() bool
IsRedirect returns true when this person find list o k response has a 3xx status code
func (*PersonFindListOK) IsServerError ¶
func (o *PersonFindListOK) IsServerError() bool
IsServerError returns true when this person find list o k response has a 5xx status code
func (*PersonFindListOK) IsSuccess ¶
func (o *PersonFindListOK) IsSuccess() bool
IsSuccess returns true when this person find list o k response has a 2xx status code
func (*PersonFindListOK) String ¶
func (o *PersonFindListOK) String() string
type PersonFindListParams ¶
type PersonFindListParams struct { /* Email. A person's email. */ Email *string /* FirstName. A person's first name. */ FirstName *string /* ID. A person's EUA id. */ ID *string /* LastName. A person's last name. */ LastName *string /* Phone. A person's phone number. */ Phone *string /* UserName. A person's username. */ UserName *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
PersonFindListParams contains all the parameters to send to the API endpoint
for the person find list operation. Typically these are written to a http.Request.
func NewPersonFindListParams ¶
func NewPersonFindListParams() *PersonFindListParams
NewPersonFindListParams creates a new PersonFindListParams 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 NewPersonFindListParamsWithContext ¶
func NewPersonFindListParamsWithContext(ctx context.Context) *PersonFindListParams
NewPersonFindListParamsWithContext creates a new PersonFindListParams object with the ability to set a context for a request.
func NewPersonFindListParamsWithHTTPClient ¶
func NewPersonFindListParamsWithHTTPClient(client *http.Client) *PersonFindListParams
NewPersonFindListParamsWithHTTPClient creates a new PersonFindListParams object with the ability to set a custom HTTPClient for a request.
func NewPersonFindListParamsWithTimeout ¶
func NewPersonFindListParamsWithTimeout(timeout time.Duration) *PersonFindListParams
NewPersonFindListParamsWithTimeout creates a new PersonFindListParams object with the ability to set a timeout on a request.
func (*PersonFindListParams) SetContext ¶
func (o *PersonFindListParams) SetContext(ctx context.Context)
SetContext adds the context to the person find list params
func (*PersonFindListParams) SetDefaults ¶
func (o *PersonFindListParams) SetDefaults()
SetDefaults hydrates default values in the person find list params (not the query body).
All values with no default are reset to their zero value.
func (*PersonFindListParams) SetEmail ¶
func (o *PersonFindListParams) SetEmail(email *string)
SetEmail adds the email to the person find list params
func (*PersonFindListParams) SetFirstName ¶
func (o *PersonFindListParams) SetFirstName(firstName *string)
SetFirstName adds the firstName to the person find list params
func (*PersonFindListParams) SetHTTPClient ¶
func (o *PersonFindListParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the person find list params
func (*PersonFindListParams) SetID ¶
func (o *PersonFindListParams) SetID(id *string)
SetID adds the id to the person find list params
func (*PersonFindListParams) SetLastName ¶
func (o *PersonFindListParams) SetLastName(lastName *string)
SetLastName adds the lastName to the person find list params
func (*PersonFindListParams) SetPhone ¶
func (o *PersonFindListParams) SetPhone(phone *string)
SetPhone adds the phone to the person find list params
func (*PersonFindListParams) SetTimeout ¶
func (o *PersonFindListParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the person find list params
func (*PersonFindListParams) SetUserName ¶
func (o *PersonFindListParams) SetUserName(userName *string)
SetUserName adds the userName to the person find list params
func (*PersonFindListParams) WithContext ¶
func (o *PersonFindListParams) WithContext(ctx context.Context) *PersonFindListParams
WithContext adds the context to the person find list params
func (*PersonFindListParams) WithDefaults ¶
func (o *PersonFindListParams) WithDefaults() *PersonFindListParams
WithDefaults hydrates default values in the person find list params (not the query body).
All values with no default are reset to their zero value.
func (*PersonFindListParams) WithEmail ¶
func (o *PersonFindListParams) WithEmail(email *string) *PersonFindListParams
WithEmail adds the email to the person find list params
func (*PersonFindListParams) WithFirstName ¶
func (o *PersonFindListParams) WithFirstName(firstName *string) *PersonFindListParams
WithFirstName adds the firstName to the person find list params
func (*PersonFindListParams) WithHTTPClient ¶
func (o *PersonFindListParams) WithHTTPClient(client *http.Client) *PersonFindListParams
WithHTTPClient adds the HTTPClient to the person find list params
func (*PersonFindListParams) WithID ¶
func (o *PersonFindListParams) WithID(id *string) *PersonFindListParams
WithID adds the id to the person find list params
func (*PersonFindListParams) WithLastName ¶
func (o *PersonFindListParams) WithLastName(lastName *string) *PersonFindListParams
WithLastName adds the lastName to the person find list params
func (*PersonFindListParams) WithPhone ¶
func (o *PersonFindListParams) WithPhone(phone *string) *PersonFindListParams
WithPhone adds the phone to the person find list params
func (*PersonFindListParams) WithTimeout ¶
func (o *PersonFindListParams) WithTimeout(timeout time.Duration) *PersonFindListParams
WithTimeout adds the timeout to the person find list params
func (*PersonFindListParams) WithUserName ¶
func (o *PersonFindListParams) WithUserName(userName *string) *PersonFindListParams
WithUserName adds the userName to the person find list params
func (*PersonFindListParams) WriteToRequest ¶
func (o *PersonFindListParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PersonFindListReader ¶
type PersonFindListReader struct {
// contains filtered or unexported fields
}
PersonFindListReader is a Reader for the PersonFindList structure.
func (*PersonFindListReader) ReadResponse ¶
func (o *PersonFindListReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PersonFindListUnauthorized ¶
type PersonFindListUnauthorized struct {
}PersonFindListUnauthorized describes a response with status code 401, with default header values.
Access Denied
func NewPersonFindListUnauthorized ¶
func NewPersonFindListUnauthorized() *PersonFindListUnauthorized
NewPersonFindListUnauthorized creates a PersonFindListUnauthorized with default headers values
func (*PersonFindListUnauthorized) Code ¶
func (o *PersonFindListUnauthorized) Code() int
Code gets the status code for the person find list unauthorized response
func (*PersonFindListUnauthorized) Error ¶
func (o *PersonFindListUnauthorized) Error() string
func (*PersonFindListUnauthorized) GetPayload ¶
func (o *PersonFindListUnauthorized) GetPayload() *models.Response
func (*PersonFindListUnauthorized) IsClientError ¶
func (o *PersonFindListUnauthorized) IsClientError() bool
IsClientError returns true when this person find list unauthorized response has a 4xx status code
func (*PersonFindListUnauthorized) IsCode ¶
func (o *PersonFindListUnauthorized) IsCode(code int) bool
IsCode returns true when this person find list unauthorized response a status code equal to that given
func (*PersonFindListUnauthorized) IsRedirect ¶
func (o *PersonFindListUnauthorized) IsRedirect() bool
IsRedirect returns true when this person find list unauthorized response has a 3xx status code
func (*PersonFindListUnauthorized) IsServerError ¶
func (o *PersonFindListUnauthorized) IsServerError() bool
IsServerError returns true when this person find list unauthorized response has a 5xx status code
func (*PersonFindListUnauthorized) IsSuccess ¶
func (o *PersonFindListUnauthorized) IsSuccess() bool
IsSuccess returns true when this person find list unauthorized response has a 2xx status code
func (*PersonFindListUnauthorized) String ¶
func (o *PersonFindListUnauthorized) String() string
type PersonUpdateBadRequest ¶
PersonUpdateBadRequest describes a response with status code 400, with default header values.
Bad Request
func NewPersonUpdateBadRequest ¶
func NewPersonUpdateBadRequest() *PersonUpdateBadRequest
NewPersonUpdateBadRequest creates a PersonUpdateBadRequest with default headers values
func (*PersonUpdateBadRequest) Code ¶
func (o *PersonUpdateBadRequest) Code() int
Code gets the status code for the person update bad request response
func (*PersonUpdateBadRequest) Error ¶
func (o *PersonUpdateBadRequest) Error() string
func (*PersonUpdateBadRequest) GetPayload ¶
func (o *PersonUpdateBadRequest) GetPayload() *models.Response
func (*PersonUpdateBadRequest) IsClientError ¶
func (o *PersonUpdateBadRequest) IsClientError() bool
IsClientError returns true when this person update bad request response has a 4xx status code
func (*PersonUpdateBadRequest) IsCode ¶
func (o *PersonUpdateBadRequest) IsCode(code int) bool
IsCode returns true when this person update bad request response a status code equal to that given
func (*PersonUpdateBadRequest) IsRedirect ¶
func (o *PersonUpdateBadRequest) IsRedirect() bool
IsRedirect returns true when this person update bad request response has a 3xx status code
func (*PersonUpdateBadRequest) IsServerError ¶
func (o *PersonUpdateBadRequest) IsServerError() bool
IsServerError returns true when this person update bad request response has a 5xx status code
func (*PersonUpdateBadRequest) IsSuccess ¶
func (o *PersonUpdateBadRequest) IsSuccess() bool
IsSuccess returns true when this person update bad request response has a 2xx status code
func (*PersonUpdateBadRequest) String ¶
func (o *PersonUpdateBadRequest) String() string
type PersonUpdateInternalServerError ¶
PersonUpdateInternalServerError describes a response with status code 500, with default header values.
Internal Server Error
func NewPersonUpdateInternalServerError ¶
func NewPersonUpdateInternalServerError() *PersonUpdateInternalServerError
NewPersonUpdateInternalServerError creates a PersonUpdateInternalServerError with default headers values
func (*PersonUpdateInternalServerError) Code ¶
func (o *PersonUpdateInternalServerError) Code() int
Code gets the status code for the person update internal server error response
func (*PersonUpdateInternalServerError) Error ¶
func (o *PersonUpdateInternalServerError) Error() string
func (*PersonUpdateInternalServerError) GetPayload ¶
func (o *PersonUpdateInternalServerError) GetPayload() *models.Response
func (*PersonUpdateInternalServerError) IsClientError ¶
func (o *PersonUpdateInternalServerError) IsClientError() bool
IsClientError returns true when this person update internal server error response has a 4xx status code
func (*PersonUpdateInternalServerError) IsCode ¶
func (o *PersonUpdateInternalServerError) IsCode(code int) bool
IsCode returns true when this person update internal server error response a status code equal to that given
func (*PersonUpdateInternalServerError) IsRedirect ¶
func (o *PersonUpdateInternalServerError) IsRedirect() bool
IsRedirect returns true when this person update internal server error response has a 3xx status code
func (*PersonUpdateInternalServerError) IsServerError ¶
func (o *PersonUpdateInternalServerError) IsServerError() bool
IsServerError returns true when this person update internal server error response has a 5xx status code
func (*PersonUpdateInternalServerError) IsSuccess ¶
func (o *PersonUpdateInternalServerError) IsSuccess() bool
IsSuccess returns true when this person update internal server error response has a 2xx status code
func (*PersonUpdateInternalServerError) String ¶
func (o *PersonUpdateInternalServerError) String() string
type PersonUpdateOK ¶
PersonUpdateOK describes a response with status code 200, with default header values.
OK
func NewPersonUpdateOK ¶
func NewPersonUpdateOK() *PersonUpdateOK
NewPersonUpdateOK creates a PersonUpdateOK with default headers values
func (*PersonUpdateOK) Code ¶
func (o *PersonUpdateOK) Code() int
Code gets the status code for the person update o k response
func (*PersonUpdateOK) Error ¶
func (o *PersonUpdateOK) Error() string
func (*PersonUpdateOK) GetPayload ¶
func (o *PersonUpdateOK) GetPayload() *models.Response
func (*PersonUpdateOK) IsClientError ¶
func (o *PersonUpdateOK) IsClientError() bool
IsClientError returns true when this person update o k response has a 4xx status code
func (*PersonUpdateOK) IsCode ¶
func (o *PersonUpdateOK) IsCode(code int) bool
IsCode returns true when this person update o k response a status code equal to that given
func (*PersonUpdateOK) IsRedirect ¶
func (o *PersonUpdateOK) IsRedirect() bool
IsRedirect returns true when this person update o k response has a 3xx status code
func (*PersonUpdateOK) IsServerError ¶
func (o *PersonUpdateOK) IsServerError() bool
IsServerError returns true when this person update o k response has a 5xx status code
func (*PersonUpdateOK) IsSuccess ¶
func (o *PersonUpdateOK) IsSuccess() bool
IsSuccess returns true when this person update o k response has a 2xx status code
func (*PersonUpdateOK) String ¶
func (o *PersonUpdateOK) String() string
type PersonUpdateParams ¶
type PersonUpdateParams struct { /* Body. Person information to be updated in Alfabet. */ Body *models.Person Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
PersonUpdateParams contains all the parameters to send to the API endpoint
for the person update operation. Typically these are written to a http.Request.
func NewPersonUpdateParams ¶
func NewPersonUpdateParams() *PersonUpdateParams
NewPersonUpdateParams creates a new PersonUpdateParams 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 NewPersonUpdateParamsWithContext ¶
func NewPersonUpdateParamsWithContext(ctx context.Context) *PersonUpdateParams
NewPersonUpdateParamsWithContext creates a new PersonUpdateParams object with the ability to set a context for a request.
func NewPersonUpdateParamsWithHTTPClient ¶
func NewPersonUpdateParamsWithHTTPClient(client *http.Client) *PersonUpdateParams
NewPersonUpdateParamsWithHTTPClient creates a new PersonUpdateParams object with the ability to set a custom HTTPClient for a request.
func NewPersonUpdateParamsWithTimeout ¶
func NewPersonUpdateParamsWithTimeout(timeout time.Duration) *PersonUpdateParams
NewPersonUpdateParamsWithTimeout creates a new PersonUpdateParams object with the ability to set a timeout on a request.
func (*PersonUpdateParams) SetBody ¶
func (o *PersonUpdateParams) SetBody(body *models.Person)
SetBody adds the body to the person update params
func (*PersonUpdateParams) SetContext ¶
func (o *PersonUpdateParams) SetContext(ctx context.Context)
SetContext adds the context to the person update params
func (*PersonUpdateParams) SetDefaults ¶
func (o *PersonUpdateParams) SetDefaults()
SetDefaults hydrates default values in the person update params (not the query body).
All values with no default are reset to their zero value.
func (*PersonUpdateParams) SetHTTPClient ¶
func (o *PersonUpdateParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the person update params
func (*PersonUpdateParams) SetTimeout ¶
func (o *PersonUpdateParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the person update params
func (*PersonUpdateParams) WithBody ¶
func (o *PersonUpdateParams) WithBody(body *models.Person) *PersonUpdateParams
WithBody adds the body to the person update params
func (*PersonUpdateParams) WithContext ¶
func (o *PersonUpdateParams) WithContext(ctx context.Context) *PersonUpdateParams
WithContext adds the context to the person update params
func (*PersonUpdateParams) WithDefaults ¶
func (o *PersonUpdateParams) WithDefaults() *PersonUpdateParams
WithDefaults hydrates default values in the person update params (not the query body).
All values with no default are reset to their zero value.
func (*PersonUpdateParams) WithHTTPClient ¶
func (o *PersonUpdateParams) WithHTTPClient(client *http.Client) *PersonUpdateParams
WithHTTPClient adds the HTTPClient to the person update params
func (*PersonUpdateParams) WithTimeout ¶
func (o *PersonUpdateParams) WithTimeout(timeout time.Duration) *PersonUpdateParams
WithTimeout adds the timeout to the person update params
func (*PersonUpdateParams) WriteToRequest ¶
func (o *PersonUpdateParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PersonUpdateReader ¶
type PersonUpdateReader struct {
// contains filtered or unexported fields
}
PersonUpdateReader is a Reader for the PersonUpdate structure.
func (*PersonUpdateReader) ReadResponse ¶
func (o *PersonUpdateReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PersonUpdateUnauthorized ¶
type PersonUpdateUnauthorized struct {
}PersonUpdateUnauthorized describes a response with status code 401, with default header values.
Access Denied
func NewPersonUpdateUnauthorized ¶
func NewPersonUpdateUnauthorized() *PersonUpdateUnauthorized
NewPersonUpdateUnauthorized creates a PersonUpdateUnauthorized with default headers values
func (*PersonUpdateUnauthorized) Code ¶
func (o *PersonUpdateUnauthorized) Code() int
Code gets the status code for the person update unauthorized response
func (*PersonUpdateUnauthorized) Error ¶
func (o *PersonUpdateUnauthorized) Error() string
func (*PersonUpdateUnauthorized) GetPayload ¶
func (o *PersonUpdateUnauthorized) GetPayload() *models.Response
func (*PersonUpdateUnauthorized) IsClientError ¶
func (o *PersonUpdateUnauthorized) IsClientError() bool
IsClientError returns true when this person update unauthorized response has a 4xx status code
func (*PersonUpdateUnauthorized) IsCode ¶
func (o *PersonUpdateUnauthorized) IsCode(code int) bool
IsCode returns true when this person update unauthorized response a status code equal to that given
func (*PersonUpdateUnauthorized) IsRedirect ¶
func (o *PersonUpdateUnauthorized) IsRedirect() bool
IsRedirect returns true when this person update unauthorized response has a 3xx status code
func (*PersonUpdateUnauthorized) IsServerError ¶
func (o *PersonUpdateUnauthorized) IsServerError() bool
IsServerError returns true when this person update unauthorized response has a 5xx status code
func (*PersonUpdateUnauthorized) IsSuccess ¶
func (o *PersonUpdateUnauthorized) IsSuccess() bool
IsSuccess returns true when this person update unauthorized response has a 2xx status code
func (*PersonUpdateUnauthorized) String ¶
func (o *PersonUpdateUnauthorized) String() string