Class: Kaltura::KalturaShortLink
- Inherits:
-
KalturaObjectBase
- Object
- KalturaObjectBase
- Kaltura::KalturaShortLink
- Defined in:
- lib/kaltura_plugins/kaltura_short_link_client_plugin.rb
Instance Attribute Summary collapse
-
#created_at ⇒ Object
Returns the value of attribute created_at.
-
#expires_at ⇒ Object
Returns the value of attribute expires_at.
-
#full_url ⇒ Object
Returns the value of attribute full_url.
-
#id ⇒ Object
Returns the value of attribute id.
-
#name ⇒ Object
Returns the value of attribute name.
-
#partner_id ⇒ Object
Returns the value of attribute partner_id.
-
#status ⇒ Object
Returns the value of attribute status.
-
#system_name ⇒ Object
Returns the value of attribute system_name.
-
#updated_at ⇒ Object
Returns the value of attribute updated_at.
-
#user_id ⇒ Object
Returns the value of attribute user_id.
Attributes inherited from KalturaObjectBase
#object_type, #related_objects
Instance Method Summary collapse
Methods inherited from KalturaObjectBase
Instance Attribute Details
#created_at ⇒ Object
Returns the value of attribute created_at.
49 50 51 |
# File 'lib/kaltura_plugins/kaltura_short_link_client_plugin.rb', line 49 def created_at @created_at end |
#expires_at ⇒ Object
Returns the value of attribute expires_at.
51 52 53 |
# File 'lib/kaltura_plugins/kaltura_short_link_client_plugin.rb', line 51 def expires_at @expires_at end |
#full_url ⇒ Object
Returns the value of attribute full_url.
56 57 58 |
# File 'lib/kaltura_plugins/kaltura_short_link_client_plugin.rb', line 56 def full_url @full_url end |
#id ⇒ Object
Returns the value of attribute id.
48 49 50 |
# File 'lib/kaltura_plugins/kaltura_short_link_client_plugin.rb', line 48 def id @id end |
#name ⇒ Object
Returns the value of attribute name.
54 55 56 |
# File 'lib/kaltura_plugins/kaltura_short_link_client_plugin.rb', line 54 def name @name end |
#partner_id ⇒ Object
Returns the value of attribute partner_id.
52 53 54 |
# File 'lib/kaltura_plugins/kaltura_short_link_client_plugin.rb', line 52 def partner_id @partner_id end |
#status ⇒ Object
Returns the value of attribute status.
57 58 59 |
# File 'lib/kaltura_plugins/kaltura_short_link_client_plugin.rb', line 57 def status @status end |
#system_name ⇒ Object
Returns the value of attribute system_name.
55 56 57 |
# File 'lib/kaltura_plugins/kaltura_short_link_client_plugin.rb', line 55 def system_name @system_name end |
#updated_at ⇒ Object
Returns the value of attribute updated_at.
50 51 52 |
# File 'lib/kaltura_plugins/kaltura_short_link_client_plugin.rb', line 50 def updated_at @updated_at end |
#user_id ⇒ Object
Returns the value of attribute user_id.
53 54 55 |
# File 'lib/kaltura_plugins/kaltura_short_link_client_plugin.rb', line 53 def user_id @user_id end |
Instance Method Details
#from_xml(xml_element) ⇒ Object
75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 |
# File 'lib/kaltura_plugins/kaltura_short_link_client_plugin.rb', line 75 def from_xml(xml_element) super if xml_element.elements['id'] != nil self.id = xml_element.elements['id'].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['expiresAt'] != nil self.expires_at = xml_element.elements['expiresAt'].text end if xml_element.elements['partnerId'] != nil self.partner_id = xml_element.elements['partnerId'].text end if xml_element.elements['userId'] != nil self.user_id = xml_element.elements['userId'].text end if xml_element.elements['name'] != nil self.name = xml_element.elements['name'].text end if xml_element.elements['systemName'] != nil self.system_name = xml_element.elements['systemName'].text end if xml_element.elements['fullUrl'] != nil self.full_url = xml_element.elements['fullUrl'].text end if xml_element.elements['status'] != nil self.status = xml_element.elements['status'].text end end |