Class: TencentCloud::Vm::V20200709::ImageResultsResultDetailLocation

Inherits:
Common::AbstractModel
  • Object
show all
Defined in:
lib/v20200709/models.rb

Overview

图片详情位置信息

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(x = nil, y = nil, width = nil, height = nil, rotate = nil) ⇒ ImageResultsResultDetailLocation

Returns a new instance of ImageResultsResultDetailLocation.



974
975
976
977
978
979
980
# File 'lib/v20200709/models.rb', line 974

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

#HeightObject

注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • X:

    x坐标

  • Y:

    y坐标

  • Width:

    宽度

  • Height:

    高度

  • Rotate:

    旋转角度



972
973
974
# File 'lib/v20200709/models.rb', line 972

def Height
  @Height
end

#RotateObject

注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • X:

    x坐标

  • Y:

    y坐标

  • Width:

    宽度

  • Height:

    高度

  • Rotate:

    旋转角度



972
973
974
# File 'lib/v20200709/models.rb', line 972

def Rotate
  @Rotate
end

#WidthObject

注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • X:

    x坐标

  • Y:

    y坐标

  • Width:

    宽度

  • Height:

    高度

  • Rotate:

    旋转角度



972
973
974
# File 'lib/v20200709/models.rb', line 972

def Width
  @Width
end

#XObject

注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • X:

    x坐标

  • Y:

    y坐标

  • Width:

    宽度

  • Height:

    高度

  • Rotate:

    旋转角度



972
973
974
# File 'lib/v20200709/models.rb', line 972

def X
  @X
end

#YObject

注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • X:

    x坐标

  • Y:

    y坐标

  • Width:

    宽度

  • Height:

    高度

  • Rotate:

    旋转角度



972
973
974
# File 'lib/v20200709/models.rb', line 972

def Y
  @Y
end

Instance Method Details

#deserialize(params) ⇒ Object



982
983
984
985
986
987
988
# File 'lib/v20200709/models.rb', line 982

def deserialize(params)
  @X = params['X']
  @Y = params['Y']
  @Width = params['Width']
  @Height = params['Height']
  @Rotate = params['Rotate']
end