Class: TencentCloud::Tci::V20190318::StandardImageResult
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Tci::V20190318::StandardImageResult
- Defined in:
- lib/v20190318/models.rb
Overview
标准化接口图像分析结果
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(resultset = nil, statistic = nil, message = nil, status = nil, totalcount = nil) ⇒ StandardImageResult
constructor
A new instance of StandardImageResult.
Constructor Details
#initialize(resultset = nil, statistic = nil, message = nil, status = nil, totalcount = nil) ⇒ StandardImageResult
Returns a new instance of StandardImageResult.
3003 3004 3005 3006 3007 3008 3009 |
# File 'lib/v20190318/models.rb', line 3003 def initialize(resultset=nil, statistic=nil, =nil, status=nil, totalcount=nil) @ResultSet = resultset @Statistic = statistic @Message = @Status = status @TotalCount = totalcount end |
Instance Attribute Details
#Message ⇒ Object
3001 3002 3003 |
# File 'lib/v20190318/models.rb', line 3001 def Message @Message end |
#ResultSet ⇒ Object
3001 3002 3003 |
# File 'lib/v20190318/models.rb', line 3001 def ResultSet @ResultSet end |
#Statistic ⇒ Object
3001 3002 3003 |
# File 'lib/v20190318/models.rb', line 3001 def Statistic @Statistic end |
#Status ⇒ Object
3001 3002 3003 |
# File 'lib/v20190318/models.rb', line 3001 def Status @Status end |
#TotalCount ⇒ Object
3001 3002 3003 |
# File 'lib/v20190318/models.rb', line 3001 def TotalCount @TotalCount end |
Instance Method Details
#deserialize(params) ⇒ Object
3011 3012 3013 3014 3015 3016 3017 3018 3019 3020 3021 3022 3023 3024 3025 3026 3027 |
# File 'lib/v20190318/models.rb', line 3011 def deserialize(params) unless params['ResultSet'].nil? @ResultSet = [] params['ResultSet'].each do |i| imagetaskresult_tmp = ImageTaskResult.new imagetaskresult_tmp.deserialize(i) @ResultSet << imagetaskresult_tmp end end unless params['Statistic'].nil? @Statistic = ImageTaskStatistic.new @Statistic.deserialize(params['Statistic']) end @Message = params['Message'] @Status = params['Status'] @TotalCount = params['TotalCount'] end |