Class: TencentCloud::Mrs::V20200910::CovidItem
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Mrs::V20200910::CovidItem
- Defined in:
- lib/v20200910/models.rb
Overview
核酸报告结论结构
Instance Attribute Summary collapse
- #CodeColor ⇒ Object
- #SampleTime ⇒ Object
- #TestOrganization ⇒ Object
- #TestResult ⇒ Object
- #TestTime ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(sampletime = nil, testtime = nil, testorganization = nil, testresult = nil, codecolor = nil) ⇒ CovidItem
constructor
A new instance of CovidItem.
Constructor Details
#initialize(sampletime = nil, testtime = nil, testorganization = nil, testresult = nil, codecolor = nil) ⇒ CovidItem
Returns a new instance of CovidItem.
2144 2145 2146 2147 2148 2149 2150 |
# File 'lib/v20200910/models.rb', line 2144 def initialize(sampletime=nil, testtime=nil, testorganization=nil, testresult=nil, codecolor=nil) @SampleTime = sampletime @TestTime = testtime @TestOrganization = testorganization @TestResult = testresult @CodeColor = codecolor end |
Instance Attribute Details
#CodeColor ⇒ Object
2142 2143 2144 |
# File 'lib/v20200910/models.rb', line 2142 def CodeColor @CodeColor end |
#SampleTime ⇒ Object
2142 2143 2144 |
# File 'lib/v20200910/models.rb', line 2142 def SampleTime @SampleTime end |
#TestOrganization ⇒ Object
2142 2143 2144 |
# File 'lib/v20200910/models.rb', line 2142 def TestOrganization @TestOrganization end |
#TestResult ⇒ Object
2142 2143 2144 |
# File 'lib/v20200910/models.rb', line 2142 def TestResult @TestResult end |
#TestTime ⇒ Object
2142 2143 2144 |
# File 'lib/v20200910/models.rb', line 2142 def TestTime @TestTime end |
Instance Method Details
#deserialize(params) ⇒ Object
2152 2153 2154 2155 2156 2157 2158 2159 2160 2161 2162 2163 2164 2165 2166 2167 2168 2169 2170 2171 2172 2173 |
# File 'lib/v20200910/models.rb', line 2152 def deserialize(params) unless params['SampleTime'].nil? @SampleTime = BaseItem.new @SampleTime.deserialize(params['SampleTime']) end unless params['TestTime'].nil? @TestTime = BaseItem.new @TestTime.deserialize(params['TestTime']) end unless params['TestOrganization'].nil? @TestOrganization = BaseItem.new @TestOrganization.deserialize(params['TestOrganization']) end unless params['TestResult'].nil? @TestResult = BaseItem.new @TestResult.deserialize(params['TestResult']) end unless params['CodeColor'].nil? @CodeColor = BaseItem.new @CodeColor.deserialize(params['CodeColor']) end end |