Class: Kaltura::KalturaScheduleEvent

Inherits:
KalturaObjectBase show all
Defined in:
lib/kaltura_plugins/kaltura_schedule_client_plugin.rb

Instance Attribute Summary collapse

Attributes inherited from KalturaObjectBase

#object_type, #related_objects

Instance Method Summary collapse

Methods inherited from KalturaObjectBase

#camelcase, #to_b, #to_params

Instance Attribute Details

#classification_typeObject

Returns the value of attribute classification_type.



336
337
338
# File 'lib/kaltura_plugins/kaltura_schedule_client_plugin.rb', line 336

def classification_type
  @classification_type
end

#commentObject

Specifies non-processing information intended to provide a comment to the calendar user.



355
356
357
# File 'lib/kaltura_plugins/kaltura_schedule_client_plugin.rb', line 355

def comment
  @comment
end

#contactObject

Used to represent contact information or alternately a reference to contact information.



353
354
355
# File 'lib/kaltura_plugins/kaltura_schedule_client_plugin.rb', line 353

def contact
  @contact
end

#created_atObject

Creation date as Unix timestamp (In seconds)



358
359
360
# File 'lib/kaltura_plugins/kaltura_schedule_client_plugin.rb', line 358

def created_at
  @created_at
end

#descriptionObject

Returns the value of attribute description.



327
328
329
# File 'lib/kaltura_plugins/kaltura_schedule_client_plugin.rb', line 327

def description
  @description
end

#durationObject

Duration in seconds



351
352
353
# File 'lib/kaltura_plugins/kaltura_schedule_client_plugin.rb', line 351

def duration
  @duration
end

#end_dateObject

Returns the value of attribute end_date.



330
331
332
# File 'lib/kaltura_plugins/kaltura_schedule_client_plugin.rb', line 330

def end_date
  @end_date
end

#geo_latitudeObject

Specifies the global position for the activity



338
339
340
# File 'lib/kaltura_plugins/kaltura_schedule_client_plugin.rb', line 338

def geo_latitude
  @geo_latitude
end

#geo_longitudeObject

Specifies the global position for the activity



340
341
342
# File 'lib/kaltura_plugins/kaltura_schedule_client_plugin.rb', line 340

def geo_longitude
  @geo_longitude
end

#idObject

Auto-generated unique identifier



322
323
324
# File 'lib/kaltura_plugins/kaltura_schedule_client_plugin.rb', line 322

def id
  @id
end

#linked_byObject

An array of Schedule Event Ids that their start time depends on the end of the current.



335
336
337
# File 'lib/kaltura_plugins/kaltura_schedule_client_plugin.rb', line 335

def linked_by
  @linked_by
end

#linked_toObject

Contains the Id of the event that influences the timing of this event and the offset of time.



333
334
335
# File 'lib/kaltura_plugins/kaltura_schedule_client_plugin.rb', line 333

def linked_to
  @linked_to
end

#locationObject

Defines the intended venue for the activity



342
343
344
# File 'lib/kaltura_plugins/kaltura_schedule_client_plugin.rb', line 342

def location
  @location
end

#organizerObject

Returns the value of attribute organizer.



343
344
345
# File 'lib/kaltura_plugins/kaltura_schedule_client_plugin.rb', line 343

def organizer
  @organizer
end

#owner_idObject

Returns the value of attribute owner_id.



344
345
346
# File 'lib/kaltura_plugins/kaltura_schedule_client_plugin.rb', line 344

def owner_id
  @owner_id
end

#parent_idObject

Returns the value of attribute parent_id.



324
325
326
# File 'lib/kaltura_plugins/kaltura_schedule_client_plugin.rb', line 324

def parent_id
  @parent_id
end

#partner_idObject

Returns the value of attribute partner_id.



323
324
325
# File 'lib/kaltura_plugins/kaltura_schedule_client_plugin.rb', line 323

def partner_id
  @partner_id
end

#priorityObject

The value for the priority field.



346
347
348
# File 'lib/kaltura_plugins/kaltura_schedule_client_plugin.rb', line 346

def priority
  @priority
end

#recurrenceObject

Returns the value of attribute recurrence.



361
362
363
# File 'lib/kaltura_plugins/kaltura_schedule_client_plugin.rb', line 361

def recurrence
  @recurrence
end

#recurrence_typeObject

Returns the value of attribute recurrence_type.



349
350
351
# File 'lib/kaltura_plugins/kaltura_schedule_client_plugin.rb', line 349

def recurrence_type
  @recurrence_type
end

#reference_idObject

Returns the value of attribute reference_id.



331
332
333
# File 'lib/kaltura_plugins/kaltura_schedule_client_plugin.rb', line 331

def reference_id
  @reference_id
end

#sequenceObject

Defines the revision sequence number.



348
349
350
# File 'lib/kaltura_plugins/kaltura_schedule_client_plugin.rb', line 348

def sequence
  @sequence
end

#start_dateObject

Returns the value of attribute start_date.



329
330
331
# File 'lib/kaltura_plugins/kaltura_schedule_client_plugin.rb', line 329

def start_date
  @start_date
end

#statusObject

Returns the value of attribute status.



328
329
330
# File 'lib/kaltura_plugins/kaltura_schedule_client_plugin.rb', line 328

def status
  @status
end

#summaryObject

Defines a short summary or subject for the event



326
327
328
# File 'lib/kaltura_plugins/kaltura_schedule_client_plugin.rb', line 326

def summary
  @summary
end

#tagsObject

Returns the value of attribute tags.



356
357
358
# File 'lib/kaltura_plugins/kaltura_schedule_client_plugin.rb', line 356

def tags
  @tags
end

#updated_atObject

Last update as Unix timestamp (In seconds)



360
361
362
# File 'lib/kaltura_plugins/kaltura_schedule_client_plugin.rb', line 360

def updated_at
  @updated_at
end

Instance Method Details

#from_xml(xml_element) ⇒ Object



409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
# File 'lib/kaltura_plugins/kaltura_schedule_client_plugin.rb', line 409

def from_xml(xml_element)
  super
  if xml_element.elements['id'] != nil
    self.id = xml_element.elements['id'].text
  end
  if xml_element.elements['partnerId'] != nil
    self.partner_id = xml_element.elements['partnerId'].text
  end
  if xml_element.elements['parentId'] != nil
    self.parent_id = xml_element.elements['parentId'].text
  end
  if xml_element.elements['summary'] != nil
    self.summary = xml_element.elements['summary'].text
  end
  if xml_element.elements['description'] != nil
    self.description = xml_element.elements['description'].text
  end
  if xml_element.elements['status'] != nil
    self.status = xml_element.elements['status'].text
  end
  if xml_element.elements['startDate'] != nil
    self.start_date = xml_element.elements['startDate'].text
  end
  if xml_element.elements['endDate'] != nil
    self.end_date = xml_element.elements['endDate'].text
  end
  if xml_element.elements['referenceId'] != nil
    self.reference_id = xml_element.elements['referenceId'].text
  end
  if xml_element.elements['linkedTo'] != nil
    self.linked_to = KalturaClientBase.object_from_xml(xml_element.elements['linkedTo'], 'KalturaLinkedScheduleEvent')
  end
  if xml_element.elements['linkedBy'] != nil
    self.linked_by = xml_element.elements['linkedBy'].text
  end
  if xml_element.elements['classificationType'] != nil
    self.classification_type = xml_element.elements['classificationType'].text
  end
  if xml_element.elements['geoLatitude'] != nil
    self.geo_latitude = xml_element.elements['geoLatitude'].text
  end
  if xml_element.elements['geoLongitude'] != nil
    self.geo_longitude = xml_element.elements['geoLongitude'].text
  end
  if xml_element.elements['location'] != nil
    self.location = xml_element.elements['location'].text
  end
  if xml_element.elements['organizer'] != nil
    self.organizer = xml_element.elements['organizer'].text
  end
  if xml_element.elements['ownerId'] != nil
    self.owner_id = xml_element.elements['ownerId'].text
  end
  if xml_element.elements['priority'] != nil
    self.priority = xml_element.elements['priority'].text
  end
  if xml_element.elements['sequence'] != nil
    self.sequence = xml_element.elements['sequence'].text
  end
  if xml_element.elements['recurrenceType'] != nil
    self.recurrence_type = xml_element.elements['recurrenceType'].text
  end
  if xml_element.elements['duration'] != nil
    self.duration = xml_element.elements['duration'].text
  end
  if xml_element.elements['contact'] != nil
    self.contact = xml_element.elements['contact'].text
  end
  if xml_element.elements['comment'] != nil
    self.comment = xml_element.elements['comment'].text
  end
  if xml_element.elements['tags'] != nil
    self.tags = xml_element.elements['tags'].text
  end
  if xml_element.elements['createdAt'] != nil
    self.created_at = xml_element.elements['createdAt'].text
  end
  if xml_element.elements['updatedAt'] != nil
    self.updated_at = xml_element.elements['updatedAt'].text
  end
  if xml_element.elements['recurrence'] != nil
    self.recurrence = KalturaClientBase.object_from_xml(xml_element.elements['recurrence'], 'KalturaScheduleEventRecurrence')
  end
end