SnoozeArgs class
The set of arguments for Snooze. The set of arguments for Snooze.
Constructors
-
SnoozeArgs({required Input<
Criteria> criteria, required Input<String> displayName, required Input<TimeInterval> interval, Input<String> ? name, Input<String> ? project}) -
Creates a new SnoozeArgs.
criteriaThis defines the criteria for applying the Snooze. See Criteria for more information.displayNameA display name for the Snooze. This can be, at most, 512 unicode characters.intervalThe 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.nameThe name of the Snooze. The format is: projects/PROJECT_ID_OR_NUMBER/snoozes/SNOOZE_IDThe ID of the Snooze will be generated by the system.projectOptional.const -
SnoozeArgs.fromMap(Map<
String, dynamic> map) -
factory
Properties
-
criteria
→ Input<
Criteria> -
This defines the criteria for applying the Snooze. See Criteria for more information.
final
-
displayName
→ Input<
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
→ Input<
TimeInterval> -
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
→ Input<
String> ? -
The name of the Snooze. The format is: projects/
PROJECT_ID_OR_NUMBER/snoozes/SNOOZE_IDThe ID of the Snooze will be generated by the system.final -
project
→ Input<
String> ? -
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