Files
sdk/docs/UsageAccounts.md

3.2 KiB

UsageAccounts

Properties

Name Type Description Notes
Account Pointer to UsageSourceState Account is the state of the caller's own linked-account side. [optional]
Hanzo Pointer to UsageSourceState Hanzo is the state of the org's Hanzo-routed side. [optional]
Rows Pointer to []UsageTotalView Rows is the two row sets CONCATENATED, never summed — each row says which side it came from. A percent is not money and a provider's own spend is not a Hanzo charge, so adding them would produce a number that means nothing. [optional]

Methods

NewUsageAccounts

func NewUsageAccounts() *UsageAccounts

NewUsageAccounts instantiates a new UsageAccounts 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

NewUsageAccountsWithDefaults

func NewUsageAccountsWithDefaults() *UsageAccounts

NewUsageAccountsWithDefaults instantiates a new UsageAccounts 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

GetAccount

func (o *UsageAccounts) GetAccount() UsageSourceState

GetAccount returns the Account field if non-nil, zero value otherwise.

GetAccountOk

func (o *UsageAccounts) GetAccountOk() (*UsageSourceState, bool)

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

SetAccount

func (o *UsageAccounts) SetAccount(v UsageSourceState)

SetAccount sets Account field to given value.

HasAccount

func (o *UsageAccounts) HasAccount() bool

HasAccount returns a boolean if a field has been set.

GetHanzo

func (o *UsageAccounts) GetHanzo() UsageSourceState

GetHanzo returns the Hanzo field if non-nil, zero value otherwise.

GetHanzoOk

func (o *UsageAccounts) GetHanzoOk() (*UsageSourceState, bool)

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

SetHanzo

func (o *UsageAccounts) SetHanzo(v UsageSourceState)

SetHanzo sets Hanzo field to given value.

HasHanzo

func (o *UsageAccounts) HasHanzo() bool

HasHanzo returns a boolean if a field has been set.

GetRows

func (o *UsageAccounts) GetRows() []UsageTotalView

GetRows returns the Rows field if non-nil, zero value otherwise.

GetRowsOk

func (o *UsageAccounts) GetRowsOk() (*[]UsageTotalView, bool)

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

SetRows

func (o *UsageAccounts) SetRows(v []UsageTotalView)

SetRows sets Rows field to given value.

HasRows

func (o *UsageAccounts) HasRows() bool

HasRows returns a boolean if a field has been set.

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