Class: Seam::Resources::Device::Properties::OnlineTimeFrameOptions
- Inherits:
-
BaseResource
- Object
- BaseResource
- Seam::Resources::Device::Properties::OnlineTimeFrameOptions
- Defined in:
- lib/seam/resources/device.rb
Defined Under Namespace
Classes: TimePairs
Instance Attribute Summary collapse
-
#display_name ⇒ String
Label for this option.
-
#end_date_recurrence_rule ⇒ String?
iCalendar recurrence rule (RRULE) that the end date must fall on.
-
#matching_start_end_time ⇒ TrueClass?
When
true, the start and end must fall at the same time of day (the caller picks which). -
#max_duration ⇒ String?
Maximum duration this option covers, as an ISO 8601 duration (for example,
PT672HorP367D). -
#min_duration ⇒ String?
Minimum duration this option covers, as an ISO 8601 duration (for example,
PT1HorP29D). -
#start_date_recurrence_rule ⇒ String?
iCalendar recurrence rule (RRULE) that the start date must fall on (for example,
FREQ=MONTHLY;BYDAY=1MO,3MO). -
#time_zone ⇒ String?
IANA time zone for interpreting
time_pairsand the date recurrence rules.
Attributes inherited from BaseResource
Instance Method Summary collapse
-
#time_pairs ⇒ Array<TimePairs>
Fixed start/end time pairings the caller chooses from.
Methods inherited from BaseResource
#[], aliased_accessor, attribute_aliases, date_accessor, discriminated_by, #initialize, #inspect, load_from_response, resource_accessor, resource_accessors, resource_list_accessor, resource_list_accessors, #update_from_response
Constructor Details
This class inherits a constructor from Seam::Resources::BaseResource
Instance Attribute Details
#display_name ⇒ String
Label for this option. For a single-option device, the product name (for example, algoPIN or SmartPIN); for a multi-option device, a label that distinguishes it (for example, Hourly or Fixed start times).
1360 1361 1362 |
# File 'lib/seam/resources/device.rb', line 1360 def display_name @display_name end |
#end_date_recurrence_rule ⇒ String?
iCalendar recurrence rule (RRULE) that the end date must fall on. Constrains which calendar dates are selectable, independent of the time-of-day rules.
1363 1364 1365 |
# File 'lib/seam/resources/device.rb', line 1363 def end_date_recurrence_rule @end_date_recurrence_rule end |
#matching_start_end_time ⇒ TrueClass?
When true, the start and end must fall at the same time of day (the caller picks which). Mutually exclusive with time_pairs.
1366 1367 1368 |
# File 'lib/seam/resources/device.rb', line 1366 def matching_start_end_time @matching_start_end_time end |
#max_duration ⇒ String?
Maximum duration this option covers, as an ISO 8601 duration (for example, PT672H or P367D). Omitted when there is no maximum.
1369 1370 1371 |
# File 'lib/seam/resources/device.rb', line 1369 def max_duration @max_duration end |
#min_duration ⇒ String?
Minimum duration this option covers, as an ISO 8601 duration (for example, PT1H or P29D). Omitted when there is no minimum.
1372 1373 1374 |
# File 'lib/seam/resources/device.rb', line 1372 def min_duration @min_duration end |
#start_date_recurrence_rule ⇒ String?
iCalendar recurrence rule (RRULE) that the start date must fall on (for example, FREQ=MONTHLY;BYDAY=1MO,3MO). Constrains which calendar dates are selectable, independent of the time-of-day rules.
1375 1376 1377 |
# File 'lib/seam/resources/device.rb', line 1375 def start_date_recurrence_rule @start_date_recurrence_rule end |
#time_zone ⇒ String?
IANA time zone for interpreting time_pairs and the date recurrence rules. Present only when the option fixes times or dates.
1378 1379 1380 |
# File 'lib/seam/resources/device.rb', line 1378 def time_zone @time_zone end |