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.



363
364
365
# File 'lib/kaltura_plugins/kaltura_schedule_client_plugin.rb', line 363

def classification_type
  @classification_type
end

#commentObject

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



382
383
384
# File 'lib/kaltura_plugins/kaltura_schedule_client_plugin.rb', line 382

def comment
  @comment
end

#contactObject

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



380
381
382
# File 'lib/kaltura_plugins/kaltura_schedule_client_plugin.rb', line 380

def contact
  @contact
end

#created_atObject

Creation date as Unix timestamp (In seconds)



385
386
387
# File 'lib/kaltura_plugins/kaltura_schedule_client_plugin.rb', line 385

def created_at
  @created_at
end

#descriptionObject

Returns the value of attribute description.



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

def description
  @description
end

#durationObject

Duration in seconds



378
379
380
# File 'lib/kaltura_plugins/kaltura_schedule_client_plugin.rb', line 378

def duration
  @duration
end

#end_dateObject

Returns the value of attribute end_date.



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

def end_date
  @end_date
end

#geo_latitudeObject

Specifies the global position for the activity



365
366
367
# File 'lib/kaltura_plugins/kaltura_schedule_client_plugin.rb', line 365

def geo_latitude
  @geo_latitude
end

#geo_longitudeObject

Specifies the global position for the activity



367
368
369
# File 'lib/kaltura_plugins/kaltura_schedule_client_plugin.rb', line 367

def geo_longitude
  @geo_longitude
end

#idObject

Auto-generated unique identifier



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

def id
  @id
end

#linked_byObject

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



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

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.



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

def linked_to
  @linked_to
end

#locationObject

Defines the intended venue for the activity



369
370
371
# File 'lib/kaltura_plugins/kaltura_schedule_client_plugin.rb', line 369

def location
  @location
end

#organizerObject

Returns the value of attribute organizer.



370
371
372
# File 'lib/kaltura_plugins/kaltura_schedule_client_plugin.rb', line 370

def organizer
  @organizer
end

#owner_idObject

Returns the value of attribute owner_id.



371
372
373
# File 'lib/kaltura_plugins/kaltura_schedule_client_plugin.rb', line 371

def owner_id
  @owner_id
end

#parent_idObject

Returns the value of attribute parent_id.



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

def parent_id
  @parent_id
end

#partner_idObject

Returns the value of attribute partner_id.



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

def partner_id
  @partner_id
end

#priorityObject

The value for the priority field.



373
374
375
# File 'lib/kaltura_plugins/kaltura_schedule_client_plugin.rb', line 373

def priority
  @priority
end

#recurrenceObject

Returns the value of attribute recurrence.



388
389
390
# File 'lib/kaltura_plugins/kaltura_schedule_client_plugin.rb', line 388

def recurrence
  @recurrence
end

#recurrence_typeObject

Returns the value of attribute recurrence_type.



376
377
378
# File 'lib/kaltura_plugins/kaltura_schedule_client_plugin.rb', line 376

def recurrence_type
  @recurrence_type
end

#reference_idObject

Returns the value of attribute reference_id.



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

def reference_id
  @reference_id
end

#sequenceObject

Defines the revision sequence number.



375
376
377
# File 'lib/kaltura_plugins/kaltura_schedule_client_plugin.rb', line 375

def sequence
  @sequence
end

#start_dateObject

Returns the value of attribute start_date.



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

def start_date
  @start_date
end

#statusObject

Returns the value of attribute status.



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

def status
  @status
end

#summaryObject

Defines a short summary or subject for the event



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

def summary
  @summary
end

#tagsObject

Returns the value of attribute tags.



383
384
385
# File 'lib/kaltura_plugins/kaltura_schedule_client_plugin.rb', line 383

def tags
  @tags
end

#updated_atObject

Last update as Unix timestamp (In seconds)



387
388
389
# File 'lib/kaltura_plugins/kaltura_schedule_client_plugin.rb', line 387

def updated_at
  @updated_at
end

Instance Method Details

#from_xml(xml_element) ⇒ Object



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
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
# File 'lib/kaltura_plugins/kaltura_schedule_client_plugin.rb', line 436

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