Name | Type | Description | Notes |
---|---|---|---|
CustomerID | Pointer to string | [optional] [readonly] | |
StartTime | Pointer to time.Time | Date and time (in ISO 8601 format) for initiation point of a billing cycle, signifying the start of charges for a service or subscription. | [optional] |
EndTime | Pointer to time.Time | Date and time (in ISO 8601 format) for termination point of a billing cycle, signifying the end of charges for a service or subscription. | [optional] |
UsageType | Pointer to string | The usage type identifier for the usage. This is a single, billable metric for the product. | [optional] |
Unit | Pointer to string | The unit for the usage as shown on an invoice. If there is no explicit unit, this field will be "unit" (e.g., a request with product_id of 'cdn_usage' and usage_type of 'North America Requests' has no unit, and will return "unit"). |
[optional] |
Details | Pointer to []Serviceusagemetric | [optional] | |
Meta | Pointer to Metadata | [optional] |
func NewServiceusagemetricsData() *ServiceusagemetricsData
NewServiceusagemetricsData instantiates a new ServiceusagemetricsData 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 NewServiceusagemetricsDataWithDefaults() *ServiceusagemetricsData
NewServiceusagemetricsDataWithDefaults instantiates a new ServiceusagemetricsData 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 *ServiceusagemetricsData) GetCustomerID() string
GetCustomerID returns the CustomerID field if non-nil, zero value otherwise.
func (o *ServiceusagemetricsData) GetCustomerIDOk() (*string, bool)
GetCustomerIDOk returns a tuple with the CustomerID field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *ServiceusagemetricsData) SetCustomerID(v string)
SetCustomerID sets CustomerID field to given value.
func (o *ServiceusagemetricsData) HasCustomerID() bool
HasCustomerID returns a boolean if a field has been set.
func (o *ServiceusagemetricsData) GetStartTime() time.Time
GetStartTime returns the StartTime field if non-nil, zero value otherwise.
func (o *ServiceusagemetricsData) GetStartTimeOk() (*time.Time, bool)
GetStartTimeOk returns a tuple with the StartTime field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *ServiceusagemetricsData) SetStartTime(v time.Time)
SetStartTime sets StartTime field to given value.
func (o *ServiceusagemetricsData) HasStartTime() bool
HasStartTime returns a boolean if a field has been set.
func (o *ServiceusagemetricsData) GetEndTime() time.Time
GetEndTime returns the EndTime field if non-nil, zero value otherwise.
func (o *ServiceusagemetricsData) GetEndTimeOk() (*time.Time, bool)
GetEndTimeOk returns a tuple with the EndTime field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *ServiceusagemetricsData) SetEndTime(v time.Time)
SetEndTime sets EndTime field to given value.
func (o *ServiceusagemetricsData) HasEndTime() bool
HasEndTime returns a boolean if a field has been set.
func (o *ServiceusagemetricsData) GetUsageType() string
GetUsageType returns the UsageType field if non-nil, zero value otherwise.
func (o *ServiceusagemetricsData) GetUsageTypeOk() (*string, bool)
GetUsageTypeOk returns a tuple with the UsageType field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *ServiceusagemetricsData) SetUsageType(v string)
SetUsageType sets UsageType field to given value.
func (o *ServiceusagemetricsData) HasUsageType() bool
HasUsageType returns a boolean if a field has been set.
func (o *ServiceusagemetricsData) GetUnit() string
GetUnit returns the Unit field if non-nil, zero value otherwise.
func (o *ServiceusagemetricsData) GetUnitOk() (*string, bool)
GetUnitOk returns a tuple with the Unit field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *ServiceusagemetricsData) SetUnit(v string)
SetUnit sets Unit field to given value.
func (o *ServiceusagemetricsData) HasUnit() bool
HasUnit returns a boolean if a field has been set.
func (o *ServiceusagemetricsData) GetDetails() []Serviceusagemetric
GetDetails returns the Details field if non-nil, zero value otherwise.
func (o *ServiceusagemetricsData) GetDetailsOk() (*[]Serviceusagemetric, bool)
GetDetailsOk returns a tuple with the Details field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *ServiceusagemetricsData) SetDetails(v []Serviceusagemetric)
SetDetails sets Details field to given value.
func (o *ServiceusagemetricsData) HasDetails() bool
HasDetails returns a boolean if a field has been set.
func (o *ServiceusagemetricsData) GetMeta() Metadata
GetMeta returns the Meta field if non-nil, zero value otherwise.
func (o *ServiceusagemetricsData) GetMetaOk() (*Metadata, bool)
GetMetaOk returns a tuple with the Meta field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *ServiceusagemetricsData) SetMeta(v Metadata)
SetMeta sets Meta field to given value.
func (o *ServiceusagemetricsData) HasMeta() bool
HasMeta returns a boolean if a field has been set.