@@ -29,9 +29,12 @@ class Record
2929
3030 private string $ recordId ;
3131 private string $ meetingId ;
32+ private string $ internalMeetingID ;
3233 private string $ name ;
3334 private bool $ isPublished ;
3435 private string $ state ;
36+ private int $ participants ;
37+ private int $ rawSize ;
3538 private float $ startTime ;
3639 private float $ endTime ;
3740
@@ -57,17 +60,20 @@ class Record
5760
5861 public function __construct (\SimpleXMLElement $ xml )
5962 {
60- $ this ->rawXml = $ xml ;
61- $ this ->recordId = $ xml ->recordID ->__toString ();
62- $ this ->meetingId = $ xml ->meetingID ->__toString ();
63- $ this ->name = $ xml ->name ->__toString ();
64- $ this ->isPublished = 'true ' === $ xml ->published ->__toString ();
65- $ this ->state = $ xml ->state ->__toString ();
66- $ this ->startTime = (float ) $ xml ->startTime ->__toString ();
67- $ this ->endTime = (float ) $ xml ->endTime ->__toString ();
68- $ this ->playbackType = $ xml ->playback ->format ->type ->__toString ();
69- $ this ->playbackUrl = $ xml ->playback ->format ->url ->__toString ();
70- $ this ->playbackLength = (int ) $ xml ->playback ->format ->length ->__toString ();
63+ $ this ->rawXml = $ xml ;
64+ $ this ->recordId = $ xml ->recordID ->__toString ();
65+ $ this ->meetingId = $ xml ->meetingID ->__toString ();
66+ $ this ->internalMeetingID = $ xml ->internalMeetingID ->__toString ();
67+ $ this ->name = $ xml ->name ->__toString ();
68+ $ this ->isPublished = 'true ' === $ xml ->published ->__toString ();
69+ $ this ->state = $ xml ->state ->__toString ();
70+ $ this ->startTime = (float ) $ xml ->startTime ->__toString ();
71+ $ this ->endTime = (float ) $ xml ->endTime ->__toString ();
72+ $ this ->participants = (int ) $ xml ->participants ->__toString ();
73+ $ this ->rawSize = (int ) $ xml ->rawSize ->__toString ();
74+ $ this ->playbackType = $ xml ->playback ->format ->type ->__toString ();
75+ $ this ->playbackUrl = $ xml ->playback ->format ->url ->__toString ();
76+ $ this ->playbackLength = (int ) $ xml ->playback ->format ->length ->__toString ();
7177
7278 foreach ($ xml ->metadata ->children () as $ meta ) {
7379 $ this ->metas [$ meta ->getName ()] = $ meta ->__toString ();
@@ -84,6 +90,11 @@ public function getMeetingId(): string
8490 return $ this ->meetingId ;
8591 }
8692
93+ public function getInternalMeetingID (): string
94+ {
95+ return $ this ->internalMeetingID ;
96+ }
97+
8798 public function getName (): string
8899 {
89100 return $ this ->name ;
@@ -109,6 +120,16 @@ public function getEndTime(): float
109120 return $ this ->endTime ;
110121 }
111122
123+ public function getParticipants (): float
124+ {
125+ return $ this ->participants ;
126+ }
127+
128+ public function getRawSize (): float
129+ {
130+ return $ this ->rawSize ;
131+ }
132+
112133 /**
113134 * @deprecated
114135 */
0 commit comments