Class: TencentCloud::Tiia::V20190529::DetectLabelProResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Tiia::V20190529::DetectLabelProResponse
- Defined in:
- lib/v20190529/models.rb
Overview
DetectLabelPro返回参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(labels = nil, requestid = nil) ⇒ DetectLabelProResponse
constructor
A new instance of DetectLabelProResponse.
Constructor Details
#initialize(labels = nil, requestid = nil) ⇒ DetectLabelProResponse
Returns a new instance of DetectLabelProResponse.
1031 1032 1033 1034 |
# File 'lib/v20190529/models.rb', line 1031 def initialize(labels=nil, requestid=nil) @Labels = labels @RequestId = requestid end |
Instance Attribute Details
#Labels ⇒ Object
1029 1030 1031 |
# File 'lib/v20190529/models.rb', line 1029 def Labels @Labels end |
#RequestId ⇒ Object
1029 1030 1031 |
# File 'lib/v20190529/models.rb', line 1029 def RequestId @RequestId end |
Instance Method Details
#deserialize(params) ⇒ Object
1036 1037 1038 1039 1040 1041 1042 1043 1044 1045 1046 |
# File 'lib/v20190529/models.rb', line 1036 def deserialize(params) unless params['Labels'].nil? @Labels = [] params['Labels'].each do |i| detectlabelitem_tmp = DetectLabelItem.new detectlabelitem_tmp.deserialize(i) @Labels << detectlabelitem_tmp end end @RequestId = params['RequestId'] end |