Class: Kaltura::KalturaSso

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

#application_typeObject

Returns the value of attribute application_type.



40
41
42
# File 'lib/kaltura_plugins/kaltura_sso_client_plugin.rb', line 40

def application_type
  @application_type
end

#created_atObject

Creation date as Unix timestamp (In seconds)



45
46
47
# File 'lib/kaltura_plugins/kaltura_sso_client_plugin.rb', line 45

def created_at
  @created_at
end

#dataObject

Returns the value of attribute data.



50
51
52
# File 'lib/kaltura_plugins/kaltura_sso_client_plugin.rb', line 50

def data
  @data
end

#domainObject

Returns the value of attribute domain.



42
43
44
# File 'lib/kaltura_plugins/kaltura_sso_client_plugin.rb', line 42

def domain
  @domain
end

#idObject

Returns the value of attribute id.



39
40
41
# File 'lib/kaltura_plugins/kaltura_sso_client_plugin.rb', line 39

def id
  @id
end

#partner_idObject

Returns the value of attribute partner_id.



41
42
43
# File 'lib/kaltura_plugins/kaltura_sso_client_plugin.rb', line 41

def partner_id
  @partner_id
end

#redirect_urlObject

Redirect URL for a specific application type and (partner id or domain)



49
50
51
# File 'lib/kaltura_plugins/kaltura_sso_client_plugin.rb', line 49

def redirect_url
  @redirect_url
end

#statusObject

Returns the value of attribute status.



43
44
45
# File 'lib/kaltura_plugins/kaltura_sso_client_plugin.rb', line 43

def status
  @status
end

#updated_atObject

Last update date as Unix timestamp (In seconds)



47
48
49
# File 'lib/kaltura_plugins/kaltura_sso_client_plugin.rb', line 47

def updated_at
  @updated_at
end

Instance Method Details

#from_xml(xml_element) ⇒ Object



68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
# File 'lib/kaltura_plugins/kaltura_sso_client_plugin.rb', line 68

def from_xml(xml_element)
	super
	if xml_element.elements['id'] != nil
		self.id = xml_element.elements['id'].text
	end
	if xml_element.elements['applicationType'] != nil
		self.application_type = xml_element.elements['applicationType'].text
	end
	if xml_element.elements['partnerId'] != nil
		self.partner_id = xml_element.elements['partnerId'].text
	end
	if xml_element.elements['domain'] != nil
		self.domain = xml_element.elements['domain'].text
	end
	if xml_element.elements['status'] != nil
		self.status = xml_element.elements['status'].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['redirectUrl'] != nil
		self.redirect_url = xml_element.elements['redirectUrl'].text
	end
	if xml_element.elements['data'] != nil
		self.data = xml_element.elements['data'].text
	end
end