Documentation ¶
Index ¶
- type Client
- func (a *Client) EmployeeHourlyCostAndRateGet(params *EmployeeHourlyCostAndRateGetParams, ...) (*EmployeeHourlyCostAndRateGetOK, error)
- func (a *Client) EmployeeHourlyCostAndRatePost(params *EmployeeHourlyCostAndRatePostParams, ...) (*EmployeeHourlyCostAndRatePostCreated, error)
- func (a *Client) EmployeeHourlyCostAndRatePut(params *EmployeeHourlyCostAndRatePutParams, ...) (*EmployeeHourlyCostAndRatePutOK, error)
- func (a *Client) EmployeeHourlyCostAndRateSearch(params *EmployeeHourlyCostAndRateSearchParams, ...) (*EmployeeHourlyCostAndRateSearchOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientService
- type EmployeeHourlyCostAndRateGetOK
- type EmployeeHourlyCostAndRateGetParams
- func NewEmployeeHourlyCostAndRateGetParams() *EmployeeHourlyCostAndRateGetParams
- func NewEmployeeHourlyCostAndRateGetParamsWithContext(ctx context.Context) *EmployeeHourlyCostAndRateGetParams
- func NewEmployeeHourlyCostAndRateGetParamsWithHTTPClient(client *http.Client) *EmployeeHourlyCostAndRateGetParams
- func NewEmployeeHourlyCostAndRateGetParamsWithTimeout(timeout time.Duration) *EmployeeHourlyCostAndRateGetParams
- func (o *EmployeeHourlyCostAndRateGetParams) SetContext(ctx context.Context)
- func (o *EmployeeHourlyCostAndRateGetParams) SetFields(fields *string)
- func (o *EmployeeHourlyCostAndRateGetParams) SetHTTPClient(client *http.Client)
- func (o *EmployeeHourlyCostAndRateGetParams) SetID(id int32)
- func (o *EmployeeHourlyCostAndRateGetParams) SetTimeout(timeout time.Duration)
- func (o *EmployeeHourlyCostAndRateGetParams) WithContext(ctx context.Context) *EmployeeHourlyCostAndRateGetParams
- func (o *EmployeeHourlyCostAndRateGetParams) WithFields(fields *string) *EmployeeHourlyCostAndRateGetParams
- func (o *EmployeeHourlyCostAndRateGetParams) WithHTTPClient(client *http.Client) *EmployeeHourlyCostAndRateGetParams
- func (o *EmployeeHourlyCostAndRateGetParams) WithID(id int32) *EmployeeHourlyCostAndRateGetParams
- func (o *EmployeeHourlyCostAndRateGetParams) WithTimeout(timeout time.Duration) *EmployeeHourlyCostAndRateGetParams
- func (o *EmployeeHourlyCostAndRateGetParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type EmployeeHourlyCostAndRateGetReader
- type EmployeeHourlyCostAndRatePostCreated
- type EmployeeHourlyCostAndRatePostParams
- func NewEmployeeHourlyCostAndRatePostParams() *EmployeeHourlyCostAndRatePostParams
- func NewEmployeeHourlyCostAndRatePostParamsWithContext(ctx context.Context) *EmployeeHourlyCostAndRatePostParams
- func NewEmployeeHourlyCostAndRatePostParamsWithHTTPClient(client *http.Client) *EmployeeHourlyCostAndRatePostParams
- func NewEmployeeHourlyCostAndRatePostParamsWithTimeout(timeout time.Duration) *EmployeeHourlyCostAndRatePostParams
- func (o *EmployeeHourlyCostAndRatePostParams) SetBody(body *models.HourlyCostAndRate)
- func (o *EmployeeHourlyCostAndRatePostParams) SetContext(ctx context.Context)
- func (o *EmployeeHourlyCostAndRatePostParams) SetHTTPClient(client *http.Client)
- func (o *EmployeeHourlyCostAndRatePostParams) SetTimeout(timeout time.Duration)
- func (o *EmployeeHourlyCostAndRatePostParams) WithBody(body *models.HourlyCostAndRate) *EmployeeHourlyCostAndRatePostParams
- func (o *EmployeeHourlyCostAndRatePostParams) WithContext(ctx context.Context) *EmployeeHourlyCostAndRatePostParams
- func (o *EmployeeHourlyCostAndRatePostParams) WithHTTPClient(client *http.Client) *EmployeeHourlyCostAndRatePostParams
- func (o *EmployeeHourlyCostAndRatePostParams) WithTimeout(timeout time.Duration) *EmployeeHourlyCostAndRatePostParams
- func (o *EmployeeHourlyCostAndRatePostParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type EmployeeHourlyCostAndRatePostReader
- type EmployeeHourlyCostAndRatePutOK
- type EmployeeHourlyCostAndRatePutParams
- func NewEmployeeHourlyCostAndRatePutParams() *EmployeeHourlyCostAndRatePutParams
- func NewEmployeeHourlyCostAndRatePutParamsWithContext(ctx context.Context) *EmployeeHourlyCostAndRatePutParams
- func NewEmployeeHourlyCostAndRatePutParamsWithHTTPClient(client *http.Client) *EmployeeHourlyCostAndRatePutParams
- func NewEmployeeHourlyCostAndRatePutParamsWithTimeout(timeout time.Duration) *EmployeeHourlyCostAndRatePutParams
- func (o *EmployeeHourlyCostAndRatePutParams) SetBody(body *models.HourlyCostAndRate)
- func (o *EmployeeHourlyCostAndRatePutParams) SetContext(ctx context.Context)
- func (o *EmployeeHourlyCostAndRatePutParams) SetHTTPClient(client *http.Client)
- func (o *EmployeeHourlyCostAndRatePutParams) SetID(id int32)
- func (o *EmployeeHourlyCostAndRatePutParams) SetTimeout(timeout time.Duration)
- func (o *EmployeeHourlyCostAndRatePutParams) WithBody(body *models.HourlyCostAndRate) *EmployeeHourlyCostAndRatePutParams
- func (o *EmployeeHourlyCostAndRatePutParams) WithContext(ctx context.Context) *EmployeeHourlyCostAndRatePutParams
- func (o *EmployeeHourlyCostAndRatePutParams) WithHTTPClient(client *http.Client) *EmployeeHourlyCostAndRatePutParams
- func (o *EmployeeHourlyCostAndRatePutParams) WithID(id int32) *EmployeeHourlyCostAndRatePutParams
- func (o *EmployeeHourlyCostAndRatePutParams) WithTimeout(timeout time.Duration) *EmployeeHourlyCostAndRatePutParams
- func (o *EmployeeHourlyCostAndRatePutParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type EmployeeHourlyCostAndRatePutReader
- type EmployeeHourlyCostAndRateSearchOK
- type EmployeeHourlyCostAndRateSearchParams
- func NewEmployeeHourlyCostAndRateSearchParams() *EmployeeHourlyCostAndRateSearchParams
- func NewEmployeeHourlyCostAndRateSearchParamsWithContext(ctx context.Context) *EmployeeHourlyCostAndRateSearchParams
- func NewEmployeeHourlyCostAndRateSearchParamsWithHTTPClient(client *http.Client) *EmployeeHourlyCostAndRateSearchParams
- func NewEmployeeHourlyCostAndRateSearchParamsWithTimeout(timeout time.Duration) *EmployeeHourlyCostAndRateSearchParams
- func (o *EmployeeHourlyCostAndRateSearchParams) SetContext(ctx context.Context)
- func (o *EmployeeHourlyCostAndRateSearchParams) SetCount(count *int64)
- func (o *EmployeeHourlyCostAndRateSearchParams) SetEmployeeID(employeeID *int32)
- func (o *EmployeeHourlyCostAndRateSearchParams) SetFields(fields *string)
- func (o *EmployeeHourlyCostAndRateSearchParams) SetFrom(from *int64)
- func (o *EmployeeHourlyCostAndRateSearchParams) SetHTTPClient(client *http.Client)
- func (o *EmployeeHourlyCostAndRateSearchParams) SetSorting(sorting *string)
- func (o *EmployeeHourlyCostAndRateSearchParams) SetTimeout(timeout time.Duration)
- func (o *EmployeeHourlyCostAndRateSearchParams) WithContext(ctx context.Context) *EmployeeHourlyCostAndRateSearchParams
- func (o *EmployeeHourlyCostAndRateSearchParams) WithCount(count *int64) *EmployeeHourlyCostAndRateSearchParams
- func (o *EmployeeHourlyCostAndRateSearchParams) WithEmployeeID(employeeID *int32) *EmployeeHourlyCostAndRateSearchParams
- func (o *EmployeeHourlyCostAndRateSearchParams) WithFields(fields *string) *EmployeeHourlyCostAndRateSearchParams
- func (o *EmployeeHourlyCostAndRateSearchParams) WithFrom(from *int64) *EmployeeHourlyCostAndRateSearchParams
- func (o *EmployeeHourlyCostAndRateSearchParams) WithHTTPClient(client *http.Client) *EmployeeHourlyCostAndRateSearchParams
- func (o *EmployeeHourlyCostAndRateSearchParams) WithSorting(sorting *string) *EmployeeHourlyCostAndRateSearchParams
- func (o *EmployeeHourlyCostAndRateSearchParams) WithTimeout(timeout time.Duration) *EmployeeHourlyCostAndRateSearchParams
- func (o *EmployeeHourlyCostAndRateSearchParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type EmployeeHourlyCostAndRateSearchReader
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 hourly cost and rate API
func (*Client) EmployeeHourlyCostAndRateGet ¶
func (a *Client) EmployeeHourlyCostAndRateGet(params *EmployeeHourlyCostAndRateGetParams, authInfo runtime.ClientAuthInfoWriter) (*EmployeeHourlyCostAndRateGetOK, error)
EmployeeHourlyCostAndRateGet bs e t a find hourly cost and rate by ID
func (*Client) EmployeeHourlyCostAndRatePost ¶
func (a *Client) EmployeeHourlyCostAndRatePost(params *EmployeeHourlyCostAndRatePostParams, authInfo runtime.ClientAuthInfoWriter) (*EmployeeHourlyCostAndRatePostCreated, error)
EmployeeHourlyCostAndRatePost bs e t a create hourly cost and rate
func (*Client) EmployeeHourlyCostAndRatePut ¶
func (a *Client) EmployeeHourlyCostAndRatePut(params *EmployeeHourlyCostAndRatePutParams, authInfo runtime.ClientAuthInfoWriter) (*EmployeeHourlyCostAndRatePutOK, error)
EmployeeHourlyCostAndRatePut bs e t a update hourly cost and rate
func (*Client) EmployeeHourlyCostAndRateSearch ¶
func (a *Client) EmployeeHourlyCostAndRateSearch(params *EmployeeHourlyCostAndRateSearchParams, authInfo runtime.ClientAuthInfoWriter) (*EmployeeHourlyCostAndRateSearchOK, error)
EmployeeHourlyCostAndRateSearch finds all hourly cost and rates for employee
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
type ClientService ¶
type ClientService interface { EmployeeHourlyCostAndRateGet(params *EmployeeHourlyCostAndRateGetParams, authInfo runtime.ClientAuthInfoWriter) (*EmployeeHourlyCostAndRateGetOK, error) EmployeeHourlyCostAndRatePost(params *EmployeeHourlyCostAndRatePostParams, authInfo runtime.ClientAuthInfoWriter) (*EmployeeHourlyCostAndRatePostCreated, error) EmployeeHourlyCostAndRatePut(params *EmployeeHourlyCostAndRatePutParams, authInfo runtime.ClientAuthInfoWriter) (*EmployeeHourlyCostAndRatePutOK, error) EmployeeHourlyCostAndRateSearch(params *EmployeeHourlyCostAndRateSearchParams, authInfo runtime.ClientAuthInfoWriter) (*EmployeeHourlyCostAndRateSearchOK, 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 hourly cost and rate API client.
type EmployeeHourlyCostAndRateGetOK ¶
type EmployeeHourlyCostAndRateGetOK struct {
Payload *models.ResponseWrapperHourlyCostAndRate
}
EmployeeHourlyCostAndRateGetOK handles this case with default header values.
successful operation
func NewEmployeeHourlyCostAndRateGetOK ¶
func NewEmployeeHourlyCostAndRateGetOK() *EmployeeHourlyCostAndRateGetOK
NewEmployeeHourlyCostAndRateGetOK creates a EmployeeHourlyCostAndRateGetOK with default headers values
func (*EmployeeHourlyCostAndRateGetOK) Error ¶
func (o *EmployeeHourlyCostAndRateGetOK) Error() string
func (*EmployeeHourlyCostAndRateGetOK) GetPayload ¶
func (o *EmployeeHourlyCostAndRateGetOK) GetPayload() *models.ResponseWrapperHourlyCostAndRate
type EmployeeHourlyCostAndRateGetParams ¶
type EmployeeHourlyCostAndRateGetParams struct { /*Fields Fields filter pattern */ Fields *string /*ID Element ID */ ID int32 Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
EmployeeHourlyCostAndRateGetParams contains all the parameters to send to the API endpoint for the employee hourly cost and rate get operation typically these are written to a http.Request
func NewEmployeeHourlyCostAndRateGetParams ¶
func NewEmployeeHourlyCostAndRateGetParams() *EmployeeHourlyCostAndRateGetParams
NewEmployeeHourlyCostAndRateGetParams creates a new EmployeeHourlyCostAndRateGetParams object with the default values initialized.
func NewEmployeeHourlyCostAndRateGetParamsWithContext ¶
func NewEmployeeHourlyCostAndRateGetParamsWithContext(ctx context.Context) *EmployeeHourlyCostAndRateGetParams
NewEmployeeHourlyCostAndRateGetParamsWithContext creates a new EmployeeHourlyCostAndRateGetParams object with the default values initialized, and the ability to set a context for a request
func NewEmployeeHourlyCostAndRateGetParamsWithHTTPClient ¶
func NewEmployeeHourlyCostAndRateGetParamsWithHTTPClient(client *http.Client) *EmployeeHourlyCostAndRateGetParams
NewEmployeeHourlyCostAndRateGetParamsWithHTTPClient creates a new EmployeeHourlyCostAndRateGetParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewEmployeeHourlyCostAndRateGetParamsWithTimeout ¶
func NewEmployeeHourlyCostAndRateGetParamsWithTimeout(timeout time.Duration) *EmployeeHourlyCostAndRateGetParams
NewEmployeeHourlyCostAndRateGetParamsWithTimeout creates a new EmployeeHourlyCostAndRateGetParams object with the default values initialized, and the ability to set a timeout on a request
func (*EmployeeHourlyCostAndRateGetParams) SetContext ¶
func (o *EmployeeHourlyCostAndRateGetParams) SetContext(ctx context.Context)
SetContext adds the context to the employee hourly cost and rate get params
func (*EmployeeHourlyCostAndRateGetParams) SetFields ¶
func (o *EmployeeHourlyCostAndRateGetParams) SetFields(fields *string)
SetFields adds the fields to the employee hourly cost and rate get params
func (*EmployeeHourlyCostAndRateGetParams) SetHTTPClient ¶
func (o *EmployeeHourlyCostAndRateGetParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the employee hourly cost and rate get params
func (*EmployeeHourlyCostAndRateGetParams) SetID ¶
func (o *EmployeeHourlyCostAndRateGetParams) SetID(id int32)
SetID adds the id to the employee hourly cost and rate get params
func (*EmployeeHourlyCostAndRateGetParams) SetTimeout ¶
func (o *EmployeeHourlyCostAndRateGetParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the employee hourly cost and rate get params
func (*EmployeeHourlyCostAndRateGetParams) WithContext ¶
func (o *EmployeeHourlyCostAndRateGetParams) WithContext(ctx context.Context) *EmployeeHourlyCostAndRateGetParams
WithContext adds the context to the employee hourly cost and rate get params
func (*EmployeeHourlyCostAndRateGetParams) WithFields ¶
func (o *EmployeeHourlyCostAndRateGetParams) WithFields(fields *string) *EmployeeHourlyCostAndRateGetParams
WithFields adds the fields to the employee hourly cost and rate get params
func (*EmployeeHourlyCostAndRateGetParams) WithHTTPClient ¶
func (o *EmployeeHourlyCostAndRateGetParams) WithHTTPClient(client *http.Client) *EmployeeHourlyCostAndRateGetParams
WithHTTPClient adds the HTTPClient to the employee hourly cost and rate get params
func (*EmployeeHourlyCostAndRateGetParams) WithID ¶
func (o *EmployeeHourlyCostAndRateGetParams) WithID(id int32) *EmployeeHourlyCostAndRateGetParams
WithID adds the id to the employee hourly cost and rate get params
func (*EmployeeHourlyCostAndRateGetParams) WithTimeout ¶
func (o *EmployeeHourlyCostAndRateGetParams) WithTimeout(timeout time.Duration) *EmployeeHourlyCostAndRateGetParams
WithTimeout adds the timeout to the employee hourly cost and rate get params
func (*EmployeeHourlyCostAndRateGetParams) WriteToRequest ¶
func (o *EmployeeHourlyCostAndRateGetParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type EmployeeHourlyCostAndRateGetReader ¶
type EmployeeHourlyCostAndRateGetReader struct {
// contains filtered or unexported fields
}
EmployeeHourlyCostAndRateGetReader is a Reader for the EmployeeHourlyCostAndRateGet structure.
func (*EmployeeHourlyCostAndRateGetReader) ReadResponse ¶
func (o *EmployeeHourlyCostAndRateGetReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type EmployeeHourlyCostAndRatePostCreated ¶
type EmployeeHourlyCostAndRatePostCreated struct {
Payload *models.ResponseWrapperHourlyCostAndRate
}
EmployeeHourlyCostAndRatePostCreated handles this case with default header values.
successfully created
func NewEmployeeHourlyCostAndRatePostCreated ¶
func NewEmployeeHourlyCostAndRatePostCreated() *EmployeeHourlyCostAndRatePostCreated
NewEmployeeHourlyCostAndRatePostCreated creates a EmployeeHourlyCostAndRatePostCreated with default headers values
func (*EmployeeHourlyCostAndRatePostCreated) Error ¶
func (o *EmployeeHourlyCostAndRatePostCreated) Error() string
func (*EmployeeHourlyCostAndRatePostCreated) GetPayload ¶
func (o *EmployeeHourlyCostAndRatePostCreated) GetPayload() *models.ResponseWrapperHourlyCostAndRate
type EmployeeHourlyCostAndRatePostParams ¶
type EmployeeHourlyCostAndRatePostParams struct { /*Body JSON representing the new object to be created. Should not have ID and version set. */ Body *models.HourlyCostAndRate Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
EmployeeHourlyCostAndRatePostParams contains all the parameters to send to the API endpoint for the employee hourly cost and rate post operation typically these are written to a http.Request
func NewEmployeeHourlyCostAndRatePostParams ¶
func NewEmployeeHourlyCostAndRatePostParams() *EmployeeHourlyCostAndRatePostParams
NewEmployeeHourlyCostAndRatePostParams creates a new EmployeeHourlyCostAndRatePostParams object with the default values initialized.
func NewEmployeeHourlyCostAndRatePostParamsWithContext ¶
func NewEmployeeHourlyCostAndRatePostParamsWithContext(ctx context.Context) *EmployeeHourlyCostAndRatePostParams
NewEmployeeHourlyCostAndRatePostParamsWithContext creates a new EmployeeHourlyCostAndRatePostParams object with the default values initialized, and the ability to set a context for a request
func NewEmployeeHourlyCostAndRatePostParamsWithHTTPClient ¶
func NewEmployeeHourlyCostAndRatePostParamsWithHTTPClient(client *http.Client) *EmployeeHourlyCostAndRatePostParams
NewEmployeeHourlyCostAndRatePostParamsWithHTTPClient creates a new EmployeeHourlyCostAndRatePostParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewEmployeeHourlyCostAndRatePostParamsWithTimeout ¶
func NewEmployeeHourlyCostAndRatePostParamsWithTimeout(timeout time.Duration) *EmployeeHourlyCostAndRatePostParams
NewEmployeeHourlyCostAndRatePostParamsWithTimeout creates a new EmployeeHourlyCostAndRatePostParams object with the default values initialized, and the ability to set a timeout on a request
func (*EmployeeHourlyCostAndRatePostParams) SetBody ¶
func (o *EmployeeHourlyCostAndRatePostParams) SetBody(body *models.HourlyCostAndRate)
SetBody adds the body to the employee hourly cost and rate post params
func (*EmployeeHourlyCostAndRatePostParams) SetContext ¶
func (o *EmployeeHourlyCostAndRatePostParams) SetContext(ctx context.Context)
SetContext adds the context to the employee hourly cost and rate post params
func (*EmployeeHourlyCostAndRatePostParams) SetHTTPClient ¶
func (o *EmployeeHourlyCostAndRatePostParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the employee hourly cost and rate post params
func (*EmployeeHourlyCostAndRatePostParams) SetTimeout ¶
func (o *EmployeeHourlyCostAndRatePostParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the employee hourly cost and rate post params
func (*EmployeeHourlyCostAndRatePostParams) WithBody ¶
func (o *EmployeeHourlyCostAndRatePostParams) WithBody(body *models.HourlyCostAndRate) *EmployeeHourlyCostAndRatePostParams
WithBody adds the body to the employee hourly cost and rate post params
func (*EmployeeHourlyCostAndRatePostParams) WithContext ¶
func (o *EmployeeHourlyCostAndRatePostParams) WithContext(ctx context.Context) *EmployeeHourlyCostAndRatePostParams
WithContext adds the context to the employee hourly cost and rate post params
func (*EmployeeHourlyCostAndRatePostParams) WithHTTPClient ¶
func (o *EmployeeHourlyCostAndRatePostParams) WithHTTPClient(client *http.Client) *EmployeeHourlyCostAndRatePostParams
WithHTTPClient adds the HTTPClient to the employee hourly cost and rate post params
func (*EmployeeHourlyCostAndRatePostParams) WithTimeout ¶
func (o *EmployeeHourlyCostAndRatePostParams) WithTimeout(timeout time.Duration) *EmployeeHourlyCostAndRatePostParams
WithTimeout adds the timeout to the employee hourly cost and rate post params
func (*EmployeeHourlyCostAndRatePostParams) WriteToRequest ¶
func (o *EmployeeHourlyCostAndRatePostParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type EmployeeHourlyCostAndRatePostReader ¶
type EmployeeHourlyCostAndRatePostReader struct {
// contains filtered or unexported fields
}
EmployeeHourlyCostAndRatePostReader is a Reader for the EmployeeHourlyCostAndRatePost structure.
func (*EmployeeHourlyCostAndRatePostReader) ReadResponse ¶
func (o *EmployeeHourlyCostAndRatePostReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type EmployeeHourlyCostAndRatePutOK ¶
type EmployeeHourlyCostAndRatePutOK struct {
Payload *models.ResponseWrapperHourlyCostAndRate
}
EmployeeHourlyCostAndRatePutOK handles this case with default header values.
successful operation
func NewEmployeeHourlyCostAndRatePutOK ¶
func NewEmployeeHourlyCostAndRatePutOK() *EmployeeHourlyCostAndRatePutOK
NewEmployeeHourlyCostAndRatePutOK creates a EmployeeHourlyCostAndRatePutOK with default headers values
func (*EmployeeHourlyCostAndRatePutOK) Error ¶
func (o *EmployeeHourlyCostAndRatePutOK) Error() string
func (*EmployeeHourlyCostAndRatePutOK) GetPayload ¶
func (o *EmployeeHourlyCostAndRatePutOK) GetPayload() *models.ResponseWrapperHourlyCostAndRate
type EmployeeHourlyCostAndRatePutParams ¶
type EmployeeHourlyCostAndRatePutParams struct { /*Body Partial object describing what should be updated */ Body *models.HourlyCostAndRate /*ID Element ID */ ID int32 Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
EmployeeHourlyCostAndRatePutParams contains all the parameters to send to the API endpoint for the employee hourly cost and rate put operation typically these are written to a http.Request
func NewEmployeeHourlyCostAndRatePutParams ¶
func NewEmployeeHourlyCostAndRatePutParams() *EmployeeHourlyCostAndRatePutParams
NewEmployeeHourlyCostAndRatePutParams creates a new EmployeeHourlyCostAndRatePutParams object with the default values initialized.
func NewEmployeeHourlyCostAndRatePutParamsWithContext ¶
func NewEmployeeHourlyCostAndRatePutParamsWithContext(ctx context.Context) *EmployeeHourlyCostAndRatePutParams
NewEmployeeHourlyCostAndRatePutParamsWithContext creates a new EmployeeHourlyCostAndRatePutParams object with the default values initialized, and the ability to set a context for a request
func NewEmployeeHourlyCostAndRatePutParamsWithHTTPClient ¶
func NewEmployeeHourlyCostAndRatePutParamsWithHTTPClient(client *http.Client) *EmployeeHourlyCostAndRatePutParams
NewEmployeeHourlyCostAndRatePutParamsWithHTTPClient creates a new EmployeeHourlyCostAndRatePutParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewEmployeeHourlyCostAndRatePutParamsWithTimeout ¶
func NewEmployeeHourlyCostAndRatePutParamsWithTimeout(timeout time.Duration) *EmployeeHourlyCostAndRatePutParams
NewEmployeeHourlyCostAndRatePutParamsWithTimeout creates a new EmployeeHourlyCostAndRatePutParams object with the default values initialized, and the ability to set a timeout on a request
func (*EmployeeHourlyCostAndRatePutParams) SetBody ¶
func (o *EmployeeHourlyCostAndRatePutParams) SetBody(body *models.HourlyCostAndRate)
SetBody adds the body to the employee hourly cost and rate put params
func (*EmployeeHourlyCostAndRatePutParams) SetContext ¶
func (o *EmployeeHourlyCostAndRatePutParams) SetContext(ctx context.Context)
SetContext adds the context to the employee hourly cost and rate put params
func (*EmployeeHourlyCostAndRatePutParams) SetHTTPClient ¶
func (o *EmployeeHourlyCostAndRatePutParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the employee hourly cost and rate put params
func (*EmployeeHourlyCostAndRatePutParams) SetID ¶
func (o *EmployeeHourlyCostAndRatePutParams) SetID(id int32)
SetID adds the id to the employee hourly cost and rate put params
func (*EmployeeHourlyCostAndRatePutParams) SetTimeout ¶
func (o *EmployeeHourlyCostAndRatePutParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the employee hourly cost and rate put params
func (*EmployeeHourlyCostAndRatePutParams) WithBody ¶
func (o *EmployeeHourlyCostAndRatePutParams) WithBody(body *models.HourlyCostAndRate) *EmployeeHourlyCostAndRatePutParams
WithBody adds the body to the employee hourly cost and rate put params
func (*EmployeeHourlyCostAndRatePutParams) WithContext ¶
func (o *EmployeeHourlyCostAndRatePutParams) WithContext(ctx context.Context) *EmployeeHourlyCostAndRatePutParams
WithContext adds the context to the employee hourly cost and rate put params
func (*EmployeeHourlyCostAndRatePutParams) WithHTTPClient ¶
func (o *EmployeeHourlyCostAndRatePutParams) WithHTTPClient(client *http.Client) *EmployeeHourlyCostAndRatePutParams
WithHTTPClient adds the HTTPClient to the employee hourly cost and rate put params
func (*EmployeeHourlyCostAndRatePutParams) WithID ¶
func (o *EmployeeHourlyCostAndRatePutParams) WithID(id int32) *EmployeeHourlyCostAndRatePutParams
WithID adds the id to the employee hourly cost and rate put params
func (*EmployeeHourlyCostAndRatePutParams) WithTimeout ¶
func (o *EmployeeHourlyCostAndRatePutParams) WithTimeout(timeout time.Duration) *EmployeeHourlyCostAndRatePutParams
WithTimeout adds the timeout to the employee hourly cost and rate put params
func (*EmployeeHourlyCostAndRatePutParams) WriteToRequest ¶
func (o *EmployeeHourlyCostAndRatePutParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type EmployeeHourlyCostAndRatePutReader ¶
type EmployeeHourlyCostAndRatePutReader struct {
// contains filtered or unexported fields
}
EmployeeHourlyCostAndRatePutReader is a Reader for the EmployeeHourlyCostAndRatePut structure.
func (*EmployeeHourlyCostAndRatePutReader) ReadResponse ¶
func (o *EmployeeHourlyCostAndRatePutReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type EmployeeHourlyCostAndRateSearchOK ¶
type EmployeeHourlyCostAndRateSearchOK struct {
Payload *models.ListResponseHourlyCostAndRate
}
EmployeeHourlyCostAndRateSearchOK handles this case with default header values.
successful operation
func NewEmployeeHourlyCostAndRateSearchOK ¶
func NewEmployeeHourlyCostAndRateSearchOK() *EmployeeHourlyCostAndRateSearchOK
NewEmployeeHourlyCostAndRateSearchOK creates a EmployeeHourlyCostAndRateSearchOK with default headers values
func (*EmployeeHourlyCostAndRateSearchOK) Error ¶
func (o *EmployeeHourlyCostAndRateSearchOK) Error() string
func (*EmployeeHourlyCostAndRateSearchOK) GetPayload ¶
func (o *EmployeeHourlyCostAndRateSearchOK) GetPayload() *models.ListResponseHourlyCostAndRate
type EmployeeHourlyCostAndRateSearchParams ¶
type EmployeeHourlyCostAndRateSearchParams struct { /*Count Number of elements to return */ Count *int64 /*EmployeeID Employee ID. Defaults to ID of token owner. */ EmployeeID *int32 /*Fields Fields filter pattern */ Fields *string /*From From index */ From *int64 /*Sorting Sorting pattern */ Sorting *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
EmployeeHourlyCostAndRateSearchParams contains all the parameters to send to the API endpoint for the employee hourly cost and rate search operation typically these are written to a http.Request
func NewEmployeeHourlyCostAndRateSearchParams ¶
func NewEmployeeHourlyCostAndRateSearchParams() *EmployeeHourlyCostAndRateSearchParams
NewEmployeeHourlyCostAndRateSearchParams creates a new EmployeeHourlyCostAndRateSearchParams object with the default values initialized.
func NewEmployeeHourlyCostAndRateSearchParamsWithContext ¶
func NewEmployeeHourlyCostAndRateSearchParamsWithContext(ctx context.Context) *EmployeeHourlyCostAndRateSearchParams
NewEmployeeHourlyCostAndRateSearchParamsWithContext creates a new EmployeeHourlyCostAndRateSearchParams object with the default values initialized, and the ability to set a context for a request
func NewEmployeeHourlyCostAndRateSearchParamsWithHTTPClient ¶
func NewEmployeeHourlyCostAndRateSearchParamsWithHTTPClient(client *http.Client) *EmployeeHourlyCostAndRateSearchParams
NewEmployeeHourlyCostAndRateSearchParamsWithHTTPClient creates a new EmployeeHourlyCostAndRateSearchParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewEmployeeHourlyCostAndRateSearchParamsWithTimeout ¶
func NewEmployeeHourlyCostAndRateSearchParamsWithTimeout(timeout time.Duration) *EmployeeHourlyCostAndRateSearchParams
NewEmployeeHourlyCostAndRateSearchParamsWithTimeout creates a new EmployeeHourlyCostAndRateSearchParams object with the default values initialized, and the ability to set a timeout on a request
func (*EmployeeHourlyCostAndRateSearchParams) SetContext ¶
func (o *EmployeeHourlyCostAndRateSearchParams) SetContext(ctx context.Context)
SetContext adds the context to the employee hourly cost and rate search params
func (*EmployeeHourlyCostAndRateSearchParams) SetCount ¶
func (o *EmployeeHourlyCostAndRateSearchParams) SetCount(count *int64)
SetCount adds the count to the employee hourly cost and rate search params
func (*EmployeeHourlyCostAndRateSearchParams) SetEmployeeID ¶
func (o *EmployeeHourlyCostAndRateSearchParams) SetEmployeeID(employeeID *int32)
SetEmployeeID adds the employeeId to the employee hourly cost and rate search params
func (*EmployeeHourlyCostAndRateSearchParams) SetFields ¶
func (o *EmployeeHourlyCostAndRateSearchParams) SetFields(fields *string)
SetFields adds the fields to the employee hourly cost and rate search params
func (*EmployeeHourlyCostAndRateSearchParams) SetFrom ¶
func (o *EmployeeHourlyCostAndRateSearchParams) SetFrom(from *int64)
SetFrom adds the from to the employee hourly cost and rate search params
func (*EmployeeHourlyCostAndRateSearchParams) SetHTTPClient ¶
func (o *EmployeeHourlyCostAndRateSearchParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the employee hourly cost and rate search params
func (*EmployeeHourlyCostAndRateSearchParams) SetSorting ¶
func (o *EmployeeHourlyCostAndRateSearchParams) SetSorting(sorting *string)
SetSorting adds the sorting to the employee hourly cost and rate search params
func (*EmployeeHourlyCostAndRateSearchParams) SetTimeout ¶
func (o *EmployeeHourlyCostAndRateSearchParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the employee hourly cost and rate search params
func (*EmployeeHourlyCostAndRateSearchParams) WithContext ¶
func (o *EmployeeHourlyCostAndRateSearchParams) WithContext(ctx context.Context) *EmployeeHourlyCostAndRateSearchParams
WithContext adds the context to the employee hourly cost and rate search params
func (*EmployeeHourlyCostAndRateSearchParams) WithCount ¶
func (o *EmployeeHourlyCostAndRateSearchParams) WithCount(count *int64) *EmployeeHourlyCostAndRateSearchParams
WithCount adds the count to the employee hourly cost and rate search params
func (*EmployeeHourlyCostAndRateSearchParams) WithEmployeeID ¶
func (o *EmployeeHourlyCostAndRateSearchParams) WithEmployeeID(employeeID *int32) *EmployeeHourlyCostAndRateSearchParams
WithEmployeeID adds the employeeID to the employee hourly cost and rate search params
func (*EmployeeHourlyCostAndRateSearchParams) WithFields ¶
func (o *EmployeeHourlyCostAndRateSearchParams) WithFields(fields *string) *EmployeeHourlyCostAndRateSearchParams
WithFields adds the fields to the employee hourly cost and rate search params
func (*EmployeeHourlyCostAndRateSearchParams) WithFrom ¶
func (o *EmployeeHourlyCostAndRateSearchParams) WithFrom(from *int64) *EmployeeHourlyCostAndRateSearchParams
WithFrom adds the from to the employee hourly cost and rate search params
func (*EmployeeHourlyCostAndRateSearchParams) WithHTTPClient ¶
func (o *EmployeeHourlyCostAndRateSearchParams) WithHTTPClient(client *http.Client) *EmployeeHourlyCostAndRateSearchParams
WithHTTPClient adds the HTTPClient to the employee hourly cost and rate search params
func (*EmployeeHourlyCostAndRateSearchParams) WithSorting ¶
func (o *EmployeeHourlyCostAndRateSearchParams) WithSorting(sorting *string) *EmployeeHourlyCostAndRateSearchParams
WithSorting adds the sorting to the employee hourly cost and rate search params
func (*EmployeeHourlyCostAndRateSearchParams) WithTimeout ¶
func (o *EmployeeHourlyCostAndRateSearchParams) WithTimeout(timeout time.Duration) *EmployeeHourlyCostAndRateSearchParams
WithTimeout adds the timeout to the employee hourly cost and rate search params
func (*EmployeeHourlyCostAndRateSearchParams) WriteToRequest ¶
func (o *EmployeeHourlyCostAndRateSearchParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type EmployeeHourlyCostAndRateSearchReader ¶
type EmployeeHourlyCostAndRateSearchReader struct {
// contains filtered or unexported fields
}
EmployeeHourlyCostAndRateSearchReader is a Reader for the EmployeeHourlyCostAndRateSearch structure.
func (*EmployeeHourlyCostAndRateSearchReader) ReadResponse ¶
func (o *EmployeeHourlyCostAndRateSearchReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
Source Files ¶
- employee_hourly_cost_and_rate_get_parameters.go
- employee_hourly_cost_and_rate_get_responses.go
- employee_hourly_cost_and_rate_post_parameters.go
- employee_hourly_cost_and_rate_post_responses.go
- employee_hourly_cost_and_rate_put_parameters.go
- employee_hourly_cost_and_rate_put_responses.go
- employee_hourly_cost_and_rate_search_parameters.go
- employee_hourly_cost_and_rate_search_responses.go
- hourly_cost_and_rate_client.go