hourly_rates

package
v2.0.2 Latest Latest
Warning

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

Go to latest
Published: May 1, 2023 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 rates API

func (*Client) ProjectHourlyRatesDelete

func (a *Client) ProjectHourlyRatesDelete(params *ProjectHourlyRatesDeleteParams, authInfo runtime.ClientAuthInfoWriter) error

ProjectHourlyRatesDelete deletes project hourly rate

func (*Client) ProjectHourlyRatesGet

func (a *Client) ProjectHourlyRatesGet(params *ProjectHourlyRatesGetParams, authInfo runtime.ClientAuthInfoWriter) (*ProjectHourlyRatesGetOK, error)

ProjectHourlyRatesGet finds project hourly rate by ID

func (*Client) ProjectHourlyRatesListDeleteByIds

func (a *Client) ProjectHourlyRatesListDeleteByIds(params *ProjectHourlyRatesListDeleteByIdsParams, authInfo runtime.ClientAuthInfoWriter) error

ProjectHourlyRatesListDeleteByIds deletes project hourly rates

func (*Client) ProjectHourlyRatesListPostList

ProjectHourlyRatesListPostList creates multiple project hourly rates

func (*Client) ProjectHourlyRatesListPutList

func (a *Client) ProjectHourlyRatesListPutList(params *ProjectHourlyRatesListPutListParams, authInfo runtime.ClientAuthInfoWriter) (*ProjectHourlyRatesListPutListOK, error)

ProjectHourlyRatesListPutList updates multiple project hourly rates

func (*Client) ProjectHourlyRatesPost

ProjectHourlyRatesPost creates a project hourly rate

func (*Client) ProjectHourlyRatesPut

func (a *Client) ProjectHourlyRatesPut(params *ProjectHourlyRatesPutParams, authInfo runtime.ClientAuthInfoWriter) (*ProjectHourlyRatesPutOK, error)

ProjectHourlyRatesPut updates a project hourly rate

func (*Client) ProjectHourlyRatesSearch

func (a *Client) ProjectHourlyRatesSearch(params *ProjectHourlyRatesSearchParams, authInfo runtime.ClientAuthInfoWriter) (*ProjectHourlyRatesSearchOK, error)

ProjectHourlyRatesSearch finds project hourly rates corresponding with sent data

func (*Client) SetTransport

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

SetTransport changes the transport on the client

type ClientService

type ClientService interface {
	ProjectHourlyRatesListDeleteByIds(params *ProjectHourlyRatesListDeleteByIdsParams, authInfo runtime.ClientAuthInfoWriter) error

	ProjectHourlyRatesListPostList(params *ProjectHourlyRatesListPostListParams, authInfo runtime.ClientAuthInfoWriter) (*ProjectHourlyRatesListPostListCreated, error)

	ProjectHourlyRatesListPutList(params *ProjectHourlyRatesListPutListParams, authInfo runtime.ClientAuthInfoWriter) (*ProjectHourlyRatesListPutListOK, error)

	ProjectHourlyRatesDelete(params *ProjectHourlyRatesDeleteParams, authInfo runtime.ClientAuthInfoWriter) error

	ProjectHourlyRatesGet(params *ProjectHourlyRatesGetParams, authInfo runtime.ClientAuthInfoWriter) (*ProjectHourlyRatesGetOK, error)

	ProjectHourlyRatesPost(params *ProjectHourlyRatesPostParams, authInfo runtime.ClientAuthInfoWriter) (*ProjectHourlyRatesPostCreated, error)

	ProjectHourlyRatesPut(params *ProjectHourlyRatesPutParams, authInfo runtime.ClientAuthInfoWriter) (*ProjectHourlyRatesPutOK, error)

	ProjectHourlyRatesSearch(params *ProjectHourlyRatesSearchParams, authInfo runtime.ClientAuthInfoWriter) (*ProjectHourlyRatesSearchOK, 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 rates API client.

type ProjectHourlyRatesDeleteDefault

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

ProjectHourlyRatesDeleteDefault handles this case with default header values.

successful operation

func NewProjectHourlyRatesDeleteDefault

func NewProjectHourlyRatesDeleteDefault(code int) *ProjectHourlyRatesDeleteDefault

NewProjectHourlyRatesDeleteDefault creates a ProjectHourlyRatesDeleteDefault with default headers values

func (*ProjectHourlyRatesDeleteDefault) Code

Code gets the status code for the project hourly rates delete default response

func (*ProjectHourlyRatesDeleteDefault) Error

type ProjectHourlyRatesDeleteParams

type ProjectHourlyRatesDeleteParams struct {

	/*ID
	  Element ID

	*/
	ID int32

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

ProjectHourlyRatesDeleteParams contains all the parameters to send to the API endpoint for the project hourly rates delete operation typically these are written to a http.Request

func NewProjectHourlyRatesDeleteParams

func NewProjectHourlyRatesDeleteParams() *ProjectHourlyRatesDeleteParams

NewProjectHourlyRatesDeleteParams creates a new ProjectHourlyRatesDeleteParams object with the default values initialized.

func NewProjectHourlyRatesDeleteParamsWithContext

func NewProjectHourlyRatesDeleteParamsWithContext(ctx context.Context) *ProjectHourlyRatesDeleteParams

NewProjectHourlyRatesDeleteParamsWithContext creates a new ProjectHourlyRatesDeleteParams object with the default values initialized, and the ability to set a context for a request

func NewProjectHourlyRatesDeleteParamsWithHTTPClient

func NewProjectHourlyRatesDeleteParamsWithHTTPClient(client *http.Client) *ProjectHourlyRatesDeleteParams

NewProjectHourlyRatesDeleteParamsWithHTTPClient creates a new ProjectHourlyRatesDeleteParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewProjectHourlyRatesDeleteParamsWithTimeout

func NewProjectHourlyRatesDeleteParamsWithTimeout(timeout time.Duration) *ProjectHourlyRatesDeleteParams

NewProjectHourlyRatesDeleteParamsWithTimeout creates a new ProjectHourlyRatesDeleteParams object with the default values initialized, and the ability to set a timeout on a request

func (*ProjectHourlyRatesDeleteParams) SetContext

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

SetContext adds the context to the project hourly rates delete params

func (*ProjectHourlyRatesDeleteParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the project hourly rates delete params

func (*ProjectHourlyRatesDeleteParams) SetID

SetID adds the id to the project hourly rates delete params

func (*ProjectHourlyRatesDeleteParams) SetTimeout

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

SetTimeout adds the timeout to the project hourly rates delete params

func (*ProjectHourlyRatesDeleteParams) WithContext

WithContext adds the context to the project hourly rates delete params

func (*ProjectHourlyRatesDeleteParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the project hourly rates delete params

func (*ProjectHourlyRatesDeleteParams) WithID

WithID adds the id to the project hourly rates delete params

func (*ProjectHourlyRatesDeleteParams) WithTimeout

WithTimeout adds the timeout to the project hourly rates delete params

func (*ProjectHourlyRatesDeleteParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type ProjectHourlyRatesDeleteReader

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

ProjectHourlyRatesDeleteReader is a Reader for the ProjectHourlyRatesDelete structure.

func (*ProjectHourlyRatesDeleteReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ProjectHourlyRatesGetOK

type ProjectHourlyRatesGetOK struct {
	Payload *models.ResponseWrapperProjectHourlyRate
}

ProjectHourlyRatesGetOK handles this case with default header values.

successful operation

func NewProjectHourlyRatesGetOK

func NewProjectHourlyRatesGetOK() *ProjectHourlyRatesGetOK

NewProjectHourlyRatesGetOK creates a ProjectHourlyRatesGetOK with default headers values

func (*ProjectHourlyRatesGetOK) Error

func (o *ProjectHourlyRatesGetOK) Error() string

func (*ProjectHourlyRatesGetOK) GetPayload

type ProjectHourlyRatesGetParams

type ProjectHourlyRatesGetParams struct {

	/*Fields
	  Fields filter pattern

	*/
	Fields *string
	/*ID
	  Element ID

	*/
	ID int32

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

ProjectHourlyRatesGetParams contains all the parameters to send to the API endpoint for the project hourly rates get operation typically these are written to a http.Request

func NewProjectHourlyRatesGetParams

func NewProjectHourlyRatesGetParams() *ProjectHourlyRatesGetParams

NewProjectHourlyRatesGetParams creates a new ProjectHourlyRatesGetParams object with the default values initialized.

func NewProjectHourlyRatesGetParamsWithContext

func NewProjectHourlyRatesGetParamsWithContext(ctx context.Context) *ProjectHourlyRatesGetParams

NewProjectHourlyRatesGetParamsWithContext creates a new ProjectHourlyRatesGetParams object with the default values initialized, and the ability to set a context for a request

func NewProjectHourlyRatesGetParamsWithHTTPClient

func NewProjectHourlyRatesGetParamsWithHTTPClient(client *http.Client) *ProjectHourlyRatesGetParams

NewProjectHourlyRatesGetParamsWithHTTPClient creates a new ProjectHourlyRatesGetParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewProjectHourlyRatesGetParamsWithTimeout

func NewProjectHourlyRatesGetParamsWithTimeout(timeout time.Duration) *ProjectHourlyRatesGetParams

NewProjectHourlyRatesGetParamsWithTimeout creates a new ProjectHourlyRatesGetParams object with the default values initialized, and the ability to set a timeout on a request

func (*ProjectHourlyRatesGetParams) SetContext

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

SetContext adds the context to the project hourly rates get params

func (*ProjectHourlyRatesGetParams) SetFields

func (o *ProjectHourlyRatesGetParams) SetFields(fields *string)

SetFields adds the fields to the project hourly rates get params

func (*ProjectHourlyRatesGetParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the project hourly rates get params

func (*ProjectHourlyRatesGetParams) SetID

func (o *ProjectHourlyRatesGetParams) SetID(id int32)

SetID adds the id to the project hourly rates get params

func (*ProjectHourlyRatesGetParams) SetTimeout

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

SetTimeout adds the timeout to the project hourly rates get params

func (*ProjectHourlyRatesGetParams) WithContext

WithContext adds the context to the project hourly rates get params

func (*ProjectHourlyRatesGetParams) WithFields

WithFields adds the fields to the project hourly rates get params

func (*ProjectHourlyRatesGetParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the project hourly rates get params

func (*ProjectHourlyRatesGetParams) WithID

WithID adds the id to the project hourly rates get params

func (*ProjectHourlyRatesGetParams) WithTimeout

WithTimeout adds the timeout to the project hourly rates get params

func (*ProjectHourlyRatesGetParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type ProjectHourlyRatesGetReader

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

ProjectHourlyRatesGetReader is a Reader for the ProjectHourlyRatesGet structure.

func (*ProjectHourlyRatesGetReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ProjectHourlyRatesListDeleteByIdsDefault

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

ProjectHourlyRatesListDeleteByIdsDefault handles this case with default header values.

successful operation

func NewProjectHourlyRatesListDeleteByIdsDefault

func NewProjectHourlyRatesListDeleteByIdsDefault(code int) *ProjectHourlyRatesListDeleteByIdsDefault

NewProjectHourlyRatesListDeleteByIdsDefault creates a ProjectHourlyRatesListDeleteByIdsDefault with default headers values

func (*ProjectHourlyRatesListDeleteByIdsDefault) Code

Code gets the status code for the project hourly rates list delete by ids default response

func (*ProjectHourlyRatesListDeleteByIdsDefault) Error

type ProjectHourlyRatesListDeleteByIdsParams

type ProjectHourlyRatesListDeleteByIdsParams struct {

	/*Ids
	  ID of the elements

	*/
	Ids string

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

ProjectHourlyRatesListDeleteByIdsParams contains all the parameters to send to the API endpoint for the project hourly rates list delete by ids operation typically these are written to a http.Request

func NewProjectHourlyRatesListDeleteByIdsParams

func NewProjectHourlyRatesListDeleteByIdsParams() *ProjectHourlyRatesListDeleteByIdsParams

NewProjectHourlyRatesListDeleteByIdsParams creates a new ProjectHourlyRatesListDeleteByIdsParams object with the default values initialized.

func NewProjectHourlyRatesListDeleteByIdsParamsWithContext

func NewProjectHourlyRatesListDeleteByIdsParamsWithContext(ctx context.Context) *ProjectHourlyRatesListDeleteByIdsParams

NewProjectHourlyRatesListDeleteByIdsParamsWithContext creates a new ProjectHourlyRatesListDeleteByIdsParams object with the default values initialized, and the ability to set a context for a request

func NewProjectHourlyRatesListDeleteByIdsParamsWithHTTPClient

func NewProjectHourlyRatesListDeleteByIdsParamsWithHTTPClient(client *http.Client) *ProjectHourlyRatesListDeleteByIdsParams

NewProjectHourlyRatesListDeleteByIdsParamsWithHTTPClient creates a new ProjectHourlyRatesListDeleteByIdsParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewProjectHourlyRatesListDeleteByIdsParamsWithTimeout

func NewProjectHourlyRatesListDeleteByIdsParamsWithTimeout(timeout time.Duration) *ProjectHourlyRatesListDeleteByIdsParams

NewProjectHourlyRatesListDeleteByIdsParamsWithTimeout creates a new ProjectHourlyRatesListDeleteByIdsParams object with the default values initialized, and the ability to set a timeout on a request

func (*ProjectHourlyRatesListDeleteByIdsParams) SetContext

SetContext adds the context to the project hourly rates list delete by ids params

func (*ProjectHourlyRatesListDeleteByIdsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the project hourly rates list delete by ids params

func (*ProjectHourlyRatesListDeleteByIdsParams) SetIds

SetIds adds the ids to the project hourly rates list delete by ids params

func (*ProjectHourlyRatesListDeleteByIdsParams) SetTimeout

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

SetTimeout adds the timeout to the project hourly rates list delete by ids params

func (*ProjectHourlyRatesListDeleteByIdsParams) WithContext

WithContext adds the context to the project hourly rates list delete by ids params

func (*ProjectHourlyRatesListDeleteByIdsParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the project hourly rates list delete by ids params

func (*ProjectHourlyRatesListDeleteByIdsParams) WithIds

WithIds adds the ids to the project hourly rates list delete by ids params

func (*ProjectHourlyRatesListDeleteByIdsParams) WithTimeout

WithTimeout adds the timeout to the project hourly rates list delete by ids params

func (*ProjectHourlyRatesListDeleteByIdsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type ProjectHourlyRatesListDeleteByIdsReader

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

ProjectHourlyRatesListDeleteByIdsReader is a Reader for the ProjectHourlyRatesListDeleteByIds structure.

func (*ProjectHourlyRatesListDeleteByIdsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ProjectHourlyRatesListPostListCreated

type ProjectHourlyRatesListPostListCreated struct {
	Payload *models.ListResponseProjectHourlyRate
}

ProjectHourlyRatesListPostListCreated handles this case with default header values.

successfully created

func NewProjectHourlyRatesListPostListCreated

func NewProjectHourlyRatesListPostListCreated() *ProjectHourlyRatesListPostListCreated

NewProjectHourlyRatesListPostListCreated creates a ProjectHourlyRatesListPostListCreated with default headers values

func (*ProjectHourlyRatesListPostListCreated) Error

func (*ProjectHourlyRatesListPostListCreated) GetPayload

type ProjectHourlyRatesListPostListParams

type ProjectHourlyRatesListPostListParams struct {

	/*Body
	  JSON representing a list of new object to be created. Should not have ID and version set.

	*/
	Body []*models.ProjectHourlyRate

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

ProjectHourlyRatesListPostListParams contains all the parameters to send to the API endpoint for the project hourly rates list post list operation typically these are written to a http.Request

func NewProjectHourlyRatesListPostListParams

func NewProjectHourlyRatesListPostListParams() *ProjectHourlyRatesListPostListParams

NewProjectHourlyRatesListPostListParams creates a new ProjectHourlyRatesListPostListParams object with the default values initialized.

func NewProjectHourlyRatesListPostListParamsWithContext

func NewProjectHourlyRatesListPostListParamsWithContext(ctx context.Context) *ProjectHourlyRatesListPostListParams

NewProjectHourlyRatesListPostListParamsWithContext creates a new ProjectHourlyRatesListPostListParams object with the default values initialized, and the ability to set a context for a request

func NewProjectHourlyRatesListPostListParamsWithHTTPClient

func NewProjectHourlyRatesListPostListParamsWithHTTPClient(client *http.Client) *ProjectHourlyRatesListPostListParams

NewProjectHourlyRatesListPostListParamsWithHTTPClient creates a new ProjectHourlyRatesListPostListParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewProjectHourlyRatesListPostListParamsWithTimeout

func NewProjectHourlyRatesListPostListParamsWithTimeout(timeout time.Duration) *ProjectHourlyRatesListPostListParams

NewProjectHourlyRatesListPostListParamsWithTimeout creates a new ProjectHourlyRatesListPostListParams object with the default values initialized, and the ability to set a timeout on a request

func (*ProjectHourlyRatesListPostListParams) SetBody

SetBody adds the body to the project hourly rates list post list params

func (*ProjectHourlyRatesListPostListParams) SetContext

SetContext adds the context to the project hourly rates list post list params

func (*ProjectHourlyRatesListPostListParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the project hourly rates list post list params

func (*ProjectHourlyRatesListPostListParams) SetTimeout

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

SetTimeout adds the timeout to the project hourly rates list post list params

func (*ProjectHourlyRatesListPostListParams) WithBody

WithBody adds the body to the project hourly rates list post list params

func (*ProjectHourlyRatesListPostListParams) WithContext

WithContext adds the context to the project hourly rates list post list params

func (*ProjectHourlyRatesListPostListParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the project hourly rates list post list params

func (*ProjectHourlyRatesListPostListParams) WithTimeout

WithTimeout adds the timeout to the project hourly rates list post list params

func (*ProjectHourlyRatesListPostListParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type ProjectHourlyRatesListPostListReader

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

ProjectHourlyRatesListPostListReader is a Reader for the ProjectHourlyRatesListPostList structure.

func (*ProjectHourlyRatesListPostListReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ProjectHourlyRatesListPutListOK

type ProjectHourlyRatesListPutListOK struct {
	Payload *models.ListResponseProjectHourlyRate
}

ProjectHourlyRatesListPutListOK handles this case with default header values.

successful operation

func NewProjectHourlyRatesListPutListOK

func NewProjectHourlyRatesListPutListOK() *ProjectHourlyRatesListPutListOK

NewProjectHourlyRatesListPutListOK creates a ProjectHourlyRatesListPutListOK with default headers values

func (*ProjectHourlyRatesListPutListOK) Error

func (*ProjectHourlyRatesListPutListOK) GetPayload

type ProjectHourlyRatesListPutListParams

type ProjectHourlyRatesListPutListParams struct {

	/*Body
	  JSON representing updates to object. Should have ID and version set.

	*/
	Body []*models.ProjectHourlyRate

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

ProjectHourlyRatesListPutListParams contains all the parameters to send to the API endpoint for the project hourly rates list put list operation typically these are written to a http.Request

func NewProjectHourlyRatesListPutListParams

func NewProjectHourlyRatesListPutListParams() *ProjectHourlyRatesListPutListParams

NewProjectHourlyRatesListPutListParams creates a new ProjectHourlyRatesListPutListParams object with the default values initialized.

func NewProjectHourlyRatesListPutListParamsWithContext

func NewProjectHourlyRatesListPutListParamsWithContext(ctx context.Context) *ProjectHourlyRatesListPutListParams

NewProjectHourlyRatesListPutListParamsWithContext creates a new ProjectHourlyRatesListPutListParams object with the default values initialized, and the ability to set a context for a request

func NewProjectHourlyRatesListPutListParamsWithHTTPClient

func NewProjectHourlyRatesListPutListParamsWithHTTPClient(client *http.Client) *ProjectHourlyRatesListPutListParams

NewProjectHourlyRatesListPutListParamsWithHTTPClient creates a new ProjectHourlyRatesListPutListParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewProjectHourlyRatesListPutListParamsWithTimeout

func NewProjectHourlyRatesListPutListParamsWithTimeout(timeout time.Duration) *ProjectHourlyRatesListPutListParams

NewProjectHourlyRatesListPutListParamsWithTimeout creates a new ProjectHourlyRatesListPutListParams object with the default values initialized, and the ability to set a timeout on a request

func (*ProjectHourlyRatesListPutListParams) SetBody

SetBody adds the body to the project hourly rates list put list params

func (*ProjectHourlyRatesListPutListParams) SetContext

SetContext adds the context to the project hourly rates list put list params

func (*ProjectHourlyRatesListPutListParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the project hourly rates list put list params

func (*ProjectHourlyRatesListPutListParams) SetTimeout

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

SetTimeout adds the timeout to the project hourly rates list put list params

func (*ProjectHourlyRatesListPutListParams) WithBody

WithBody adds the body to the project hourly rates list put list params

func (*ProjectHourlyRatesListPutListParams) WithContext

WithContext adds the context to the project hourly rates list put list params

func (*ProjectHourlyRatesListPutListParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the project hourly rates list put list params

func (*ProjectHourlyRatesListPutListParams) WithTimeout

WithTimeout adds the timeout to the project hourly rates list put list params

func (*ProjectHourlyRatesListPutListParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type ProjectHourlyRatesListPutListReader

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

ProjectHourlyRatesListPutListReader is a Reader for the ProjectHourlyRatesListPutList structure.

func (*ProjectHourlyRatesListPutListReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ProjectHourlyRatesPostCreated

type ProjectHourlyRatesPostCreated struct {
	Payload *models.ResponseWrapperProjectHourlyRate
}

ProjectHourlyRatesPostCreated handles this case with default header values.

successfully created

func NewProjectHourlyRatesPostCreated

func NewProjectHourlyRatesPostCreated() *ProjectHourlyRatesPostCreated

NewProjectHourlyRatesPostCreated creates a ProjectHourlyRatesPostCreated with default headers values

func (*ProjectHourlyRatesPostCreated) Error

func (*ProjectHourlyRatesPostCreated) GetPayload

type ProjectHourlyRatesPostParams

type ProjectHourlyRatesPostParams struct {

	/*Body
	  JSON representing the new object to be created. Should not have ID and version set.

	*/
	Body *models.ProjectHourlyRate

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

ProjectHourlyRatesPostParams contains all the parameters to send to the API endpoint for the project hourly rates post operation typically these are written to a http.Request

func NewProjectHourlyRatesPostParams

func NewProjectHourlyRatesPostParams() *ProjectHourlyRatesPostParams

NewProjectHourlyRatesPostParams creates a new ProjectHourlyRatesPostParams object with the default values initialized.

func NewProjectHourlyRatesPostParamsWithContext

func NewProjectHourlyRatesPostParamsWithContext(ctx context.Context) *ProjectHourlyRatesPostParams

NewProjectHourlyRatesPostParamsWithContext creates a new ProjectHourlyRatesPostParams object with the default values initialized, and the ability to set a context for a request

func NewProjectHourlyRatesPostParamsWithHTTPClient

func NewProjectHourlyRatesPostParamsWithHTTPClient(client *http.Client) *ProjectHourlyRatesPostParams

NewProjectHourlyRatesPostParamsWithHTTPClient creates a new ProjectHourlyRatesPostParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewProjectHourlyRatesPostParamsWithTimeout

func NewProjectHourlyRatesPostParamsWithTimeout(timeout time.Duration) *ProjectHourlyRatesPostParams

NewProjectHourlyRatesPostParamsWithTimeout creates a new ProjectHourlyRatesPostParams object with the default values initialized, and the ability to set a timeout on a request

func (*ProjectHourlyRatesPostParams) SetBody

SetBody adds the body to the project hourly rates post params

func (*ProjectHourlyRatesPostParams) SetContext

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

SetContext adds the context to the project hourly rates post params

func (*ProjectHourlyRatesPostParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the project hourly rates post params

func (*ProjectHourlyRatesPostParams) SetTimeout

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

SetTimeout adds the timeout to the project hourly rates post params

func (*ProjectHourlyRatesPostParams) WithBody

WithBody adds the body to the project hourly rates post params

func (*ProjectHourlyRatesPostParams) WithContext

WithContext adds the context to the project hourly rates post params

func (*ProjectHourlyRatesPostParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the project hourly rates post params

func (*ProjectHourlyRatesPostParams) WithTimeout

WithTimeout adds the timeout to the project hourly rates post params

func (*ProjectHourlyRatesPostParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type ProjectHourlyRatesPostReader

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

ProjectHourlyRatesPostReader is a Reader for the ProjectHourlyRatesPost structure.

func (*ProjectHourlyRatesPostReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ProjectHourlyRatesPutOK

type ProjectHourlyRatesPutOK struct {
	Payload *models.ResponseWrapperProjectHourlyRate
}

ProjectHourlyRatesPutOK handles this case with default header values.

successful operation

func NewProjectHourlyRatesPutOK

func NewProjectHourlyRatesPutOK() *ProjectHourlyRatesPutOK

NewProjectHourlyRatesPutOK creates a ProjectHourlyRatesPutOK with default headers values

func (*ProjectHourlyRatesPutOK) Error

func (o *ProjectHourlyRatesPutOK) Error() string

func (*ProjectHourlyRatesPutOK) GetPayload

type ProjectHourlyRatesPutParams

type ProjectHourlyRatesPutParams struct {

	/*Body
	  Partial object describing what should be updated

	*/
	Body *models.ProjectHourlyRate
	/*ID
	  Element ID

	*/
	ID int32

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

ProjectHourlyRatesPutParams contains all the parameters to send to the API endpoint for the project hourly rates put operation typically these are written to a http.Request

func NewProjectHourlyRatesPutParams

func NewProjectHourlyRatesPutParams() *ProjectHourlyRatesPutParams

NewProjectHourlyRatesPutParams creates a new ProjectHourlyRatesPutParams object with the default values initialized.

func NewProjectHourlyRatesPutParamsWithContext

func NewProjectHourlyRatesPutParamsWithContext(ctx context.Context) *ProjectHourlyRatesPutParams

NewProjectHourlyRatesPutParamsWithContext creates a new ProjectHourlyRatesPutParams object with the default values initialized, and the ability to set a context for a request

func NewProjectHourlyRatesPutParamsWithHTTPClient

func NewProjectHourlyRatesPutParamsWithHTTPClient(client *http.Client) *ProjectHourlyRatesPutParams

NewProjectHourlyRatesPutParamsWithHTTPClient creates a new ProjectHourlyRatesPutParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewProjectHourlyRatesPutParamsWithTimeout

func NewProjectHourlyRatesPutParamsWithTimeout(timeout time.Duration) *ProjectHourlyRatesPutParams

NewProjectHourlyRatesPutParamsWithTimeout creates a new ProjectHourlyRatesPutParams object with the default values initialized, and the ability to set a timeout on a request

func (*ProjectHourlyRatesPutParams) SetBody

SetBody adds the body to the project hourly rates put params

func (*ProjectHourlyRatesPutParams) SetContext

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

SetContext adds the context to the project hourly rates put params

func (*ProjectHourlyRatesPutParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the project hourly rates put params

func (*ProjectHourlyRatesPutParams) SetID

func (o *ProjectHourlyRatesPutParams) SetID(id int32)

SetID adds the id to the project hourly rates put params

func (*ProjectHourlyRatesPutParams) SetTimeout

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

SetTimeout adds the timeout to the project hourly rates put params

func (*ProjectHourlyRatesPutParams) WithBody

WithBody adds the body to the project hourly rates put params

func (*ProjectHourlyRatesPutParams) WithContext

WithContext adds the context to the project hourly rates put params

func (*ProjectHourlyRatesPutParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the project hourly rates put params

func (*ProjectHourlyRatesPutParams) WithID

WithID adds the id to the project hourly rates put params

func (*ProjectHourlyRatesPutParams) WithTimeout

WithTimeout adds the timeout to the project hourly rates put params

func (*ProjectHourlyRatesPutParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type ProjectHourlyRatesPutReader

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

ProjectHourlyRatesPutReader is a Reader for the ProjectHourlyRatesPut structure.

func (*ProjectHourlyRatesPutReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ProjectHourlyRatesSearchOK

type ProjectHourlyRatesSearchOK struct {
	Payload *models.ListResponseProjectHourlyRate
}

ProjectHourlyRatesSearchOK handles this case with default header values.

successful operation

func NewProjectHourlyRatesSearchOK

func NewProjectHourlyRatesSearchOK() *ProjectHourlyRatesSearchOK

NewProjectHourlyRatesSearchOK creates a ProjectHourlyRatesSearchOK with default headers values

func (*ProjectHourlyRatesSearchOK) Error

func (*ProjectHourlyRatesSearchOK) GetPayload

type ProjectHourlyRatesSearchParams

type ProjectHourlyRatesSearchParams struct {

	/*Count
	  Number of elements to return

	*/
	Count *int64
	/*Fields
	  Fields filter pattern

	*/
	Fields *string
	/*From
	  From index

	*/
	From *int64
	/*ID
	  List of IDs

	*/
	ID *string
	/*ProjectID
	  List of IDs

	*/
	ProjectID *string
	/*ShowInProjectOrder
	  Equals

	*/
	ShowInProjectOrder *bool
	/*Sorting
	  Sorting pattern

	*/
	Sorting *string
	/*StartDateFrom
	  From and including

	*/
	StartDateFrom *string
	/*StartDateTo
	  To and excluding

	*/
	StartDateTo *string
	/*Type
	  Equals

	*/
	Type *string

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

ProjectHourlyRatesSearchParams contains all the parameters to send to the API endpoint for the project hourly rates search operation typically these are written to a http.Request

func NewProjectHourlyRatesSearchParams

func NewProjectHourlyRatesSearchParams() *ProjectHourlyRatesSearchParams

NewProjectHourlyRatesSearchParams creates a new ProjectHourlyRatesSearchParams object with the default values initialized.

func NewProjectHourlyRatesSearchParamsWithContext

func NewProjectHourlyRatesSearchParamsWithContext(ctx context.Context) *ProjectHourlyRatesSearchParams

NewProjectHourlyRatesSearchParamsWithContext creates a new ProjectHourlyRatesSearchParams object with the default values initialized, and the ability to set a context for a request

func NewProjectHourlyRatesSearchParamsWithHTTPClient

func NewProjectHourlyRatesSearchParamsWithHTTPClient(client *http.Client) *ProjectHourlyRatesSearchParams

NewProjectHourlyRatesSearchParamsWithHTTPClient creates a new ProjectHourlyRatesSearchParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewProjectHourlyRatesSearchParamsWithTimeout

func NewProjectHourlyRatesSearchParamsWithTimeout(timeout time.Duration) *ProjectHourlyRatesSearchParams

NewProjectHourlyRatesSearchParamsWithTimeout creates a new ProjectHourlyRatesSearchParams object with the default values initialized, and the ability to set a timeout on a request

func (*ProjectHourlyRatesSearchParams) SetContext

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

SetContext adds the context to the project hourly rates search params

func (*ProjectHourlyRatesSearchParams) SetCount

func (o *ProjectHourlyRatesSearchParams) SetCount(count *int64)

SetCount adds the count to the project hourly rates search params

func (*ProjectHourlyRatesSearchParams) SetFields

func (o *ProjectHourlyRatesSearchParams) SetFields(fields *string)

SetFields adds the fields to the project hourly rates search params

func (*ProjectHourlyRatesSearchParams) SetFrom

func (o *ProjectHourlyRatesSearchParams) SetFrom(from *int64)

SetFrom adds the from to the project hourly rates search params

func (*ProjectHourlyRatesSearchParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the project hourly rates search params

func (*ProjectHourlyRatesSearchParams) SetID

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

SetID adds the id to the project hourly rates search params

func (*ProjectHourlyRatesSearchParams) SetProjectID

func (o *ProjectHourlyRatesSearchParams) SetProjectID(projectID *string)

SetProjectID adds the projectId to the project hourly rates search params

func (*ProjectHourlyRatesSearchParams) SetShowInProjectOrder

func (o *ProjectHourlyRatesSearchParams) SetShowInProjectOrder(showInProjectOrder *bool)

SetShowInProjectOrder adds the showInProjectOrder to the project hourly rates search params

func (*ProjectHourlyRatesSearchParams) SetSorting

func (o *ProjectHourlyRatesSearchParams) SetSorting(sorting *string)

SetSorting adds the sorting to the project hourly rates search params

func (*ProjectHourlyRatesSearchParams) SetStartDateFrom

func (o *ProjectHourlyRatesSearchParams) SetStartDateFrom(startDateFrom *string)

SetStartDateFrom adds the startDateFrom to the project hourly rates search params

func (*ProjectHourlyRatesSearchParams) SetStartDateTo

func (o *ProjectHourlyRatesSearchParams) SetStartDateTo(startDateTo *string)

SetStartDateTo adds the startDateTo to the project hourly rates search params

func (*ProjectHourlyRatesSearchParams) SetTimeout

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

SetTimeout adds the timeout to the project hourly rates search params

func (*ProjectHourlyRatesSearchParams) SetType

func (o *ProjectHourlyRatesSearchParams) SetType(typeVar *string)

SetType adds the type to the project hourly rates search params

func (*ProjectHourlyRatesSearchParams) WithContext

WithContext adds the context to the project hourly rates search params

func (*ProjectHourlyRatesSearchParams) WithCount

WithCount adds the count to the project hourly rates search params

func (*ProjectHourlyRatesSearchParams) WithFields

WithFields adds the fields to the project hourly rates search params

func (*ProjectHourlyRatesSearchParams) WithFrom

WithFrom adds the from to the project hourly rates search params

func (*ProjectHourlyRatesSearchParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the project hourly rates search params

func (*ProjectHourlyRatesSearchParams) WithID

WithID adds the id to the project hourly rates search params

func (*ProjectHourlyRatesSearchParams) WithProjectID

WithProjectID adds the projectID to the project hourly rates search params

func (*ProjectHourlyRatesSearchParams) WithShowInProjectOrder

func (o *ProjectHourlyRatesSearchParams) WithShowInProjectOrder(showInProjectOrder *bool) *ProjectHourlyRatesSearchParams

WithShowInProjectOrder adds the showInProjectOrder to the project hourly rates search params

func (*ProjectHourlyRatesSearchParams) WithSorting

WithSorting adds the sorting to the project hourly rates search params

func (*ProjectHourlyRatesSearchParams) WithStartDateFrom

func (o *ProjectHourlyRatesSearchParams) WithStartDateFrom(startDateFrom *string) *ProjectHourlyRatesSearchParams

WithStartDateFrom adds the startDateFrom to the project hourly rates search params

func (*ProjectHourlyRatesSearchParams) WithStartDateTo

func (o *ProjectHourlyRatesSearchParams) WithStartDateTo(startDateTo *string) *ProjectHourlyRatesSearchParams

WithStartDateTo adds the startDateTo to the project hourly rates search params

func (*ProjectHourlyRatesSearchParams) WithTimeout

WithTimeout adds the timeout to the project hourly rates search params

func (*ProjectHourlyRatesSearchParams) WithType

WithType adds the typeVar to the project hourly rates search params

func (*ProjectHourlyRatesSearchParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type ProjectHourlyRatesSearchReader

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

ProjectHourlyRatesSearchReader is a Reader for the ProjectHourlyRatesSearch structure.

func (*ProjectHourlyRatesSearchReader) ReadResponse

func (o *ProjectHourlyRatesSearchReader) 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