| Name | Type | Description | Notes |
|---|---|---|---|
| AccountId | string | Unique identifier for the account. | |
| AggregationFormula | Pointer to BillingMeterAggregationFormula | Specifies how events are aggregated. Allowed values are count to count the number of events and sum to sum each event’s value. | [optional] |
| CreatedAt | time.Time | DateTime at which the object was created, in 'ISO 8601' format. | |
| DisplayName | string | The meter’s name. | |
| EventName | string | The name of the meter event to record usage for. Corresponds with the event_name field on meter events. | |
| EventPayloadCustomerMappingKey | Pointer to string | The key in the usage event payload to use for mapping the event to a customer. | [optional] [default to "customer_id"] |
| EventPayloadValueKey | Pointer to string | The key in the usage event payload to use as the value for this meter. For example, if the event payload contains usage on a bytes_used field, then set the event_payload_value_key to “bytes_used”. | [optional] [default to "value"] |
| Id | string | Unique Identifier of the Billing Meter. | |
| IsActive | bool | The meter’s status. | |
| IsDeleted | Pointer to bool | If true, indicates that this object has been deleted | [optional] [default to false] |
| Object | Pointer to ObjectName | [optional] | |
| UpdatedAt | time.Time | DateTime at which the object was updated, in 'ISO 8601' format. |
func NewBillingMeterExternal(accountId string, createdAt time.Time, displayName string, eventName string, id string, isActive bool, updatedAt time.Time, ) *BillingMeterExternal
NewBillingMeterExternal instantiates a new BillingMeterExternal 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
func NewBillingMeterExternalWithDefaults() *BillingMeterExternal
NewBillingMeterExternalWithDefaults instantiates a new BillingMeterExternal 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
func (o *BillingMeterExternal) GetAccountId() string
GetAccountId returns the AccountId field if non-nil, zero value otherwise.
func (o *BillingMeterExternal) GetAccountIdOk() (*string, bool)
GetAccountIdOk returns a tuple with the AccountId field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *BillingMeterExternal) SetAccountId(v string)
SetAccountId sets AccountId field to given value.
func (o *BillingMeterExternal) GetAggregationFormula() BillingMeterAggregationFormula
GetAggregationFormula returns the AggregationFormula field if non-nil, zero value otherwise.
func (o *BillingMeterExternal) GetAggregationFormulaOk() (*BillingMeterAggregationFormula, bool)
GetAggregationFormulaOk returns a tuple with the AggregationFormula field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *BillingMeterExternal) SetAggregationFormula(v BillingMeterAggregationFormula)
SetAggregationFormula sets AggregationFormula field to given value.
func (o *BillingMeterExternal) HasAggregationFormula() bool
HasAggregationFormula returns a boolean if a field has been set.
func (o *BillingMeterExternal) GetCreatedAt() time.Time
GetCreatedAt returns the CreatedAt field if non-nil, zero value otherwise.
func (o *BillingMeterExternal) GetCreatedAtOk() (*time.Time, bool)
GetCreatedAtOk returns a tuple with the CreatedAt field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *BillingMeterExternal) SetCreatedAt(v time.Time)
SetCreatedAt sets CreatedAt field to given value.
func (o *BillingMeterExternal) GetDisplayName() string
GetDisplayName returns the DisplayName field if non-nil, zero value otherwise.
func (o *BillingMeterExternal) GetDisplayNameOk() (*string, bool)
GetDisplayNameOk returns a tuple with the DisplayName field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *BillingMeterExternal) SetDisplayName(v string)
SetDisplayName sets DisplayName field to given value.
func (o *BillingMeterExternal) GetEventName() string
GetEventName returns the EventName field if non-nil, zero value otherwise.
func (o *BillingMeterExternal) GetEventNameOk() (*string, bool)
GetEventNameOk returns a tuple with the EventName field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *BillingMeterExternal) SetEventName(v string)
SetEventName sets EventName field to given value.
func (o *BillingMeterExternal) GetEventPayloadCustomerMappingKey() string
GetEventPayloadCustomerMappingKey returns the EventPayloadCustomerMappingKey field if non-nil, zero value otherwise.
func (o *BillingMeterExternal) GetEventPayloadCustomerMappingKeyOk() (*string, bool)
GetEventPayloadCustomerMappingKeyOk returns a tuple with the EventPayloadCustomerMappingKey field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *BillingMeterExternal) SetEventPayloadCustomerMappingKey(v string)
SetEventPayloadCustomerMappingKey sets EventPayloadCustomerMappingKey field to given value.
func (o *BillingMeterExternal) HasEventPayloadCustomerMappingKey() bool
HasEventPayloadCustomerMappingKey returns a boolean if a field has been set.
func (o *BillingMeterExternal) GetEventPayloadValueKey() string
GetEventPayloadValueKey returns the EventPayloadValueKey field if non-nil, zero value otherwise.
func (o *BillingMeterExternal) GetEventPayloadValueKeyOk() (*string, bool)
GetEventPayloadValueKeyOk returns a tuple with the EventPayloadValueKey field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *BillingMeterExternal) SetEventPayloadValueKey(v string)
SetEventPayloadValueKey sets EventPayloadValueKey field to given value.
func (o *BillingMeterExternal) HasEventPayloadValueKey() bool
HasEventPayloadValueKey returns a boolean if a field has been set.
func (o *BillingMeterExternal) GetId() string
GetId returns the Id field if non-nil, zero value otherwise.
func (o *BillingMeterExternal) GetIdOk() (*string, bool)
GetIdOk returns a tuple with the Id field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *BillingMeterExternal) SetId(v string)
SetId sets Id field to given value.
func (o *BillingMeterExternal) GetIsActive() bool
GetIsActive returns the IsActive field if non-nil, zero value otherwise.
func (o *BillingMeterExternal) GetIsActiveOk() (*bool, bool)
GetIsActiveOk returns a tuple with the IsActive field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *BillingMeterExternal) SetIsActive(v bool)
SetIsActive sets IsActive field to given value.
func (o *BillingMeterExternal) GetIsDeleted() bool
GetIsDeleted returns the IsDeleted field if non-nil, zero value otherwise.
func (o *BillingMeterExternal) GetIsDeletedOk() (*bool, bool)
GetIsDeletedOk returns a tuple with the IsDeleted field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *BillingMeterExternal) SetIsDeleted(v bool)
SetIsDeleted sets IsDeleted field to given value.
func (o *BillingMeterExternal) HasIsDeleted() bool
HasIsDeleted returns a boolean if a field has been set.
func (o *BillingMeterExternal) GetObject() ObjectName
GetObject returns the Object field if non-nil, zero value otherwise.
func (o *BillingMeterExternal) GetObjectOk() (*ObjectName, bool)
GetObjectOk returns a tuple with the Object field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *BillingMeterExternal) SetObject(v ObjectName)
SetObject sets Object field to given value.
func (o *BillingMeterExternal) HasObject() bool
HasObject returns a boolean if a field has been set.
func (o *BillingMeterExternal) GetUpdatedAt() time.Time
GetUpdatedAt returns the UpdatedAt field if non-nil, zero value otherwise.
func (o *BillingMeterExternal) GetUpdatedAtOk() (*time.Time, bool)
GetUpdatedAtOk returns a tuple with the UpdatedAt field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *BillingMeterExternal) SetUpdatedAt(v time.Time)
SetUpdatedAt sets UpdatedAt field to given value.