Skip to content

Latest commit

 

History

History
160 lines (87 loc) · 4.83 KB

ResourceBillingEventsHistoryMetrics.md

File metadata and controls

160 lines (87 loc) · 4.83 KB

ResourceBillingEventsHistoryMetrics

Properties

Name Type Description Notes
Event Pointer to string [optional]
EventDuration Pointer to float32 [optional]
PricePerHour Pointer to float32 [optional]
Start Pointer to string [optional]
TotalCost Pointer to float32 [optional]

Methods

NewResourceBillingEventsHistoryMetrics

func NewResourceBillingEventsHistoryMetrics() *ResourceBillingEventsHistoryMetrics

NewResourceBillingEventsHistoryMetrics instantiates a new ResourceBillingEventsHistoryMetrics 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

NewResourceBillingEventsHistoryMetricsWithDefaults

func NewResourceBillingEventsHistoryMetricsWithDefaults() *ResourceBillingEventsHistoryMetrics

NewResourceBillingEventsHistoryMetricsWithDefaults instantiates a new ResourceBillingEventsHistoryMetrics 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

GetEvent

func (o *ResourceBillingEventsHistoryMetrics) GetEvent() string

GetEvent returns the Event field if non-nil, zero value otherwise.

GetEventOk

func (o *ResourceBillingEventsHistoryMetrics) GetEventOk() (*string, bool)

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

SetEvent

func (o *ResourceBillingEventsHistoryMetrics) SetEvent(v string)

SetEvent sets Event field to given value.

HasEvent

func (o *ResourceBillingEventsHistoryMetrics) HasEvent() bool

HasEvent returns a boolean if a field has been set.

GetEventDuration

func (o *ResourceBillingEventsHistoryMetrics) GetEventDuration() float32

GetEventDuration returns the EventDuration field if non-nil, zero value otherwise.

GetEventDurationOk

func (o *ResourceBillingEventsHistoryMetrics) GetEventDurationOk() (*float32, bool)

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

SetEventDuration

func (o *ResourceBillingEventsHistoryMetrics) SetEventDuration(v float32)

SetEventDuration sets EventDuration field to given value.

HasEventDuration

func (o *ResourceBillingEventsHistoryMetrics) HasEventDuration() bool

HasEventDuration returns a boolean if a field has been set.

GetPricePerHour

func (o *ResourceBillingEventsHistoryMetrics) GetPricePerHour() float32

GetPricePerHour returns the PricePerHour field if non-nil, zero value otherwise.

GetPricePerHourOk

func (o *ResourceBillingEventsHistoryMetrics) GetPricePerHourOk() (*float32, bool)

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

SetPricePerHour

func (o *ResourceBillingEventsHistoryMetrics) SetPricePerHour(v float32)

SetPricePerHour sets PricePerHour field to given value.

HasPricePerHour

func (o *ResourceBillingEventsHistoryMetrics) HasPricePerHour() bool

HasPricePerHour returns a boolean if a field has been set.

GetStart

func (o *ResourceBillingEventsHistoryMetrics) GetStart() string

GetStart returns the Start field if non-nil, zero value otherwise.

GetStartOk

func (o *ResourceBillingEventsHistoryMetrics) GetStartOk() (*string, bool)

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

SetStart

func (o *ResourceBillingEventsHistoryMetrics) SetStart(v string)

SetStart sets Start field to given value.

HasStart

func (o *ResourceBillingEventsHistoryMetrics) HasStart() bool

HasStart returns a boolean if a field has been set.

GetTotalCost

func (o *ResourceBillingEventsHistoryMetrics) GetTotalCost() float32

GetTotalCost returns the TotalCost field if non-nil, zero value otherwise.

GetTotalCostOk

func (o *ResourceBillingEventsHistoryMetrics) GetTotalCostOk() (*float32, bool)

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

SetTotalCost

func (o *ResourceBillingEventsHistoryMetrics) SetTotalCost(v float32)

SetTotalCost sets TotalCost field to given value.

HasTotalCost

func (o *ResourceBillingEventsHistoryMetrics) HasTotalCost() bool

HasTotalCost returns a boolean if a field has been set.

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