Class: Kaltura::KalturaBusinessProcessServer

Inherits:
KalturaObjectBase show all
Defined in:
lib/kaltura_plugins/kaltura_business_process_notification_client_plugin.rb

Direct Known Subclasses

KalturaActivitiBusinessProcessServer

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

Server creation date as Unix timestamp (In seconds)



125
126
127
# File 'lib/kaltura_plugins/kaltura_business_process_notification_client_plugin.rb', line 125

def created_at
  @created_at
end

#dcObject

The dc of the server



136
137
138
# File 'lib/kaltura_plugins/kaltura_business_process_notification_client_plugin.rb', line 136

def dc
  @dc
end

#descriptionObject

Returns the value of attribute description.



131
132
133
# File 'lib/kaltura_plugins/kaltura_business_process_notification_client_plugin.rb', line 131

def description
  @description
end

#idObject

Auto generated identifier



123
124
125
# File 'lib/kaltura_plugins/kaltura_business_process_notification_client_plugin.rb', line 123

def id
  @id
end

#nameObject

Returns the value of attribute name.



129
130
131
# File 'lib/kaltura_plugins/kaltura_business_process_notification_client_plugin.rb', line 129

def name
  @name
end

#partner_idObject

Returns the value of attribute partner_id.



128
129
130
# File 'lib/kaltura_plugins/kaltura_business_process_notification_client_plugin.rb', line 128

def partner_id
  @partner_id
end

#statusObject

Returns the value of attribute status.



132
133
134
# File 'lib/kaltura_plugins/kaltura_business_process_notification_client_plugin.rb', line 132

def status
  @status
end

#system_nameObject

Returns the value of attribute system_name.



130
131
132
# File 'lib/kaltura_plugins/kaltura_business_process_notification_client_plugin.rb', line 130

def system_name
  @system_name
end

#typeObject

The type of the server, this is auto filled by the derived server object



134
135
136
# File 'lib/kaltura_plugins/kaltura_business_process_notification_client_plugin.rb', line 134

def type
  @type
end

#updated_atObject

Server update date as Unix timestamp (In seconds)



127
128
129
# File 'lib/kaltura_plugins/kaltura_business_process_notification_client_plugin.rb', line 127

def updated_at
  @updated_at
end

Instance Method Details

#from_xml(xml_element) ⇒ Object



154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
# File 'lib/kaltura_plugins/kaltura_business_process_notification_client_plugin.rb', line 154

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['partnerId'] != nil
		self.partner_id = xml_element.elements['partnerId'].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['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['type'] != nil
		self.type = xml_element.elements['type'].text
	end
	if xml_element.elements['dc'] != nil
		self.dc = xml_element.elements['dc'].text
	end
end