RelativeDelta

Properties

NameTypeDescriptionNotes
Typestring
Yearsint32
Monthsint32
Daysint32
Leapdaysint32
Hoursint32
Minutesint32
Secondsint32
Microsecondsint32
Yearint32
Monthint32
Dayint32
Hourint32
Minuteint32
Secondint32
Microsecondint32

Methods

NewRelativeDelta

func NewRelativeDelta(type_ string, years int32, months int32, days int32, leapdays int32, hours int32, minutes int32, seconds int32, microseconds int32, year int32, month int32, day int32, hour int32, minute int32, second int32, microsecond int32, ) *RelativeDelta

NewRelativeDelta instantiates a new RelativeDelta 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

NewRelativeDeltaWithDefaults

func NewRelativeDeltaWithDefaults() *RelativeDelta

NewRelativeDeltaWithDefaults instantiates a new RelativeDelta 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

GetType

func (o *RelativeDelta) GetType() string

GetType returns the Type field if non-nil, zero value otherwise.

GetTypeOk

func (o *RelativeDelta) GetTypeOk() (*string, bool)

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

SetType

func (o *RelativeDelta) SetType(v string)

SetType sets Type field to given value.

GetYears

func (o *RelativeDelta) GetYears() int32

GetYears returns the Years field if non-nil, zero value otherwise.

GetYearsOk

func (o *RelativeDelta) GetYearsOk() (*int32, bool)

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

SetYears

func (o *RelativeDelta) SetYears(v int32)

SetYears sets Years field to given value.

GetMonths

func (o *RelativeDelta) GetMonths() int32

GetMonths returns the Months field if non-nil, zero value otherwise.

GetMonthsOk

func (o *RelativeDelta) GetMonthsOk() (*int32, bool)

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

SetMonths

func (o *RelativeDelta) SetMonths(v int32)

SetMonths sets Months field to given value.

GetDays

func (o *RelativeDelta) GetDays() int32

GetDays returns the Days field if non-nil, zero value otherwise.

GetDaysOk

func (o *RelativeDelta) GetDaysOk() (*int32, bool)

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

SetDays

func (o *RelativeDelta) SetDays(v int32)

SetDays sets Days field to given value.

GetLeapdays

func (o *RelativeDelta) GetLeapdays() int32

GetLeapdays returns the Leapdays field if non-nil, zero value otherwise.

GetLeapdaysOk

func (o *RelativeDelta) GetLeapdaysOk() (*int32, bool)

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

SetLeapdays

func (o *RelativeDelta) SetLeapdays(v int32)

SetLeapdays sets Leapdays field to given value.

GetHours

func (o *RelativeDelta) GetHours() int32

GetHours returns the Hours field if non-nil, zero value otherwise.

GetHoursOk

func (o *RelativeDelta) GetHoursOk() (*int32, bool)

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

SetHours

func (o *RelativeDelta) SetHours(v int32)

SetHours sets Hours field to given value.

GetMinutes

func (o *RelativeDelta) GetMinutes() int32

GetMinutes returns the Minutes field if non-nil, zero value otherwise.

GetMinutesOk

func (o *RelativeDelta) GetMinutesOk() (*int32, bool)

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

SetMinutes

func (o *RelativeDelta) SetMinutes(v int32)

SetMinutes sets Minutes field to given value.

GetSeconds

func (o *RelativeDelta) GetSeconds() int32

GetSeconds returns the Seconds field if non-nil, zero value otherwise.

GetSecondsOk

func (o *RelativeDelta) GetSecondsOk() (*int32, bool)

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

SetSeconds

func (o *RelativeDelta) SetSeconds(v int32)

SetSeconds sets Seconds field to given value.

GetMicroseconds

func (o *RelativeDelta) GetMicroseconds() int32

GetMicroseconds returns the Microseconds field if non-nil, zero value otherwise.

GetMicrosecondsOk

func (o *RelativeDelta) GetMicrosecondsOk() (*int32, bool)

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

SetMicroseconds

func (o *RelativeDelta) SetMicroseconds(v int32)

SetMicroseconds sets Microseconds field to given value.

GetYear

func (o *RelativeDelta) GetYear() int32

GetYear returns the Year field if non-nil, zero value otherwise.

GetYearOk

func (o *RelativeDelta) GetYearOk() (*int32, bool)

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

SetYear

func (o *RelativeDelta) SetYear(v int32)

SetYear sets Year field to given value.

GetMonth

func (o *RelativeDelta) GetMonth() int32

GetMonth returns the Month field if non-nil, zero value otherwise.

GetMonthOk

func (o *RelativeDelta) GetMonthOk() (*int32, bool)

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

SetMonth

func (o *RelativeDelta) SetMonth(v int32)

SetMonth sets Month field to given value.

GetDay

func (o *RelativeDelta) GetDay() int32

GetDay returns the Day field if non-nil, zero value otherwise.

GetDayOk

func (o *RelativeDelta) GetDayOk() (*int32, bool)

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

SetDay

func (o *RelativeDelta) SetDay(v int32)

SetDay sets Day field to given value.

GetHour

func (o *RelativeDelta) GetHour() int32

GetHour returns the Hour field if non-nil, zero value otherwise.

GetHourOk

func (o *RelativeDelta) GetHourOk() (*int32, bool)

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

SetHour

func (o *RelativeDelta) SetHour(v int32)

SetHour sets Hour field to given value.

GetMinute

func (o *RelativeDelta) GetMinute() int32

GetMinute returns the Minute field if non-nil, zero value otherwise.

GetMinuteOk

func (o *RelativeDelta) GetMinuteOk() (*int32, bool)

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

SetMinute

func (o *RelativeDelta) SetMinute(v int32)

SetMinute sets Minute field to given value.

GetSecond

func (o *RelativeDelta) GetSecond() int32

GetSecond returns the Second field if non-nil, zero value otherwise.

GetSecondOk

func (o *RelativeDelta) GetSecondOk() (*int32, bool)

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

SetSecond

func (o *RelativeDelta) SetSecond(v int32)

SetSecond sets Second field to given value.

GetMicrosecond

func (o *RelativeDelta) GetMicrosecond() int32

GetMicrosecond returns the Microsecond field if non-nil, zero value otherwise.

GetMicrosecondOk

func (o *RelativeDelta) GetMicrosecondOk() (*int32, bool)

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

SetMicrosecond

func (o *RelativeDelta) SetMicrosecond(v int32)

SetMicrosecond sets Microsecond field to given value.

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