Class: Kaltura::KalturaApiParameterPermissionItem

Inherits:
KalturaPermissionItem show all
Defined in:
lib/kaltura_types.rb

Instance Attribute Summary collapse

Attributes inherited from KalturaPermissionItem

#created_at, #id, #partner_id, #tags, #type, #updated_at

Attributes inherited from KalturaObjectBase

#object_type, #related_objects

Instance Method Summary collapse

Methods inherited from KalturaObjectBase

#camelcase, #to_b, #to_params

Instance Attribute Details

#actionObject

Returns the value of attribute action.



11022
11023
11024
# File 'lib/kaltura_types.rb', line 11022

def action
  @action
end

#objectObject

Returns the value of attribute object.



11020
11021
11022
# File 'lib/kaltura_types.rb', line 11020

def object
  @object
end

#parameterObject

Returns the value of attribute parameter.



11021
11022
11023
# File 'lib/kaltura_types.rb', line 11021

def parameter
  @parameter
end

Instance Method Details

#from_xml(xml_element) ⇒ Object



11025
11026
11027
11028
11029
11030
11031
11032
11033
11034
11035
11036
# File 'lib/kaltura_types.rb', line 11025

def from_xml(xml_element)
  super
  if xml_element.elements['object'] != nil
    self.object = xml_element.elements['object'].text
  end
  if xml_element.elements['parameter'] != nil
    self.parameter = xml_element.elements['parameter'].text
  end
  if xml_element.elements['action'] != nil
    self.action = xml_element.elements['action'].text
  end
end