Class: TencentCloud::Ess::V20201111::PositionInfo
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Ess::V20201111::PositionInfo
- Defined in:
- lib/v20201111/models.rb
Overview
坐标详情
Instance Attribute Summary collapse
- #Begin ⇒ Object
- #DocType ⇒ Object
- #End ⇒ Object
- #Height ⇒ Object
- #Id ⇒ Object
- #PageIndex ⇒ Object
- #Width ⇒ Object
- #X ⇒ Object
- #Y ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(x = nil, y = nil, width = nil, height = nil, pageindex = nil, id = nil, _begin = nil, _end = nil, doctype = nil) ⇒ PositionInfo
constructor
A new instance of PositionInfo.
Constructor Details
#initialize(x = nil, y = nil, width = nil, height = nil, pageindex = nil, id = nil, _begin = nil, _end = nil, doctype = nil) ⇒ PositionInfo
Returns a new instance of PositionInfo.
16348 16349 16350 16351 16352 16353 16354 16355 16356 16357 16358 |
# File 'lib/v20201111/models.rb', line 16348 def initialize(x=nil, y=nil, width=nil, height=nil, pageindex=nil, id=nil, _begin=nil, _end=nil, doctype=nil) @X = x @Y = y @Width = width @Height = height @PageIndex = pageindex @Id = id @Begin = _begin @End = _end @DocType = doctype end |
Instance Attribute Details
#Begin ⇒ Object
16346 16347 16348 |
# File 'lib/v20201111/models.rb', line 16346 def Begin @Begin end |
#DocType ⇒ Object
16346 16347 16348 |
# File 'lib/v20201111/models.rb', line 16346 def DocType @DocType end |
#End ⇒ Object
16346 16347 16348 |
# File 'lib/v20201111/models.rb', line 16346 def End @End end |
#Height ⇒ Object
16346 16347 16348 |
# File 'lib/v20201111/models.rb', line 16346 def Height @Height end |
#Id ⇒ Object
16346 16347 16348 |
# File 'lib/v20201111/models.rb', line 16346 def Id @Id end |
#PageIndex ⇒ Object
16346 16347 16348 |
# File 'lib/v20201111/models.rb', line 16346 def PageIndex @PageIndex end |
#Width ⇒ Object
16346 16347 16348 |
# File 'lib/v20201111/models.rb', line 16346 def Width @Width end |
#X ⇒ Object
16346 16347 16348 |
# File 'lib/v20201111/models.rb', line 16346 def X @X end |
#Y ⇒ Object
16346 16347 16348 |
# File 'lib/v20201111/models.rb', line 16346 def Y @Y end |
Instance Method Details
#deserialize(params) ⇒ Object
16360 16361 16362 16363 16364 16365 16366 16367 16368 16369 16370 |
# File 'lib/v20201111/models.rb', line 16360 def deserialize(params) @X = params['X'] @Y = params['Y'] @Width = params['Width'] @Height = params['Height'] @PageIndex = params['PageIndex'] @Id = params['Id'] @Begin = params['Begin'] @End = params['End'] @DocType = params['DocType'] end |