Class: TencentCloud::Live::V20180801::CommonMixCropParams
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Live::V20180801::CommonMixCropParams
- Defined in:
- lib/v20180801/models.rb
Overview
通用混流输入裁剪参数。
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(cropwidth = nil, cropheight = nil, cropstartlocationx = nil, cropstartlocationy = nil) ⇒ CommonMixCropParams
constructor
A new instance of CommonMixCropParams.
Constructor Details
#initialize(cropwidth = nil, cropheight = nil, cropstartlocationx = nil, cropstartlocationy = nil) ⇒ CommonMixCropParams
Returns a new instance of CommonMixCropParams.
1834 1835 1836 1837 1838 1839 |
# File 'lib/v20180801/models.rb', line 1834 def initialize(cropwidth=nil, cropheight=nil, cropstartlocationx=nil, cropstartlocationy=nil) @CropWidth = cropwidth @CropHeight = cropheight @CropStartLocationX = cropstartlocationx @CropStartLocationY = cropstartlocationy end |
Instance Attribute Details
#CropHeight ⇒ Object
1832 1833 1834 |
# File 'lib/v20180801/models.rb', line 1832 def CropHeight @CropHeight end |
#CropStartLocationX ⇒ Object
1832 1833 1834 |
# File 'lib/v20180801/models.rb', line 1832 def CropStartLocationX @CropStartLocationX end |
#CropStartLocationY ⇒ Object
1832 1833 1834 |
# File 'lib/v20180801/models.rb', line 1832 def CropStartLocationY @CropStartLocationY end |
#CropWidth ⇒ Object
1832 1833 1834 |
# File 'lib/v20180801/models.rb', line 1832 def CropWidth @CropWidth end |
Instance Method Details
#deserialize(params) ⇒ Object
1841 1842 1843 1844 1845 1846 |
# File 'lib/v20180801/models.rb', line 1841 def deserialize(params) @CropWidth = params['CropWidth'] @CropHeight = params['CropHeight'] @CropStartLocationX = params['CropStartLocationX'] @CropStartLocationY = params['CropStartLocationY'] end |