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.
336 337 338 |
# File 'lib/kaltura_plugins/kaltura_schedule_client_plugin.rb', line 336 def classification_type @classification_type end |
#comment ⇒ Object
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 |
#contact ⇒ Object
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_at ⇒ Object
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 |
#description ⇒ Object
Returns the value of attribute description.
327 328 329 |
# File 'lib/kaltura_plugins/kaltura_schedule_client_plugin.rb', line 327 def description @description end |
#duration ⇒ Object
Duration in seconds
351 352 353 |
# File 'lib/kaltura_plugins/kaltura_schedule_client_plugin.rb', line 351 def duration @duration end |
#end_date ⇒ Object
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_latitude ⇒ Object
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_longitude ⇒ Object
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 |
#id ⇒ Object
Auto-generated unique identifier
322 323 324 |
# File 'lib/kaltura_plugins/kaltura_schedule_client_plugin.rb', line 322 def id @id end |
#linked_by ⇒ Object
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_to ⇒ Object
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 |
#location ⇒ Object
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 |
#organizer ⇒ Object
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_id ⇒ Object
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_id ⇒ Object
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_id ⇒ Object
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 |
#priority ⇒ Object
The value for the priority field.
346 347 348 |
# File 'lib/kaltura_plugins/kaltura_schedule_client_plugin.rb', line 346 def priority @priority end |
#recurrence ⇒ Object
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_type ⇒ Object
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_id ⇒ Object
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 |
#sequence ⇒ Object
Defines the revision sequence number.
348 349 350 |
# File 'lib/kaltura_plugins/kaltura_schedule_client_plugin.rb', line 348 def sequence @sequence end |
#start_date ⇒ Object
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 |
#status ⇒ Object
Returns the value of attribute status.
328 329 330 |
# File 'lib/kaltura_plugins/kaltura_schedule_client_plugin.rb', line 328 def status @status end |
#summary ⇒ Object
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 |
#tags ⇒ Object
Returns the value of attribute tags.
356 357 358 |
# File 'lib/kaltura_plugins/kaltura_schedule_client_plugin.rb', line 356 def end |
#updated_at ⇒ Object
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. = 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 |