IntervalResponse class
Represents a time interval, encoded as a Timestamp start (inclusive) and a Timestamp end (exclusive). The start must be less than or equal to the end. When the start equals the end, the interval is empty (matches no time). When both start and end are unspecified, the interval matches any time.
Constructors
-
IntervalResponse({required Input<
String> endTime, required Input<String> startTime}) -
Creates a new IntervalResponse.
endTimeOptional. Exclusive end of the interval. If specified, a Timestamp matching this interval will have to be before the end.startTimeOptional. Inclusive start of the interval. If specified, a Timestamp matching this interval will have to be the same or after the start.const -
IntervalResponse.fromMap(Map<
String, dynamic> map) -
factory
Properties
-
endTime
→ Input<
String> -
Optional. Exclusive end of the interval. If specified, a Timestamp matching this interval will have to be before the end.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
startTime
→ Input<
String> -
Optional. Inclusive start of the interval. If specified, a Timestamp matching this interval will have to be the same or after the start.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toMap(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited