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. |
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
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
func (o *TimeInterval) GetStart() time.Time
GetStart returns the Start field if non-nil, zero value otherwise.
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.
func (o *TimeInterval) SetStart(v time.Time)
SetStart sets Start field to given value.
func (o *TimeInterval) GetEnd() time.Time
GetEnd returns the End field if non-nil, zero value otherwise.
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.
func (o *TimeInterval) SetEnd(v time.Time)
SetEnd sets End field to given value.