Class: TencentCloud::Cii::V20210408::MachinePredict
- Inherits:
-
TencentCloud::Common::AbstractModel
- Object
- TencentCloud::Common::AbstractModel
- TencentCloud::Cii::V20210408::MachinePredict
- Defined in:
- lib/v20210408/models.rb
Overview
机器核保预测结果
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(title = nil, conclusion = nil, explanation = nil, disease = nil, laboratory = nil) ⇒ MachinePredict
constructor
A new instance of MachinePredict.
Constructor Details
#initialize(title = nil, conclusion = nil, explanation = nil, disease = nil, laboratory = nil) ⇒ MachinePredict
Returns a new instance of MachinePredict.
963 964 965 966 967 968 969 |
# File 'lib/v20210408/models.rb', line 963 def initialize(title=nil, conclusion=nil, explanation=nil, disease=nil, laboratory=nil) @Title = title @Conclusion = conclusion @Explanation = explanation @Disease = disease @Laboratory = laboratory end |
Instance Attribute Details
#Conclusion ⇒ Object
961 962 963 |
# File 'lib/v20210408/models.rb', line 961 def Conclusion @Conclusion end |
#Disease ⇒ Object
961 962 963 |
# File 'lib/v20210408/models.rb', line 961 def Disease @Disease end |
#Explanation ⇒ Object
961 962 963 |
# File 'lib/v20210408/models.rb', line 961 def Explanation @Explanation end |
#Laboratory ⇒ Object
961 962 963 |
# File 'lib/v20210408/models.rb', line 961 def Laboratory @Laboratory end |
#Title ⇒ Object
961 962 963 |
# File 'lib/v20210408/models.rb', line 961 def Title @Title end |
Instance Method Details
#deserialize(params) ⇒ Object
971 972 973 974 975 976 977 978 979 980 981 982 983 984 985 986 987 988 989 990 991 992 993 994 995 996 997 998 |
# File 'lib/v20210408/models.rb', line 971 def deserialize(params) @Title = params['Title'] @Conclusion = params['Conclusion'] unless params['Explanation'].nil? @Explanation = [] params['Explanation'].each do |i| underwriteitem_tmp = UnderwriteItem.new underwriteitem_tmp.deserialize(i) @Explanation << underwriteitem_tmp end end unless params['Disease'].nil? @Disease = [] params['Disease'].each do |i| underwriteitem_tmp = UnderwriteItem.new underwriteitem_tmp.deserialize(i) @Disease << underwriteitem_tmp end end unless params['Laboratory'].nil? @Laboratory = [] params['Laboratory'].each do |i| underwriteitem_tmp = UnderwriteItem.new underwriteitem_tmp.deserialize(i) @Laboratory << underwriteitem_tmp end end end |