Class: Kaltura::KalturaSystemPartnerLimit

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

Direct Known Subclasses

KalturaSystemPartnerOveragedLimit

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

#maxObject

Returns the value of attribute max.



51
52
53
# File 'lib/kaltura_plugins/kaltura_system_partner_client_plugin.rb', line 51

def max
  @max
end

#typeObject

Returns the value of attribute type.



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

def type
  @type
end

Instance Method Details

#from_xml(xml_element) ⇒ Object



57
58
59
60
61
# File 'lib/kaltura_plugins/kaltura_system_partner_client_plugin.rb', line 57

def from_xml(xml_element)
  super
  self.type = xml_element.elements['type'].text
  self.max = xml_element.elements['max'].text
end