Class: TencentCloud::Mrs::V20200910::Size

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

Overview

大小

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(index = nil, normsize = nil, src = nil, value = nil, name = nil) ⇒ Size

Returns a new instance of Size.



9326
9327
9328
9329
9330
9331
9332
# File 'lib/v20200910/models.rb', line 9326

def initialize(index=nil, normsize=nil, src=nil, value=nil, name=nil)
  @Index = index
  @NormSize = normsize
  @Src = src
  @Value = value
  @Name = name
end

Instance Attribute Details

#IndexObject

Parameters:

  • Index:

    原文位置

  • NormSize:

    标准大小

  • Src:

    原文

  • Value:

  • Name:

    名称



9324
9325
9326
# File 'lib/v20200910/models.rb', line 9324

def Index
  @Index
end

#NameObject

Parameters:

  • Index:

    原文位置

  • NormSize:

    标准大小

  • Src:

    原文

  • Value:

  • Name:

    名称



9324
9325
9326
# File 'lib/v20200910/models.rb', line 9324

def Name
  @Name
end

#NormSizeObject

Parameters:

  • Index:

    原文位置

  • NormSize:

    标准大小

  • Src:

    原文

  • Value:

  • Name:

    名称



9324
9325
9326
# File 'lib/v20200910/models.rb', line 9324

def NormSize
  @NormSize
end

#SrcObject

Parameters:

  • Index:

    原文位置

  • NormSize:

    标准大小

  • Src:

    原文

  • Value:

  • Name:

    名称



9324
9325
9326
# File 'lib/v20200910/models.rb', line 9324

def Src
  @Src
end

#ValueObject

Parameters:

  • Index:

    原文位置

  • NormSize:

    标准大小

  • Src:

    原文

  • Value:

  • Name:

    名称



9324
9325
9326
# File 'lib/v20200910/models.rb', line 9324

def Value
  @Value
end

Instance Method Details

#deserialize(params) ⇒ Object



9334
9335
9336
9337
9338
9339
9340
9341
9342
9343
# File 'lib/v20200910/models.rb', line 9334

def deserialize(params)
  @Index = params['Index']
  unless params['NormSize'].nil?
    @NormSize = NormSize.new
    @NormSize.deserialize(params['NormSize'])
  end
  @Src = params['Src']
  @Value = params['Value']
  @Name = params['Name']
end