Class: TencentCloud::Vm::V20210922::ImageResultsResultDetailLocation
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Vm::V20210922::ImageResultsResultDetailLocation
- Defined in:
- lib/v20210922/models.rb
Overview
图片详情位置信息
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(x = nil, y = nil, width = nil, height = nil, rotate = nil) ⇒ ImageResultsResultDetailLocation
constructor
A new instance of ImageResultsResultDetailLocation.
Constructor Details
#initialize(x = nil, y = nil, width = nil, height = nil, rotate = nil) ⇒ ImageResultsResultDetailLocation
Returns a new instance of ImageResultsResultDetailLocation.
918 919 920 921 922 923 924 |
# File 'lib/v20210922/models.rb', line 918 def initialize(x=nil, y=nil, width=nil, height=nil, rotate=nil) @X = x @Y = y @Width = width @Height = height @Rotate = rotate end |
Instance Attribute Details
#Height ⇒ Object
916 917 918 |
# File 'lib/v20210922/models.rb', line 916 def Height @Height end |
#Rotate ⇒ Object
916 917 918 |
# File 'lib/v20210922/models.rb', line 916 def Rotate @Rotate end |
#Width ⇒ Object
916 917 918 |
# File 'lib/v20210922/models.rb', line 916 def Width @Width end |
#X ⇒ Object
916 917 918 |
# File 'lib/v20210922/models.rb', line 916 def X @X end |
#Y ⇒ Object
916 917 918 |
# File 'lib/v20210922/models.rb', line 916 def Y @Y end |
Instance Method Details
#deserialize(params) ⇒ Object
926 927 928 929 930 931 932 |
# File 'lib/v20210922/models.rb', line 926 def deserialize(params) @X = params['X'] @Y = params['Y'] @Width = params['Width'] @Height = params['Height'] @Rotate = params['Rotate'] end |