Class: Kaltura::KalturaShortLink

Inherits:
KalturaObjectBase show all
Defined in:
lib/kaltura_plugins/kaltura_short_link_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

#created_atObject

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_atObject

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_urlObject

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

#idObject

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

#nameObject

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_idObject

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

#statusObject

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_nameObject

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_atObject

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_idObject

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



78
79
80
81
82
83
84
85
86
87
88
89
90
# File 'lib/kaltura_plugins/kaltura_short_link_client_plugin.rb', line 78

def from_xml(xml_element)
  super
  self.id = xml_element.elements['id'].text
  self.created_at = xml_element.elements['createdAt'].text
  self.updated_at = xml_element.elements['updatedAt'].text
  self.expires_at = xml_element.elements['expiresAt'].text
  self.partner_id = xml_element.elements['partnerId'].text
  self.user_id = xml_element.elements['userId'].text
  self.name = xml_element.elements['name'].text
  self.system_name = xml_element.elements['systemName'].text
  self.full_url = xml_element.elements['fullUrl'].text
  self.status = xml_element.elements['status'].text
end