Documentation ¶
Index ¶
- type Client
- func (a *Client) CreateBudget(params *CreateBudgetParams, authInfo runtime.ClientAuthInfoWriter, ...) (*CreateBudgetCreated, error)
- func (a *Client) DeleteBudget(params *DeleteBudgetParams, authInfo runtime.ClientAuthInfoWriter, ...) (*DeleteBudgetNoContent, error)
- func (a *Client) GetBudget(params *GetBudgetParams, authInfo runtime.ClientAuthInfoWriter, ...) (*GetBudgetOK, error)
- func (a *Client) GetBudgets(params *GetBudgetsParams, authInfo runtime.ClientAuthInfoWriter, ...) (*GetBudgetsOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- func (a *Client) UpdateBudget(params *UpdateBudgetParams, authInfo runtime.ClientAuthInfoWriter, ...) (*UpdateBudgetOK, error)
- type ClientOption
- type ClientService
- type CreateBudgetBadRequest
- func (o *CreateBudgetBadRequest) Code() int
- func (o *CreateBudgetBadRequest) Error() string
- func (o *CreateBudgetBadRequest) GetPayload() *models.Errors
- func (o *CreateBudgetBadRequest) IsClientError() bool
- func (o *CreateBudgetBadRequest) IsCode(code int) bool
- func (o *CreateBudgetBadRequest) IsRedirect() bool
- func (o *CreateBudgetBadRequest) IsServerError() bool
- func (o *CreateBudgetBadRequest) IsSuccess() bool
- func (o *CreateBudgetBadRequest) String() string
- type CreateBudgetCreated
- func (o *CreateBudgetCreated) Code() int
- func (o *CreateBudgetCreated) Error() string
- func (o *CreateBudgetCreated) GetPayload() *models.Budget
- func (o *CreateBudgetCreated) IsClientError() bool
- func (o *CreateBudgetCreated) IsCode(code int) bool
- func (o *CreateBudgetCreated) IsRedirect() bool
- func (o *CreateBudgetCreated) IsServerError() bool
- func (o *CreateBudgetCreated) IsSuccess() bool
- func (o *CreateBudgetCreated) String() string
- type CreateBudgetParams
- func (o *CreateBudgetParams) SetContext(ctx context.Context)
- func (o *CreateBudgetParams) SetCreateBudget(createBudget *models.CreateBudget)
- func (o *CreateBudgetParams) SetDefaults()
- func (o *CreateBudgetParams) SetHTTPClient(client *http.Client)
- func (o *CreateBudgetParams) SetTimeout(timeout time.Duration)
- func (o *CreateBudgetParams) WithContext(ctx context.Context) *CreateBudgetParams
- func (o *CreateBudgetParams) WithCreateBudget(createBudget *models.CreateBudget) *CreateBudgetParams
- func (o *CreateBudgetParams) WithDefaults() *CreateBudgetParams
- func (o *CreateBudgetParams) WithHTTPClient(client *http.Client) *CreateBudgetParams
- func (o *CreateBudgetParams) WithTimeout(timeout time.Duration) *CreateBudgetParams
- func (o *CreateBudgetParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CreateBudgetReader
- type CreateBudgetUnprocessableEntity
- func (o *CreateBudgetUnprocessableEntity) Code() int
- func (o *CreateBudgetUnprocessableEntity) Error() string
- func (o *CreateBudgetUnprocessableEntity) GetPayload() *models.Errors
- func (o *CreateBudgetUnprocessableEntity) IsClientError() bool
- func (o *CreateBudgetUnprocessableEntity) IsCode(code int) bool
- func (o *CreateBudgetUnprocessableEntity) IsRedirect() bool
- func (o *CreateBudgetUnprocessableEntity) IsServerError() bool
- func (o *CreateBudgetUnprocessableEntity) IsSuccess() bool
- func (o *CreateBudgetUnprocessableEntity) String() string
- type DeleteBudgetNoContent
- func (o *DeleteBudgetNoContent) Code() int
- func (o *DeleteBudgetNoContent) Error() string
- func (o *DeleteBudgetNoContent) GetPayload() *models.Budget
- func (o *DeleteBudgetNoContent) IsClientError() bool
- func (o *DeleteBudgetNoContent) IsCode(code int) bool
- func (o *DeleteBudgetNoContent) IsRedirect() bool
- func (o *DeleteBudgetNoContent) IsServerError() bool
- func (o *DeleteBudgetNoContent) IsSuccess() bool
- func (o *DeleteBudgetNoContent) String() string
- type DeleteBudgetNotFound
- func (o *DeleteBudgetNotFound) Code() int
- func (o *DeleteBudgetNotFound) Error() string
- func (o *DeleteBudgetNotFound) GetPayload() *models.Errors
- func (o *DeleteBudgetNotFound) IsClientError() bool
- func (o *DeleteBudgetNotFound) IsCode(code int) bool
- func (o *DeleteBudgetNotFound) IsRedirect() bool
- func (o *DeleteBudgetNotFound) IsServerError() bool
- func (o *DeleteBudgetNotFound) IsSuccess() bool
- func (o *DeleteBudgetNotFound) String() string
- type DeleteBudgetParams
- func (o *DeleteBudgetParams) SetBudgetToken(budgetToken string)
- func (o *DeleteBudgetParams) SetContext(ctx context.Context)
- func (o *DeleteBudgetParams) SetDefaults()
- func (o *DeleteBudgetParams) SetHTTPClient(client *http.Client)
- func (o *DeleteBudgetParams) SetTimeout(timeout time.Duration)
- func (o *DeleteBudgetParams) WithBudgetToken(budgetToken string) *DeleteBudgetParams
- func (o *DeleteBudgetParams) WithContext(ctx context.Context) *DeleteBudgetParams
- func (o *DeleteBudgetParams) WithDefaults() *DeleteBudgetParams
- func (o *DeleteBudgetParams) WithHTTPClient(client *http.Client) *DeleteBudgetParams
- func (o *DeleteBudgetParams) WithTimeout(timeout time.Duration) *DeleteBudgetParams
- func (o *DeleteBudgetParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteBudgetReader
- type GetBudgetNotFound
- func (o *GetBudgetNotFound) Code() int
- func (o *GetBudgetNotFound) Error() string
- func (o *GetBudgetNotFound) GetPayload() *models.Errors
- func (o *GetBudgetNotFound) IsClientError() bool
- func (o *GetBudgetNotFound) IsCode(code int) bool
- func (o *GetBudgetNotFound) IsRedirect() bool
- func (o *GetBudgetNotFound) IsServerError() bool
- func (o *GetBudgetNotFound) IsSuccess() bool
- func (o *GetBudgetNotFound) String() string
- type GetBudgetOK
- func (o *GetBudgetOK) Code() int
- func (o *GetBudgetOK) Error() string
- func (o *GetBudgetOK) GetPayload() *models.Budget
- func (o *GetBudgetOK) IsClientError() bool
- func (o *GetBudgetOK) IsCode(code int) bool
- func (o *GetBudgetOK) IsRedirect() bool
- func (o *GetBudgetOK) IsServerError() bool
- func (o *GetBudgetOK) IsSuccess() bool
- func (o *GetBudgetOK) String() string
- type GetBudgetParams
- func (o *GetBudgetParams) SetBudgetToken(budgetToken string)
- func (o *GetBudgetParams) SetContext(ctx context.Context)
- func (o *GetBudgetParams) SetDefaults()
- func (o *GetBudgetParams) SetHTTPClient(client *http.Client)
- func (o *GetBudgetParams) SetTimeout(timeout time.Duration)
- func (o *GetBudgetParams) WithBudgetToken(budgetToken string) *GetBudgetParams
- func (o *GetBudgetParams) WithContext(ctx context.Context) *GetBudgetParams
- func (o *GetBudgetParams) WithDefaults() *GetBudgetParams
- func (o *GetBudgetParams) WithHTTPClient(client *http.Client) *GetBudgetParams
- func (o *GetBudgetParams) WithTimeout(timeout time.Duration) *GetBudgetParams
- func (o *GetBudgetParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetBudgetReader
- type GetBudgetsOK
- func (o *GetBudgetsOK) Code() int
- func (o *GetBudgetsOK) Error() string
- func (o *GetBudgetsOK) GetPayload() *models.Budgets
- func (o *GetBudgetsOK) IsClientError() bool
- func (o *GetBudgetsOK) IsCode(code int) bool
- func (o *GetBudgetsOK) IsRedirect() bool
- func (o *GetBudgetsOK) IsServerError() bool
- func (o *GetBudgetsOK) IsSuccess() bool
- func (o *GetBudgetsOK) String() string
- type GetBudgetsParams
- func (o *GetBudgetsParams) SetContext(ctx context.Context)
- func (o *GetBudgetsParams) SetDefaults()
- func (o *GetBudgetsParams) SetHTTPClient(client *http.Client)
- func (o *GetBudgetsParams) SetLimit(limit *int32)
- func (o *GetBudgetsParams) SetPage(page *int32)
- func (o *GetBudgetsParams) SetTimeout(timeout time.Duration)
- func (o *GetBudgetsParams) WithContext(ctx context.Context) *GetBudgetsParams
- func (o *GetBudgetsParams) WithDefaults() *GetBudgetsParams
- func (o *GetBudgetsParams) WithHTTPClient(client *http.Client) *GetBudgetsParams
- func (o *GetBudgetsParams) WithLimit(limit *int32) *GetBudgetsParams
- func (o *GetBudgetsParams) WithPage(page *int32) *GetBudgetsParams
- func (o *GetBudgetsParams) WithTimeout(timeout time.Duration) *GetBudgetsParams
- func (o *GetBudgetsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetBudgetsReader
- type UpdateBudgetBadRequest
- func (o *UpdateBudgetBadRequest) Code() int
- func (o *UpdateBudgetBadRequest) Error() string
- func (o *UpdateBudgetBadRequest) GetPayload() *models.Errors
- func (o *UpdateBudgetBadRequest) IsClientError() bool
- func (o *UpdateBudgetBadRequest) IsCode(code int) bool
- func (o *UpdateBudgetBadRequest) IsRedirect() bool
- func (o *UpdateBudgetBadRequest) IsServerError() bool
- func (o *UpdateBudgetBadRequest) IsSuccess() bool
- func (o *UpdateBudgetBadRequest) String() string
- type UpdateBudgetNotFound
- func (o *UpdateBudgetNotFound) Code() int
- func (o *UpdateBudgetNotFound) Error() string
- func (o *UpdateBudgetNotFound) GetPayload() *models.Errors
- func (o *UpdateBudgetNotFound) IsClientError() bool
- func (o *UpdateBudgetNotFound) IsCode(code int) bool
- func (o *UpdateBudgetNotFound) IsRedirect() bool
- func (o *UpdateBudgetNotFound) IsServerError() bool
- func (o *UpdateBudgetNotFound) IsSuccess() bool
- func (o *UpdateBudgetNotFound) String() string
- type UpdateBudgetOK
- func (o *UpdateBudgetOK) Code() int
- func (o *UpdateBudgetOK) Error() string
- func (o *UpdateBudgetOK) GetPayload() *models.Budget
- func (o *UpdateBudgetOK) IsClientError() bool
- func (o *UpdateBudgetOK) IsCode(code int) bool
- func (o *UpdateBudgetOK) IsRedirect() bool
- func (o *UpdateBudgetOK) IsServerError() bool
- func (o *UpdateBudgetOK) IsSuccess() bool
- func (o *UpdateBudgetOK) String() string
- type UpdateBudgetParams
- func (o *UpdateBudgetParams) SetBudgetToken(budgetToken string)
- func (o *UpdateBudgetParams) SetContext(ctx context.Context)
- func (o *UpdateBudgetParams) SetDefaults()
- func (o *UpdateBudgetParams) SetHTTPClient(client *http.Client)
- func (o *UpdateBudgetParams) SetTimeout(timeout time.Duration)
- func (o *UpdateBudgetParams) SetUpdateBudget(updateBudget *models.UpdateBudget)
- func (o *UpdateBudgetParams) WithBudgetToken(budgetToken string) *UpdateBudgetParams
- func (o *UpdateBudgetParams) WithContext(ctx context.Context) *UpdateBudgetParams
- func (o *UpdateBudgetParams) WithDefaults() *UpdateBudgetParams
- func (o *UpdateBudgetParams) WithHTTPClient(client *http.Client) *UpdateBudgetParams
- func (o *UpdateBudgetParams) WithTimeout(timeout time.Duration) *UpdateBudgetParams
- func (o *UpdateBudgetParams) WithUpdateBudget(updateBudget *models.UpdateBudget) *UpdateBudgetParams
- func (o *UpdateBudgetParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UpdateBudgetReader
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 budgets API
func (*Client) CreateBudget ¶ added in v0.0.21
func (a *Client) CreateBudget(params *CreateBudgetParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateBudgetCreated, error)
CreateBudget Create a Budget.
func (*Client) DeleteBudget ¶
func (a *Client) DeleteBudget(params *DeleteBudgetParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteBudgetNoContent, error)
DeleteBudget Delete a Budget.
func (*Client) GetBudget ¶
func (a *Client) GetBudget(params *GetBudgetParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetBudgetOK, error)
GetBudget Return a Budget.
func (*Client) GetBudgets ¶
func (a *Client) GetBudgets(params *GetBudgetsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetBudgetsOK, error)
GetBudgets Return all Budgets.
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
func (*Client) UpdateBudget ¶ added in v0.0.21
func (a *Client) UpdateBudget(params *UpdateBudgetParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateBudgetOK, error)
UpdateBudget Update a Budget.
type ClientOption ¶
type ClientOption func(*runtime.ClientOperation)
ClientOption is the option for Client methods
type ClientService ¶
type ClientService interface { CreateBudget(params *CreateBudgetParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateBudgetCreated, error) DeleteBudget(params *DeleteBudgetParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteBudgetNoContent, error) GetBudget(params *GetBudgetParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetBudgetOK, error) GetBudgets(params *GetBudgetsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetBudgetsOK, error) UpdateBudget(params *UpdateBudgetParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateBudgetOK, 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 budgets API client.
type CreateBudgetBadRequest ¶ added in v0.0.21
CreateBudgetBadRequest describes a response with status code 400, with default header values.
BadRequest
func NewCreateBudgetBadRequest ¶ added in v0.0.21
func NewCreateBudgetBadRequest() *CreateBudgetBadRequest
NewCreateBudgetBadRequest creates a CreateBudgetBadRequest with default headers values
func (*CreateBudgetBadRequest) Code ¶ added in v0.0.21
func (o *CreateBudgetBadRequest) Code() int
Code gets the status code for the create budget bad request response
func (*CreateBudgetBadRequest) Error ¶ added in v0.0.21
func (o *CreateBudgetBadRequest) Error() string
func (*CreateBudgetBadRequest) GetPayload ¶ added in v0.0.21
func (o *CreateBudgetBadRequest) GetPayload() *models.Errors
func (*CreateBudgetBadRequest) IsClientError ¶ added in v0.0.21
func (o *CreateBudgetBadRequest) IsClientError() bool
IsClientError returns true when this create budget bad request response has a 4xx status code
func (*CreateBudgetBadRequest) IsCode ¶ added in v0.0.21
func (o *CreateBudgetBadRequest) IsCode(code int) bool
IsCode returns true when this create budget bad request response a status code equal to that given
func (*CreateBudgetBadRequest) IsRedirect ¶ added in v0.0.21
func (o *CreateBudgetBadRequest) IsRedirect() bool
IsRedirect returns true when this create budget bad request response has a 3xx status code
func (*CreateBudgetBadRequest) IsServerError ¶ added in v0.0.21
func (o *CreateBudgetBadRequest) IsServerError() bool
IsServerError returns true when this create budget bad request response has a 5xx status code
func (*CreateBudgetBadRequest) IsSuccess ¶ added in v0.0.21
func (o *CreateBudgetBadRequest) IsSuccess() bool
IsSuccess returns true when this create budget bad request response has a 2xx status code
func (*CreateBudgetBadRequest) String ¶ added in v0.0.21
func (o *CreateBudgetBadRequest) String() string
type CreateBudgetCreated ¶ added in v0.0.21
CreateBudgetCreated describes a response with status code 201, with default header values.
CreateBudgetCreated create budget created
func NewCreateBudgetCreated ¶ added in v0.0.21
func NewCreateBudgetCreated() *CreateBudgetCreated
NewCreateBudgetCreated creates a CreateBudgetCreated with default headers values
func (*CreateBudgetCreated) Code ¶ added in v0.0.21
func (o *CreateBudgetCreated) Code() int
Code gets the status code for the create budget created response
func (*CreateBudgetCreated) Error ¶ added in v0.0.21
func (o *CreateBudgetCreated) Error() string
func (*CreateBudgetCreated) GetPayload ¶ added in v0.0.21
func (o *CreateBudgetCreated) GetPayload() *models.Budget
func (*CreateBudgetCreated) IsClientError ¶ added in v0.0.21
func (o *CreateBudgetCreated) IsClientError() bool
IsClientError returns true when this create budget created response has a 4xx status code
func (*CreateBudgetCreated) IsCode ¶ added in v0.0.21
func (o *CreateBudgetCreated) IsCode(code int) bool
IsCode returns true when this create budget created response a status code equal to that given
func (*CreateBudgetCreated) IsRedirect ¶ added in v0.0.21
func (o *CreateBudgetCreated) IsRedirect() bool
IsRedirect returns true when this create budget created response has a 3xx status code
func (*CreateBudgetCreated) IsServerError ¶ added in v0.0.21
func (o *CreateBudgetCreated) IsServerError() bool
IsServerError returns true when this create budget created response has a 5xx status code
func (*CreateBudgetCreated) IsSuccess ¶ added in v0.0.21
func (o *CreateBudgetCreated) IsSuccess() bool
IsSuccess returns true when this create budget created response has a 2xx status code
func (*CreateBudgetCreated) String ¶ added in v0.0.21
func (o *CreateBudgetCreated) String() string
type CreateBudgetParams ¶ added in v0.0.21
type CreateBudgetParams struct { // CreateBudget. CreateBudget *models.CreateBudget Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
CreateBudgetParams contains all the parameters to send to the API endpoint
for the create budget operation. Typically these are written to a http.Request.
func NewCreateBudgetParams ¶ added in v0.0.21
func NewCreateBudgetParams() *CreateBudgetParams
NewCreateBudgetParams creates a new CreateBudgetParams 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 NewCreateBudgetParamsWithContext ¶ added in v0.0.21
func NewCreateBudgetParamsWithContext(ctx context.Context) *CreateBudgetParams
NewCreateBudgetParamsWithContext creates a new CreateBudgetParams object with the ability to set a context for a request.
func NewCreateBudgetParamsWithHTTPClient ¶ added in v0.0.21
func NewCreateBudgetParamsWithHTTPClient(client *http.Client) *CreateBudgetParams
NewCreateBudgetParamsWithHTTPClient creates a new CreateBudgetParams object with the ability to set a custom HTTPClient for a request.
func NewCreateBudgetParamsWithTimeout ¶ added in v0.0.21
func NewCreateBudgetParamsWithTimeout(timeout time.Duration) *CreateBudgetParams
NewCreateBudgetParamsWithTimeout creates a new CreateBudgetParams object with the ability to set a timeout on a request.
func (*CreateBudgetParams) SetContext ¶ added in v0.0.21
func (o *CreateBudgetParams) SetContext(ctx context.Context)
SetContext adds the context to the create budget params
func (*CreateBudgetParams) SetCreateBudget ¶ added in v0.0.21
func (o *CreateBudgetParams) SetCreateBudget(createBudget *models.CreateBudget)
SetCreateBudget adds the createBudget to the create budget params
func (*CreateBudgetParams) SetDefaults ¶ added in v0.0.21
func (o *CreateBudgetParams) SetDefaults()
SetDefaults hydrates default values in the create budget params (not the query body).
All values with no default are reset to their zero value.
func (*CreateBudgetParams) SetHTTPClient ¶ added in v0.0.21
func (o *CreateBudgetParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the create budget params
func (*CreateBudgetParams) SetTimeout ¶ added in v0.0.21
func (o *CreateBudgetParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the create budget params
func (*CreateBudgetParams) WithContext ¶ added in v0.0.21
func (o *CreateBudgetParams) WithContext(ctx context.Context) *CreateBudgetParams
WithContext adds the context to the create budget params
func (*CreateBudgetParams) WithCreateBudget ¶ added in v0.0.21
func (o *CreateBudgetParams) WithCreateBudget(createBudget *models.CreateBudget) *CreateBudgetParams
WithCreateBudget adds the createBudget to the create budget params
func (*CreateBudgetParams) WithDefaults ¶ added in v0.0.21
func (o *CreateBudgetParams) WithDefaults() *CreateBudgetParams
WithDefaults hydrates default values in the create budget params (not the query body).
All values with no default are reset to their zero value.
func (*CreateBudgetParams) WithHTTPClient ¶ added in v0.0.21
func (o *CreateBudgetParams) WithHTTPClient(client *http.Client) *CreateBudgetParams
WithHTTPClient adds the HTTPClient to the create budget params
func (*CreateBudgetParams) WithTimeout ¶ added in v0.0.21
func (o *CreateBudgetParams) WithTimeout(timeout time.Duration) *CreateBudgetParams
WithTimeout adds the timeout to the create budget params
func (*CreateBudgetParams) WriteToRequest ¶ added in v0.0.21
func (o *CreateBudgetParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type CreateBudgetReader ¶ added in v0.0.21
type CreateBudgetReader struct {
// contains filtered or unexported fields
}
CreateBudgetReader is a Reader for the CreateBudget structure.
func (*CreateBudgetReader) ReadResponse ¶ added in v0.0.21
func (o *CreateBudgetReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type CreateBudgetUnprocessableEntity ¶ added in v0.0.21
CreateBudgetUnprocessableEntity describes a response with status code 422, with default header values.
UnprocessableEntity
func NewCreateBudgetUnprocessableEntity ¶ added in v0.0.21
func NewCreateBudgetUnprocessableEntity() *CreateBudgetUnprocessableEntity
NewCreateBudgetUnprocessableEntity creates a CreateBudgetUnprocessableEntity with default headers values
func (*CreateBudgetUnprocessableEntity) Code ¶ added in v0.0.21
func (o *CreateBudgetUnprocessableEntity) Code() int
Code gets the status code for the create budget unprocessable entity response
func (*CreateBudgetUnprocessableEntity) Error ¶ added in v0.0.21
func (o *CreateBudgetUnprocessableEntity) Error() string
func (*CreateBudgetUnprocessableEntity) GetPayload ¶ added in v0.0.21
func (o *CreateBudgetUnprocessableEntity) GetPayload() *models.Errors
func (*CreateBudgetUnprocessableEntity) IsClientError ¶ added in v0.0.21
func (o *CreateBudgetUnprocessableEntity) IsClientError() bool
IsClientError returns true when this create budget unprocessable entity response has a 4xx status code
func (*CreateBudgetUnprocessableEntity) IsCode ¶ added in v0.0.21
func (o *CreateBudgetUnprocessableEntity) IsCode(code int) bool
IsCode returns true when this create budget unprocessable entity response a status code equal to that given
func (*CreateBudgetUnprocessableEntity) IsRedirect ¶ added in v0.0.21
func (o *CreateBudgetUnprocessableEntity) IsRedirect() bool
IsRedirect returns true when this create budget unprocessable entity response has a 3xx status code
func (*CreateBudgetUnprocessableEntity) IsServerError ¶ added in v0.0.21
func (o *CreateBudgetUnprocessableEntity) IsServerError() bool
IsServerError returns true when this create budget unprocessable entity response has a 5xx status code
func (*CreateBudgetUnprocessableEntity) IsSuccess ¶ added in v0.0.21
func (o *CreateBudgetUnprocessableEntity) IsSuccess() bool
IsSuccess returns true when this create budget unprocessable entity response has a 2xx status code
func (*CreateBudgetUnprocessableEntity) String ¶ added in v0.0.21
func (o *CreateBudgetUnprocessableEntity) String() string
type DeleteBudgetNoContent ¶
DeleteBudgetNoContent describes a response with status code 204, with default header values.
DeleteBudgetNoContent delete budget no content
func NewDeleteBudgetNoContent ¶
func NewDeleteBudgetNoContent() *DeleteBudgetNoContent
NewDeleteBudgetNoContent creates a DeleteBudgetNoContent with default headers values
func (*DeleteBudgetNoContent) Code ¶
func (o *DeleteBudgetNoContent) Code() int
Code gets the status code for the delete budget no content response
func (*DeleteBudgetNoContent) Error ¶
func (o *DeleteBudgetNoContent) Error() string
func (*DeleteBudgetNoContent) GetPayload ¶
func (o *DeleteBudgetNoContent) GetPayload() *models.Budget
func (*DeleteBudgetNoContent) IsClientError ¶
func (o *DeleteBudgetNoContent) IsClientError() bool
IsClientError returns true when this delete budget no content response has a 4xx status code
func (*DeleteBudgetNoContent) IsCode ¶
func (o *DeleteBudgetNoContent) IsCode(code int) bool
IsCode returns true when this delete budget no content response a status code equal to that given
func (*DeleteBudgetNoContent) IsRedirect ¶
func (o *DeleteBudgetNoContent) IsRedirect() bool
IsRedirect returns true when this delete budget no content response has a 3xx status code
func (*DeleteBudgetNoContent) IsServerError ¶
func (o *DeleteBudgetNoContent) IsServerError() bool
IsServerError returns true when this delete budget no content response has a 5xx status code
func (*DeleteBudgetNoContent) IsSuccess ¶
func (o *DeleteBudgetNoContent) IsSuccess() bool
IsSuccess returns true when this delete budget no content response has a 2xx status code
func (*DeleteBudgetNoContent) String ¶
func (o *DeleteBudgetNoContent) String() string
type DeleteBudgetNotFound ¶
DeleteBudgetNotFound describes a response with status code 404, with default header values.
NotFound
func NewDeleteBudgetNotFound ¶
func NewDeleteBudgetNotFound() *DeleteBudgetNotFound
NewDeleteBudgetNotFound creates a DeleteBudgetNotFound with default headers values
func (*DeleteBudgetNotFound) Code ¶
func (o *DeleteBudgetNotFound) Code() int
Code gets the status code for the delete budget not found response
func (*DeleteBudgetNotFound) Error ¶
func (o *DeleteBudgetNotFound) Error() string
func (*DeleteBudgetNotFound) GetPayload ¶
func (o *DeleteBudgetNotFound) GetPayload() *models.Errors
func (*DeleteBudgetNotFound) IsClientError ¶
func (o *DeleteBudgetNotFound) IsClientError() bool
IsClientError returns true when this delete budget not found response has a 4xx status code
func (*DeleteBudgetNotFound) IsCode ¶
func (o *DeleteBudgetNotFound) IsCode(code int) bool
IsCode returns true when this delete budget not found response a status code equal to that given
func (*DeleteBudgetNotFound) IsRedirect ¶
func (o *DeleteBudgetNotFound) IsRedirect() bool
IsRedirect returns true when this delete budget not found response has a 3xx status code
func (*DeleteBudgetNotFound) IsServerError ¶
func (o *DeleteBudgetNotFound) IsServerError() bool
IsServerError returns true when this delete budget not found response has a 5xx status code
func (*DeleteBudgetNotFound) IsSuccess ¶
func (o *DeleteBudgetNotFound) IsSuccess() bool
IsSuccess returns true when this delete budget not found response has a 2xx status code
func (*DeleteBudgetNotFound) String ¶
func (o *DeleteBudgetNotFound) String() string
type DeleteBudgetParams ¶
type DeleteBudgetParams struct { // BudgetToken. BudgetToken string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
DeleteBudgetParams contains all the parameters to send to the API endpoint
for the delete budget operation. Typically these are written to a http.Request.
func NewDeleteBudgetParams ¶
func NewDeleteBudgetParams() *DeleteBudgetParams
NewDeleteBudgetParams creates a new DeleteBudgetParams 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 NewDeleteBudgetParamsWithContext ¶
func NewDeleteBudgetParamsWithContext(ctx context.Context) *DeleteBudgetParams
NewDeleteBudgetParamsWithContext creates a new DeleteBudgetParams object with the ability to set a context for a request.
func NewDeleteBudgetParamsWithHTTPClient ¶
func NewDeleteBudgetParamsWithHTTPClient(client *http.Client) *DeleteBudgetParams
NewDeleteBudgetParamsWithHTTPClient creates a new DeleteBudgetParams object with the ability to set a custom HTTPClient for a request.
func NewDeleteBudgetParamsWithTimeout ¶
func NewDeleteBudgetParamsWithTimeout(timeout time.Duration) *DeleteBudgetParams
NewDeleteBudgetParamsWithTimeout creates a new DeleteBudgetParams object with the ability to set a timeout on a request.
func (*DeleteBudgetParams) SetBudgetToken ¶
func (o *DeleteBudgetParams) SetBudgetToken(budgetToken string)
SetBudgetToken adds the budgetToken to the delete budget params
func (*DeleteBudgetParams) SetContext ¶
func (o *DeleteBudgetParams) SetContext(ctx context.Context)
SetContext adds the context to the delete budget params
func (*DeleteBudgetParams) SetDefaults ¶
func (o *DeleteBudgetParams) SetDefaults()
SetDefaults hydrates default values in the delete budget params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteBudgetParams) SetHTTPClient ¶
func (o *DeleteBudgetParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the delete budget params
func (*DeleteBudgetParams) SetTimeout ¶
func (o *DeleteBudgetParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the delete budget params
func (*DeleteBudgetParams) WithBudgetToken ¶
func (o *DeleteBudgetParams) WithBudgetToken(budgetToken string) *DeleteBudgetParams
WithBudgetToken adds the budgetToken to the delete budget params
func (*DeleteBudgetParams) WithContext ¶
func (o *DeleteBudgetParams) WithContext(ctx context.Context) *DeleteBudgetParams
WithContext adds the context to the delete budget params
func (*DeleteBudgetParams) WithDefaults ¶
func (o *DeleteBudgetParams) WithDefaults() *DeleteBudgetParams
WithDefaults hydrates default values in the delete budget params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteBudgetParams) WithHTTPClient ¶
func (o *DeleteBudgetParams) WithHTTPClient(client *http.Client) *DeleteBudgetParams
WithHTTPClient adds the HTTPClient to the delete budget params
func (*DeleteBudgetParams) WithTimeout ¶
func (o *DeleteBudgetParams) WithTimeout(timeout time.Duration) *DeleteBudgetParams
WithTimeout adds the timeout to the delete budget params
func (*DeleteBudgetParams) WriteToRequest ¶
func (o *DeleteBudgetParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DeleteBudgetReader ¶
type DeleteBudgetReader struct {
// contains filtered or unexported fields
}
DeleteBudgetReader is a Reader for the DeleteBudget structure.
func (*DeleteBudgetReader) ReadResponse ¶
func (o *DeleteBudgetReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetBudgetNotFound ¶
GetBudgetNotFound describes a response with status code 404, with default header values.
NotFound
func NewGetBudgetNotFound ¶
func NewGetBudgetNotFound() *GetBudgetNotFound
NewGetBudgetNotFound creates a GetBudgetNotFound with default headers values
func (*GetBudgetNotFound) Code ¶
func (o *GetBudgetNotFound) Code() int
Code gets the status code for the get budget not found response
func (*GetBudgetNotFound) Error ¶
func (o *GetBudgetNotFound) Error() string
func (*GetBudgetNotFound) GetPayload ¶
func (o *GetBudgetNotFound) GetPayload() *models.Errors
func (*GetBudgetNotFound) IsClientError ¶
func (o *GetBudgetNotFound) IsClientError() bool
IsClientError returns true when this get budget not found response has a 4xx status code
func (*GetBudgetNotFound) IsCode ¶
func (o *GetBudgetNotFound) IsCode(code int) bool
IsCode returns true when this get budget not found response a status code equal to that given
func (*GetBudgetNotFound) IsRedirect ¶
func (o *GetBudgetNotFound) IsRedirect() bool
IsRedirect returns true when this get budget not found response has a 3xx status code
func (*GetBudgetNotFound) IsServerError ¶
func (o *GetBudgetNotFound) IsServerError() bool
IsServerError returns true when this get budget not found response has a 5xx status code
func (*GetBudgetNotFound) IsSuccess ¶
func (o *GetBudgetNotFound) IsSuccess() bool
IsSuccess returns true when this get budget not found response has a 2xx status code
func (*GetBudgetNotFound) String ¶
func (o *GetBudgetNotFound) String() string
type GetBudgetOK ¶
GetBudgetOK describes a response with status code 200, with default header values.
GetBudgetOK get budget o k
func NewGetBudgetOK ¶
func NewGetBudgetOK() *GetBudgetOK
NewGetBudgetOK creates a GetBudgetOK with default headers values
func (*GetBudgetOK) Code ¶
func (o *GetBudgetOK) Code() int
Code gets the status code for the get budget o k response
func (*GetBudgetOK) Error ¶
func (o *GetBudgetOK) Error() string
func (*GetBudgetOK) GetPayload ¶
func (o *GetBudgetOK) GetPayload() *models.Budget
func (*GetBudgetOK) IsClientError ¶
func (o *GetBudgetOK) IsClientError() bool
IsClientError returns true when this get budget o k response has a 4xx status code
func (*GetBudgetOK) IsCode ¶
func (o *GetBudgetOK) IsCode(code int) bool
IsCode returns true when this get budget o k response a status code equal to that given
func (*GetBudgetOK) IsRedirect ¶
func (o *GetBudgetOK) IsRedirect() bool
IsRedirect returns true when this get budget o k response has a 3xx status code
func (*GetBudgetOK) IsServerError ¶
func (o *GetBudgetOK) IsServerError() bool
IsServerError returns true when this get budget o k response has a 5xx status code
func (*GetBudgetOK) IsSuccess ¶
func (o *GetBudgetOK) IsSuccess() bool
IsSuccess returns true when this get budget o k response has a 2xx status code
func (*GetBudgetOK) String ¶
func (o *GetBudgetOK) String() string
type GetBudgetParams ¶
type GetBudgetParams struct { // BudgetToken. BudgetToken string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetBudgetParams contains all the parameters to send to the API endpoint
for the get budget operation. Typically these are written to a http.Request.
func NewGetBudgetParams ¶
func NewGetBudgetParams() *GetBudgetParams
NewGetBudgetParams creates a new GetBudgetParams 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 NewGetBudgetParamsWithContext ¶
func NewGetBudgetParamsWithContext(ctx context.Context) *GetBudgetParams
NewGetBudgetParamsWithContext creates a new GetBudgetParams object with the ability to set a context for a request.
func NewGetBudgetParamsWithHTTPClient ¶
func NewGetBudgetParamsWithHTTPClient(client *http.Client) *GetBudgetParams
NewGetBudgetParamsWithHTTPClient creates a new GetBudgetParams object with the ability to set a custom HTTPClient for a request.
func NewGetBudgetParamsWithTimeout ¶
func NewGetBudgetParamsWithTimeout(timeout time.Duration) *GetBudgetParams
NewGetBudgetParamsWithTimeout creates a new GetBudgetParams object with the ability to set a timeout on a request.
func (*GetBudgetParams) SetBudgetToken ¶
func (o *GetBudgetParams) SetBudgetToken(budgetToken string)
SetBudgetToken adds the budgetToken to the get budget params
func (*GetBudgetParams) SetContext ¶
func (o *GetBudgetParams) SetContext(ctx context.Context)
SetContext adds the context to the get budget params
func (*GetBudgetParams) SetDefaults ¶
func (o *GetBudgetParams) SetDefaults()
SetDefaults hydrates default values in the get budget params (not the query body).
All values with no default are reset to their zero value.
func (*GetBudgetParams) SetHTTPClient ¶
func (o *GetBudgetParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get budget params
func (*GetBudgetParams) SetTimeout ¶
func (o *GetBudgetParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get budget params
func (*GetBudgetParams) WithBudgetToken ¶
func (o *GetBudgetParams) WithBudgetToken(budgetToken string) *GetBudgetParams
WithBudgetToken adds the budgetToken to the get budget params
func (*GetBudgetParams) WithContext ¶
func (o *GetBudgetParams) WithContext(ctx context.Context) *GetBudgetParams
WithContext adds the context to the get budget params
func (*GetBudgetParams) WithDefaults ¶
func (o *GetBudgetParams) WithDefaults() *GetBudgetParams
WithDefaults hydrates default values in the get budget params (not the query body).
All values with no default are reset to their zero value.
func (*GetBudgetParams) WithHTTPClient ¶
func (o *GetBudgetParams) WithHTTPClient(client *http.Client) *GetBudgetParams
WithHTTPClient adds the HTTPClient to the get budget params
func (*GetBudgetParams) WithTimeout ¶
func (o *GetBudgetParams) WithTimeout(timeout time.Duration) *GetBudgetParams
WithTimeout adds the timeout to the get budget params
func (*GetBudgetParams) WriteToRequest ¶
func (o *GetBudgetParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetBudgetReader ¶
type GetBudgetReader struct {
// contains filtered or unexported fields
}
GetBudgetReader is a Reader for the GetBudget structure.
func (*GetBudgetReader) ReadResponse ¶
func (o *GetBudgetReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetBudgetsOK ¶
GetBudgetsOK describes a response with status code 200, with default header values.
GetBudgetsOK get budgets o k
func NewGetBudgetsOK ¶
func NewGetBudgetsOK() *GetBudgetsOK
NewGetBudgetsOK creates a GetBudgetsOK with default headers values
func (*GetBudgetsOK) Code ¶
func (o *GetBudgetsOK) Code() int
Code gets the status code for the get budgets o k response
func (*GetBudgetsOK) Error ¶
func (o *GetBudgetsOK) Error() string
func (*GetBudgetsOK) GetPayload ¶
func (o *GetBudgetsOK) GetPayload() *models.Budgets
func (*GetBudgetsOK) IsClientError ¶
func (o *GetBudgetsOK) IsClientError() bool
IsClientError returns true when this get budgets o k response has a 4xx status code
func (*GetBudgetsOK) IsCode ¶
func (o *GetBudgetsOK) IsCode(code int) bool
IsCode returns true when this get budgets o k response a status code equal to that given
func (*GetBudgetsOK) IsRedirect ¶
func (o *GetBudgetsOK) IsRedirect() bool
IsRedirect returns true when this get budgets o k response has a 3xx status code
func (*GetBudgetsOK) IsServerError ¶
func (o *GetBudgetsOK) IsServerError() bool
IsServerError returns true when this get budgets o k response has a 5xx status code
func (*GetBudgetsOK) IsSuccess ¶
func (o *GetBudgetsOK) IsSuccess() bool
IsSuccess returns true when this get budgets o k response has a 2xx status code
func (*GetBudgetsOK) String ¶
func (o *GetBudgetsOK) String() string
type GetBudgetsParams ¶
type GetBudgetsParams struct { /* Limit. The number of results to return. The maximum is 1000. Format: int32 */ Limit *int32 /* Page. The page of results to return. Format: int32 */ Page *int32 Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetBudgetsParams contains all the parameters to send to the API endpoint
for the get budgets operation. Typically these are written to a http.Request.
func NewGetBudgetsParams ¶
func NewGetBudgetsParams() *GetBudgetsParams
NewGetBudgetsParams creates a new GetBudgetsParams 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 NewGetBudgetsParamsWithContext ¶
func NewGetBudgetsParamsWithContext(ctx context.Context) *GetBudgetsParams
NewGetBudgetsParamsWithContext creates a new GetBudgetsParams object with the ability to set a context for a request.
func NewGetBudgetsParamsWithHTTPClient ¶
func NewGetBudgetsParamsWithHTTPClient(client *http.Client) *GetBudgetsParams
NewGetBudgetsParamsWithHTTPClient creates a new GetBudgetsParams object with the ability to set a custom HTTPClient for a request.
func NewGetBudgetsParamsWithTimeout ¶
func NewGetBudgetsParamsWithTimeout(timeout time.Duration) *GetBudgetsParams
NewGetBudgetsParamsWithTimeout creates a new GetBudgetsParams object with the ability to set a timeout on a request.
func (*GetBudgetsParams) SetContext ¶
func (o *GetBudgetsParams) SetContext(ctx context.Context)
SetContext adds the context to the get budgets params
func (*GetBudgetsParams) SetDefaults ¶
func (o *GetBudgetsParams) SetDefaults()
SetDefaults hydrates default values in the get budgets params (not the query body).
All values with no default are reset to their zero value.
func (*GetBudgetsParams) SetHTTPClient ¶
func (o *GetBudgetsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get budgets params
func (*GetBudgetsParams) SetLimit ¶
func (o *GetBudgetsParams) SetLimit(limit *int32)
SetLimit adds the limit to the get budgets params
func (*GetBudgetsParams) SetPage ¶
func (o *GetBudgetsParams) SetPage(page *int32)
SetPage adds the page to the get budgets params
func (*GetBudgetsParams) SetTimeout ¶
func (o *GetBudgetsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get budgets params
func (*GetBudgetsParams) WithContext ¶
func (o *GetBudgetsParams) WithContext(ctx context.Context) *GetBudgetsParams
WithContext adds the context to the get budgets params
func (*GetBudgetsParams) WithDefaults ¶
func (o *GetBudgetsParams) WithDefaults() *GetBudgetsParams
WithDefaults hydrates default values in the get budgets params (not the query body).
All values with no default are reset to their zero value.
func (*GetBudgetsParams) WithHTTPClient ¶
func (o *GetBudgetsParams) WithHTTPClient(client *http.Client) *GetBudgetsParams
WithHTTPClient adds the HTTPClient to the get budgets params
func (*GetBudgetsParams) WithLimit ¶
func (o *GetBudgetsParams) WithLimit(limit *int32) *GetBudgetsParams
WithLimit adds the limit to the get budgets params
func (*GetBudgetsParams) WithPage ¶
func (o *GetBudgetsParams) WithPage(page *int32) *GetBudgetsParams
WithPage adds the page to the get budgets params
func (*GetBudgetsParams) WithTimeout ¶
func (o *GetBudgetsParams) WithTimeout(timeout time.Duration) *GetBudgetsParams
WithTimeout adds the timeout to the get budgets params
func (*GetBudgetsParams) WriteToRequest ¶
func (o *GetBudgetsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetBudgetsReader ¶
type GetBudgetsReader struct {
// contains filtered or unexported fields
}
GetBudgetsReader is a Reader for the GetBudgets structure.
func (*GetBudgetsReader) ReadResponse ¶
func (o *GetBudgetsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type UpdateBudgetBadRequest ¶ added in v0.0.21
UpdateBudgetBadRequest describes a response with status code 400, with default header values.
BadRequest
func NewUpdateBudgetBadRequest ¶ added in v0.0.21
func NewUpdateBudgetBadRequest() *UpdateBudgetBadRequest
NewUpdateBudgetBadRequest creates a UpdateBudgetBadRequest with default headers values
func (*UpdateBudgetBadRequest) Code ¶ added in v0.0.21
func (o *UpdateBudgetBadRequest) Code() int
Code gets the status code for the update budget bad request response
func (*UpdateBudgetBadRequest) Error ¶ added in v0.0.21
func (o *UpdateBudgetBadRequest) Error() string
func (*UpdateBudgetBadRequest) GetPayload ¶ added in v0.0.21
func (o *UpdateBudgetBadRequest) GetPayload() *models.Errors
func (*UpdateBudgetBadRequest) IsClientError ¶ added in v0.0.21
func (o *UpdateBudgetBadRequest) IsClientError() bool
IsClientError returns true when this update budget bad request response has a 4xx status code
func (*UpdateBudgetBadRequest) IsCode ¶ added in v0.0.21
func (o *UpdateBudgetBadRequest) IsCode(code int) bool
IsCode returns true when this update budget bad request response a status code equal to that given
func (*UpdateBudgetBadRequest) IsRedirect ¶ added in v0.0.21
func (o *UpdateBudgetBadRequest) IsRedirect() bool
IsRedirect returns true when this update budget bad request response has a 3xx status code
func (*UpdateBudgetBadRequest) IsServerError ¶ added in v0.0.21
func (o *UpdateBudgetBadRequest) IsServerError() bool
IsServerError returns true when this update budget bad request response has a 5xx status code
func (*UpdateBudgetBadRequest) IsSuccess ¶ added in v0.0.21
func (o *UpdateBudgetBadRequest) IsSuccess() bool
IsSuccess returns true when this update budget bad request response has a 2xx status code
func (*UpdateBudgetBadRequest) String ¶ added in v0.0.21
func (o *UpdateBudgetBadRequest) String() string
type UpdateBudgetNotFound ¶ added in v0.0.21
UpdateBudgetNotFound describes a response with status code 404, with default header values.
NotFound
func NewUpdateBudgetNotFound ¶ added in v0.0.21
func NewUpdateBudgetNotFound() *UpdateBudgetNotFound
NewUpdateBudgetNotFound creates a UpdateBudgetNotFound with default headers values
func (*UpdateBudgetNotFound) Code ¶ added in v0.0.21
func (o *UpdateBudgetNotFound) Code() int
Code gets the status code for the update budget not found response
func (*UpdateBudgetNotFound) Error ¶ added in v0.0.21
func (o *UpdateBudgetNotFound) Error() string
func (*UpdateBudgetNotFound) GetPayload ¶ added in v0.0.21
func (o *UpdateBudgetNotFound) GetPayload() *models.Errors
func (*UpdateBudgetNotFound) IsClientError ¶ added in v0.0.21
func (o *UpdateBudgetNotFound) IsClientError() bool
IsClientError returns true when this update budget not found response has a 4xx status code
func (*UpdateBudgetNotFound) IsCode ¶ added in v0.0.21
func (o *UpdateBudgetNotFound) IsCode(code int) bool
IsCode returns true when this update budget not found response a status code equal to that given
func (*UpdateBudgetNotFound) IsRedirect ¶ added in v0.0.21
func (o *UpdateBudgetNotFound) IsRedirect() bool
IsRedirect returns true when this update budget not found response has a 3xx status code
func (*UpdateBudgetNotFound) IsServerError ¶ added in v0.0.21
func (o *UpdateBudgetNotFound) IsServerError() bool
IsServerError returns true when this update budget not found response has a 5xx status code
func (*UpdateBudgetNotFound) IsSuccess ¶ added in v0.0.21
func (o *UpdateBudgetNotFound) IsSuccess() bool
IsSuccess returns true when this update budget not found response has a 2xx status code
func (*UpdateBudgetNotFound) String ¶ added in v0.0.21
func (o *UpdateBudgetNotFound) String() string
type UpdateBudgetOK ¶ added in v0.0.21
UpdateBudgetOK describes a response with status code 200, with default header values.
UpdateBudgetOK update budget o k
func NewUpdateBudgetOK ¶ added in v0.0.21
func NewUpdateBudgetOK() *UpdateBudgetOK
NewUpdateBudgetOK creates a UpdateBudgetOK with default headers values
func (*UpdateBudgetOK) Code ¶ added in v0.0.21
func (o *UpdateBudgetOK) Code() int
Code gets the status code for the update budget o k response
func (*UpdateBudgetOK) Error ¶ added in v0.0.21
func (o *UpdateBudgetOK) Error() string
func (*UpdateBudgetOK) GetPayload ¶ added in v0.0.21
func (o *UpdateBudgetOK) GetPayload() *models.Budget
func (*UpdateBudgetOK) IsClientError ¶ added in v0.0.21
func (o *UpdateBudgetOK) IsClientError() bool
IsClientError returns true when this update budget o k response has a 4xx status code
func (*UpdateBudgetOK) IsCode ¶ added in v0.0.21
func (o *UpdateBudgetOK) IsCode(code int) bool
IsCode returns true when this update budget o k response a status code equal to that given
func (*UpdateBudgetOK) IsRedirect ¶ added in v0.0.21
func (o *UpdateBudgetOK) IsRedirect() bool
IsRedirect returns true when this update budget o k response has a 3xx status code
func (*UpdateBudgetOK) IsServerError ¶ added in v0.0.21
func (o *UpdateBudgetOK) IsServerError() bool
IsServerError returns true when this update budget o k response has a 5xx status code
func (*UpdateBudgetOK) IsSuccess ¶ added in v0.0.21
func (o *UpdateBudgetOK) IsSuccess() bool
IsSuccess returns true when this update budget o k response has a 2xx status code
func (*UpdateBudgetOK) String ¶ added in v0.0.21
func (o *UpdateBudgetOK) String() string
type UpdateBudgetParams ¶ added in v0.0.21
type UpdateBudgetParams struct { // BudgetToken. BudgetToken string // UpdateBudget. UpdateBudget *models.UpdateBudget Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
UpdateBudgetParams contains all the parameters to send to the API endpoint
for the update budget operation. Typically these are written to a http.Request.
func NewUpdateBudgetParams ¶ added in v0.0.21
func NewUpdateBudgetParams() *UpdateBudgetParams
NewUpdateBudgetParams creates a new UpdateBudgetParams 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 NewUpdateBudgetParamsWithContext ¶ added in v0.0.21
func NewUpdateBudgetParamsWithContext(ctx context.Context) *UpdateBudgetParams
NewUpdateBudgetParamsWithContext creates a new UpdateBudgetParams object with the ability to set a context for a request.
func NewUpdateBudgetParamsWithHTTPClient ¶ added in v0.0.21
func NewUpdateBudgetParamsWithHTTPClient(client *http.Client) *UpdateBudgetParams
NewUpdateBudgetParamsWithHTTPClient creates a new UpdateBudgetParams object with the ability to set a custom HTTPClient for a request.
func NewUpdateBudgetParamsWithTimeout ¶ added in v0.0.21
func NewUpdateBudgetParamsWithTimeout(timeout time.Duration) *UpdateBudgetParams
NewUpdateBudgetParamsWithTimeout creates a new UpdateBudgetParams object with the ability to set a timeout on a request.
func (*UpdateBudgetParams) SetBudgetToken ¶ added in v0.0.21
func (o *UpdateBudgetParams) SetBudgetToken(budgetToken string)
SetBudgetToken adds the budgetToken to the update budget params
func (*UpdateBudgetParams) SetContext ¶ added in v0.0.21
func (o *UpdateBudgetParams) SetContext(ctx context.Context)
SetContext adds the context to the update budget params
func (*UpdateBudgetParams) SetDefaults ¶ added in v0.0.21
func (o *UpdateBudgetParams) SetDefaults()
SetDefaults hydrates default values in the update budget params (not the query body).
All values with no default are reset to their zero value.
func (*UpdateBudgetParams) SetHTTPClient ¶ added in v0.0.21
func (o *UpdateBudgetParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the update budget params
func (*UpdateBudgetParams) SetTimeout ¶ added in v0.0.21
func (o *UpdateBudgetParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the update budget params
func (*UpdateBudgetParams) SetUpdateBudget ¶ added in v0.0.21
func (o *UpdateBudgetParams) SetUpdateBudget(updateBudget *models.UpdateBudget)
SetUpdateBudget adds the updateBudget to the update budget params
func (*UpdateBudgetParams) WithBudgetToken ¶ added in v0.0.21
func (o *UpdateBudgetParams) WithBudgetToken(budgetToken string) *UpdateBudgetParams
WithBudgetToken adds the budgetToken to the update budget params
func (*UpdateBudgetParams) WithContext ¶ added in v0.0.21
func (o *UpdateBudgetParams) WithContext(ctx context.Context) *UpdateBudgetParams
WithContext adds the context to the update budget params
func (*UpdateBudgetParams) WithDefaults ¶ added in v0.0.21
func (o *UpdateBudgetParams) WithDefaults() *UpdateBudgetParams
WithDefaults hydrates default values in the update budget params (not the query body).
All values with no default are reset to their zero value.
func (*UpdateBudgetParams) WithHTTPClient ¶ added in v0.0.21
func (o *UpdateBudgetParams) WithHTTPClient(client *http.Client) *UpdateBudgetParams
WithHTTPClient adds the HTTPClient to the update budget params
func (*UpdateBudgetParams) WithTimeout ¶ added in v0.0.21
func (o *UpdateBudgetParams) WithTimeout(timeout time.Duration) *UpdateBudgetParams
WithTimeout adds the timeout to the update budget params
func (*UpdateBudgetParams) WithUpdateBudget ¶ added in v0.0.21
func (o *UpdateBudgetParams) WithUpdateBudget(updateBudget *models.UpdateBudget) *UpdateBudgetParams
WithUpdateBudget adds the updateBudget to the update budget params
func (*UpdateBudgetParams) WriteToRequest ¶ added in v0.0.21
func (o *UpdateBudgetParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type UpdateBudgetReader ¶ added in v0.0.21
type UpdateBudgetReader struct {
// contains filtered or unexported fields
}
UpdateBudgetReader is a Reader for the UpdateBudget structure.
func (*UpdateBudgetReader) ReadResponse ¶ added in v0.0.21
func (o *UpdateBudgetReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.