Class: TencentCloud::Cme::V20191029::ImageMaterial
- Inherits:
-
TencentCloud::Common::AbstractModel
- Object
- TencentCloud::Common::AbstractModel
- TencentCloud::Cme::V20191029::ImageMaterial
- Defined in:
- lib/v20191029/models.rb
Overview
图片素材信息
Instance Attribute Summary collapse
- #Height ⇒ Object
- #MaterialUrl ⇒ Object
- #OriginalUrl ⇒ Object
- #Size ⇒ Object
- #VodFileId ⇒ Object
- #Width ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(height = nil, width = nil, materialurl = nil, size = nil, originalurl = nil, vodfileid = nil) ⇒ ImageMaterial
constructor
A new instance of ImageMaterial.
Constructor Details
#initialize(height = nil, width = nil, materialurl = nil, size = nil, originalurl = nil, vodfileid = nil) ⇒ ImageMaterial
Returns a new instance of ImageMaterial.
3040 3041 3042 3043 3044 3045 3046 3047 |
# File 'lib/v20191029/models.rb', line 3040 def initialize(height=nil, width=nil, materialurl=nil, size=nil, originalurl=nil, vodfileid=nil) @Height = height @Width = width @MaterialUrl = materialurl @Size = size @OriginalUrl = originalurl @VodFileId = vodfileid end |
Instance Attribute Details
#Height ⇒ Object
3038 3039 3040 |
# File 'lib/v20191029/models.rb', line 3038 def Height @Height end |
#MaterialUrl ⇒ Object
3038 3039 3040 |
# File 'lib/v20191029/models.rb', line 3038 def MaterialUrl @MaterialUrl end |
#OriginalUrl ⇒ Object
3038 3039 3040 |
# File 'lib/v20191029/models.rb', line 3038 def OriginalUrl @OriginalUrl end |
#Size ⇒ Object
3038 3039 3040 |
# File 'lib/v20191029/models.rb', line 3038 def Size @Size end |
#VodFileId ⇒ Object
3038 3039 3040 |
# File 'lib/v20191029/models.rb', line 3038 def VodFileId @VodFileId end |
#Width ⇒ Object
3038 3039 3040 |
# File 'lib/v20191029/models.rb', line 3038 def Width @Width end |
Instance Method Details
#deserialize(params) ⇒ Object
3049 3050 3051 3052 3053 3054 3055 3056 |
# File 'lib/v20191029/models.rb', line 3049 def deserialize(params) @Height = params['Height'] @Width = params['Width'] @MaterialUrl = params['MaterialUrl'] @Size = params['Size'] @OriginalUrl = params['OriginalUrl'] @VodFileId = params['VodFileId'] end |