GetSnoozeResult constructor

const GetSnoozeResult({
  1. required CriteriaResponse criteria,
  2. required String displayName,
  3. required TimeIntervalResponse interval,
  4. 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.

Implementation

const GetSnoozeResult({
  required this.criteria,
  required this.displayName,
  required this.interval,
  required this.name,
});