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.



6285
6286
6287
# File 'lib/kaltura_types.rb', line 6285

def rotate
  @rotate
end

#thumb_asset_idObject

Returns the value of attribute thumb_asset_id.



6283
6284
6285
# File 'lib/kaltura_types.rb', line 6283

def thumb_asset_id
  @thumb_asset_id
end

#thumb_asset_versionObject

Returns the value of attribute thumb_asset_version.



6284
6285
6286
# File 'lib/kaltura_types.rb', line 6284

def thumb_asset_version
  @thumb_asset_version
end

#thumb_params_idObject

Returns the value of attribute thumb_params_id.



6281
6282
6283
# File 'lib/kaltura_types.rb', line 6281

def thumb_params_id
  @thumb_params_id
end

#thumb_params_versionObject

Returns the value of attribute thumb_params_version.



6282
6283
6284
# File 'lib/kaltura_types.rb', line 6282

def thumb_params_version
  @thumb_params_version
end

Instance Method Details

#from_xml(xml_element) ⇒ Object



6294
6295
6296
6297
6298
6299
6300
6301
6302
6303
6304
6305
6306
6307
6308
6309
6310
6311
# File 'lib/kaltura_types.rb', line 6294

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