Files
sdk/docs/UsageSpendPoint.md

2.2 KiB

UsageSpendPoint

Properties

Name Type Description Notes
Cents Pointer to int64 Cents is the consumption recorded in that bucket, in US cents. [optional]
T Pointer to string T is the bucket's start instant, RFC3339 UTC. Buckets are gap-filled, so a window with no spend still has its points. [optional]

Methods

NewUsageSpendPoint

func NewUsageSpendPoint() *UsageSpendPoint

NewUsageSpendPoint instantiates a new UsageSpendPoint 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

NewUsageSpendPointWithDefaults

func NewUsageSpendPointWithDefaults() *UsageSpendPoint

NewUsageSpendPointWithDefaults instantiates a new UsageSpendPoint 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

GetCents

func (o *UsageSpendPoint) GetCents() int64

GetCents returns the Cents field if non-nil, zero value otherwise.

GetCentsOk

func (o *UsageSpendPoint) GetCentsOk() (*int64, bool)

GetCentsOk returns a tuple with the Cents field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetCents

func (o *UsageSpendPoint) SetCents(v int64)

SetCents sets Cents field to given value.

HasCents

func (o *UsageSpendPoint) HasCents() bool

HasCents returns a boolean if a field has been set.

GetT

func (o *UsageSpendPoint) GetT() string

GetT returns the T field if non-nil, zero value otherwise.

GetTOk

func (o *UsageSpendPoint) GetTOk() (*string, bool)

GetTOk returns a tuple with the T field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetT

func (o *UsageSpendPoint) SetT(v string)

SetT sets T field to given value.

HasT

func (o *UsageSpendPoint) HasT() bool

HasT returns a boolean if a field has been set.

[Back to Model list] [Back to API list] [Back to README]