Skip to content

Latest commit

 

History

History
114 lines (61 loc) · 3.21 KB

GenericObjectCurrentCost.md

File metadata and controls

114 lines (61 loc) · 3.21 KB

GenericObjectCurrentCost

Properties

Name Type Description Notes
Id string
Name string
ConsumedTimeInSeconds int32
Cost Cost

Methods

NewGenericObjectCurrentCost

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

NewGenericObjectCurrentCostWithDefaults

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

GetId

func (o *GenericObjectCurrentCost) GetId() string

GetId returns the Id field if non-nil, zero value otherwise.

GetIdOk

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.

SetId

func (o *GenericObjectCurrentCost) SetId(v string)

SetId sets Id field to given value.

GetName

func (o *GenericObjectCurrentCost) GetName() string

GetName returns the Name field if non-nil, zero value otherwise.

GetNameOk

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.

SetName

func (o *GenericObjectCurrentCost) SetName(v string)

SetName sets Name field to given value.

GetConsumedTimeInSeconds

func (o *GenericObjectCurrentCost) GetConsumedTimeInSeconds() int32

GetConsumedTimeInSeconds returns the ConsumedTimeInSeconds field if non-nil, zero value otherwise.

GetConsumedTimeInSecondsOk

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.

SetConsumedTimeInSeconds

func (o *GenericObjectCurrentCost) SetConsumedTimeInSeconds(v int32)

SetConsumedTimeInSeconds sets ConsumedTimeInSeconds field to given value.

GetCost

func (o *GenericObjectCurrentCost) GetCost() Cost

GetCost returns the Cost field if non-nil, zero value otherwise.

GetCostOk

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.

SetCost

func (o *GenericObjectCurrentCost) SetCost(v Cost)

SetCost sets Cost field to given value.

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