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



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