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.
-
#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.
304 305 306 |
# File 'lib/kaltura_plugins/kaltura_schedule_client_plugin.rb', line 304 def classification_type @classification_type end |
#comment ⇒ Object
Specifies non-processing information intended to provide a comment to the calendar user.
323 324 325 |
# File 'lib/kaltura_plugins/kaltura_schedule_client_plugin.rb', line 323 def comment @comment end |
#contact ⇒ Object
Used to represent contact information or alternately a reference to contact information.
321 322 323 |
# File 'lib/kaltura_plugins/kaltura_schedule_client_plugin.rb', line 321 def contact @contact end |
#created_at ⇒ Object
Creation date as Unix timestamp (In seconds)
326 327 328 |
# File 'lib/kaltura_plugins/kaltura_schedule_client_plugin.rb', line 326 def created_at @created_at end |
#description ⇒ Object
Returns the value of attribute description.
299 300 301 |
# File 'lib/kaltura_plugins/kaltura_schedule_client_plugin.rb', line 299 def description @description end |
#duration ⇒ Object
Duration in seconds
319 320 321 |
# File 'lib/kaltura_plugins/kaltura_schedule_client_plugin.rb', line 319 def duration @duration end |
#end_date ⇒ Object
Returns the value of attribute end_date.
302 303 304 |
# File 'lib/kaltura_plugins/kaltura_schedule_client_plugin.rb', line 302 def end_date @end_date end |
#geo_latitude ⇒ Object
Specifies the global position for the activity
306 307 308 |
# File 'lib/kaltura_plugins/kaltura_schedule_client_plugin.rb', line 306 def geo_latitude @geo_latitude end |
#geo_longitude ⇒ Object
Specifies the global position for the activity
308 309 310 |
# File 'lib/kaltura_plugins/kaltura_schedule_client_plugin.rb', line 308 def geo_longitude @geo_longitude end |
#id ⇒ Object
Auto-generated unique identifier
294 295 296 |
# File 'lib/kaltura_plugins/kaltura_schedule_client_plugin.rb', line 294 def id @id end |
#location ⇒ Object
Defines the intended venue for the activity
310 311 312 |
# File 'lib/kaltura_plugins/kaltura_schedule_client_plugin.rb', line 310 def location @location end |
#organizer ⇒ Object
Returns the value of attribute organizer.
311 312 313 |
# File 'lib/kaltura_plugins/kaltura_schedule_client_plugin.rb', line 311 def organizer @organizer end |
#owner_id ⇒ Object
Returns the value of attribute owner_id.
312 313 314 |
# File 'lib/kaltura_plugins/kaltura_schedule_client_plugin.rb', line 312 def owner_id @owner_id end |
#parent_id ⇒ Object
Returns the value of attribute parent_id.
296 297 298 |
# File 'lib/kaltura_plugins/kaltura_schedule_client_plugin.rb', line 296 def parent_id @parent_id end |
#partner_id ⇒ Object
Returns the value of attribute partner_id.
295 296 297 |
# File 'lib/kaltura_plugins/kaltura_schedule_client_plugin.rb', line 295 def partner_id @partner_id end |
#priority ⇒ Object
The value for the priority field.
314 315 316 |
# File 'lib/kaltura_plugins/kaltura_schedule_client_plugin.rb', line 314 def priority @priority end |
#recurrence ⇒ Object
Returns the value of attribute recurrence.
329 330 331 |
# File 'lib/kaltura_plugins/kaltura_schedule_client_plugin.rb', line 329 def recurrence @recurrence end |
#recurrence_type ⇒ Object
Returns the value of attribute recurrence_type.
317 318 319 |
# File 'lib/kaltura_plugins/kaltura_schedule_client_plugin.rb', line 317 def recurrence_type @recurrence_type end |
#reference_id ⇒ Object
Returns the value of attribute reference_id.
303 304 305 |
# File 'lib/kaltura_plugins/kaltura_schedule_client_plugin.rb', line 303 def reference_id @reference_id end |
#sequence ⇒ Object
Defines the revision sequence number.
316 317 318 |
# File 'lib/kaltura_plugins/kaltura_schedule_client_plugin.rb', line 316 def sequence @sequence end |
#start_date ⇒ Object
Returns the value of attribute start_date.
301 302 303 |
# File 'lib/kaltura_plugins/kaltura_schedule_client_plugin.rb', line 301 def start_date @start_date end |
#status ⇒ Object
Returns the value of attribute status.
300 301 302 |
# File 'lib/kaltura_plugins/kaltura_schedule_client_plugin.rb', line 300 def status @status end |
#summary ⇒ Object
Defines a short summary or subject for the event
298 299 300 |
# File 'lib/kaltura_plugins/kaltura_schedule_client_plugin.rb', line 298 def summary @summary end |
#tags ⇒ Object
Returns the value of attribute tags.
324 325 326 |
# File 'lib/kaltura_plugins/kaltura_schedule_client_plugin.rb', line 324 def @tags end |
#updated_at ⇒ Object
Last update as Unix timestamp (In seconds)
328 329 330 |
# File 'lib/kaltura_plugins/kaltura_schedule_client_plugin.rb', line 328 def updated_at @updated_at end |
Instance Method Details
#from_xml(xml_element) ⇒ Object
377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 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 |
# File 'lib/kaltura_plugins/kaltura_schedule_client_plugin.rb', line 377 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['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 |