Class: TencentCloud::Ocr::V20181119::Value

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

Overview

value信息组

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(autocontent = nil, coord = nil) ⇒ Value

Returns a new instance of Value.



13001
13002
13003
13004
# File 'lib/v20181119/models.rb', line 13001

def initialize(autocontent=nil, coord=nil)
  @AutoContent = autocontent
  @Coord = coord
end

Instance Attribute Details

#AutoContentObject

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

Parameters:

  • AutoContent:

    自动识别的字段内容

  • Coord:

    四点坐标



12999
13000
13001
# File 'lib/v20181119/models.rb', line 12999

def AutoContent
  @AutoContent
end

#CoordObject

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

Parameters:

  • AutoContent:

    自动识别的字段内容

  • Coord:

    四点坐标



12999
13000
13001
# File 'lib/v20181119/models.rb', line 12999

def Coord
  @Coord
end

Instance Method Details

#deserialize(params) ⇒ Object



13006
13007
13008
13009
13010
13011
13012
# File 'lib/v20181119/models.rb', line 13006

def deserialize(params)
  @AutoContent = params['AutoContent']
  unless params['Coord'].nil?
    @Coord = Polygon.new
    @Coord.deserialize(params['Coord'])
  end
end