Class: TencentCloud::Ocr::V20181119::QrcodeImgSize
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Ocr::V20181119::QrcodeImgSize
- Defined in:
- lib/v20181119/models.rb
Overview
图片大小
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(wide = nil, high = nil) ⇒ QrcodeImgSize
constructor
A new instance of QrcodeImgSize.
Constructor Details
#initialize(wide = nil, high = nil) ⇒ QrcodeImgSize
Returns a new instance of QrcodeImgSize.
7137 7138 7139 7140 |
# File 'lib/v20181119/models.rb', line 7137 def initialize(wide=nil, high=nil) @Wide = wide @High = high end |
Instance Attribute Details
#High ⇒ Object
7135 7136 7137 |
# File 'lib/v20181119/models.rb', line 7135 def High @High end |
#Wide ⇒ Object
7135 7136 7137 |
# File 'lib/v20181119/models.rb', line 7135 def Wide @Wide end |
Instance Method Details
#deserialize(params) ⇒ Object
7142 7143 7144 7145 |
# File 'lib/v20181119/models.rb', line 7142 def deserialize(params) @Wide = params['Wide'] @High = params['High'] end |