go-firefly3/model_piggy_bank_store.go
2024-04-10 12:14:55 +03:00

30 lines
1.5 KiB
Go

/*
* Firefly III API v2.0.12
*
* This is the documentation of the Firefly III API. You can find accompanying documentation on the website of Firefly III itself (see below). Please report any bugs or issues. You may use the \"Authorize\" button to try the API below. This file was last generated on 2024-03-16T05:34:43+00:00 Please keep in mind that the demo site does not accept requests from curl, colly, wget, etc. You must use a browser or a tool like Postman to make requests. Too many script kiddies out there, sorry about that.
*
* API version: 2.0.12
* Contact: james@firefly-iii.org
* Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
*/
package firefly3
type PiggyBankStore struct {
Name string `json:"name"`
// The ID of the asset account this piggy bank is connected to.
AccountId string `json:"account_id"`
TargetAmount string `json:"target_amount"`
CurrentAmount string `json:"current_amount,omitempty"`
// The date you started with this piggy bank.
StartDate string `json:"start_date,omitempty"`
// The date you intend to finish saving money.
TargetDate string `json:"target_date,omitempty"`
Order int32 `json:"order,omitempty"`
Active bool `json:"active,omitempty"`
Notes string `json:"notes,omitempty"`
// The group ID of the group this object is part of. NULL if no group.
ObjectGroupId string `json:"object_group_id,omitempty"`
// The name of the group. NULL if no group.
ObjectGroupTitle string `json:"object_group_title,omitempty"`
}