GetSnoozeResult class

Result data returned by getSnooze.

Constructors

GetSnoozeResult({required CriteriaResponse criteria, required String displayName, required TimeIntervalResponse interval, required String name})
Creates a new GetSnoozeResult. criteria This defines the criteria for applying the Snooze. See Criteria for more information. displayName A display name for the Snooze. This can be, at most, 512 unicode characters. interval The Snooze will be active from interval.start_time through interval.end_time. interval.start_time cannot be in the past. There is a 15 second clock skew to account for the time it takes for a request to reach the API from the UI. name The name of the Snooze. The format is: projects/PROJECT_ID_OR_NUMBER/snoozes/SNOOZE_ID The ID of the Snooze will be generated by the system.
const
GetSnoozeResult.fromMap(Map<String, dynamic> map)
factory

Properties

criteria → CriteriaResponse
This defines the criteria for applying the Snooze. See Criteria for more information.
final
displayName → String
A display name for the Snooze. This can be, at most, 512 unicode characters.
final
hashCode → int
The hash code for this object.
no setterinherited
interval → TimeIntervalResponse
The Snooze will be active from interval.start_time through interval.end_time. interval.start_time cannot be in the past. There is a 15 second clock skew to account for the time it takes for a request to reach the API from the UI.
final
name → String
The name of the Snooze. The format is: projects/PROJECT_ID_OR_NUMBER/snoozes/SNOOZE_ID The ID of the Snooze will be generated by the system.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

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