Class: TencentCloud::Ocr::V20181119::GroupInfo

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

Overview

组在图中的序号

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(groups = nil) ⇒ GroupInfo

Returns a new instance of GroupInfo.



3983
3984
3985
# File 'lib/v20181119/models.rb', line 3983

def initialize(groups=nil)
  @Groups = groups
end

Instance Attribute Details

#GroupsObject

Parameters:

  • Groups:

    每一行的元素



3981
3982
3983
# File 'lib/v20181119/models.rb', line 3981

def Groups
  @Groups
end

Instance Method Details

#deserialize(params) ⇒ Object



3987
3988
3989
3990
3991
3992
3993
3994
3995
3996
# File 'lib/v20181119/models.rb', line 3987

def deserialize(params)
  unless params['Groups'].nil?
    @Groups = []
    params['Groups'].each do |i|
      lineinfo_tmp = LineInfo.new
      lineinfo_tmp.deserialize(i)
      @Groups << lineinfo_tmp
    end
  end
end