2.9 KiB
BooksFigure
Properties
| Name | Type | Description | Notes |
|---|---|---|---|
| Label | Pointer to string | Label names the metric, e.g. "MRR" or "Runway". | [optional] |
| Period | Pointer to string | Period is the window the figure covers, e.g. "2026-07" or "all-time". | [optional] |
| Value | Pointer to string | Value is the figure already formatted through books' own money formatter, so a consumer never re-derives it. | [optional] |
Methods
NewBooksFigure
func NewBooksFigure() *BooksFigure
NewBooksFigure instantiates a new BooksFigure object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
NewBooksFigureWithDefaults
func NewBooksFigureWithDefaults() *BooksFigure
NewBooksFigureWithDefaults instantiates a new BooksFigure object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
GetLabel
func (o *BooksFigure) GetLabel() string
GetLabel returns the Label field if non-nil, zero value otherwise.
GetLabelOk
func (o *BooksFigure) GetLabelOk() (*string, bool)
GetLabelOk returns a tuple with the Label field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetLabel
func (o *BooksFigure) SetLabel(v string)
SetLabel sets Label field to given value.
HasLabel
func (o *BooksFigure) HasLabel() bool
HasLabel returns a boolean if a field has been set.
GetPeriod
func (o *BooksFigure) GetPeriod() string
GetPeriod returns the Period field if non-nil, zero value otherwise.
GetPeriodOk
func (o *BooksFigure) GetPeriodOk() (*string, bool)
GetPeriodOk returns a tuple with the Period field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetPeriod
func (o *BooksFigure) SetPeriod(v string)
SetPeriod sets Period field to given value.
HasPeriod
func (o *BooksFigure) HasPeriod() bool
HasPeriod returns a boolean if a field has been set.
GetValue
func (o *BooksFigure) GetValue() string
GetValue returns the Value field if non-nil, zero value otherwise.
GetValueOk
func (o *BooksFigure) GetValueOk() (*string, bool)
GetValueOk returns a tuple with the Value field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetValue
func (o *BooksFigure) SetValue(v string)
SetValue sets Value field to given value.
HasValue
func (o *BooksFigure) HasValue() bool
HasValue returns a boolean if a field has been set.