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.



6133
6134
6135
# File 'lib/kaltura_types.rb', line 6133

def rotate
  @rotate
end

#thumb_asset_idObject

Returns the value of attribute thumb_asset_id.



6131
6132
6133
# File 'lib/kaltura_types.rb', line 6131

def thumb_asset_id
  @thumb_asset_id
end

#thumb_asset_versionObject

Returns the value of attribute thumb_asset_version.



6132
6133
6134
# File 'lib/kaltura_types.rb', line 6132

def thumb_asset_version
  @thumb_asset_version
end

#thumb_params_idObject

Returns the value of attribute thumb_params_id.



6129
6130
6131
# File 'lib/kaltura_types.rb', line 6129

def thumb_params_id
  @thumb_params_id
end

#thumb_params_versionObject

Returns the value of attribute thumb_params_version.



6130
6131
6132
# File 'lib/kaltura_types.rb', line 6130

def thumb_params_version
  @thumb_params_version
end

Instance Method Details

#from_xml(xml_element) ⇒ Object



6142
6143
6144
6145
6146
6147
6148
6149
6150
6151
6152
6153
6154
6155
6156
6157
6158
6159
# File 'lib/kaltura_types.rb', line 6142

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