Class: TencentCloud::Lcic::V20220817::ImageInfo
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Lcic::V20220817::ImageInfo
- Defined in:
- lib/v20220817/models.rb
Overview
单张图片信息
Instance Attribute Summary collapse
-
#Height ⇒ Object
1-原图 2-大图 3-缩略图.
-
#Size ⇒ Object
1-原图 2-大图 3-缩略图.
-
#Type ⇒ Object
1-原图 2-大图 3-缩略图.
-
#URL ⇒ Object
1-原图 2-大图 3-缩略图.
-
#Width ⇒ Object
1-原图 2-大图 3-缩略图.
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(type = nil, size = nil, width = nil, height = nil, url = nil) ⇒ ImageInfo
constructor
A new instance of ImageInfo.
Constructor Details
#initialize(type = nil, size = nil, width = nil, height = nil, url = nil) ⇒ ImageInfo
Returns a new instance of ImageInfo.
3625 3626 3627 3628 3629 3630 3631 |
# File 'lib/v20220817/models.rb', line 3625 def initialize(type=nil, size=nil, width=nil, height=nil, url=nil) @Type = type @Size = size @Width = width @Height = height @URL = url end |
Instance Attribute Details
#Height ⇒ Object
1-原图2-大图3-缩略图
3623 3624 3625 |
# File 'lib/v20220817/models.rb', line 3623 def Height @Height end |
#Size ⇒ Object
1-原图2-大图3-缩略图
3623 3624 3625 |
# File 'lib/v20220817/models.rb', line 3623 def Size @Size end |
#Type ⇒ Object
1-原图2-大图3-缩略图
3623 3624 3625 |
# File 'lib/v20220817/models.rb', line 3623 def Type @Type end |
#URL ⇒ Object
1-原图2-大图3-缩略图
3623 3624 3625 |
# File 'lib/v20220817/models.rb', line 3623 def URL @URL end |
#Width ⇒ Object
1-原图2-大图3-缩略图
3623 3624 3625 |
# File 'lib/v20220817/models.rb', line 3623 def Width @Width end |
Instance Method Details
#deserialize(params) ⇒ Object
3633 3634 3635 3636 3637 3638 3639 |
# File 'lib/v20220817/models.rb', line 3633 def deserialize(params) @Type = params['Type'] @Size = params['Size'] @Width = params['Width'] @Height = params['Height'] @URL = params['URL'] end |