Class: Kaltura::KalturaThumbParamsOutput

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

Instance Attribute Summary collapse

Attributes inherited from KalturaThumbParams

#background_color, #crop_height, #crop_type, #crop_width, #crop_x, #crop_y, #density, #format, #height, #interval, #quality, #scale_height, #scale_width, #source_params_id, #strip_profiles, #video_offset, #video_offset_in_percentage, #width

Attributes inherited from KalturaAssetParams

#created_at, #description, #id, #is_system_default, #media_parser_type, #name, #partner_id, #remote_storage_profile_ids, #required_permissions, #source_asset_params_ids, #source_remote_storage_profile_id, #system_name, #tags

Attributes inherited from KalturaObjectBase

#object_type, #related_objects

Instance Method Summary collapse

Methods inherited from KalturaObjectBase

#camelcase, #to_b, #to_params

Instance Attribute Details

#rotateObject

Returns the value of attribute rotate.



6075
6076
6077
# File 'lib/kaltura_types.rb', line 6075

def rotate
  @rotate
end

#thumb_asset_idObject

Returns the value of attribute thumb_asset_id.



6073
6074
6075
# File 'lib/kaltura_types.rb', line 6073

def thumb_asset_id
  @thumb_asset_id
end

#thumb_asset_versionObject

Returns the value of attribute thumb_asset_version.



6074
6075
6076
# File 'lib/kaltura_types.rb', line 6074

def thumb_asset_version
  @thumb_asset_version
end

#thumb_params_idObject

Returns the value of attribute thumb_params_id.



6071
6072
6073
# File 'lib/kaltura_types.rb', line 6071

def thumb_params_id
  @thumb_params_id
end

#thumb_params_versionObject

Returns the value of attribute thumb_params_version.



6072
6073
6074
# File 'lib/kaltura_types.rb', line 6072

def thumb_params_version
  @thumb_params_version
end

Instance Method Details

#from_xml(xml_element) ⇒ Object



6084
6085
6086
6087
6088
6089
6090
6091
6092
6093
6094
6095
6096
6097
6098
6099
6100
6101
# File 'lib/kaltura_types.rb', line 6084

def from_xml(xml_element)
  super
  if xml_element.elements['thumbParamsId'] != nil
    self.thumb_params_id = xml_element.elements['thumbParamsId'].text
  end
  if xml_element.elements['thumbParamsVersion'] != nil
    self.thumb_params_version = xml_element.elements['thumbParamsVersion'].text
  end
  if xml_element.elements['thumbAssetId'] != nil
    self.thumb_asset_id = xml_element.elements['thumbAssetId'].text
  end
  if xml_element.elements['thumbAssetVersion'] != nil
    self.thumb_asset_version = xml_element.elements['thumbAssetVersion'].text
  end
  if xml_element.elements['rotate'] != nil
    self.rotate = xml_element.elements['rotate'].text
  end
end