Class: TencentCloud::Tiia::V20190529::CropImageResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Tiia::V20190529::CropImageResponse
- Defined in:
- lib/v20190529/models.rb
Overview
CropImage返回参数结构体
Instance Attribute Summary collapse
-
#CropResult ⇒ Object
以上是辅助决策的参考建议,可以根据业务需求选择采纳或忽视。.
-
#Height ⇒ Object
以上是辅助决策的参考建议,可以根据业务需求选择采纳或忽视。.
-
#OriginalHeight ⇒ Object
以上是辅助决策的参考建议,可以根据业务需求选择采纳或忽视。.
-
#OriginalWidth ⇒ Object
以上是辅助决策的参考建议,可以根据业务需求选择采纳或忽视。.
-
#RequestId ⇒ Object
以上是辅助决策的参考建议,可以根据业务需求选择采纳或忽视。.
-
#Width ⇒ Object
以上是辅助决策的参考建议,可以根据业务需求选择采纳或忽视。.
-
#X ⇒ Object
以上是辅助决策的参考建议,可以根据业务需求选择采纳或忽视。.
-
#Y ⇒ Object
以上是辅助决策的参考建议,可以根据业务需求选择采纳或忽视。.
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(x = nil, y = nil, width = nil, height = nil, originalwidth = nil, originalheight = nil, cropresult = nil, requestid = nil) ⇒ CropImageResponse
constructor
A new instance of CropImageResponse.
Constructor Details
#initialize(x = nil, y = nil, width = nil, height = nil, originalwidth = nil, originalheight = nil, cropresult = nil, requestid = nil) ⇒ CropImageResponse
Returns a new instance of CropImageResponse.
607 608 609 610 611 612 613 614 615 616 |
# File 'lib/v20190529/models.rb', line 607 def initialize(x=nil, y=nil, width=nil, height=nil, originalwidth=nil, originalheight=nil, cropresult=nil, requestid=nil) @X = x @Y = y @Width = width @Height = height @OriginalWidth = originalwidth @OriginalHeight = originalheight @CropResult = cropresult @RequestId = requestid end |
Instance Attribute Details
#CropResult ⇒ Object
以上是辅助决策的参考建议,可以根据业务需求选择采纳或忽视。
605 606 607 |
# File 'lib/v20190529/models.rb', line 605 def CropResult @CropResult end |
#Height ⇒ Object
以上是辅助决策的参考建议,可以根据业务需求选择采纳或忽视。
605 606 607 |
# File 'lib/v20190529/models.rb', line 605 def Height @Height end |
#OriginalHeight ⇒ Object
以上是辅助决策的参考建议,可以根据业务需求选择采纳或忽视。
605 606 607 |
# File 'lib/v20190529/models.rb', line 605 def OriginalHeight @OriginalHeight end |
#OriginalWidth ⇒ Object
以上是辅助决策的参考建议,可以根据业务需求选择采纳或忽视。
605 606 607 |
# File 'lib/v20190529/models.rb', line 605 def OriginalWidth @OriginalWidth end |
#RequestId ⇒ Object
以上是辅助决策的参考建议,可以根据业务需求选择采纳或忽视。
605 606 607 |
# File 'lib/v20190529/models.rb', line 605 def RequestId @RequestId end |
#Width ⇒ Object
以上是辅助决策的参考建议,可以根据业务需求选择采纳或忽视。
605 606 607 |
# File 'lib/v20190529/models.rb', line 605 def Width @Width end |
#X ⇒ Object
以上是辅助决策的参考建议,可以根据业务需求选择采纳或忽视。
605 606 607 |
# File 'lib/v20190529/models.rb', line 605 def X @X end |
#Y ⇒ Object
以上是辅助决策的参考建议,可以根据业务需求选择采纳或忽视。
605 606 607 |
# File 'lib/v20190529/models.rb', line 605 def Y @Y end |
Instance Method Details
#deserialize(params) ⇒ Object
618 619 620 621 622 623 624 625 626 627 |
# File 'lib/v20190529/models.rb', line 618 def deserialize(params) @X = params['X'] @Y = params['Y'] @Width = params['Width'] @Height = params['Height'] @OriginalWidth = params['OriginalWidth'] @OriginalHeight = params['OriginalHeight'] @CropResult = params['CropResult'] @RequestId = params['RequestId'] end |