# Life

# Properties

Name Type Description Notes
Unit Pointer to NullableString [optional]
Value Pointer to NullableString [optional]

# Methods

# NewLife

func NewLife() *Life

NewLife instantiates a new Life 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

# NewLifeWithDefaults

func NewLifeWithDefaults() *Life

NewLifeWithDefaults instantiates a new Life 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

# GetUnit

func (o *Life) GetUnit() string

GetUnit returns the Unit field if non-nil, zero value otherwise.

# GetUnitOk

func (o *Life) 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.

# SetUnit

func (o *Life) SetUnit(v string)

SetUnit sets Unit field to given value.

# HasUnit

func (o *Life) HasUnit() bool

HasUnit returns a boolean if a field has been set.

# SetUnitNil

func (o *Life) SetUnitNil(b bool)

SetUnitNil sets the value for Unit to be an explicit nil

# UnsetUnit

func (o *Life) UnsetUnit()

UnsetUnit ensures that no value is present for Unit, not even an explicit nil

# GetValue

func (o *Life) GetValue() string

GetValue returns the Value field if non-nil, zero value otherwise.

# GetValueOk

func (o *Life) GetValueOk() (*string, bool)

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

# SetValue

func (o *Life) SetValue(v string)

SetValue sets Value field to given value.

# HasValue

func (o *Life) HasValue() bool

HasValue returns a boolean if a field has been set.

# SetValueNil

func (o *Life) SetValueNil(b bool)

SetValueNil sets the value for Value to be an explicit nil

# UnsetValue

func (o *Life) UnsetValue()

UnsetValue ensures that no value is present for Value, not even an explicit nil

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

Last Updated: 6/19/2022, 7:27:56 PM