Skip to content

Latest commit

 

History

History
72 lines (39 loc) · 2.24 KB

TimeInterval.md

File metadata and controls

72 lines (39 loc) · 2.24 KB

TimeInterval

Properties

Name Type Description Notes
Start time.Time The beginning of the time interval formatted according to RFC 3339. The date must not be before 1970-01-01T00:00:00+00:00 nor after 2037-12-31T23:59:59+00:00.
End time.Time The end of the time interval formatted according to RFC 3339. The date must not be before 1970-01-01T00:00:00+00:00 nor after 2037-12-31T23:59:59+00:00.

Methods

NewTimeInterval

func NewTimeInterval(start time.Time, end time.Time, ) *TimeInterval

NewTimeInterval instantiates a new TimeInterval 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

NewTimeIntervalWithDefaults

func NewTimeIntervalWithDefaults() *TimeInterval

NewTimeIntervalWithDefaults instantiates a new TimeInterval 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

GetStart

func (o *TimeInterval) GetStart() time.Time

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

GetStartOk

func (o *TimeInterval) GetStartOk() (*time.Time, 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 *TimeInterval) SetStart(v time.Time)

SetStart sets Start field to given value.

GetEnd

func (o *TimeInterval) GetEnd() time.Time

GetEnd returns the End field if non-nil, zero value otherwise.

GetEndOk

func (o *TimeInterval) GetEndOk() (*time.Time, bool)

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

SetEnd

func (o *TimeInterval) SetEnd(v time.Time)

SetEnd sets End field to given value.

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