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.



6126
6127
6128
6129
6130
6131
6132
6133
6134
# File 'lib/v20200910/models.rb', line 6126

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:

    对外输出值



6124
6125
6126
# File 'lib/v20200910/models.rb', line 6124

def Name
  @Name
end

#NormObject

Parameters:

  • Name:

    名称

  • Src:

    原文

  • Norm:

    归一化值

  • Type:

    类型

  • Timestamp:

    时间戳

  • Unit:

    单位

  • Value:

    对外输出值



6124
6125
6126
# File 'lib/v20200910/models.rb', line 6124

def Norm
  @Norm
end

#SrcObject

Parameters:

  • Name:

    名称

  • Src:

    原文

  • Norm:

    归一化值

  • Type:

    类型

  • Timestamp:

    时间戳

  • Unit:

    单位

  • Value:

    对外输出值



6124
6125
6126
# File 'lib/v20200910/models.rb', line 6124

def Src
  @Src
end

#TimestampObject

Parameters:

  • Name:

    名称

  • Src:

    原文

  • Norm:

    归一化值

  • Type:

    类型

  • Timestamp:

    时间戳

  • Unit:

    单位

  • Value:

    对外输出值



6124
6125
6126
# File 'lib/v20200910/models.rb', line 6124

def Timestamp
  @Timestamp
end

#TypeObject

Parameters:

  • Name:

    名称

  • Src:

    原文

  • Norm:

    归一化值

  • Type:

    类型

  • Timestamp:

    时间戳

  • Unit:

    单位

  • Value:

    对外输出值



6124
6125
6126
# File 'lib/v20200910/models.rb', line 6124

def Type
  @Type
end

#UnitObject

Parameters:

  • Name:

    名称

  • Src:

    原文

  • Norm:

    归一化值

  • Type:

    类型

  • Timestamp:

    时间戳

  • Unit:

    单位

  • Value:

    对外输出值



6124
6125
6126
# File 'lib/v20200910/models.rb', line 6124

def Unit
  @Unit
end

#ValueObject

Parameters:

  • Name:

    名称

  • Src:

    原文

  • Norm:

    归一化值

  • Type:

    类型

  • Timestamp:

    时间戳

  • Unit:

    单位

  • Value:

    对外输出值



6124
6125
6126
# File 'lib/v20200910/models.rb', line 6124

def Value
  @Value
end

Instance Method Details

#deserialize(params) ⇒ Object



6136
6137
6138
6139
6140
6141
6142
6143
6144
# File 'lib/v20200910/models.rb', line 6136

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