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.



6352
6353
6354
# File 'lib/kaltura_types.rb', line 6352

def rotate
  @rotate
end

#thumb_asset_idObject

Returns the value of attribute thumb_asset_id.



6350
6351
6352
# File 'lib/kaltura_types.rb', line 6350

def thumb_asset_id
  @thumb_asset_id
end

#thumb_asset_versionObject

Returns the value of attribute thumb_asset_version.



6351
6352
6353
# File 'lib/kaltura_types.rb', line 6351

def thumb_asset_version
  @thumb_asset_version
end

#thumb_params_idObject

Returns the value of attribute thumb_params_id.



6348
6349
6350
# File 'lib/kaltura_types.rb', line 6348

def thumb_params_id
  @thumb_params_id
end

#thumb_params_versionObject

Returns the value of attribute thumb_params_version.



6349
6350
6351
# File 'lib/kaltura_types.rb', line 6349

def thumb_params_version
  @thumb_params_version
end

Instance Method Details

#from_xml(xml_element) ⇒ Object



6361
6362
6363
6364
6365
6366
6367
6368
6369
6370
6371
6372
6373
6374
6375
6376
6377
6378
# File 'lib/kaltura_types.rb', line 6361

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