go-firefly3/model_currency_update.go

26 lines
1.3 KiB
Go
Raw Normal View History

2024-04-10 12:14:55 +03:00
/*
2024-05-11 14:43:57 +03:00
* Firefly III API v2.0.14
2024-04-10 12:14:55 +03:00
*
2024-05-11 14:43:57 +03:00
* 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-04-20T05:28:29+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.
2024-04-10 12:14:55 +03:00
*
2024-05-11 14:43:57 +03:00
* API version: 2.0.14
2024-04-10 12:14:55 +03:00
* Contact: james@firefly-iii.org
* Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
*/
2024-05-11 14:43:57 +03:00
package swagger
2024-04-10 12:14:55 +03:00
type CurrencyUpdate struct {
// If the currency is enabled
Enabled bool `json:"enabled,omitempty"`
// If the currency must be the default for the user. You can only submit TRUE. Submitting FALSE will not drop this currency as the default currency, because then the system would be without one.
Default_ bool `json:"default,omitempty"`
// The currency code
Code string `json:"code,omitempty"`
// The currency name
Name string `json:"name,omitempty"`
// The currency symbol
Symbol string `json:"symbol,omitempty"`
// How many decimals to use when displaying this currency. Between 0 and 16.
DecimalPlaces int32 `json:"decimal_places,omitempty"`
}