Class: Edoxen::MeetingComponent

Inherits:
Lutaml::Model::Serializable
  • Object
show all
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

Instance Method Summary collapse

Methods included from OfficersHost

#officers_with_role

Instance Attribute Details

#agenda_refString? (readonly)

Returns the value of attribute agenda_ref.

Returns:

  • (String, nil)


405
406
407
# File 'sig/edoxen.rbs', line 405

def agenda_ref
  @agenda_ref
end

#attendance_refsArray[String]? (readonly)

Returns the value of attribute attendance_refs.

Returns:

  • (Array[String], nil)


407
408
409
# File 'sig/edoxen.rbs', line 407

def attendance_refs
  @attendance_refs
end

#chairPerson? (readonly)

Returns the value of attribute chair.

Returns:



404
405
406
# File 'sig/edoxen.rbs', line 404

def chair
  @chair
end

#descriptionString? (readonly)

Returns the value of attribute description.

Returns:

  • (String, nil)


400
401
402
# File 'sig/edoxen.rbs', line 400

def description
  @description
end

#ends_atObject (readonly)

Returns the value of attribute ends_at.

Returns:

  • (Object)


402
403
404
# File 'sig/edoxen.rbs', line 402

def ends_at
  @ends_at
end

#identifierString? (readonly)

Returns the value of attribute identifier.

Returns:

  • (String, nil)


396
397
398
# File 'sig/edoxen.rbs', line 396

def identifier
  @identifier
end

#kindString? (readonly)

Returns the value of attribute kind.

Returns:

  • (String, nil)


398
399
400
# File 'sig/edoxen.rbs', line 398

def kind
  @kind
end

#localizationsArray[ComponentLocalization]? (readonly)

Returns the value of attribute localizations.

Returns:



408
409
410
# File 'sig/edoxen.rbs', line 408

def localizations
  @localizations
end

#minutes_refString? (readonly)

Returns the value of attribute minutes_ref.

Returns:

  • (String, nil)


406
407
408
# File 'sig/edoxen.rbs', line 406

def minutes_ref
  @minutes_ref
end

#starts_atObject (readonly)

Returns the value of attribute starts_at.

Returns:

  • (Object)


401
402
403
# File 'sig/edoxen.rbs', line 401

def starts_at
  @starts_at
end

#titleString? (readonly)

Returns the value of attribute title.

Returns:

  • (String, nil)


399
400
401
# File 'sig/edoxen.rbs', line 399

def title
  @title
end

#urnString? (readonly)

Returns the value of attribute urn.

Returns:

  • (String, nil)


397
398
399
# File 'sig/edoxen.rbs', line 397

def urn
  @urn
end

#venue_refsArray[String]? (readonly)

Returns the value of attribute venue_refs.

Returns:

  • (Array[String], nil)


403
404
405
# File 'sig/edoxen.rbs', line 403

def venue_refs
  @venue_refs
end

Instance Method Details

#duration_secondsInteger?

Returns:

  • (Integer, nil)


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