hourly_cost_and_rate

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Jul 2, 2020 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

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

Client for 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

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 (*EmployeeHourlyCostAndRateGetOK) GetPayload

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

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

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

WithContext adds the context to the employee hourly cost and rate get params

func (*EmployeeHourlyCostAndRateGetParams) WithFields

WithFields adds the fields to the employee hourly cost and rate get params

func (*EmployeeHourlyCostAndRateGetParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the employee hourly cost and rate get params

func (*EmployeeHourlyCostAndRateGetParams) WithID

WithID adds the id to the employee hourly cost and rate get params

func (*EmployeeHourlyCostAndRateGetParams) WithTimeout

WithTimeout adds the timeout to the employee hourly cost and rate get params

func (*EmployeeHourlyCostAndRateGetParams) WriteToRequest

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 (*EmployeeHourlyCostAndRatePostCreated) GetPayload

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

SetBody adds the body to the employee hourly cost and rate post params

func (*EmployeeHourlyCostAndRatePostParams) SetContext

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

WithBody adds the body to the employee hourly cost and rate post params

func (*EmployeeHourlyCostAndRatePostParams) WithContext

WithContext adds the context to the employee hourly cost and rate post params

func (*EmployeeHourlyCostAndRatePostParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the employee hourly cost and rate post params

func (*EmployeeHourlyCostAndRatePostParams) WithTimeout

WithTimeout adds the timeout to the employee hourly cost and rate post params

func (*EmployeeHourlyCostAndRatePostParams) WriteToRequest

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 (*EmployeeHourlyCostAndRatePutOK) GetPayload

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

SetBody adds the body to the employee hourly cost and rate put params

func (*EmployeeHourlyCostAndRatePutParams) SetContext

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

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

WithBody adds the body to the employee hourly cost and rate put params

func (*EmployeeHourlyCostAndRatePutParams) WithContext

WithContext adds the context to the employee hourly cost and rate put params

func (*EmployeeHourlyCostAndRatePutParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the employee hourly cost and rate put params

func (*EmployeeHourlyCostAndRatePutParams) WithID

WithID adds the id to the employee hourly cost and rate put params

func (*EmployeeHourlyCostAndRatePutParams) WithTimeout

WithTimeout adds the timeout to the employee hourly cost and rate put params

func (*EmployeeHourlyCostAndRatePutParams) WriteToRequest

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 (*EmployeeHourlyCostAndRateSearchOK) GetPayload

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

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

WithContext adds the context to the employee hourly cost and rate search params

func (*EmployeeHourlyCostAndRateSearchParams) WithCount

WithCount adds the count to the employee hourly cost and rate search params

func (*EmployeeHourlyCostAndRateSearchParams) WithEmployeeID

WithEmployeeID adds the employeeID to the employee hourly cost and rate search params

func (*EmployeeHourlyCostAndRateSearchParams) WithFields

WithFields adds the fields to the employee hourly cost and rate search params

func (*EmployeeHourlyCostAndRateSearchParams) WithFrom

WithFrom adds the from to the employee hourly cost and rate search params

func (*EmployeeHourlyCostAndRateSearchParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the employee hourly cost and rate search params

func (*EmployeeHourlyCostAndRateSearchParams) WithSorting

WithSorting adds the sorting to the employee hourly cost and rate search params

func (*EmployeeHourlyCostAndRateSearchParams) WithTimeout

WithTimeout adds the timeout to the employee hourly cost and rate search params

func (*EmployeeHourlyCostAndRateSearchParams) WriteToRequest

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.

Jump to

Keyboard shortcuts

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