Class: TencentCloud::Mrs::V20200910::LastMenstrualPeriodBlock

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

Overview

末次月经

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(name = nil, src = nil, norm = nil, type = nil, timestamp = nil, unit = nil, value = nil) ⇒ LastMenstrualPeriodBlock

Returns a new instance of LastMenstrualPeriodBlock.



6153
6154
6155
6156
6157
6158
6159
6160
6161
# File 'lib/v20200910/models.rb', line 6153

def initialize(name=nil, src=nil, norm=nil, type=nil, timestamp=nil, unit=nil, value=nil)
  @Name = name
  @Src = src
  @Norm = norm
  @Type = type
  @Timestamp = timestamp
  @Unit = unit
  @Value = value
end

Instance Attribute Details

#NameObject

Parameters:

  • Name:

    名称

  • Src:

    原文

  • Norm:

    归一化值

  • Type:

    类型

  • Timestamp:

    时间戳

  • Unit:

    单位

  • Value:

    对外输出值



6151
6152
6153
# File 'lib/v20200910/models.rb', line 6151

def Name
  @Name
end

#NormObject

Parameters:

  • Name:

    名称

  • Src:

    原文

  • Norm:

    归一化值

  • Type:

    类型

  • Timestamp:

    时间戳

  • Unit:

    单位

  • Value:

    对外输出值



6151
6152
6153
# File 'lib/v20200910/models.rb', line 6151

def Norm
  @Norm
end

#SrcObject

Parameters:

  • Name:

    名称

  • Src:

    原文

  • Norm:

    归一化值

  • Type:

    类型

  • Timestamp:

    时间戳

  • Unit:

    单位

  • Value:

    对外输出值



6151
6152
6153
# File 'lib/v20200910/models.rb', line 6151

def Src
  @Src
end

#TimestampObject

Parameters:

  • Name:

    名称

  • Src:

    原文

  • Norm:

    归一化值

  • Type:

    类型

  • Timestamp:

    时间戳

  • Unit:

    单位

  • Value:

    对外输出值



6151
6152
6153
# File 'lib/v20200910/models.rb', line 6151

def Timestamp
  @Timestamp
end

#TypeObject

Parameters:

  • Name:

    名称

  • Src:

    原文

  • Norm:

    归一化值

  • Type:

    类型

  • Timestamp:

    时间戳

  • Unit:

    单位

  • Value:

    对外输出值



6151
6152
6153
# File 'lib/v20200910/models.rb', line 6151

def Type
  @Type
end

#UnitObject

Parameters:

  • Name:

    名称

  • Src:

    原文

  • Norm:

    归一化值

  • Type:

    类型

  • Timestamp:

    时间戳

  • Unit:

    单位

  • Value:

    对外输出值



6151
6152
6153
# File 'lib/v20200910/models.rb', line 6151

def Unit
  @Unit
end

#ValueObject

Parameters:

  • Name:

    名称

  • Src:

    原文

  • Norm:

    归一化值

  • Type:

    类型

  • Timestamp:

    时间戳

  • Unit:

    单位

  • Value:

    对外输出值



6151
6152
6153
# File 'lib/v20200910/models.rb', line 6151

def Value
  @Value
end

Instance Method Details

#deserialize(params) ⇒ Object



6163
6164
6165
6166
6167
6168
6169
6170
6171
# File 'lib/v20200910/models.rb', line 6163

def deserialize(params)
  @Name = params['Name']
  @Src = params['Src']
  @Norm = params['Norm']
  @Type = params['Type']
  @Timestamp = params['Timestamp']
  @Unit = params['Unit']
  @Value = params['Value']
end