Class: Kaltura::KalturaScheduleEvent
- Inherits:
-
KalturaObjectBase
- Object
- KalturaObjectBase
- Kaltura::KalturaScheduleEvent
- Defined in:
- lib/kaltura_plugins/kaltura_schedule_client_plugin.rb
Direct Known Subclasses
Instance Attribute Summary collapse
-
#classification_type ⇒ Object
Returns the value of attribute classification_type.
-
#comment ⇒ Object
Specifies non-processing information intended to provide a comment to the calendar user.
-
#contact ⇒ Object
Used to represent contact information or alternately a reference to contact information.
-
#created_at ⇒ Object
Creation date as Unix timestamp (In seconds).
-
#description ⇒ Object
Returns the value of attribute description.
-
#duration ⇒ Object
Duration in seconds.
-
#end_date ⇒ Object
Returns the value of attribute end_date.
-
#geo_latitude ⇒ Object
Specifies the global position for the activity.
-
#geo_longitude ⇒ Object
Specifies the global position for the activity.
-
#id ⇒ Object
Auto-generated unique identifier.
-
#linked_by ⇒ Object
An array of Schedule Event Ids that their start time depends on the end of the current.
-
#linked_to ⇒ Object
Contains the Id of the event that influences the timing of this event and the offset of time.
-
#location ⇒ Object
Defines the intended venue for the activity.
-
#organizer ⇒ Object
Returns the value of attribute organizer.
-
#owner_id ⇒ Object
Returns the value of attribute owner_id.
-
#parent_id ⇒ Object
Returns the value of attribute parent_id.
-
#partner_id ⇒ Object
Returns the value of attribute partner_id.
-
#priority ⇒ Object
The value for the priority field.
-
#recurrence ⇒ Object
Returns the value of attribute recurrence.
-
#recurrence_type ⇒ Object
Returns the value of attribute recurrence_type.
-
#reference_id ⇒ Object
Returns the value of attribute reference_id.
-
#sequence ⇒ Object
Defines the revision sequence number.
-
#start_date ⇒ Object
Returns the value of attribute start_date.
-
#status ⇒ Object
Returns the value of attribute status.
-
#summary ⇒ Object
Defines a short summary or subject for the event.
-
#tags ⇒ Object
Returns the value of attribute tags.
-
#updated_at ⇒ Object
Last update as Unix timestamp (In seconds).
Attributes inherited from KalturaObjectBase
#object_type, #related_objects
Instance Method Summary collapse
Methods inherited from KalturaObjectBase
Instance Attribute Details
#classification_type ⇒ Object
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 |
#comment ⇒ Object
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 |
#contact ⇒ Object
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_at ⇒ Object
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 |
#description ⇒ Object
Returns the value of attribute description.
354 355 356 |
# File 'lib/kaltura_plugins/kaltura_schedule_client_plugin.rb', line 354 def description @description end |
#duration ⇒ Object
Duration in seconds
378 379 380 |
# File 'lib/kaltura_plugins/kaltura_schedule_client_plugin.rb', line 378 def duration @duration end |
#end_date ⇒ Object
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_latitude ⇒ Object
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_longitude ⇒ Object
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 |
#id ⇒ Object
Auto-generated unique identifier
349 350 351 |
# File 'lib/kaltura_plugins/kaltura_schedule_client_plugin.rb', line 349 def id @id end |
#linked_by ⇒ Object
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_to ⇒ Object
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 |
#location ⇒ Object
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 |
#organizer ⇒ Object
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_id ⇒ Object
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_id ⇒ Object
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_id ⇒ Object
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 |
#priority ⇒ Object
The value for the priority field.
373 374 375 |
# File 'lib/kaltura_plugins/kaltura_schedule_client_plugin.rb', line 373 def priority @priority end |
#recurrence ⇒ Object
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_type ⇒ Object
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_id ⇒ Object
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 |
#sequence ⇒ Object
Defines the revision sequence number.
375 376 377 |
# File 'lib/kaltura_plugins/kaltura_schedule_client_plugin.rb', line 375 def sequence @sequence end |
#start_date ⇒ Object
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 |
#status ⇒ Object
Returns the value of attribute status.
355 356 357 |
# File 'lib/kaltura_plugins/kaltura_schedule_client_plugin.rb', line 355 def status @status end |
#summary ⇒ Object
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 |
#tags ⇒ Object
Returns the value of attribute tags.
383 384 385 |
# File 'lib/kaltura_plugins/kaltura_schedule_client_plugin.rb', line 383 def @tags end |
#updated_at ⇒ Object
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. = 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 |