go-firefly3/model_chart_data_set.go

34 lines
1.9 KiB
Go
Raw Normal View History

2024-04-10 12:14:55 +03:00
/*
2024-05-22 14:19:23 +03:00
* Firefly III API v2.1.0
2024-04-10 12:14:55 +03:00
*
2024-05-22 14:19:23 +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-05-19T04:33:01+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-22 14:19:23 +03:00
* API version: 2.1.0
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 15:26:56 +03:00
package firefly3
2024-04-10 12:14:55 +03:00
import (
"time"
)
type ChartDataSet struct {
// This is the title of the current set. It can refer to an account, a budget or another object (by name).
Label string `json:"label,omitempty"`
// The currency ID of the currency associated to the data in the entries.
2024-05-11 15:26:56 +03:00
CurrencyId string `json:"currency_id,omitempty"`
CurrencyCode string `json:"currency_code,omitempty"`
2024-04-10 12:14:55 +03:00
CurrencySymbol string `json:"currency_symbol,omitempty"`
// Number of decimals for the currency associated to the data in the entries.
2024-05-11 15:26:56 +03:00
CurrencyDecimalPlaces int32 `json:"currency_decimal_places,omitempty"`
StartDate time.Time `json:"start_date,omitempty"`
EndDate time.Time `json:"end_date,omitempty"`
2024-04-10 12:14:55 +03:00
// Indicated the type of chart that is expected to be rendered. You can safely ignore this if you want.
Type_ string `json:"type,omitempty"`
// Used to indicate the Y axis for this data set. Is usually between 0 and 1 (left and right side of the chart).
YAxisID int32 `json:"yAxisID,omitempty"`
// The actual entries for this data set. They 'key' value is the label for the data point. The value is the actual (numerical) value.
Entries []ChartDataPoint `json:"entries,omitempty"`
}