Documentation
¶
Index ¶
- type Client
- func (a *Client) ProjectHourlyRatesDelete(params *ProjectHourlyRatesDeleteParams, authInfo runtime.ClientAuthInfoWriter) error
- func (a *Client) ProjectHourlyRatesGet(params *ProjectHourlyRatesGetParams, authInfo runtime.ClientAuthInfoWriter) (*ProjectHourlyRatesGetOK, error)
- func (a *Client) ProjectHourlyRatesListDeleteByIds(params *ProjectHourlyRatesListDeleteByIdsParams, ...) error
- func (a *Client) ProjectHourlyRatesListPostList(params *ProjectHourlyRatesListPostListParams, ...) (*ProjectHourlyRatesListPostListCreated, error)
- func (a *Client) ProjectHourlyRatesListPutList(params *ProjectHourlyRatesListPutListParams, ...) (*ProjectHourlyRatesListPutListOK, error)
- func (a *Client) ProjectHourlyRatesPost(params *ProjectHourlyRatesPostParams, authInfo runtime.ClientAuthInfoWriter) (*ProjectHourlyRatesPostCreated, error)
- func (a *Client) ProjectHourlyRatesPut(params *ProjectHourlyRatesPutParams, authInfo runtime.ClientAuthInfoWriter) (*ProjectHourlyRatesPutOK, error)
- func (a *Client) ProjectHourlyRatesSearch(params *ProjectHourlyRatesSearchParams, authInfo runtime.ClientAuthInfoWriter) (*ProjectHourlyRatesSearchOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientService
- type ProjectHourlyRatesDeleteDefault
- type ProjectHourlyRatesDeleteParams
- func NewProjectHourlyRatesDeleteParams() *ProjectHourlyRatesDeleteParams
- func NewProjectHourlyRatesDeleteParamsWithContext(ctx context.Context) *ProjectHourlyRatesDeleteParams
- func NewProjectHourlyRatesDeleteParamsWithHTTPClient(client *http.Client) *ProjectHourlyRatesDeleteParams
- func NewProjectHourlyRatesDeleteParamsWithTimeout(timeout time.Duration) *ProjectHourlyRatesDeleteParams
- func (o *ProjectHourlyRatesDeleteParams) SetContext(ctx context.Context)
- func (o *ProjectHourlyRatesDeleteParams) SetHTTPClient(client *http.Client)
- func (o *ProjectHourlyRatesDeleteParams) SetID(id int32)
- func (o *ProjectHourlyRatesDeleteParams) SetTimeout(timeout time.Duration)
- func (o *ProjectHourlyRatesDeleteParams) WithContext(ctx context.Context) *ProjectHourlyRatesDeleteParams
- func (o *ProjectHourlyRatesDeleteParams) WithHTTPClient(client *http.Client) *ProjectHourlyRatesDeleteParams
- func (o *ProjectHourlyRatesDeleteParams) WithID(id int32) *ProjectHourlyRatesDeleteParams
- func (o *ProjectHourlyRatesDeleteParams) WithTimeout(timeout time.Duration) *ProjectHourlyRatesDeleteParams
- func (o *ProjectHourlyRatesDeleteParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ProjectHourlyRatesDeleteReader
- type ProjectHourlyRatesGetOK
- type ProjectHourlyRatesGetParams
- func NewProjectHourlyRatesGetParams() *ProjectHourlyRatesGetParams
- func NewProjectHourlyRatesGetParamsWithContext(ctx context.Context) *ProjectHourlyRatesGetParams
- func NewProjectHourlyRatesGetParamsWithHTTPClient(client *http.Client) *ProjectHourlyRatesGetParams
- func NewProjectHourlyRatesGetParamsWithTimeout(timeout time.Duration) *ProjectHourlyRatesGetParams
- func (o *ProjectHourlyRatesGetParams) SetContext(ctx context.Context)
- func (o *ProjectHourlyRatesGetParams) SetFields(fields *string)
- func (o *ProjectHourlyRatesGetParams) SetHTTPClient(client *http.Client)
- func (o *ProjectHourlyRatesGetParams) SetID(id int32)
- func (o *ProjectHourlyRatesGetParams) SetTimeout(timeout time.Duration)
- func (o *ProjectHourlyRatesGetParams) WithContext(ctx context.Context) *ProjectHourlyRatesGetParams
- func (o *ProjectHourlyRatesGetParams) WithFields(fields *string) *ProjectHourlyRatesGetParams
- func (o *ProjectHourlyRatesGetParams) WithHTTPClient(client *http.Client) *ProjectHourlyRatesGetParams
- func (o *ProjectHourlyRatesGetParams) WithID(id int32) *ProjectHourlyRatesGetParams
- func (o *ProjectHourlyRatesGetParams) WithTimeout(timeout time.Duration) *ProjectHourlyRatesGetParams
- func (o *ProjectHourlyRatesGetParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ProjectHourlyRatesGetReader
- type ProjectHourlyRatesListDeleteByIdsDefault
- type ProjectHourlyRatesListDeleteByIdsParams
- func NewProjectHourlyRatesListDeleteByIdsParams() *ProjectHourlyRatesListDeleteByIdsParams
- func NewProjectHourlyRatesListDeleteByIdsParamsWithContext(ctx context.Context) *ProjectHourlyRatesListDeleteByIdsParams
- func NewProjectHourlyRatesListDeleteByIdsParamsWithHTTPClient(client *http.Client) *ProjectHourlyRatesListDeleteByIdsParams
- func NewProjectHourlyRatesListDeleteByIdsParamsWithTimeout(timeout time.Duration) *ProjectHourlyRatesListDeleteByIdsParams
- func (o *ProjectHourlyRatesListDeleteByIdsParams) SetContext(ctx context.Context)
- func (o *ProjectHourlyRatesListDeleteByIdsParams) SetHTTPClient(client *http.Client)
- func (o *ProjectHourlyRatesListDeleteByIdsParams) SetIds(ids string)
- func (o *ProjectHourlyRatesListDeleteByIdsParams) SetTimeout(timeout time.Duration)
- func (o *ProjectHourlyRatesListDeleteByIdsParams) WithContext(ctx context.Context) *ProjectHourlyRatesListDeleteByIdsParams
- func (o *ProjectHourlyRatesListDeleteByIdsParams) WithHTTPClient(client *http.Client) *ProjectHourlyRatesListDeleteByIdsParams
- func (o *ProjectHourlyRatesListDeleteByIdsParams) WithIds(ids string) *ProjectHourlyRatesListDeleteByIdsParams
- func (o *ProjectHourlyRatesListDeleteByIdsParams) WithTimeout(timeout time.Duration) *ProjectHourlyRatesListDeleteByIdsParams
- func (o *ProjectHourlyRatesListDeleteByIdsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ProjectHourlyRatesListDeleteByIdsReader
- type ProjectHourlyRatesListPostListCreated
- type ProjectHourlyRatesListPostListParams
- func NewProjectHourlyRatesListPostListParams() *ProjectHourlyRatesListPostListParams
- func NewProjectHourlyRatesListPostListParamsWithContext(ctx context.Context) *ProjectHourlyRatesListPostListParams
- func NewProjectHourlyRatesListPostListParamsWithHTTPClient(client *http.Client) *ProjectHourlyRatesListPostListParams
- func NewProjectHourlyRatesListPostListParamsWithTimeout(timeout time.Duration) *ProjectHourlyRatesListPostListParams
- func (o *ProjectHourlyRatesListPostListParams) SetBody(body []*models.ProjectHourlyRate)
- func (o *ProjectHourlyRatesListPostListParams) SetContext(ctx context.Context)
- func (o *ProjectHourlyRatesListPostListParams) SetHTTPClient(client *http.Client)
- func (o *ProjectHourlyRatesListPostListParams) SetTimeout(timeout time.Duration)
- func (o *ProjectHourlyRatesListPostListParams) WithBody(body []*models.ProjectHourlyRate) *ProjectHourlyRatesListPostListParams
- func (o *ProjectHourlyRatesListPostListParams) WithContext(ctx context.Context) *ProjectHourlyRatesListPostListParams
- func (o *ProjectHourlyRatesListPostListParams) WithHTTPClient(client *http.Client) *ProjectHourlyRatesListPostListParams
- func (o *ProjectHourlyRatesListPostListParams) WithTimeout(timeout time.Duration) *ProjectHourlyRatesListPostListParams
- func (o *ProjectHourlyRatesListPostListParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ProjectHourlyRatesListPostListReader
- type ProjectHourlyRatesListPutListOK
- type ProjectHourlyRatesListPutListParams
- func NewProjectHourlyRatesListPutListParams() *ProjectHourlyRatesListPutListParams
- func NewProjectHourlyRatesListPutListParamsWithContext(ctx context.Context) *ProjectHourlyRatesListPutListParams
- func NewProjectHourlyRatesListPutListParamsWithHTTPClient(client *http.Client) *ProjectHourlyRatesListPutListParams
- func NewProjectHourlyRatesListPutListParamsWithTimeout(timeout time.Duration) *ProjectHourlyRatesListPutListParams
- func (o *ProjectHourlyRatesListPutListParams) SetBody(body []*models.ProjectHourlyRate)
- func (o *ProjectHourlyRatesListPutListParams) SetContext(ctx context.Context)
- func (o *ProjectHourlyRatesListPutListParams) SetHTTPClient(client *http.Client)
- func (o *ProjectHourlyRatesListPutListParams) SetTimeout(timeout time.Duration)
- func (o *ProjectHourlyRatesListPutListParams) WithBody(body []*models.ProjectHourlyRate) *ProjectHourlyRatesListPutListParams
- func (o *ProjectHourlyRatesListPutListParams) WithContext(ctx context.Context) *ProjectHourlyRatesListPutListParams
- func (o *ProjectHourlyRatesListPutListParams) WithHTTPClient(client *http.Client) *ProjectHourlyRatesListPutListParams
- func (o *ProjectHourlyRatesListPutListParams) WithTimeout(timeout time.Duration) *ProjectHourlyRatesListPutListParams
- func (o *ProjectHourlyRatesListPutListParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ProjectHourlyRatesListPutListReader
- type ProjectHourlyRatesPostCreated
- type ProjectHourlyRatesPostParams
- func NewProjectHourlyRatesPostParams() *ProjectHourlyRatesPostParams
- func NewProjectHourlyRatesPostParamsWithContext(ctx context.Context) *ProjectHourlyRatesPostParams
- func NewProjectHourlyRatesPostParamsWithHTTPClient(client *http.Client) *ProjectHourlyRatesPostParams
- func NewProjectHourlyRatesPostParamsWithTimeout(timeout time.Duration) *ProjectHourlyRatesPostParams
- func (o *ProjectHourlyRatesPostParams) SetBody(body *models.ProjectHourlyRate)
- func (o *ProjectHourlyRatesPostParams) SetContext(ctx context.Context)
- func (o *ProjectHourlyRatesPostParams) SetHTTPClient(client *http.Client)
- func (o *ProjectHourlyRatesPostParams) SetTimeout(timeout time.Duration)
- func (o *ProjectHourlyRatesPostParams) WithBody(body *models.ProjectHourlyRate) *ProjectHourlyRatesPostParams
- func (o *ProjectHourlyRatesPostParams) WithContext(ctx context.Context) *ProjectHourlyRatesPostParams
- func (o *ProjectHourlyRatesPostParams) WithHTTPClient(client *http.Client) *ProjectHourlyRatesPostParams
- func (o *ProjectHourlyRatesPostParams) WithTimeout(timeout time.Duration) *ProjectHourlyRatesPostParams
- func (o *ProjectHourlyRatesPostParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ProjectHourlyRatesPostReader
- type ProjectHourlyRatesPutOK
- type ProjectHourlyRatesPutParams
- func NewProjectHourlyRatesPutParams() *ProjectHourlyRatesPutParams
- func NewProjectHourlyRatesPutParamsWithContext(ctx context.Context) *ProjectHourlyRatesPutParams
- func NewProjectHourlyRatesPutParamsWithHTTPClient(client *http.Client) *ProjectHourlyRatesPutParams
- func NewProjectHourlyRatesPutParamsWithTimeout(timeout time.Duration) *ProjectHourlyRatesPutParams
- func (o *ProjectHourlyRatesPutParams) SetBody(body *models.ProjectHourlyRate)
- func (o *ProjectHourlyRatesPutParams) SetContext(ctx context.Context)
- func (o *ProjectHourlyRatesPutParams) SetHTTPClient(client *http.Client)
- func (o *ProjectHourlyRatesPutParams) SetID(id int32)
- func (o *ProjectHourlyRatesPutParams) SetTimeout(timeout time.Duration)
- func (o *ProjectHourlyRatesPutParams) WithBody(body *models.ProjectHourlyRate) *ProjectHourlyRatesPutParams
- func (o *ProjectHourlyRatesPutParams) WithContext(ctx context.Context) *ProjectHourlyRatesPutParams
- func (o *ProjectHourlyRatesPutParams) WithHTTPClient(client *http.Client) *ProjectHourlyRatesPutParams
- func (o *ProjectHourlyRatesPutParams) WithID(id int32) *ProjectHourlyRatesPutParams
- func (o *ProjectHourlyRatesPutParams) WithTimeout(timeout time.Duration) *ProjectHourlyRatesPutParams
- func (o *ProjectHourlyRatesPutParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ProjectHourlyRatesPutReader
- type ProjectHourlyRatesSearchOK
- type ProjectHourlyRatesSearchParams
- func NewProjectHourlyRatesSearchParams() *ProjectHourlyRatesSearchParams
- func NewProjectHourlyRatesSearchParamsWithContext(ctx context.Context) *ProjectHourlyRatesSearchParams
- func NewProjectHourlyRatesSearchParamsWithHTTPClient(client *http.Client) *ProjectHourlyRatesSearchParams
- func NewProjectHourlyRatesSearchParamsWithTimeout(timeout time.Duration) *ProjectHourlyRatesSearchParams
- func (o *ProjectHourlyRatesSearchParams) SetContext(ctx context.Context)
- func (o *ProjectHourlyRatesSearchParams) SetCount(count *int64)
- func (o *ProjectHourlyRatesSearchParams) SetFields(fields *string)
- func (o *ProjectHourlyRatesSearchParams) SetFrom(from *int64)
- func (o *ProjectHourlyRatesSearchParams) SetHTTPClient(client *http.Client)
- func (o *ProjectHourlyRatesSearchParams) SetID(id *string)
- func (o *ProjectHourlyRatesSearchParams) SetProjectID(projectID *string)
- func (o *ProjectHourlyRatesSearchParams) SetShowInProjectOrder(showInProjectOrder *bool)
- func (o *ProjectHourlyRatesSearchParams) SetSorting(sorting *string)
- func (o *ProjectHourlyRatesSearchParams) SetStartDateFrom(startDateFrom *string)
- func (o *ProjectHourlyRatesSearchParams) SetStartDateTo(startDateTo *string)
- func (o *ProjectHourlyRatesSearchParams) SetTimeout(timeout time.Duration)
- func (o *ProjectHourlyRatesSearchParams) SetType(typeVar *string)
- func (o *ProjectHourlyRatesSearchParams) WithContext(ctx context.Context) *ProjectHourlyRatesSearchParams
- func (o *ProjectHourlyRatesSearchParams) WithCount(count *int64) *ProjectHourlyRatesSearchParams
- func (o *ProjectHourlyRatesSearchParams) WithFields(fields *string) *ProjectHourlyRatesSearchParams
- func (o *ProjectHourlyRatesSearchParams) WithFrom(from *int64) *ProjectHourlyRatesSearchParams
- func (o *ProjectHourlyRatesSearchParams) WithHTTPClient(client *http.Client) *ProjectHourlyRatesSearchParams
- func (o *ProjectHourlyRatesSearchParams) WithID(id *string) *ProjectHourlyRatesSearchParams
- func (o *ProjectHourlyRatesSearchParams) WithProjectID(projectID *string) *ProjectHourlyRatesSearchParams
- func (o *ProjectHourlyRatesSearchParams) WithShowInProjectOrder(showInProjectOrder *bool) *ProjectHourlyRatesSearchParams
- func (o *ProjectHourlyRatesSearchParams) WithSorting(sorting *string) *ProjectHourlyRatesSearchParams
- func (o *ProjectHourlyRatesSearchParams) WithStartDateFrom(startDateFrom *string) *ProjectHourlyRatesSearchParams
- func (o *ProjectHourlyRatesSearchParams) WithStartDateTo(startDateTo *string) *ProjectHourlyRatesSearchParams
- func (o *ProjectHourlyRatesSearchParams) WithTimeout(timeout time.Duration) *ProjectHourlyRatesSearchParams
- func (o *ProjectHourlyRatesSearchParams) WithType(typeVar *string) *ProjectHourlyRatesSearchParams
- func (o *ProjectHourlyRatesSearchParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ProjectHourlyRatesSearchReader
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 ¶
func (a *Client) ProjectHourlyRatesListPostList(params *ProjectHourlyRatesListPostListParams, authInfo runtime.ClientAuthInfoWriter) (*ProjectHourlyRatesListPostListCreated, error)
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 ¶
func (a *Client) ProjectHourlyRatesPost(params *ProjectHourlyRatesPostParams, authInfo runtime.ClientAuthInfoWriter) (*ProjectHourlyRatesPostCreated, error)
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 ¶
func (o *ProjectHourlyRatesDeleteDefault) Code() int
Code gets the status code for the project hourly rates delete default response
func (*ProjectHourlyRatesDeleteDefault) Error ¶
func (o *ProjectHourlyRatesDeleteDefault) Error() string
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 ¶
func (o *ProjectHourlyRatesDeleteParams) SetID(id int32)
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 ¶
func (o *ProjectHourlyRatesDeleteParams) WithContext(ctx context.Context) *ProjectHourlyRatesDeleteParams
WithContext adds the context to the project hourly rates delete params
func (*ProjectHourlyRatesDeleteParams) WithHTTPClient ¶
func (o *ProjectHourlyRatesDeleteParams) WithHTTPClient(client *http.Client) *ProjectHourlyRatesDeleteParams
WithHTTPClient adds the HTTPClient to the project hourly rates delete params
func (*ProjectHourlyRatesDeleteParams) WithID ¶
func (o *ProjectHourlyRatesDeleteParams) WithID(id int32) *ProjectHourlyRatesDeleteParams
WithID adds the id to the project hourly rates delete params
func (*ProjectHourlyRatesDeleteParams) WithTimeout ¶
func (o *ProjectHourlyRatesDeleteParams) WithTimeout(timeout time.Duration) *ProjectHourlyRatesDeleteParams
WithTimeout adds the timeout to the project hourly rates delete params
func (*ProjectHourlyRatesDeleteParams) WriteToRequest ¶
func (o *ProjectHourlyRatesDeleteParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
func (o *ProjectHourlyRatesGetOK) GetPayload() *models.ResponseWrapperProjectHourlyRate
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 ¶
func (o *ProjectHourlyRatesGetParams) WithContext(ctx context.Context) *ProjectHourlyRatesGetParams
WithContext adds the context to the project hourly rates get params
func (*ProjectHourlyRatesGetParams) WithFields ¶
func (o *ProjectHourlyRatesGetParams) WithFields(fields *string) *ProjectHourlyRatesGetParams
WithFields adds the fields to the project hourly rates get params
func (*ProjectHourlyRatesGetParams) WithHTTPClient ¶
func (o *ProjectHourlyRatesGetParams) WithHTTPClient(client *http.Client) *ProjectHourlyRatesGetParams
WithHTTPClient adds the HTTPClient to the project hourly rates get params
func (*ProjectHourlyRatesGetParams) WithID ¶
func (o *ProjectHourlyRatesGetParams) WithID(id int32) *ProjectHourlyRatesGetParams
WithID adds the id to the project hourly rates get params
func (*ProjectHourlyRatesGetParams) WithTimeout ¶
func (o *ProjectHourlyRatesGetParams) WithTimeout(timeout time.Duration) *ProjectHourlyRatesGetParams
WithTimeout adds the timeout to the project hourly rates get params
func (*ProjectHourlyRatesGetParams) WriteToRequest ¶
func (o *ProjectHourlyRatesGetParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
func (o *ProjectHourlyRatesListDeleteByIdsDefault) Code() int
Code gets the status code for the project hourly rates list delete by ids default response
func (*ProjectHourlyRatesListDeleteByIdsDefault) Error ¶
func (o *ProjectHourlyRatesListDeleteByIdsDefault) Error() string
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 ¶
func (o *ProjectHourlyRatesListDeleteByIdsParams) SetContext(ctx context.Context)
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 ¶
func (o *ProjectHourlyRatesListDeleteByIdsParams) SetIds(ids string)
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 ¶
func (o *ProjectHourlyRatesListDeleteByIdsParams) WithContext(ctx context.Context) *ProjectHourlyRatesListDeleteByIdsParams
WithContext adds the context to the project hourly rates list delete by ids params
func (*ProjectHourlyRatesListDeleteByIdsParams) WithHTTPClient ¶
func (o *ProjectHourlyRatesListDeleteByIdsParams) WithHTTPClient(client *http.Client) *ProjectHourlyRatesListDeleteByIdsParams
WithHTTPClient adds the HTTPClient to the project hourly rates list delete by ids params
func (*ProjectHourlyRatesListDeleteByIdsParams) WithIds ¶
func (o *ProjectHourlyRatesListDeleteByIdsParams) WithIds(ids string) *ProjectHourlyRatesListDeleteByIdsParams
WithIds adds the ids to the project hourly rates list delete by ids params
func (*ProjectHourlyRatesListDeleteByIdsParams) WithTimeout ¶
func (o *ProjectHourlyRatesListDeleteByIdsParams) WithTimeout(timeout time.Duration) *ProjectHourlyRatesListDeleteByIdsParams
WithTimeout adds the timeout to the project hourly rates list delete by ids params
func (*ProjectHourlyRatesListDeleteByIdsParams) WriteToRequest ¶
func (o *ProjectHourlyRatesListDeleteByIdsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 (o *ProjectHourlyRatesListPostListCreated) Error() string
func (*ProjectHourlyRatesListPostListCreated) GetPayload ¶
func (o *ProjectHourlyRatesListPostListCreated) GetPayload() *models.ListResponseProjectHourlyRate
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 ¶
func (o *ProjectHourlyRatesListPostListParams) SetBody(body []*models.ProjectHourlyRate)
SetBody adds the body to the project hourly rates list post list params
func (*ProjectHourlyRatesListPostListParams) SetContext ¶
func (o *ProjectHourlyRatesListPostListParams) SetContext(ctx context.Context)
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 ¶
func (o *ProjectHourlyRatesListPostListParams) WithBody(body []*models.ProjectHourlyRate) *ProjectHourlyRatesListPostListParams
WithBody adds the body to the project hourly rates list post list params
func (*ProjectHourlyRatesListPostListParams) WithContext ¶
func (o *ProjectHourlyRatesListPostListParams) WithContext(ctx context.Context) *ProjectHourlyRatesListPostListParams
WithContext adds the context to the project hourly rates list post list params
func (*ProjectHourlyRatesListPostListParams) WithHTTPClient ¶
func (o *ProjectHourlyRatesListPostListParams) WithHTTPClient(client *http.Client) *ProjectHourlyRatesListPostListParams
WithHTTPClient adds the HTTPClient to the project hourly rates list post list params
func (*ProjectHourlyRatesListPostListParams) WithTimeout ¶
func (o *ProjectHourlyRatesListPostListParams) WithTimeout(timeout time.Duration) *ProjectHourlyRatesListPostListParams
WithTimeout adds the timeout to the project hourly rates list post list params
func (*ProjectHourlyRatesListPostListParams) WriteToRequest ¶
func (o *ProjectHourlyRatesListPostListParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 (o *ProjectHourlyRatesListPutListOK) Error() string
func (*ProjectHourlyRatesListPutListOK) GetPayload ¶
func (o *ProjectHourlyRatesListPutListOK) GetPayload() *models.ListResponseProjectHourlyRate
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 ¶
func (o *ProjectHourlyRatesListPutListParams) SetBody(body []*models.ProjectHourlyRate)
SetBody adds the body to the project hourly rates list put list params
func (*ProjectHourlyRatesListPutListParams) SetContext ¶
func (o *ProjectHourlyRatesListPutListParams) SetContext(ctx context.Context)
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 ¶
func (o *ProjectHourlyRatesListPutListParams) WithBody(body []*models.ProjectHourlyRate) *ProjectHourlyRatesListPutListParams
WithBody adds the body to the project hourly rates list put list params
func (*ProjectHourlyRatesListPutListParams) WithContext ¶
func (o *ProjectHourlyRatesListPutListParams) WithContext(ctx context.Context) *ProjectHourlyRatesListPutListParams
WithContext adds the context to the project hourly rates list put list params
func (*ProjectHourlyRatesListPutListParams) WithHTTPClient ¶
func (o *ProjectHourlyRatesListPutListParams) WithHTTPClient(client *http.Client) *ProjectHourlyRatesListPutListParams
WithHTTPClient adds the HTTPClient to the project hourly rates list put list params
func (*ProjectHourlyRatesListPutListParams) WithTimeout ¶
func (o *ProjectHourlyRatesListPutListParams) WithTimeout(timeout time.Duration) *ProjectHourlyRatesListPutListParams
WithTimeout adds the timeout to the project hourly rates list put list params
func (*ProjectHourlyRatesListPutListParams) WriteToRequest ¶
func (o *ProjectHourlyRatesListPutListParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 (o *ProjectHourlyRatesPostCreated) Error() string
func (*ProjectHourlyRatesPostCreated) GetPayload ¶
func (o *ProjectHourlyRatesPostCreated) GetPayload() *models.ResponseWrapperProjectHourlyRate
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 ¶
func (o *ProjectHourlyRatesPostParams) SetBody(body *models.ProjectHourlyRate)
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 ¶
func (o *ProjectHourlyRatesPostParams) WithBody(body *models.ProjectHourlyRate) *ProjectHourlyRatesPostParams
WithBody adds the body to the project hourly rates post params
func (*ProjectHourlyRatesPostParams) WithContext ¶
func (o *ProjectHourlyRatesPostParams) WithContext(ctx context.Context) *ProjectHourlyRatesPostParams
WithContext adds the context to the project hourly rates post params
func (*ProjectHourlyRatesPostParams) WithHTTPClient ¶
func (o *ProjectHourlyRatesPostParams) WithHTTPClient(client *http.Client) *ProjectHourlyRatesPostParams
WithHTTPClient adds the HTTPClient to the project hourly rates post params
func (*ProjectHourlyRatesPostParams) WithTimeout ¶
func (o *ProjectHourlyRatesPostParams) WithTimeout(timeout time.Duration) *ProjectHourlyRatesPostParams
WithTimeout adds the timeout to the project hourly rates post params
func (*ProjectHourlyRatesPostParams) WriteToRequest ¶
func (o *ProjectHourlyRatesPostParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
func (o *ProjectHourlyRatesPutOK) GetPayload() *models.ResponseWrapperProjectHourlyRate
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 ¶
func (o *ProjectHourlyRatesPutParams) SetBody(body *models.ProjectHourlyRate)
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 ¶
func (o *ProjectHourlyRatesPutParams) WithBody(body *models.ProjectHourlyRate) *ProjectHourlyRatesPutParams
WithBody adds the body to the project hourly rates put params
func (*ProjectHourlyRatesPutParams) WithContext ¶
func (o *ProjectHourlyRatesPutParams) WithContext(ctx context.Context) *ProjectHourlyRatesPutParams
WithContext adds the context to the project hourly rates put params
func (*ProjectHourlyRatesPutParams) WithHTTPClient ¶
func (o *ProjectHourlyRatesPutParams) WithHTTPClient(client *http.Client) *ProjectHourlyRatesPutParams
WithHTTPClient adds the HTTPClient to the project hourly rates put params
func (*ProjectHourlyRatesPutParams) WithID ¶
func (o *ProjectHourlyRatesPutParams) WithID(id int32) *ProjectHourlyRatesPutParams
WithID adds the id to the project hourly rates put params
func (*ProjectHourlyRatesPutParams) WithTimeout ¶
func (o *ProjectHourlyRatesPutParams) WithTimeout(timeout time.Duration) *ProjectHourlyRatesPutParams
WithTimeout adds the timeout to the project hourly rates put params
func (*ProjectHourlyRatesPutParams) WriteToRequest ¶
func (o *ProjectHourlyRatesPutParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 (o *ProjectHourlyRatesSearchOK) Error() string
func (*ProjectHourlyRatesSearchOK) GetPayload ¶
func (o *ProjectHourlyRatesSearchOK) GetPayload() *models.ListResponseProjectHourlyRate
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 ¶
func (o *ProjectHourlyRatesSearchParams) WithContext(ctx context.Context) *ProjectHourlyRatesSearchParams
WithContext adds the context to the project hourly rates search params
func (*ProjectHourlyRatesSearchParams) WithCount ¶
func (o *ProjectHourlyRatesSearchParams) WithCount(count *int64) *ProjectHourlyRatesSearchParams
WithCount adds the count to the project hourly rates search params
func (*ProjectHourlyRatesSearchParams) WithFields ¶
func (o *ProjectHourlyRatesSearchParams) WithFields(fields *string) *ProjectHourlyRatesSearchParams
WithFields adds the fields to the project hourly rates search params
func (*ProjectHourlyRatesSearchParams) WithFrom ¶
func (o *ProjectHourlyRatesSearchParams) WithFrom(from *int64) *ProjectHourlyRatesSearchParams
WithFrom adds the from to the project hourly rates search params
func (*ProjectHourlyRatesSearchParams) WithHTTPClient ¶
func (o *ProjectHourlyRatesSearchParams) WithHTTPClient(client *http.Client) *ProjectHourlyRatesSearchParams
WithHTTPClient adds the HTTPClient to the project hourly rates search params
func (*ProjectHourlyRatesSearchParams) WithID ¶
func (o *ProjectHourlyRatesSearchParams) WithID(id *string) *ProjectHourlyRatesSearchParams
WithID adds the id to the project hourly rates search params
func (*ProjectHourlyRatesSearchParams) WithProjectID ¶
func (o *ProjectHourlyRatesSearchParams) WithProjectID(projectID *string) *ProjectHourlyRatesSearchParams
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 ¶
func (o *ProjectHourlyRatesSearchParams) WithSorting(sorting *string) *ProjectHourlyRatesSearchParams
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 ¶
func (o *ProjectHourlyRatesSearchParams) WithTimeout(timeout time.Duration) *ProjectHourlyRatesSearchParams
WithTimeout adds the timeout to the project hourly rates search params
func (*ProjectHourlyRatesSearchParams) WithType ¶
func (o *ProjectHourlyRatesSearchParams) WithType(typeVar *string) *ProjectHourlyRatesSearchParams
WithType adds the typeVar to the project hourly rates search params
func (*ProjectHourlyRatesSearchParams) WriteToRequest ¶
func (o *ProjectHourlyRatesSearchParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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.
Source Files
¶
- hourly_rates_client.go
- project_hourly_rates_delete_parameters.go
- project_hourly_rates_delete_responses.go
- project_hourly_rates_get_parameters.go
- project_hourly_rates_get_responses.go
- project_hourly_rates_list_delete_by_ids_parameters.go
- project_hourly_rates_list_delete_by_ids_responses.go
- project_hourly_rates_list_post_list_parameters.go
- project_hourly_rates_list_post_list_responses.go
- project_hourly_rates_list_put_list_parameters.go
- project_hourly_rates_list_put_list_responses.go
- project_hourly_rates_post_parameters.go
- project_hourly_rates_post_responses.go
- project_hourly_rates_put_parameters.go
- project_hourly_rates_put_responses.go
- project_hourly_rates_search_parameters.go
- project_hourly_rates_search_responses.go