Name | Type | Description | Notes |
---|---|---|---|
Id | string | ||
Name | string | ||
ConsumedTimeInSeconds | int32 | ||
Cost | Cost |
func NewGenericObjectCurrentCost(id string, name string, consumedTimeInSeconds int32, cost Cost, ) *GenericObjectCurrentCost
NewGenericObjectCurrentCost instantiates a new GenericObjectCurrentCost 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 NewGenericObjectCurrentCostWithDefaults() *GenericObjectCurrentCost
NewGenericObjectCurrentCostWithDefaults instantiates a new GenericObjectCurrentCost 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 *GenericObjectCurrentCost) GetId() string
GetId returns the Id field if non-nil, zero value otherwise.
func (o *GenericObjectCurrentCost) 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 *GenericObjectCurrentCost) SetId(v string)
SetId sets Id field to given value.
func (o *GenericObjectCurrentCost) GetName() string
GetName returns the Name field if non-nil, zero value otherwise.
func (o *GenericObjectCurrentCost) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *GenericObjectCurrentCost) SetName(v string)
SetName sets Name field to given value.
func (o *GenericObjectCurrentCost) GetConsumedTimeInSeconds() int32
GetConsumedTimeInSeconds returns the ConsumedTimeInSeconds field if non-nil, zero value otherwise.
func (o *GenericObjectCurrentCost) GetConsumedTimeInSecondsOk() (*int32, bool)
GetConsumedTimeInSecondsOk returns a tuple with the ConsumedTimeInSeconds field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *GenericObjectCurrentCost) SetConsumedTimeInSeconds(v int32)
SetConsumedTimeInSeconds sets ConsumedTimeInSeconds field to given value.
func (o *GenericObjectCurrentCost) GetCost() Cost
GetCost returns the Cost field if non-nil, zero value otherwise.
func (o *GenericObjectCurrentCost) GetCostOk() (*Cost, bool)
GetCostOk returns a tuple with the Cost field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *GenericObjectCurrentCost) SetCost(v Cost)
SetCost sets Cost field to given value.