Documentation ¶
Index ¶
- type Client
- func (a *Client) DeleteAPIProjectsIDRatesRateID(params *DeleteAPIProjectsIDRatesRateIDParams, ...) (*DeleteAPIProjectsIDRatesRateIDNoContent, error)
- func (a *Client) GetAPIProjects(params *GetAPIProjectsParams, authInfo runtime.ClientAuthInfoWriter, ...) (*GetAPIProjectsOK, error)
- func (a *Client) GetAPIProjectsID(params *GetAPIProjectsIDParams, authInfo runtime.ClientAuthInfoWriter, ...) (*GetAPIProjectsIDOK, error)
- func (a *Client) GetAPIProjectsIDRates(params *GetAPIProjectsIDRatesParams, authInfo runtime.ClientAuthInfoWriter, ...) (*GetAPIProjectsIDRatesOK, error)
- func (a *Client) PatchAPIProjectsID(params *PatchAPIProjectsIDParams, authInfo runtime.ClientAuthInfoWriter, ...) (*PatchAPIProjectsIDOK, error)
- func (a *Client) PatchAPIProjectsIDMeta(params *PatchAPIProjectsIDMetaParams, authInfo runtime.ClientAuthInfoWriter, ...) (*PatchAPIProjectsIDMetaOK, error)
- func (a *Client) PostAPIProjects(params *PostAPIProjectsParams, authInfo runtime.ClientAuthInfoWriter, ...) (*PostAPIProjectsOK, error)
- func (a *Client) PostAPIProjectsIDRates(params *PostAPIProjectsIDRatesParams, authInfo runtime.ClientAuthInfoWriter, ...) (*PostAPIProjectsIDRatesOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientOption
- type ClientService
- type DeleteAPIProjectsIDRatesRateIDNoContent
- func (o *DeleteAPIProjectsIDRatesRateIDNoContent) Error() string
- func (o *DeleteAPIProjectsIDRatesRateIDNoContent) IsClientError() bool
- func (o *DeleteAPIProjectsIDRatesRateIDNoContent) IsCode(code int) bool
- func (o *DeleteAPIProjectsIDRatesRateIDNoContent) IsRedirect() bool
- func (o *DeleteAPIProjectsIDRatesRateIDNoContent) IsServerError() bool
- func (o *DeleteAPIProjectsIDRatesRateIDNoContent) IsSuccess() bool
- func (o *DeleteAPIProjectsIDRatesRateIDNoContent) String() string
- type DeleteAPIProjectsIDRatesRateIDParams
- func NewDeleteAPIProjectsIDRatesRateIDParams() *DeleteAPIProjectsIDRatesRateIDParams
- func NewDeleteAPIProjectsIDRatesRateIDParamsWithContext(ctx context.Context) *DeleteAPIProjectsIDRatesRateIDParams
- func NewDeleteAPIProjectsIDRatesRateIDParamsWithHTTPClient(client *http.Client) *DeleteAPIProjectsIDRatesRateIDParams
- func NewDeleteAPIProjectsIDRatesRateIDParamsWithTimeout(timeout time.Duration) *DeleteAPIProjectsIDRatesRateIDParams
- func (o *DeleteAPIProjectsIDRatesRateIDParams) SetContext(ctx context.Context)
- func (o *DeleteAPIProjectsIDRatesRateIDParams) SetDefaults()
- func (o *DeleteAPIProjectsIDRatesRateIDParams) SetHTTPClient(client *http.Client)
- func (o *DeleteAPIProjectsIDRatesRateIDParams) SetID(id int64)
- func (o *DeleteAPIProjectsIDRatesRateIDParams) SetRateID(rateID int64)
- func (o *DeleteAPIProjectsIDRatesRateIDParams) SetTimeout(timeout time.Duration)
- func (o *DeleteAPIProjectsIDRatesRateIDParams) WithContext(ctx context.Context) *DeleteAPIProjectsIDRatesRateIDParams
- func (o *DeleteAPIProjectsIDRatesRateIDParams) WithDefaults() *DeleteAPIProjectsIDRatesRateIDParams
- func (o *DeleteAPIProjectsIDRatesRateIDParams) WithHTTPClient(client *http.Client) *DeleteAPIProjectsIDRatesRateIDParams
- func (o *DeleteAPIProjectsIDRatesRateIDParams) WithID(id int64) *DeleteAPIProjectsIDRatesRateIDParams
- func (o *DeleteAPIProjectsIDRatesRateIDParams) WithRateID(rateID int64) *DeleteAPIProjectsIDRatesRateIDParams
- func (o *DeleteAPIProjectsIDRatesRateIDParams) WithTimeout(timeout time.Duration) *DeleteAPIProjectsIDRatesRateIDParams
- func (o *DeleteAPIProjectsIDRatesRateIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteAPIProjectsIDRatesRateIDReader
- type GetAPIProjectsIDOK
- func (o *GetAPIProjectsIDOK) Error() string
- func (o *GetAPIProjectsIDOK) GetPayload() *models.ProjectEntity
- func (o *GetAPIProjectsIDOK) IsClientError() bool
- func (o *GetAPIProjectsIDOK) IsCode(code int) bool
- func (o *GetAPIProjectsIDOK) IsRedirect() bool
- func (o *GetAPIProjectsIDOK) IsServerError() bool
- func (o *GetAPIProjectsIDOK) IsSuccess() bool
- func (o *GetAPIProjectsIDOK) String() string
- type GetAPIProjectsIDParams
- func NewGetAPIProjectsIDParams() *GetAPIProjectsIDParams
- func NewGetAPIProjectsIDParamsWithContext(ctx context.Context) *GetAPIProjectsIDParams
- func NewGetAPIProjectsIDParamsWithHTTPClient(client *http.Client) *GetAPIProjectsIDParams
- func NewGetAPIProjectsIDParamsWithTimeout(timeout time.Duration) *GetAPIProjectsIDParams
- func (o *GetAPIProjectsIDParams) SetContext(ctx context.Context)
- func (o *GetAPIProjectsIDParams) SetDefaults()
- func (o *GetAPIProjectsIDParams) SetHTTPClient(client *http.Client)
- func (o *GetAPIProjectsIDParams) SetID(id string)
- func (o *GetAPIProjectsIDParams) SetTimeout(timeout time.Duration)
- func (o *GetAPIProjectsIDParams) WithContext(ctx context.Context) *GetAPIProjectsIDParams
- func (o *GetAPIProjectsIDParams) WithDefaults() *GetAPIProjectsIDParams
- func (o *GetAPIProjectsIDParams) WithHTTPClient(client *http.Client) *GetAPIProjectsIDParams
- func (o *GetAPIProjectsIDParams) WithID(id string) *GetAPIProjectsIDParams
- func (o *GetAPIProjectsIDParams) WithTimeout(timeout time.Duration) *GetAPIProjectsIDParams
- func (o *GetAPIProjectsIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetAPIProjectsIDRatesOK
- func (o *GetAPIProjectsIDRatesOK) Error() string
- func (o *GetAPIProjectsIDRatesOK) GetPayload() []*models.ProjectRate
- func (o *GetAPIProjectsIDRatesOK) IsClientError() bool
- func (o *GetAPIProjectsIDRatesOK) IsCode(code int) bool
- func (o *GetAPIProjectsIDRatesOK) IsRedirect() bool
- func (o *GetAPIProjectsIDRatesOK) IsServerError() bool
- func (o *GetAPIProjectsIDRatesOK) IsSuccess() bool
- func (o *GetAPIProjectsIDRatesOK) String() string
- type GetAPIProjectsIDRatesParams
- func NewGetAPIProjectsIDRatesParams() *GetAPIProjectsIDRatesParams
- func NewGetAPIProjectsIDRatesParamsWithContext(ctx context.Context) *GetAPIProjectsIDRatesParams
- func NewGetAPIProjectsIDRatesParamsWithHTTPClient(client *http.Client) *GetAPIProjectsIDRatesParams
- func NewGetAPIProjectsIDRatesParamsWithTimeout(timeout time.Duration) *GetAPIProjectsIDRatesParams
- func (o *GetAPIProjectsIDRatesParams) SetContext(ctx context.Context)
- func (o *GetAPIProjectsIDRatesParams) SetDefaults()
- func (o *GetAPIProjectsIDRatesParams) SetHTTPClient(client *http.Client)
- func (o *GetAPIProjectsIDRatesParams) SetID(id int64)
- func (o *GetAPIProjectsIDRatesParams) SetTimeout(timeout time.Duration)
- func (o *GetAPIProjectsIDRatesParams) WithContext(ctx context.Context) *GetAPIProjectsIDRatesParams
- func (o *GetAPIProjectsIDRatesParams) WithDefaults() *GetAPIProjectsIDRatesParams
- func (o *GetAPIProjectsIDRatesParams) WithHTTPClient(client *http.Client) *GetAPIProjectsIDRatesParams
- func (o *GetAPIProjectsIDRatesParams) WithID(id int64) *GetAPIProjectsIDRatesParams
- func (o *GetAPIProjectsIDRatesParams) WithTimeout(timeout time.Duration) *GetAPIProjectsIDRatesParams
- func (o *GetAPIProjectsIDRatesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetAPIProjectsIDRatesReader
- type GetAPIProjectsIDReader
- type GetAPIProjectsOK
- func (o *GetAPIProjectsOK) Error() string
- func (o *GetAPIProjectsOK) GetPayload() []*models.ProjectCollection
- func (o *GetAPIProjectsOK) IsClientError() bool
- func (o *GetAPIProjectsOK) IsCode(code int) bool
- func (o *GetAPIProjectsOK) IsRedirect() bool
- func (o *GetAPIProjectsOK) IsServerError() bool
- func (o *GetAPIProjectsOK) IsSuccess() bool
- func (o *GetAPIProjectsOK) String() string
- type GetAPIProjectsParams
- func NewGetAPIProjectsParams() *GetAPIProjectsParams
- func NewGetAPIProjectsParamsWithContext(ctx context.Context) *GetAPIProjectsParams
- func NewGetAPIProjectsParamsWithHTTPClient(client *http.Client) *GetAPIProjectsParams
- func NewGetAPIProjectsParamsWithTimeout(timeout time.Duration) *GetAPIProjectsParams
- func (o *GetAPIProjectsParams) SetContext(ctx context.Context)
- func (o *GetAPIProjectsParams) SetCustomer(customer string)
- func (o *GetAPIProjectsParams) SetCustomers(customers string)
- func (o *GetAPIProjectsParams) SetDefaults()
- func (o *GetAPIProjectsParams) SetEnd(end string)
- func (o *GetAPIProjectsParams) SetGlobalActivities(globalActivities string)
- func (o *GetAPIProjectsParams) SetHTTPClient(client *http.Client)
- func (o *GetAPIProjectsParams) SetIgnoreDates(ignoreDates string)
- func (o *GetAPIProjectsParams) SetOrder(order string)
- func (o *GetAPIProjectsParams) SetOrderBy(orderBy string)
- func (o *GetAPIProjectsParams) SetStart(start string)
- func (o *GetAPIProjectsParams) SetTerm(term *string)
- func (o *GetAPIProjectsParams) SetTimeout(timeout time.Duration)
- func (o *GetAPIProjectsParams) SetVisible(visible string)
- func (o *GetAPIProjectsParams) WithContext(ctx context.Context) *GetAPIProjectsParams
- func (o *GetAPIProjectsParams) WithCustomer(customer string) *GetAPIProjectsParams
- func (o *GetAPIProjectsParams) WithCustomers(customers string) *GetAPIProjectsParams
- func (o *GetAPIProjectsParams) WithDefaults() *GetAPIProjectsParams
- func (o *GetAPIProjectsParams) WithEnd(end string) *GetAPIProjectsParams
- func (o *GetAPIProjectsParams) WithGlobalActivities(globalActivities string) *GetAPIProjectsParams
- func (o *GetAPIProjectsParams) WithHTTPClient(client *http.Client) *GetAPIProjectsParams
- func (o *GetAPIProjectsParams) WithIgnoreDates(ignoreDates string) *GetAPIProjectsParams
- func (o *GetAPIProjectsParams) WithOrder(order string) *GetAPIProjectsParams
- func (o *GetAPIProjectsParams) WithOrderBy(orderBy string) *GetAPIProjectsParams
- func (o *GetAPIProjectsParams) WithStart(start string) *GetAPIProjectsParams
- func (o *GetAPIProjectsParams) WithTerm(term *string) *GetAPIProjectsParams
- func (o *GetAPIProjectsParams) WithTimeout(timeout time.Duration) *GetAPIProjectsParams
- func (o *GetAPIProjectsParams) WithVisible(visible string) *GetAPIProjectsParams
- func (o *GetAPIProjectsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetAPIProjectsReader
- type PatchAPIProjectsIDMetaBody
- func (o *PatchAPIProjectsIDMetaBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *PatchAPIProjectsIDMetaBody) MarshalBinary() ([]byte, error)
- func (o *PatchAPIProjectsIDMetaBody) UnmarshalBinary(b []byte) error
- func (o *PatchAPIProjectsIDMetaBody) Validate(formats strfmt.Registry) error
- type PatchAPIProjectsIDMetaOK
- func (o *PatchAPIProjectsIDMetaOK) Error() string
- func (o *PatchAPIProjectsIDMetaOK) GetPayload() *models.ProjectEntity
- func (o *PatchAPIProjectsIDMetaOK) IsClientError() bool
- func (o *PatchAPIProjectsIDMetaOK) IsCode(code int) bool
- func (o *PatchAPIProjectsIDMetaOK) IsRedirect() bool
- func (o *PatchAPIProjectsIDMetaOK) IsServerError() bool
- func (o *PatchAPIProjectsIDMetaOK) IsSuccess() bool
- func (o *PatchAPIProjectsIDMetaOK) String() string
- type PatchAPIProjectsIDMetaParams
- func NewPatchAPIProjectsIDMetaParams() *PatchAPIProjectsIDMetaParams
- func NewPatchAPIProjectsIDMetaParamsWithContext(ctx context.Context) *PatchAPIProjectsIDMetaParams
- func NewPatchAPIProjectsIDMetaParamsWithHTTPClient(client *http.Client) *PatchAPIProjectsIDMetaParams
- func NewPatchAPIProjectsIDMetaParamsWithTimeout(timeout time.Duration) *PatchAPIProjectsIDMetaParams
- func (o *PatchAPIProjectsIDMetaParams) SetBody(body PatchAPIProjectsIDMetaBody)
- func (o *PatchAPIProjectsIDMetaParams) SetContext(ctx context.Context)
- func (o *PatchAPIProjectsIDMetaParams) SetDefaults()
- func (o *PatchAPIProjectsIDMetaParams) SetHTTPClient(client *http.Client)
- func (o *PatchAPIProjectsIDMetaParams) SetID(id int64)
- func (o *PatchAPIProjectsIDMetaParams) SetTimeout(timeout time.Duration)
- func (o *PatchAPIProjectsIDMetaParams) WithBody(body PatchAPIProjectsIDMetaBody) *PatchAPIProjectsIDMetaParams
- func (o *PatchAPIProjectsIDMetaParams) WithContext(ctx context.Context) *PatchAPIProjectsIDMetaParams
- func (o *PatchAPIProjectsIDMetaParams) WithDefaults() *PatchAPIProjectsIDMetaParams
- func (o *PatchAPIProjectsIDMetaParams) WithHTTPClient(client *http.Client) *PatchAPIProjectsIDMetaParams
- func (o *PatchAPIProjectsIDMetaParams) WithID(id int64) *PatchAPIProjectsIDMetaParams
- func (o *PatchAPIProjectsIDMetaParams) WithTimeout(timeout time.Duration) *PatchAPIProjectsIDMetaParams
- func (o *PatchAPIProjectsIDMetaParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PatchAPIProjectsIDMetaReader
- type PatchAPIProjectsIDOK
- func (o *PatchAPIProjectsIDOK) Error() string
- func (o *PatchAPIProjectsIDOK) GetPayload() *models.ProjectEntity
- func (o *PatchAPIProjectsIDOK) IsClientError() bool
- func (o *PatchAPIProjectsIDOK) IsCode(code int) bool
- func (o *PatchAPIProjectsIDOK) IsRedirect() bool
- func (o *PatchAPIProjectsIDOK) IsServerError() bool
- func (o *PatchAPIProjectsIDOK) IsSuccess() bool
- func (o *PatchAPIProjectsIDOK) String() string
- type PatchAPIProjectsIDParams
- func NewPatchAPIProjectsIDParams() *PatchAPIProjectsIDParams
- func NewPatchAPIProjectsIDParamsWithContext(ctx context.Context) *PatchAPIProjectsIDParams
- func NewPatchAPIProjectsIDParamsWithHTTPClient(client *http.Client) *PatchAPIProjectsIDParams
- func NewPatchAPIProjectsIDParamsWithTimeout(timeout time.Duration) *PatchAPIProjectsIDParams
- func (o *PatchAPIProjectsIDParams) SetBody(body *models.ProjectEditForm)
- func (o *PatchAPIProjectsIDParams) SetContext(ctx context.Context)
- func (o *PatchAPIProjectsIDParams) SetDefaults()
- func (o *PatchAPIProjectsIDParams) SetHTTPClient(client *http.Client)
- func (o *PatchAPIProjectsIDParams) SetID(id int64)
- func (o *PatchAPIProjectsIDParams) SetTimeout(timeout time.Duration)
- func (o *PatchAPIProjectsIDParams) WithBody(body *models.ProjectEditForm) *PatchAPIProjectsIDParams
- func (o *PatchAPIProjectsIDParams) WithContext(ctx context.Context) *PatchAPIProjectsIDParams
- func (o *PatchAPIProjectsIDParams) WithDefaults() *PatchAPIProjectsIDParams
- func (o *PatchAPIProjectsIDParams) WithHTTPClient(client *http.Client) *PatchAPIProjectsIDParams
- func (o *PatchAPIProjectsIDParams) WithID(id int64) *PatchAPIProjectsIDParams
- func (o *PatchAPIProjectsIDParams) WithTimeout(timeout time.Duration) *PatchAPIProjectsIDParams
- func (o *PatchAPIProjectsIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PatchAPIProjectsIDReader
- type PostAPIProjectsIDRatesOK
- func (o *PostAPIProjectsIDRatesOK) Error() string
- func (o *PostAPIProjectsIDRatesOK) GetPayload() *models.ProjectRate
- func (o *PostAPIProjectsIDRatesOK) IsClientError() bool
- func (o *PostAPIProjectsIDRatesOK) IsCode(code int) bool
- func (o *PostAPIProjectsIDRatesOK) IsRedirect() bool
- func (o *PostAPIProjectsIDRatesOK) IsServerError() bool
- func (o *PostAPIProjectsIDRatesOK) IsSuccess() bool
- func (o *PostAPIProjectsIDRatesOK) String() string
- type PostAPIProjectsIDRatesParams
- func NewPostAPIProjectsIDRatesParams() *PostAPIProjectsIDRatesParams
- func NewPostAPIProjectsIDRatesParamsWithContext(ctx context.Context) *PostAPIProjectsIDRatesParams
- func NewPostAPIProjectsIDRatesParamsWithHTTPClient(client *http.Client) *PostAPIProjectsIDRatesParams
- func NewPostAPIProjectsIDRatesParamsWithTimeout(timeout time.Duration) *PostAPIProjectsIDRatesParams
- func (o *PostAPIProjectsIDRatesParams) SetBody(body *models.ProjectRateForm)
- func (o *PostAPIProjectsIDRatesParams) SetContext(ctx context.Context)
- func (o *PostAPIProjectsIDRatesParams) SetDefaults()
- func (o *PostAPIProjectsIDRatesParams) SetHTTPClient(client *http.Client)
- func (o *PostAPIProjectsIDRatesParams) SetID(id int64)
- func (o *PostAPIProjectsIDRatesParams) SetTimeout(timeout time.Duration)
- func (o *PostAPIProjectsIDRatesParams) WithBody(body *models.ProjectRateForm) *PostAPIProjectsIDRatesParams
- func (o *PostAPIProjectsIDRatesParams) WithContext(ctx context.Context) *PostAPIProjectsIDRatesParams
- func (o *PostAPIProjectsIDRatesParams) WithDefaults() *PostAPIProjectsIDRatesParams
- func (o *PostAPIProjectsIDRatesParams) WithHTTPClient(client *http.Client) *PostAPIProjectsIDRatesParams
- func (o *PostAPIProjectsIDRatesParams) WithID(id int64) *PostAPIProjectsIDRatesParams
- func (o *PostAPIProjectsIDRatesParams) WithTimeout(timeout time.Duration) *PostAPIProjectsIDRatesParams
- func (o *PostAPIProjectsIDRatesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PostAPIProjectsIDRatesReader
- type PostAPIProjectsOK
- func (o *PostAPIProjectsOK) Error() string
- func (o *PostAPIProjectsOK) GetPayload() *models.ProjectEntity
- func (o *PostAPIProjectsOK) IsClientError() bool
- func (o *PostAPIProjectsOK) IsCode(code int) bool
- func (o *PostAPIProjectsOK) IsRedirect() bool
- func (o *PostAPIProjectsOK) IsServerError() bool
- func (o *PostAPIProjectsOK) IsSuccess() bool
- func (o *PostAPIProjectsOK) String() string
- type PostAPIProjectsParams
- func NewPostAPIProjectsParams() *PostAPIProjectsParams
- func NewPostAPIProjectsParamsWithContext(ctx context.Context) *PostAPIProjectsParams
- func NewPostAPIProjectsParamsWithHTTPClient(client *http.Client) *PostAPIProjectsParams
- func NewPostAPIProjectsParamsWithTimeout(timeout time.Duration) *PostAPIProjectsParams
- func (o *PostAPIProjectsParams) SetBody(body *models.ProjectEditForm)
- func (o *PostAPIProjectsParams) SetContext(ctx context.Context)
- func (o *PostAPIProjectsParams) SetDefaults()
- func (o *PostAPIProjectsParams) SetHTTPClient(client *http.Client)
- func (o *PostAPIProjectsParams) SetTimeout(timeout time.Duration)
- func (o *PostAPIProjectsParams) WithBody(body *models.ProjectEditForm) *PostAPIProjectsParams
- func (o *PostAPIProjectsParams) WithContext(ctx context.Context) *PostAPIProjectsParams
- func (o *PostAPIProjectsParams) WithDefaults() *PostAPIProjectsParams
- func (o *PostAPIProjectsParams) WithHTTPClient(client *http.Client) *PostAPIProjectsParams
- func (o *PostAPIProjectsParams) WithTimeout(timeout time.Duration) *PostAPIProjectsParams
- func (o *PostAPIProjectsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PostAPIProjectsReader
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 project API
func (*Client) DeleteAPIProjectsIDRatesRateID ¶
func (a *Client) DeleteAPIProjectsIDRatesRateID(params *DeleteAPIProjectsIDRatesRateIDParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteAPIProjectsIDRatesRateIDNoContent, error)
DeleteAPIProjectsIDRatesRateID deletes one rate for an project
func (*Client) GetAPIProjects ¶
func (a *Client) GetAPIProjects(params *GetAPIProjectsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetAPIProjectsOK, error)
GetAPIProjects returns a collection of projects
func (*Client) GetAPIProjectsID ¶
func (a *Client) GetAPIProjectsID(params *GetAPIProjectsIDParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetAPIProjectsIDOK, error)
GetAPIProjectsID returns one project
func (*Client) GetAPIProjectsIDRates ¶
func (a *Client) GetAPIProjectsIDRates(params *GetAPIProjectsIDRatesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetAPIProjectsIDRatesOK, error)
GetAPIProjectsIDRates returns a collection of all rates for one project
func (*Client) PatchAPIProjectsID ¶
func (a *Client) PatchAPIProjectsID(params *PatchAPIProjectsIDParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PatchAPIProjectsIDOK, error)
PatchAPIProjectsID updates an existing project
Update an existing project, you can pass all or just a subset of all attributes
func (*Client) PatchAPIProjectsIDMeta ¶
func (a *Client) PatchAPIProjectsIDMeta(params *PatchAPIProjectsIDMetaParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PatchAPIProjectsIDMetaOK, error)
PatchAPIProjectsIDMeta sets the value of a meta field for an existing project
func (*Client) PostAPIProjects ¶
func (a *Client) PostAPIProjects(params *PostAPIProjectsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PostAPIProjectsOK, error)
PostAPIProjects creates a new project
Creates a new project and returns it afterwards
func (*Client) PostAPIProjectsIDRates ¶
func (a *Client) PostAPIProjectsIDRates(params *PostAPIProjectsIDRatesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PostAPIProjectsIDRatesOK, error)
PostAPIProjectsIDRates adds a new rate to an project
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
type ClientOption ¶
type ClientOption func(*runtime.ClientOperation)
ClientOption is the option for Client methods
type ClientService ¶
type ClientService interface { DeleteAPIProjectsIDRatesRateID(params *DeleteAPIProjectsIDRatesRateIDParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteAPIProjectsIDRatesRateIDNoContent, error) GetAPIProjects(params *GetAPIProjectsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetAPIProjectsOK, error) GetAPIProjectsID(params *GetAPIProjectsIDParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetAPIProjectsIDOK, error) GetAPIProjectsIDRates(params *GetAPIProjectsIDRatesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetAPIProjectsIDRatesOK, error) PatchAPIProjectsID(params *PatchAPIProjectsIDParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PatchAPIProjectsIDOK, error) PatchAPIProjectsIDMeta(params *PatchAPIProjectsIDMetaParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PatchAPIProjectsIDMetaOK, error) PostAPIProjects(params *PostAPIProjectsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PostAPIProjectsOK, error) PostAPIProjectsIDRates(params *PostAPIProjectsIDRatesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PostAPIProjectsIDRatesOK, 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 project API client.
type DeleteAPIProjectsIDRatesRateIDNoContent ¶
type DeleteAPIProjectsIDRatesRateIDNoContent struct { }
DeleteAPIProjectsIDRatesRateIDNoContent describes a response with status code 204, with default header values.
Returns no content: 204 on successful delete
func NewDeleteAPIProjectsIDRatesRateIDNoContent ¶
func NewDeleteAPIProjectsIDRatesRateIDNoContent() *DeleteAPIProjectsIDRatesRateIDNoContent
NewDeleteAPIProjectsIDRatesRateIDNoContent creates a DeleteAPIProjectsIDRatesRateIDNoContent with default headers values
func (*DeleteAPIProjectsIDRatesRateIDNoContent) Error ¶
func (o *DeleteAPIProjectsIDRatesRateIDNoContent) Error() string
func (*DeleteAPIProjectsIDRatesRateIDNoContent) IsClientError ¶
func (o *DeleteAPIProjectsIDRatesRateIDNoContent) IsClientError() bool
IsClientError returns true when this delete Api projects Id rates rate Id no content response has a 4xx status code
func (*DeleteAPIProjectsIDRatesRateIDNoContent) IsCode ¶
func (o *DeleteAPIProjectsIDRatesRateIDNoContent) IsCode(code int) bool
IsCode returns true when this delete Api projects Id rates rate Id no content response a status code equal to that given
func (*DeleteAPIProjectsIDRatesRateIDNoContent) IsRedirect ¶
func (o *DeleteAPIProjectsIDRatesRateIDNoContent) IsRedirect() bool
IsRedirect returns true when this delete Api projects Id rates rate Id no content response has a 3xx status code
func (*DeleteAPIProjectsIDRatesRateIDNoContent) IsServerError ¶
func (o *DeleteAPIProjectsIDRatesRateIDNoContent) IsServerError() bool
IsServerError returns true when this delete Api projects Id rates rate Id no content response has a 5xx status code
func (*DeleteAPIProjectsIDRatesRateIDNoContent) IsSuccess ¶
func (o *DeleteAPIProjectsIDRatesRateIDNoContent) IsSuccess() bool
IsSuccess returns true when this delete Api projects Id rates rate Id no content response has a 2xx status code
func (*DeleteAPIProjectsIDRatesRateIDNoContent) String ¶
func (o *DeleteAPIProjectsIDRatesRateIDNoContent) String() string
type DeleteAPIProjectsIDRatesRateIDParams ¶
type DeleteAPIProjectsIDRatesRateIDParams struct { /* ID. The project whose rate will be removed */ ID int64 /* RateID. The rate to remove */ RateID int64 Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
DeleteAPIProjectsIDRatesRateIDParams contains all the parameters to send to the API endpoint
for the delete API projects ID rates rate ID operation. Typically these are written to a http.Request.
func NewDeleteAPIProjectsIDRatesRateIDParams ¶
func NewDeleteAPIProjectsIDRatesRateIDParams() *DeleteAPIProjectsIDRatesRateIDParams
NewDeleteAPIProjectsIDRatesRateIDParams creates a new DeleteAPIProjectsIDRatesRateIDParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewDeleteAPIProjectsIDRatesRateIDParamsWithContext ¶
func NewDeleteAPIProjectsIDRatesRateIDParamsWithContext(ctx context.Context) *DeleteAPIProjectsIDRatesRateIDParams
NewDeleteAPIProjectsIDRatesRateIDParamsWithContext creates a new DeleteAPIProjectsIDRatesRateIDParams object with the ability to set a context for a request.
func NewDeleteAPIProjectsIDRatesRateIDParamsWithHTTPClient ¶
func NewDeleteAPIProjectsIDRatesRateIDParamsWithHTTPClient(client *http.Client) *DeleteAPIProjectsIDRatesRateIDParams
NewDeleteAPIProjectsIDRatesRateIDParamsWithHTTPClient creates a new DeleteAPIProjectsIDRatesRateIDParams object with the ability to set a custom HTTPClient for a request.
func NewDeleteAPIProjectsIDRatesRateIDParamsWithTimeout ¶
func NewDeleteAPIProjectsIDRatesRateIDParamsWithTimeout(timeout time.Duration) *DeleteAPIProjectsIDRatesRateIDParams
NewDeleteAPIProjectsIDRatesRateIDParamsWithTimeout creates a new DeleteAPIProjectsIDRatesRateIDParams object with the ability to set a timeout on a request.
func (*DeleteAPIProjectsIDRatesRateIDParams) SetContext ¶
func (o *DeleteAPIProjectsIDRatesRateIDParams) SetContext(ctx context.Context)
SetContext adds the context to the delete API projects ID rates rate ID params
func (*DeleteAPIProjectsIDRatesRateIDParams) SetDefaults ¶
func (o *DeleteAPIProjectsIDRatesRateIDParams) SetDefaults()
SetDefaults hydrates default values in the delete API projects ID rates rate ID params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteAPIProjectsIDRatesRateIDParams) SetHTTPClient ¶
func (o *DeleteAPIProjectsIDRatesRateIDParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the delete API projects ID rates rate ID params
func (*DeleteAPIProjectsIDRatesRateIDParams) SetID ¶
func (o *DeleteAPIProjectsIDRatesRateIDParams) SetID(id int64)
SetID adds the id to the delete API projects ID rates rate ID params
func (*DeleteAPIProjectsIDRatesRateIDParams) SetRateID ¶
func (o *DeleteAPIProjectsIDRatesRateIDParams) SetRateID(rateID int64)
SetRateID adds the rateId to the delete API projects ID rates rate ID params
func (*DeleteAPIProjectsIDRatesRateIDParams) SetTimeout ¶
func (o *DeleteAPIProjectsIDRatesRateIDParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the delete API projects ID rates rate ID params
func (*DeleteAPIProjectsIDRatesRateIDParams) WithContext ¶
func (o *DeleteAPIProjectsIDRatesRateIDParams) WithContext(ctx context.Context) *DeleteAPIProjectsIDRatesRateIDParams
WithContext adds the context to the delete API projects ID rates rate ID params
func (*DeleteAPIProjectsIDRatesRateIDParams) WithDefaults ¶
func (o *DeleteAPIProjectsIDRatesRateIDParams) WithDefaults() *DeleteAPIProjectsIDRatesRateIDParams
WithDefaults hydrates default values in the delete API projects ID rates rate ID params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteAPIProjectsIDRatesRateIDParams) WithHTTPClient ¶
func (o *DeleteAPIProjectsIDRatesRateIDParams) WithHTTPClient(client *http.Client) *DeleteAPIProjectsIDRatesRateIDParams
WithHTTPClient adds the HTTPClient to the delete API projects ID rates rate ID params
func (*DeleteAPIProjectsIDRatesRateIDParams) WithID ¶
func (o *DeleteAPIProjectsIDRatesRateIDParams) WithID(id int64) *DeleteAPIProjectsIDRatesRateIDParams
WithID adds the id to the delete API projects ID rates rate ID params
func (*DeleteAPIProjectsIDRatesRateIDParams) WithRateID ¶
func (o *DeleteAPIProjectsIDRatesRateIDParams) WithRateID(rateID int64) *DeleteAPIProjectsIDRatesRateIDParams
WithRateID adds the rateID to the delete API projects ID rates rate ID params
func (*DeleteAPIProjectsIDRatesRateIDParams) WithTimeout ¶
func (o *DeleteAPIProjectsIDRatesRateIDParams) WithTimeout(timeout time.Duration) *DeleteAPIProjectsIDRatesRateIDParams
WithTimeout adds the timeout to the delete API projects ID rates rate ID params
func (*DeleteAPIProjectsIDRatesRateIDParams) WriteToRequest ¶
func (o *DeleteAPIProjectsIDRatesRateIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DeleteAPIProjectsIDRatesRateIDReader ¶
type DeleteAPIProjectsIDRatesRateIDReader struct {
// contains filtered or unexported fields
}
DeleteAPIProjectsIDRatesRateIDReader is a Reader for the DeleteAPIProjectsIDRatesRateID structure.
func (*DeleteAPIProjectsIDRatesRateIDReader) ReadResponse ¶
func (o *DeleteAPIProjectsIDRatesRateIDReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetAPIProjectsIDOK ¶
type GetAPIProjectsIDOK struct {
Payload *models.ProjectEntity
}
GetAPIProjectsIDOK describes a response with status code 200, with default header values.
Returns one project entity
func NewGetAPIProjectsIDOK ¶
func NewGetAPIProjectsIDOK() *GetAPIProjectsIDOK
NewGetAPIProjectsIDOK creates a GetAPIProjectsIDOK with default headers values
func (*GetAPIProjectsIDOK) Error ¶
func (o *GetAPIProjectsIDOK) Error() string
func (*GetAPIProjectsIDOK) GetPayload ¶
func (o *GetAPIProjectsIDOK) GetPayload() *models.ProjectEntity
func (*GetAPIProjectsIDOK) IsClientError ¶
func (o *GetAPIProjectsIDOK) IsClientError() bool
IsClientError returns true when this get Api projects Id o k response has a 4xx status code
func (*GetAPIProjectsIDOK) IsCode ¶
func (o *GetAPIProjectsIDOK) IsCode(code int) bool
IsCode returns true when this get Api projects Id o k response a status code equal to that given
func (*GetAPIProjectsIDOK) IsRedirect ¶
func (o *GetAPIProjectsIDOK) IsRedirect() bool
IsRedirect returns true when this get Api projects Id o k response has a 3xx status code
func (*GetAPIProjectsIDOK) IsServerError ¶
func (o *GetAPIProjectsIDOK) IsServerError() bool
IsServerError returns true when this get Api projects Id o k response has a 5xx status code
func (*GetAPIProjectsIDOK) IsSuccess ¶
func (o *GetAPIProjectsIDOK) IsSuccess() bool
IsSuccess returns true when this get Api projects Id o k response has a 2xx status code
func (*GetAPIProjectsIDOK) String ¶
func (o *GetAPIProjectsIDOK) String() string
type GetAPIProjectsIDParams ¶
type GetAPIProjectsIDParams struct { // ID. ID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetAPIProjectsIDParams contains all the parameters to send to the API endpoint
for the get API projects ID operation. Typically these are written to a http.Request.
func NewGetAPIProjectsIDParams ¶
func NewGetAPIProjectsIDParams() *GetAPIProjectsIDParams
NewGetAPIProjectsIDParams creates a new GetAPIProjectsIDParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewGetAPIProjectsIDParamsWithContext ¶
func NewGetAPIProjectsIDParamsWithContext(ctx context.Context) *GetAPIProjectsIDParams
NewGetAPIProjectsIDParamsWithContext creates a new GetAPIProjectsIDParams object with the ability to set a context for a request.
func NewGetAPIProjectsIDParamsWithHTTPClient ¶
func NewGetAPIProjectsIDParamsWithHTTPClient(client *http.Client) *GetAPIProjectsIDParams
NewGetAPIProjectsIDParamsWithHTTPClient creates a new GetAPIProjectsIDParams object with the ability to set a custom HTTPClient for a request.
func NewGetAPIProjectsIDParamsWithTimeout ¶
func NewGetAPIProjectsIDParamsWithTimeout(timeout time.Duration) *GetAPIProjectsIDParams
NewGetAPIProjectsIDParamsWithTimeout creates a new GetAPIProjectsIDParams object with the ability to set a timeout on a request.
func (*GetAPIProjectsIDParams) SetContext ¶
func (o *GetAPIProjectsIDParams) SetContext(ctx context.Context)
SetContext adds the context to the get API projects ID params
func (*GetAPIProjectsIDParams) SetDefaults ¶
func (o *GetAPIProjectsIDParams) SetDefaults()
SetDefaults hydrates default values in the get API projects ID params (not the query body).
All values with no default are reset to their zero value.
func (*GetAPIProjectsIDParams) SetHTTPClient ¶
func (o *GetAPIProjectsIDParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get API projects ID params
func (*GetAPIProjectsIDParams) SetID ¶
func (o *GetAPIProjectsIDParams) SetID(id string)
SetID adds the id to the get API projects ID params
func (*GetAPIProjectsIDParams) SetTimeout ¶
func (o *GetAPIProjectsIDParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get API projects ID params
func (*GetAPIProjectsIDParams) WithContext ¶
func (o *GetAPIProjectsIDParams) WithContext(ctx context.Context) *GetAPIProjectsIDParams
WithContext adds the context to the get API projects ID params
func (*GetAPIProjectsIDParams) WithDefaults ¶
func (o *GetAPIProjectsIDParams) WithDefaults() *GetAPIProjectsIDParams
WithDefaults hydrates default values in the get API projects ID params (not the query body).
All values with no default are reset to their zero value.
func (*GetAPIProjectsIDParams) WithHTTPClient ¶
func (o *GetAPIProjectsIDParams) WithHTTPClient(client *http.Client) *GetAPIProjectsIDParams
WithHTTPClient adds the HTTPClient to the get API projects ID params
func (*GetAPIProjectsIDParams) WithID ¶
func (o *GetAPIProjectsIDParams) WithID(id string) *GetAPIProjectsIDParams
WithID adds the id to the get API projects ID params
func (*GetAPIProjectsIDParams) WithTimeout ¶
func (o *GetAPIProjectsIDParams) WithTimeout(timeout time.Duration) *GetAPIProjectsIDParams
WithTimeout adds the timeout to the get API projects ID params
func (*GetAPIProjectsIDParams) WriteToRequest ¶
func (o *GetAPIProjectsIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetAPIProjectsIDRatesOK ¶
type GetAPIProjectsIDRatesOK struct {
Payload []*models.ProjectRate
}
GetAPIProjectsIDRatesOK describes a response with status code 200, with default header values.
Returns a collection of project rate entities
func NewGetAPIProjectsIDRatesOK ¶
func NewGetAPIProjectsIDRatesOK() *GetAPIProjectsIDRatesOK
NewGetAPIProjectsIDRatesOK creates a GetAPIProjectsIDRatesOK with default headers values
func (*GetAPIProjectsIDRatesOK) Error ¶
func (o *GetAPIProjectsIDRatesOK) Error() string
func (*GetAPIProjectsIDRatesOK) GetPayload ¶
func (o *GetAPIProjectsIDRatesOK) GetPayload() []*models.ProjectRate
func (*GetAPIProjectsIDRatesOK) IsClientError ¶
func (o *GetAPIProjectsIDRatesOK) IsClientError() bool
IsClientError returns true when this get Api projects Id rates o k response has a 4xx status code
func (*GetAPIProjectsIDRatesOK) IsCode ¶
func (o *GetAPIProjectsIDRatesOK) IsCode(code int) bool
IsCode returns true when this get Api projects Id rates o k response a status code equal to that given
func (*GetAPIProjectsIDRatesOK) IsRedirect ¶
func (o *GetAPIProjectsIDRatesOK) IsRedirect() bool
IsRedirect returns true when this get Api projects Id rates o k response has a 3xx status code
func (*GetAPIProjectsIDRatesOK) IsServerError ¶
func (o *GetAPIProjectsIDRatesOK) IsServerError() bool
IsServerError returns true when this get Api projects Id rates o k response has a 5xx status code
func (*GetAPIProjectsIDRatesOK) IsSuccess ¶
func (o *GetAPIProjectsIDRatesOK) IsSuccess() bool
IsSuccess returns true when this get Api projects Id rates o k response has a 2xx status code
func (*GetAPIProjectsIDRatesOK) String ¶
func (o *GetAPIProjectsIDRatesOK) String() string
type GetAPIProjectsIDRatesParams ¶
type GetAPIProjectsIDRatesParams struct { /* ID. The project whose rates will be returned */ ID int64 Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetAPIProjectsIDRatesParams contains all the parameters to send to the API endpoint
for the get API projects ID rates operation. Typically these are written to a http.Request.
func NewGetAPIProjectsIDRatesParams ¶
func NewGetAPIProjectsIDRatesParams() *GetAPIProjectsIDRatesParams
NewGetAPIProjectsIDRatesParams creates a new GetAPIProjectsIDRatesParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewGetAPIProjectsIDRatesParamsWithContext ¶
func NewGetAPIProjectsIDRatesParamsWithContext(ctx context.Context) *GetAPIProjectsIDRatesParams
NewGetAPIProjectsIDRatesParamsWithContext creates a new GetAPIProjectsIDRatesParams object with the ability to set a context for a request.
func NewGetAPIProjectsIDRatesParamsWithHTTPClient ¶
func NewGetAPIProjectsIDRatesParamsWithHTTPClient(client *http.Client) *GetAPIProjectsIDRatesParams
NewGetAPIProjectsIDRatesParamsWithHTTPClient creates a new GetAPIProjectsIDRatesParams object with the ability to set a custom HTTPClient for a request.
func NewGetAPIProjectsIDRatesParamsWithTimeout ¶
func NewGetAPIProjectsIDRatesParamsWithTimeout(timeout time.Duration) *GetAPIProjectsIDRatesParams
NewGetAPIProjectsIDRatesParamsWithTimeout creates a new GetAPIProjectsIDRatesParams object with the ability to set a timeout on a request.
func (*GetAPIProjectsIDRatesParams) SetContext ¶
func (o *GetAPIProjectsIDRatesParams) SetContext(ctx context.Context)
SetContext adds the context to the get API projects ID rates params
func (*GetAPIProjectsIDRatesParams) SetDefaults ¶
func (o *GetAPIProjectsIDRatesParams) SetDefaults()
SetDefaults hydrates default values in the get API projects ID rates params (not the query body).
All values with no default are reset to their zero value.
func (*GetAPIProjectsIDRatesParams) SetHTTPClient ¶
func (o *GetAPIProjectsIDRatesParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get API projects ID rates params
func (*GetAPIProjectsIDRatesParams) SetID ¶
func (o *GetAPIProjectsIDRatesParams) SetID(id int64)
SetID adds the id to the get API projects ID rates params
func (*GetAPIProjectsIDRatesParams) SetTimeout ¶
func (o *GetAPIProjectsIDRatesParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get API projects ID rates params
func (*GetAPIProjectsIDRatesParams) WithContext ¶
func (o *GetAPIProjectsIDRatesParams) WithContext(ctx context.Context) *GetAPIProjectsIDRatesParams
WithContext adds the context to the get API projects ID rates params
func (*GetAPIProjectsIDRatesParams) WithDefaults ¶
func (o *GetAPIProjectsIDRatesParams) WithDefaults() *GetAPIProjectsIDRatesParams
WithDefaults hydrates default values in the get API projects ID rates params (not the query body).
All values with no default are reset to their zero value.
func (*GetAPIProjectsIDRatesParams) WithHTTPClient ¶
func (o *GetAPIProjectsIDRatesParams) WithHTTPClient(client *http.Client) *GetAPIProjectsIDRatesParams
WithHTTPClient adds the HTTPClient to the get API projects ID rates params
func (*GetAPIProjectsIDRatesParams) WithID ¶
func (o *GetAPIProjectsIDRatesParams) WithID(id int64) *GetAPIProjectsIDRatesParams
WithID adds the id to the get API projects ID rates params
func (*GetAPIProjectsIDRatesParams) WithTimeout ¶
func (o *GetAPIProjectsIDRatesParams) WithTimeout(timeout time.Duration) *GetAPIProjectsIDRatesParams
WithTimeout adds the timeout to the get API projects ID rates params
func (*GetAPIProjectsIDRatesParams) WriteToRequest ¶
func (o *GetAPIProjectsIDRatesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetAPIProjectsIDRatesReader ¶
type GetAPIProjectsIDRatesReader struct {
// contains filtered or unexported fields
}
GetAPIProjectsIDRatesReader is a Reader for the GetAPIProjectsIDRates structure.
func (*GetAPIProjectsIDRatesReader) ReadResponse ¶
func (o *GetAPIProjectsIDRatesReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetAPIProjectsIDReader ¶
type GetAPIProjectsIDReader struct {
// contains filtered or unexported fields
}
GetAPIProjectsIDReader is a Reader for the GetAPIProjectsID structure.
func (*GetAPIProjectsIDReader) ReadResponse ¶
func (o *GetAPIProjectsIDReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetAPIProjectsOK ¶
type GetAPIProjectsOK struct {
Payload []*models.ProjectCollection
}
GetAPIProjectsOK describes a response with status code 200, with default header values.
Returns a collection of project entities
func NewGetAPIProjectsOK ¶
func NewGetAPIProjectsOK() *GetAPIProjectsOK
NewGetAPIProjectsOK creates a GetAPIProjectsOK with default headers values
func (*GetAPIProjectsOK) Error ¶
func (o *GetAPIProjectsOK) Error() string
func (*GetAPIProjectsOK) GetPayload ¶
func (o *GetAPIProjectsOK) GetPayload() []*models.ProjectCollection
func (*GetAPIProjectsOK) IsClientError ¶
func (o *GetAPIProjectsOK) IsClientError() bool
IsClientError returns true when this get Api projects o k response has a 4xx status code
func (*GetAPIProjectsOK) IsCode ¶
func (o *GetAPIProjectsOK) IsCode(code int) bool
IsCode returns true when this get Api projects o k response a status code equal to that given
func (*GetAPIProjectsOK) IsRedirect ¶
func (o *GetAPIProjectsOK) IsRedirect() bool
IsRedirect returns true when this get Api projects o k response has a 3xx status code
func (*GetAPIProjectsOK) IsServerError ¶
func (o *GetAPIProjectsOK) IsServerError() bool
IsServerError returns true when this get Api projects o k response has a 5xx status code
func (*GetAPIProjectsOK) IsSuccess ¶
func (o *GetAPIProjectsOK) IsSuccess() bool
IsSuccess returns true when this get Api projects o k response has a 2xx status code
func (*GetAPIProjectsOK) String ¶
func (o *GetAPIProjectsOK) String() string
type GetAPIProjectsParams ¶
type GetAPIProjectsParams struct { /* Customer. Customer ID to filter projects */ Customer string /* Customers. Comma separated list of customer IDs to filter projects */ Customers string /* End. Only projects that ended after this date will be included. Allowed format: HTML5 (default: now, if start is also empty) Format: DateTime */ End string /* GlobalActivities. If given, filters projects by their 'global activity' support. Allowed values: 1 (supports global activities) and 0 (without global activities) (default: all) */ GlobalActivities string /* IgnoreDates. If set, start and end are completely ignored. Allowed values: 1 (default: off) */ IgnoreDates string /* Order. The result order. Allowed values: ASC, DESC (default: ASC) */ Order string /* OrderBy. The field by which results will be ordered. Allowed values: id, name, customer (default: name) */ OrderBy string /* Start. Only projects that started before this date will be included. Allowed format: HTML5 (default: now, if end is also empty) Format: DateTime */ Start string /* Term. Free search term */ Term *string /* Visible. Visibility status to filter projects. Allowed values: 1=visible, 2=hidden, 3=both (default: 1) */ Visible string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetAPIProjectsParams contains all the parameters to send to the API endpoint
for the get API projects operation. Typically these are written to a http.Request.
func NewGetAPIProjectsParams ¶
func NewGetAPIProjectsParams() *GetAPIProjectsParams
NewGetAPIProjectsParams creates a new GetAPIProjectsParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewGetAPIProjectsParamsWithContext ¶
func NewGetAPIProjectsParamsWithContext(ctx context.Context) *GetAPIProjectsParams
NewGetAPIProjectsParamsWithContext creates a new GetAPIProjectsParams object with the ability to set a context for a request.
func NewGetAPIProjectsParamsWithHTTPClient ¶
func NewGetAPIProjectsParamsWithHTTPClient(client *http.Client) *GetAPIProjectsParams
NewGetAPIProjectsParamsWithHTTPClient creates a new GetAPIProjectsParams object with the ability to set a custom HTTPClient for a request.
func NewGetAPIProjectsParamsWithTimeout ¶
func NewGetAPIProjectsParamsWithTimeout(timeout time.Duration) *GetAPIProjectsParams
NewGetAPIProjectsParamsWithTimeout creates a new GetAPIProjectsParams object with the ability to set a timeout on a request.
func (*GetAPIProjectsParams) SetContext ¶
func (o *GetAPIProjectsParams) SetContext(ctx context.Context)
SetContext adds the context to the get API projects params
func (*GetAPIProjectsParams) SetCustomer ¶
func (o *GetAPIProjectsParams) SetCustomer(customer string)
SetCustomer adds the customer to the get API projects params
func (*GetAPIProjectsParams) SetCustomers ¶
func (o *GetAPIProjectsParams) SetCustomers(customers string)
SetCustomers adds the customers to the get API projects params
func (*GetAPIProjectsParams) SetDefaults ¶
func (o *GetAPIProjectsParams) SetDefaults()
SetDefaults hydrates default values in the get API projects params (not the query body).
All values with no default are reset to their zero value.
func (*GetAPIProjectsParams) SetEnd ¶
func (o *GetAPIProjectsParams) SetEnd(end string)
SetEnd adds the end to the get API projects params
func (*GetAPIProjectsParams) SetGlobalActivities ¶
func (o *GetAPIProjectsParams) SetGlobalActivities(globalActivities string)
SetGlobalActivities adds the globalActivities to the get API projects params
func (*GetAPIProjectsParams) SetHTTPClient ¶
func (o *GetAPIProjectsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get API projects params
func (*GetAPIProjectsParams) SetIgnoreDates ¶
func (o *GetAPIProjectsParams) SetIgnoreDates(ignoreDates string)
SetIgnoreDates adds the ignoreDates to the get API projects params
func (*GetAPIProjectsParams) SetOrder ¶
func (o *GetAPIProjectsParams) SetOrder(order string)
SetOrder adds the order to the get API projects params
func (*GetAPIProjectsParams) SetOrderBy ¶
func (o *GetAPIProjectsParams) SetOrderBy(orderBy string)
SetOrderBy adds the orderBy to the get API projects params
func (*GetAPIProjectsParams) SetStart ¶
func (o *GetAPIProjectsParams) SetStart(start string)
SetStart adds the start to the get API projects params
func (*GetAPIProjectsParams) SetTerm ¶
func (o *GetAPIProjectsParams) SetTerm(term *string)
SetTerm adds the term to the get API projects params
func (*GetAPIProjectsParams) SetTimeout ¶
func (o *GetAPIProjectsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get API projects params
func (*GetAPIProjectsParams) SetVisible ¶
func (o *GetAPIProjectsParams) SetVisible(visible string)
SetVisible adds the visible to the get API projects params
func (*GetAPIProjectsParams) WithContext ¶
func (o *GetAPIProjectsParams) WithContext(ctx context.Context) *GetAPIProjectsParams
WithContext adds the context to the get API projects params
func (*GetAPIProjectsParams) WithCustomer ¶
func (o *GetAPIProjectsParams) WithCustomer(customer string) *GetAPIProjectsParams
WithCustomer adds the customer to the get API projects params
func (*GetAPIProjectsParams) WithCustomers ¶
func (o *GetAPIProjectsParams) WithCustomers(customers string) *GetAPIProjectsParams
WithCustomers adds the customers to the get API projects params
func (*GetAPIProjectsParams) WithDefaults ¶
func (o *GetAPIProjectsParams) WithDefaults() *GetAPIProjectsParams
WithDefaults hydrates default values in the get API projects params (not the query body).
All values with no default are reset to their zero value.
func (*GetAPIProjectsParams) WithEnd ¶
func (o *GetAPIProjectsParams) WithEnd(end string) *GetAPIProjectsParams
WithEnd adds the end to the get API projects params
func (*GetAPIProjectsParams) WithGlobalActivities ¶
func (o *GetAPIProjectsParams) WithGlobalActivities(globalActivities string) *GetAPIProjectsParams
WithGlobalActivities adds the globalActivities to the get API projects params
func (*GetAPIProjectsParams) WithHTTPClient ¶
func (o *GetAPIProjectsParams) WithHTTPClient(client *http.Client) *GetAPIProjectsParams
WithHTTPClient adds the HTTPClient to the get API projects params
func (*GetAPIProjectsParams) WithIgnoreDates ¶
func (o *GetAPIProjectsParams) WithIgnoreDates(ignoreDates string) *GetAPIProjectsParams
WithIgnoreDates adds the ignoreDates to the get API projects params
func (*GetAPIProjectsParams) WithOrder ¶
func (o *GetAPIProjectsParams) WithOrder(order string) *GetAPIProjectsParams
WithOrder adds the order to the get API projects params
func (*GetAPIProjectsParams) WithOrderBy ¶
func (o *GetAPIProjectsParams) WithOrderBy(orderBy string) *GetAPIProjectsParams
WithOrderBy adds the orderBy to the get API projects params
func (*GetAPIProjectsParams) WithStart ¶
func (o *GetAPIProjectsParams) WithStart(start string) *GetAPIProjectsParams
WithStart adds the start to the get API projects params
func (*GetAPIProjectsParams) WithTerm ¶
func (o *GetAPIProjectsParams) WithTerm(term *string) *GetAPIProjectsParams
WithTerm adds the term to the get API projects params
func (*GetAPIProjectsParams) WithTimeout ¶
func (o *GetAPIProjectsParams) WithTimeout(timeout time.Duration) *GetAPIProjectsParams
WithTimeout adds the timeout to the get API projects params
func (*GetAPIProjectsParams) WithVisible ¶
func (o *GetAPIProjectsParams) WithVisible(visible string) *GetAPIProjectsParams
WithVisible adds the visible to the get API projects params
func (*GetAPIProjectsParams) WriteToRequest ¶
func (o *GetAPIProjectsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetAPIProjectsReader ¶
type GetAPIProjectsReader struct {
// contains filtered or unexported fields
}
GetAPIProjectsReader is a Reader for the GetAPIProjects structure.
func (*GetAPIProjectsReader) ReadResponse ¶
func (o *GetAPIProjectsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PatchAPIProjectsIDMetaBody ¶
type PatchAPIProjectsIDMetaBody struct { // The meta-field name // Required: true Name *string `json:"name"` // The meta-field value // Required: true Value *string `json:"value"` }
PatchAPIProjectsIDMetaBody patch API projects ID meta body swagger:model PatchAPIProjectsIDMetaBody
func (*PatchAPIProjectsIDMetaBody) ContextValidate ¶
func (o *PatchAPIProjectsIDMetaBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this patch API projects ID meta body based on context it is used
func (*PatchAPIProjectsIDMetaBody) MarshalBinary ¶
func (o *PatchAPIProjectsIDMetaBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*PatchAPIProjectsIDMetaBody) UnmarshalBinary ¶
func (o *PatchAPIProjectsIDMetaBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type PatchAPIProjectsIDMetaOK ¶
type PatchAPIProjectsIDMetaOK struct {
Payload *models.ProjectEntity
}
PatchAPIProjectsIDMetaOK describes a response with status code 200, with default header values.
Sets the value of an existing/configured meta-field. You cannot create unknown meta-fields, if the given name is not a configured meta-field, this will return an exception.
func NewPatchAPIProjectsIDMetaOK ¶
func NewPatchAPIProjectsIDMetaOK() *PatchAPIProjectsIDMetaOK
NewPatchAPIProjectsIDMetaOK creates a PatchAPIProjectsIDMetaOK with default headers values
func (*PatchAPIProjectsIDMetaOK) Error ¶
func (o *PatchAPIProjectsIDMetaOK) Error() string
func (*PatchAPIProjectsIDMetaOK) GetPayload ¶
func (o *PatchAPIProjectsIDMetaOK) GetPayload() *models.ProjectEntity
func (*PatchAPIProjectsIDMetaOK) IsClientError ¶
func (o *PatchAPIProjectsIDMetaOK) IsClientError() bool
IsClientError returns true when this patch Api projects Id meta o k response has a 4xx status code
func (*PatchAPIProjectsIDMetaOK) IsCode ¶
func (o *PatchAPIProjectsIDMetaOK) IsCode(code int) bool
IsCode returns true when this patch Api projects Id meta o k response a status code equal to that given
func (*PatchAPIProjectsIDMetaOK) IsRedirect ¶
func (o *PatchAPIProjectsIDMetaOK) IsRedirect() bool
IsRedirect returns true when this patch Api projects Id meta o k response has a 3xx status code
func (*PatchAPIProjectsIDMetaOK) IsServerError ¶
func (o *PatchAPIProjectsIDMetaOK) IsServerError() bool
IsServerError returns true when this patch Api projects Id meta o k response has a 5xx status code
func (*PatchAPIProjectsIDMetaOK) IsSuccess ¶
func (o *PatchAPIProjectsIDMetaOK) IsSuccess() bool
IsSuccess returns true when this patch Api projects Id meta o k response has a 2xx status code
func (*PatchAPIProjectsIDMetaOK) String ¶
func (o *PatchAPIProjectsIDMetaOK) String() string
type PatchAPIProjectsIDMetaParams ¶
type PatchAPIProjectsIDMetaParams struct { // Body. Body PatchAPIProjectsIDMetaBody /* ID. Project record ID to set the meta-field value for */ ID int64 Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
PatchAPIProjectsIDMetaParams contains all the parameters to send to the API endpoint
for the patch API projects ID meta operation. Typically these are written to a http.Request.
func NewPatchAPIProjectsIDMetaParams ¶
func NewPatchAPIProjectsIDMetaParams() *PatchAPIProjectsIDMetaParams
NewPatchAPIProjectsIDMetaParams creates a new PatchAPIProjectsIDMetaParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewPatchAPIProjectsIDMetaParamsWithContext ¶
func NewPatchAPIProjectsIDMetaParamsWithContext(ctx context.Context) *PatchAPIProjectsIDMetaParams
NewPatchAPIProjectsIDMetaParamsWithContext creates a new PatchAPIProjectsIDMetaParams object with the ability to set a context for a request.
func NewPatchAPIProjectsIDMetaParamsWithHTTPClient ¶
func NewPatchAPIProjectsIDMetaParamsWithHTTPClient(client *http.Client) *PatchAPIProjectsIDMetaParams
NewPatchAPIProjectsIDMetaParamsWithHTTPClient creates a new PatchAPIProjectsIDMetaParams object with the ability to set a custom HTTPClient for a request.
func NewPatchAPIProjectsIDMetaParamsWithTimeout ¶
func NewPatchAPIProjectsIDMetaParamsWithTimeout(timeout time.Duration) *PatchAPIProjectsIDMetaParams
NewPatchAPIProjectsIDMetaParamsWithTimeout creates a new PatchAPIProjectsIDMetaParams object with the ability to set a timeout on a request.
func (*PatchAPIProjectsIDMetaParams) SetBody ¶
func (o *PatchAPIProjectsIDMetaParams) SetBody(body PatchAPIProjectsIDMetaBody)
SetBody adds the body to the patch API projects ID meta params
func (*PatchAPIProjectsIDMetaParams) SetContext ¶
func (o *PatchAPIProjectsIDMetaParams) SetContext(ctx context.Context)
SetContext adds the context to the patch API projects ID meta params
func (*PatchAPIProjectsIDMetaParams) SetDefaults ¶
func (o *PatchAPIProjectsIDMetaParams) SetDefaults()
SetDefaults hydrates default values in the patch API projects ID meta params (not the query body).
All values with no default are reset to their zero value.
func (*PatchAPIProjectsIDMetaParams) SetHTTPClient ¶
func (o *PatchAPIProjectsIDMetaParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the patch API projects ID meta params
func (*PatchAPIProjectsIDMetaParams) SetID ¶
func (o *PatchAPIProjectsIDMetaParams) SetID(id int64)
SetID adds the id to the patch API projects ID meta params
func (*PatchAPIProjectsIDMetaParams) SetTimeout ¶
func (o *PatchAPIProjectsIDMetaParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the patch API projects ID meta params
func (*PatchAPIProjectsIDMetaParams) WithBody ¶
func (o *PatchAPIProjectsIDMetaParams) WithBody(body PatchAPIProjectsIDMetaBody) *PatchAPIProjectsIDMetaParams
WithBody adds the body to the patch API projects ID meta params
func (*PatchAPIProjectsIDMetaParams) WithContext ¶
func (o *PatchAPIProjectsIDMetaParams) WithContext(ctx context.Context) *PatchAPIProjectsIDMetaParams
WithContext adds the context to the patch API projects ID meta params
func (*PatchAPIProjectsIDMetaParams) WithDefaults ¶
func (o *PatchAPIProjectsIDMetaParams) WithDefaults() *PatchAPIProjectsIDMetaParams
WithDefaults hydrates default values in the patch API projects ID meta params (not the query body).
All values with no default are reset to their zero value.
func (*PatchAPIProjectsIDMetaParams) WithHTTPClient ¶
func (o *PatchAPIProjectsIDMetaParams) WithHTTPClient(client *http.Client) *PatchAPIProjectsIDMetaParams
WithHTTPClient adds the HTTPClient to the patch API projects ID meta params
func (*PatchAPIProjectsIDMetaParams) WithID ¶
func (o *PatchAPIProjectsIDMetaParams) WithID(id int64) *PatchAPIProjectsIDMetaParams
WithID adds the id to the patch API projects ID meta params
func (*PatchAPIProjectsIDMetaParams) WithTimeout ¶
func (o *PatchAPIProjectsIDMetaParams) WithTimeout(timeout time.Duration) *PatchAPIProjectsIDMetaParams
WithTimeout adds the timeout to the patch API projects ID meta params
func (*PatchAPIProjectsIDMetaParams) WriteToRequest ¶
func (o *PatchAPIProjectsIDMetaParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PatchAPIProjectsIDMetaReader ¶
type PatchAPIProjectsIDMetaReader struct {
// contains filtered or unexported fields
}
PatchAPIProjectsIDMetaReader is a Reader for the PatchAPIProjectsIDMeta structure.
func (*PatchAPIProjectsIDMetaReader) ReadResponse ¶
func (o *PatchAPIProjectsIDMetaReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PatchAPIProjectsIDOK ¶
type PatchAPIProjectsIDOK struct {
Payload *models.ProjectEntity
}
PatchAPIProjectsIDOK describes a response with status code 200, with default header values.
Returns the updated project
func NewPatchAPIProjectsIDOK ¶
func NewPatchAPIProjectsIDOK() *PatchAPIProjectsIDOK
NewPatchAPIProjectsIDOK creates a PatchAPIProjectsIDOK with default headers values
func (*PatchAPIProjectsIDOK) Error ¶
func (o *PatchAPIProjectsIDOK) Error() string
func (*PatchAPIProjectsIDOK) GetPayload ¶
func (o *PatchAPIProjectsIDOK) GetPayload() *models.ProjectEntity
func (*PatchAPIProjectsIDOK) IsClientError ¶
func (o *PatchAPIProjectsIDOK) IsClientError() bool
IsClientError returns true when this patch Api projects Id o k response has a 4xx status code
func (*PatchAPIProjectsIDOK) IsCode ¶
func (o *PatchAPIProjectsIDOK) IsCode(code int) bool
IsCode returns true when this patch Api projects Id o k response a status code equal to that given
func (*PatchAPIProjectsIDOK) IsRedirect ¶
func (o *PatchAPIProjectsIDOK) IsRedirect() bool
IsRedirect returns true when this patch Api projects Id o k response has a 3xx status code
func (*PatchAPIProjectsIDOK) IsServerError ¶
func (o *PatchAPIProjectsIDOK) IsServerError() bool
IsServerError returns true when this patch Api projects Id o k response has a 5xx status code
func (*PatchAPIProjectsIDOK) IsSuccess ¶
func (o *PatchAPIProjectsIDOK) IsSuccess() bool
IsSuccess returns true when this patch Api projects Id o k response has a 2xx status code
func (*PatchAPIProjectsIDOK) String ¶
func (o *PatchAPIProjectsIDOK) String() string
type PatchAPIProjectsIDParams ¶
type PatchAPIProjectsIDParams struct { // Body. Body *models.ProjectEditForm /* ID. Project ID to update */ ID int64 Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
PatchAPIProjectsIDParams contains all the parameters to send to the API endpoint
for the patch API projects ID operation. Typically these are written to a http.Request.
func NewPatchAPIProjectsIDParams ¶
func NewPatchAPIProjectsIDParams() *PatchAPIProjectsIDParams
NewPatchAPIProjectsIDParams creates a new PatchAPIProjectsIDParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewPatchAPIProjectsIDParamsWithContext ¶
func NewPatchAPIProjectsIDParamsWithContext(ctx context.Context) *PatchAPIProjectsIDParams
NewPatchAPIProjectsIDParamsWithContext creates a new PatchAPIProjectsIDParams object with the ability to set a context for a request.
func NewPatchAPIProjectsIDParamsWithHTTPClient ¶
func NewPatchAPIProjectsIDParamsWithHTTPClient(client *http.Client) *PatchAPIProjectsIDParams
NewPatchAPIProjectsIDParamsWithHTTPClient creates a new PatchAPIProjectsIDParams object with the ability to set a custom HTTPClient for a request.
func NewPatchAPIProjectsIDParamsWithTimeout ¶
func NewPatchAPIProjectsIDParamsWithTimeout(timeout time.Duration) *PatchAPIProjectsIDParams
NewPatchAPIProjectsIDParamsWithTimeout creates a new PatchAPIProjectsIDParams object with the ability to set a timeout on a request.
func (*PatchAPIProjectsIDParams) SetBody ¶
func (o *PatchAPIProjectsIDParams) SetBody(body *models.ProjectEditForm)
SetBody adds the body to the patch API projects ID params
func (*PatchAPIProjectsIDParams) SetContext ¶
func (o *PatchAPIProjectsIDParams) SetContext(ctx context.Context)
SetContext adds the context to the patch API projects ID params
func (*PatchAPIProjectsIDParams) SetDefaults ¶
func (o *PatchAPIProjectsIDParams) SetDefaults()
SetDefaults hydrates default values in the patch API projects ID params (not the query body).
All values with no default are reset to their zero value.
func (*PatchAPIProjectsIDParams) SetHTTPClient ¶
func (o *PatchAPIProjectsIDParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the patch API projects ID params
func (*PatchAPIProjectsIDParams) SetID ¶
func (o *PatchAPIProjectsIDParams) SetID(id int64)
SetID adds the id to the patch API projects ID params
func (*PatchAPIProjectsIDParams) SetTimeout ¶
func (o *PatchAPIProjectsIDParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the patch API projects ID params
func (*PatchAPIProjectsIDParams) WithBody ¶
func (o *PatchAPIProjectsIDParams) WithBody(body *models.ProjectEditForm) *PatchAPIProjectsIDParams
WithBody adds the body to the patch API projects ID params
func (*PatchAPIProjectsIDParams) WithContext ¶
func (o *PatchAPIProjectsIDParams) WithContext(ctx context.Context) *PatchAPIProjectsIDParams
WithContext adds the context to the patch API projects ID params
func (*PatchAPIProjectsIDParams) WithDefaults ¶
func (o *PatchAPIProjectsIDParams) WithDefaults() *PatchAPIProjectsIDParams
WithDefaults hydrates default values in the patch API projects ID params (not the query body).
All values with no default are reset to their zero value.
func (*PatchAPIProjectsIDParams) WithHTTPClient ¶
func (o *PatchAPIProjectsIDParams) WithHTTPClient(client *http.Client) *PatchAPIProjectsIDParams
WithHTTPClient adds the HTTPClient to the patch API projects ID params
func (*PatchAPIProjectsIDParams) WithID ¶
func (o *PatchAPIProjectsIDParams) WithID(id int64) *PatchAPIProjectsIDParams
WithID adds the id to the patch API projects ID params
func (*PatchAPIProjectsIDParams) WithTimeout ¶
func (o *PatchAPIProjectsIDParams) WithTimeout(timeout time.Duration) *PatchAPIProjectsIDParams
WithTimeout adds the timeout to the patch API projects ID params
func (*PatchAPIProjectsIDParams) WriteToRequest ¶
func (o *PatchAPIProjectsIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PatchAPIProjectsIDReader ¶
type PatchAPIProjectsIDReader struct {
// contains filtered or unexported fields
}
PatchAPIProjectsIDReader is a Reader for the PatchAPIProjectsID structure.
func (*PatchAPIProjectsIDReader) ReadResponse ¶
func (o *PatchAPIProjectsIDReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PostAPIProjectsIDRatesOK ¶
type PostAPIProjectsIDRatesOK struct {
Payload *models.ProjectRate
}
PostAPIProjectsIDRatesOK describes a response with status code 200, with default header values.
Returns the new created rate
func NewPostAPIProjectsIDRatesOK ¶
func NewPostAPIProjectsIDRatesOK() *PostAPIProjectsIDRatesOK
NewPostAPIProjectsIDRatesOK creates a PostAPIProjectsIDRatesOK with default headers values
func (*PostAPIProjectsIDRatesOK) Error ¶
func (o *PostAPIProjectsIDRatesOK) Error() string
func (*PostAPIProjectsIDRatesOK) GetPayload ¶
func (o *PostAPIProjectsIDRatesOK) GetPayload() *models.ProjectRate
func (*PostAPIProjectsIDRatesOK) IsClientError ¶
func (o *PostAPIProjectsIDRatesOK) IsClientError() bool
IsClientError returns true when this post Api projects Id rates o k response has a 4xx status code
func (*PostAPIProjectsIDRatesOK) IsCode ¶
func (o *PostAPIProjectsIDRatesOK) IsCode(code int) bool
IsCode returns true when this post Api projects Id rates o k response a status code equal to that given
func (*PostAPIProjectsIDRatesOK) IsRedirect ¶
func (o *PostAPIProjectsIDRatesOK) IsRedirect() bool
IsRedirect returns true when this post Api projects Id rates o k response has a 3xx status code
func (*PostAPIProjectsIDRatesOK) IsServerError ¶
func (o *PostAPIProjectsIDRatesOK) IsServerError() bool
IsServerError returns true when this post Api projects Id rates o k response has a 5xx status code
func (*PostAPIProjectsIDRatesOK) IsSuccess ¶
func (o *PostAPIProjectsIDRatesOK) IsSuccess() bool
IsSuccess returns true when this post Api projects Id rates o k response has a 2xx status code
func (*PostAPIProjectsIDRatesOK) String ¶
func (o *PostAPIProjectsIDRatesOK) String() string
type PostAPIProjectsIDRatesParams ¶
type PostAPIProjectsIDRatesParams struct { // Body. Body *models.ProjectRateForm /* ID. The project to add the rate for */ ID int64 Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
PostAPIProjectsIDRatesParams contains all the parameters to send to the API endpoint
for the post API projects ID rates operation. Typically these are written to a http.Request.
func NewPostAPIProjectsIDRatesParams ¶
func NewPostAPIProjectsIDRatesParams() *PostAPIProjectsIDRatesParams
NewPostAPIProjectsIDRatesParams creates a new PostAPIProjectsIDRatesParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewPostAPIProjectsIDRatesParamsWithContext ¶
func NewPostAPIProjectsIDRatesParamsWithContext(ctx context.Context) *PostAPIProjectsIDRatesParams
NewPostAPIProjectsIDRatesParamsWithContext creates a new PostAPIProjectsIDRatesParams object with the ability to set a context for a request.
func NewPostAPIProjectsIDRatesParamsWithHTTPClient ¶
func NewPostAPIProjectsIDRatesParamsWithHTTPClient(client *http.Client) *PostAPIProjectsIDRatesParams
NewPostAPIProjectsIDRatesParamsWithHTTPClient creates a new PostAPIProjectsIDRatesParams object with the ability to set a custom HTTPClient for a request.
func NewPostAPIProjectsIDRatesParamsWithTimeout ¶
func NewPostAPIProjectsIDRatesParamsWithTimeout(timeout time.Duration) *PostAPIProjectsIDRatesParams
NewPostAPIProjectsIDRatesParamsWithTimeout creates a new PostAPIProjectsIDRatesParams object with the ability to set a timeout on a request.
func (*PostAPIProjectsIDRatesParams) SetBody ¶
func (o *PostAPIProjectsIDRatesParams) SetBody(body *models.ProjectRateForm)
SetBody adds the body to the post API projects ID rates params
func (*PostAPIProjectsIDRatesParams) SetContext ¶
func (o *PostAPIProjectsIDRatesParams) SetContext(ctx context.Context)
SetContext adds the context to the post API projects ID rates params
func (*PostAPIProjectsIDRatesParams) SetDefaults ¶
func (o *PostAPIProjectsIDRatesParams) SetDefaults()
SetDefaults hydrates default values in the post API projects ID rates params (not the query body).
All values with no default are reset to their zero value.
func (*PostAPIProjectsIDRatesParams) SetHTTPClient ¶
func (o *PostAPIProjectsIDRatesParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the post API projects ID rates params
func (*PostAPIProjectsIDRatesParams) SetID ¶
func (o *PostAPIProjectsIDRatesParams) SetID(id int64)
SetID adds the id to the post API projects ID rates params
func (*PostAPIProjectsIDRatesParams) SetTimeout ¶
func (o *PostAPIProjectsIDRatesParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the post API projects ID rates params
func (*PostAPIProjectsIDRatesParams) WithBody ¶
func (o *PostAPIProjectsIDRatesParams) WithBody(body *models.ProjectRateForm) *PostAPIProjectsIDRatesParams
WithBody adds the body to the post API projects ID rates params
func (*PostAPIProjectsIDRatesParams) WithContext ¶
func (o *PostAPIProjectsIDRatesParams) WithContext(ctx context.Context) *PostAPIProjectsIDRatesParams
WithContext adds the context to the post API projects ID rates params
func (*PostAPIProjectsIDRatesParams) WithDefaults ¶
func (o *PostAPIProjectsIDRatesParams) WithDefaults() *PostAPIProjectsIDRatesParams
WithDefaults hydrates default values in the post API projects ID rates params (not the query body).
All values with no default are reset to their zero value.
func (*PostAPIProjectsIDRatesParams) WithHTTPClient ¶
func (o *PostAPIProjectsIDRatesParams) WithHTTPClient(client *http.Client) *PostAPIProjectsIDRatesParams
WithHTTPClient adds the HTTPClient to the post API projects ID rates params
func (*PostAPIProjectsIDRatesParams) WithID ¶
func (o *PostAPIProjectsIDRatesParams) WithID(id int64) *PostAPIProjectsIDRatesParams
WithID adds the id to the post API projects ID rates params
func (*PostAPIProjectsIDRatesParams) WithTimeout ¶
func (o *PostAPIProjectsIDRatesParams) WithTimeout(timeout time.Duration) *PostAPIProjectsIDRatesParams
WithTimeout adds the timeout to the post API projects ID rates params
func (*PostAPIProjectsIDRatesParams) WriteToRequest ¶
func (o *PostAPIProjectsIDRatesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PostAPIProjectsIDRatesReader ¶
type PostAPIProjectsIDRatesReader struct {
// contains filtered or unexported fields
}
PostAPIProjectsIDRatesReader is a Reader for the PostAPIProjectsIDRates structure.
func (*PostAPIProjectsIDRatesReader) ReadResponse ¶
func (o *PostAPIProjectsIDRatesReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PostAPIProjectsOK ¶
type PostAPIProjectsOK struct {
Payload *models.ProjectEntity
}
PostAPIProjectsOK describes a response with status code 200, with default header values.
Returns the new created project
func NewPostAPIProjectsOK ¶
func NewPostAPIProjectsOK() *PostAPIProjectsOK
NewPostAPIProjectsOK creates a PostAPIProjectsOK with default headers values
func (*PostAPIProjectsOK) Error ¶
func (o *PostAPIProjectsOK) Error() string
func (*PostAPIProjectsOK) GetPayload ¶
func (o *PostAPIProjectsOK) GetPayload() *models.ProjectEntity
func (*PostAPIProjectsOK) IsClientError ¶
func (o *PostAPIProjectsOK) IsClientError() bool
IsClientError returns true when this post Api projects o k response has a 4xx status code
func (*PostAPIProjectsOK) IsCode ¶
func (o *PostAPIProjectsOK) IsCode(code int) bool
IsCode returns true when this post Api projects o k response a status code equal to that given
func (*PostAPIProjectsOK) IsRedirect ¶
func (o *PostAPIProjectsOK) IsRedirect() bool
IsRedirect returns true when this post Api projects o k response has a 3xx status code
func (*PostAPIProjectsOK) IsServerError ¶
func (o *PostAPIProjectsOK) IsServerError() bool
IsServerError returns true when this post Api projects o k response has a 5xx status code
func (*PostAPIProjectsOK) IsSuccess ¶
func (o *PostAPIProjectsOK) IsSuccess() bool
IsSuccess returns true when this post Api projects o k response has a 2xx status code
func (*PostAPIProjectsOK) String ¶
func (o *PostAPIProjectsOK) String() string
type PostAPIProjectsParams ¶
type PostAPIProjectsParams struct { // Body. Body *models.ProjectEditForm Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
PostAPIProjectsParams contains all the parameters to send to the API endpoint
for the post API projects operation. Typically these are written to a http.Request.
func NewPostAPIProjectsParams ¶
func NewPostAPIProjectsParams() *PostAPIProjectsParams
NewPostAPIProjectsParams creates a new PostAPIProjectsParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewPostAPIProjectsParamsWithContext ¶
func NewPostAPIProjectsParamsWithContext(ctx context.Context) *PostAPIProjectsParams
NewPostAPIProjectsParamsWithContext creates a new PostAPIProjectsParams object with the ability to set a context for a request.
func NewPostAPIProjectsParamsWithHTTPClient ¶
func NewPostAPIProjectsParamsWithHTTPClient(client *http.Client) *PostAPIProjectsParams
NewPostAPIProjectsParamsWithHTTPClient creates a new PostAPIProjectsParams object with the ability to set a custom HTTPClient for a request.
func NewPostAPIProjectsParamsWithTimeout ¶
func NewPostAPIProjectsParamsWithTimeout(timeout time.Duration) *PostAPIProjectsParams
NewPostAPIProjectsParamsWithTimeout creates a new PostAPIProjectsParams object with the ability to set a timeout on a request.
func (*PostAPIProjectsParams) SetBody ¶
func (o *PostAPIProjectsParams) SetBody(body *models.ProjectEditForm)
SetBody adds the body to the post API projects params
func (*PostAPIProjectsParams) SetContext ¶
func (o *PostAPIProjectsParams) SetContext(ctx context.Context)
SetContext adds the context to the post API projects params
func (*PostAPIProjectsParams) SetDefaults ¶
func (o *PostAPIProjectsParams) SetDefaults()
SetDefaults hydrates default values in the post API projects params (not the query body).
All values with no default are reset to their zero value.
func (*PostAPIProjectsParams) SetHTTPClient ¶
func (o *PostAPIProjectsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the post API projects params
func (*PostAPIProjectsParams) SetTimeout ¶
func (o *PostAPIProjectsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the post API projects params
func (*PostAPIProjectsParams) WithBody ¶
func (o *PostAPIProjectsParams) WithBody(body *models.ProjectEditForm) *PostAPIProjectsParams
WithBody adds the body to the post API projects params
func (*PostAPIProjectsParams) WithContext ¶
func (o *PostAPIProjectsParams) WithContext(ctx context.Context) *PostAPIProjectsParams
WithContext adds the context to the post API projects params
func (*PostAPIProjectsParams) WithDefaults ¶
func (o *PostAPIProjectsParams) WithDefaults() *PostAPIProjectsParams
WithDefaults hydrates default values in the post API projects params (not the query body).
All values with no default are reset to their zero value.
func (*PostAPIProjectsParams) WithHTTPClient ¶
func (o *PostAPIProjectsParams) WithHTTPClient(client *http.Client) *PostAPIProjectsParams
WithHTTPClient adds the HTTPClient to the post API projects params
func (*PostAPIProjectsParams) WithTimeout ¶
func (o *PostAPIProjectsParams) WithTimeout(timeout time.Duration) *PostAPIProjectsParams
WithTimeout adds the timeout to the post API projects params
func (*PostAPIProjectsParams) WriteToRequest ¶
func (o *PostAPIProjectsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PostAPIProjectsReader ¶
type PostAPIProjectsReader struct {
// contains filtered or unexported fields
}
PostAPIProjectsReader is a Reader for the PostAPIProjects structure.
func (*PostAPIProjectsReader) ReadResponse ¶
func (o *PostAPIProjectsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
Source Files ¶
- delete_api_projects_id_rates_rate_id_parameters.go
- delete_api_projects_id_rates_rate_id_responses.go
- get_api_projects_id_parameters.go
- get_api_projects_id_rates_parameters.go
- get_api_projects_id_rates_responses.go
- get_api_projects_id_responses.go
- get_api_projects_parameters.go
- get_api_projects_responses.go
- patch_api_projects_id_meta_parameters.go
- patch_api_projects_id_meta_responses.go
- patch_api_projects_id_parameters.go
- patch_api_projects_id_responses.go
- post_api_projects_id_rates_parameters.go
- post_api_projects_id_rates_responses.go
- post_api_projects_parameters.go
- post_api_projects_responses.go
- project_client.go