Class: TencentCloud::Mrs::V20200910::AspectRatio

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, number = nil, relation = nil, src = nil, value = nil) ⇒ AspectRatio

Returns a new instance of AspectRatio.



103
104
105
106
107
108
109
# File 'lib/v20200910/models.rb', line 103

def initialize(index=nil, number=nil, relation=nil, src=nil, value=nil)
  @Index = index
  @Number = number
  @Relation = relation
  @Src = src
  @Value = value
end

Instance Attribute Details

#IndexObject

Parameters:

  • Index:

    原文位置

  • Number:

    数值

  • Relation:

    关系

  • Src:

    原文

  • Value:



101
102
103
# File 'lib/v20200910/models.rb', line 101

def Index
  @Index
end

#NumberObject

Parameters:

  • Index:

    原文位置

  • Number:

    数值

  • Relation:

    关系

  • Src:

    原文

  • Value:



101
102
103
# File 'lib/v20200910/models.rb', line 101

def Number
  @Number
end

#RelationObject

Parameters:

  • Index:

    原文位置

  • Number:

    数值

  • Relation:

    关系

  • Src:

    原文

  • Value:



101
102
103
# File 'lib/v20200910/models.rb', line 101

def Relation
  @Relation
end

#SrcObject

Parameters:

  • Index:

    原文位置

  • Number:

    数值

  • Relation:

    关系

  • Src:

    原文

  • Value:



101
102
103
# File 'lib/v20200910/models.rb', line 101

def Src
  @Src
end

#ValueObject

Parameters:

  • Index:

    原文位置

  • Number:

    数值

  • Relation:

    关系

  • Src:

    原文

  • Value:



101
102
103
# File 'lib/v20200910/models.rb', line 101

def Value
  @Value
end

Instance Method Details

#deserialize(params) ⇒ Object



111
112
113
114
115
116
117
# File 'lib/v20200910/models.rb', line 111

def deserialize(params)
  @Index = params['Index']
  @Number = params['Number']
  @Relation = params['Relation']
  @Src = params['Src']
  @Value = params['Value']
end