Class: TencentCloud::Mrs::V20200910::ChestCircumferenceItem
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Mrs::V20200910::ChestCircumferenceItem
- Defined in:
- lib/v20200910/models.rb
Overview
体检报告-胸围信息
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(name = nil, item = nil, result = nil, unit = nil, state = nil) ⇒ ChestCircumferenceItem
constructor
A new instance of ChestCircumferenceItem.
Constructor Details
#initialize(name = nil, item = nil, result = nil, unit = nil, state = nil) ⇒ ChestCircumferenceItem
Returns a new instance of ChestCircumferenceItem.
1962 1963 1964 1965 1966 1967 1968 |
# File 'lib/v20200910/models.rb', line 1962 def initialize(name=nil, item=nil, result=nil, unit=nil, state=nil) @Name = name @Item = item @Result = result @Unit = unit @State = state end |
Instance Attribute Details
#Item ⇒ Object
1960 1961 1962 |
# File 'lib/v20200910/models.rb', line 1960 def Item @Item end |
#Name ⇒ Object
1960 1961 1962 |
# File 'lib/v20200910/models.rb', line 1960 def Name @Name end |
#Result ⇒ Object
1960 1961 1962 |
# File 'lib/v20200910/models.rb', line 1960 def Result @Result end |
#State ⇒ Object
1960 1961 1962 |
# File 'lib/v20200910/models.rb', line 1960 def State @State end |
#Unit ⇒ Object
1960 1961 1962 |
# File 'lib/v20200910/models.rb', line 1960 def Unit @Unit end |
Instance Method Details
#deserialize(params) ⇒ Object
1970 1971 1972 1973 1974 1975 1976 1977 1978 1979 1980 1981 1982 1983 1984 1985 1986 1987 1988 |
# File 'lib/v20200910/models.rb', line 1970 def deserialize(params) @Name = params['Name'] unless params['Item'].nil? @Item = PhysicalBaseItem.new @Item.deserialize(params['Item']) end unless params['Result'].nil? @Result = PhysicalBaseItem.new @Result.deserialize(params['Result']) end unless params['Unit'].nil? @Unit = PhysicalBaseItem.new @Unit.deserialize(params['Unit']) end unless params['State'].nil? @State = PhysicalBaseItem.new @State.deserialize(params['State']) end end |