3.2 KiB
BillingRecharge
Properties
| Name | Type | Description | Notes |
|---|---|---|---|
| Charged | Pointer to int64 | Charged is how many of them were actually charged. It is at most Orgs, and the difference is orgs whose balance was already above their threshold. | [optional] |
| Orgs | Pointer to int64 | Orgs is how many orgs the sweep considered — every org with auto-recharge armed, whether or not it needed charging. | [optional] |
| Results | Pointer to []BillingRecharged | Results is one row per org considered, so a sweep that charged nobody is still explainable. Never null. | [optional] |
Methods
NewBillingRecharge
func NewBillingRecharge() *BillingRecharge
NewBillingRecharge instantiates a new BillingRecharge 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
NewBillingRechargeWithDefaults
func NewBillingRechargeWithDefaults() *BillingRecharge
NewBillingRechargeWithDefaults instantiates a new BillingRecharge 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
GetCharged
func (o *BillingRecharge) GetCharged() int64
GetCharged returns the Charged field if non-nil, zero value otherwise.
GetChargedOk
func (o *BillingRecharge) GetChargedOk() (*int64, bool)
GetChargedOk returns a tuple with the Charged field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetCharged
func (o *BillingRecharge) SetCharged(v int64)
SetCharged sets Charged field to given value.
HasCharged
func (o *BillingRecharge) HasCharged() bool
HasCharged returns a boolean if a field has been set.
GetOrgs
func (o *BillingRecharge) GetOrgs() int64
GetOrgs returns the Orgs field if non-nil, zero value otherwise.
GetOrgsOk
func (o *BillingRecharge) GetOrgsOk() (*int64, bool)
GetOrgsOk returns a tuple with the Orgs field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetOrgs
func (o *BillingRecharge) SetOrgs(v int64)
SetOrgs sets Orgs field to given value.
HasOrgs
func (o *BillingRecharge) HasOrgs() bool
HasOrgs returns a boolean if a field has been set.
GetResults
func (o *BillingRecharge) GetResults() []BillingRecharged
GetResults returns the Results field if non-nil, zero value otherwise.
GetResultsOk
func (o *BillingRecharge) GetResultsOk() (*[]BillingRecharged, bool)
GetResultsOk returns a tuple with the Results field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetResults
func (o *BillingRecharge) SetResults(v []BillingRecharged)
SetResults sets Results field to given value.
HasResults
func (o *BillingRecharge) HasResults() bool
HasResults returns a boolean if a field has been set.