Class: Edoxen::MeetingComponent
- Inherits:
-
Lutaml::Model::Serializable
- Object
- Lutaml::Model::Serializable
- Edoxen::MeetingComponent
- Includes:
- OfficersHost
- Defined in:
- lib/edoxen/meeting_component.rb,
sig/edoxen.rbs
Overview
MeetingComponent — flat sub-event of a Meeting. Replaces v0.x ScheduleItem. Component kinds include both substantive (track, session, debate, breakout, bof, keynote) and procedural (opening, closing, break, reception, registration).
Flat by design (no nesting) per 2026-07 architectural decision.
Instance Attribute Summary collapse
-
#agenda_ref ⇒ String?
readonly
Returns the value of attribute agenda_ref.
-
#attendance_refs ⇒ Array[String]?
readonly
Returns the value of attribute attendance_refs.
-
#chair ⇒ Person?
readonly
Returns the value of attribute chair.
-
#description ⇒ String?
readonly
Returns the value of attribute description.
-
#ends_at ⇒ Object
readonly
Returns the value of attribute ends_at.
-
#identifier ⇒ String?
readonly
Returns the value of attribute identifier.
-
#kind ⇒ String?
readonly
Returns the value of attribute kind.
-
#localizations ⇒ Array[ComponentLocalization]?
readonly
Returns the value of attribute localizations.
-
#minutes_ref ⇒ String?
readonly
Returns the value of attribute minutes_ref.
-
#starts_at ⇒ Object
readonly
Returns the value of attribute starts_at.
-
#title ⇒ String?
readonly
Returns the value of attribute title.
-
#urn ⇒ String?
readonly
Returns the value of attribute urn.
-
#venue_refs ⇒ Array[String]?
readonly
Returns the value of attribute venue_refs.
Instance Method Summary collapse
Methods included from OfficersHost
Instance Attribute Details
#agenda_ref ⇒ String? (readonly)
Returns the value of attribute agenda_ref.
405 406 407 |
# File 'sig/edoxen.rbs', line 405 def agenda_ref @agenda_ref end |
#attendance_refs ⇒ Array[String]? (readonly)
Returns the value of attribute attendance_refs.
407 408 409 |
# File 'sig/edoxen.rbs', line 407 def attendance_refs @attendance_refs end |
#chair ⇒ Person? (readonly)
Returns the value of attribute chair.
404 405 406 |
# File 'sig/edoxen.rbs', line 404 def chair @chair end |
#description ⇒ String? (readonly)
Returns the value of attribute description.
400 401 402 |
# File 'sig/edoxen.rbs', line 400 def description @description end |
#ends_at ⇒ Object (readonly)
Returns the value of attribute ends_at.
402 403 404 |
# File 'sig/edoxen.rbs', line 402 def ends_at @ends_at end |
#identifier ⇒ String? (readonly)
Returns the value of attribute identifier.
396 397 398 |
# File 'sig/edoxen.rbs', line 396 def identifier @identifier end |
#kind ⇒ String? (readonly)
Returns the value of attribute kind.
398 399 400 |
# File 'sig/edoxen.rbs', line 398 def kind @kind end |
#localizations ⇒ Array[ComponentLocalization]? (readonly)
Returns the value of attribute localizations.
408 409 410 |
# File 'sig/edoxen.rbs', line 408 def localizations @localizations end |
#minutes_ref ⇒ String? (readonly)
Returns the value of attribute minutes_ref.
406 407 408 |
# File 'sig/edoxen.rbs', line 406 def minutes_ref @minutes_ref end |
#starts_at ⇒ Object (readonly)
Returns the value of attribute starts_at.
401 402 403 |
# File 'sig/edoxen.rbs', line 401 def starts_at @starts_at end |
#title ⇒ String? (readonly)
Returns the value of attribute title.
399 400 401 |
# File 'sig/edoxen.rbs', line 399 def title @title end |
#urn ⇒ String? (readonly)
Returns the value of attribute urn.
397 398 399 |
# File 'sig/edoxen.rbs', line 397 def urn @urn end |
#venue_refs ⇒ Array[String]? (readonly)
Returns the value of attribute venue_refs.
403 404 405 |
# File 'sig/edoxen.rbs', line 403 def venue_refs @venue_refs end |
Instance Method Details
#duration_seconds ⇒ Integer?
35 36 37 38 39 |
# File 'lib/edoxen/meeting_component.rb', line 35 def duration_seconds return nil unless starts_at && ends_at ends_at.to_time - starts_at.to_time end |