Class: TencentCloud::Tiia::V20190529::DetectLabelResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Tiia::V20190529::DetectLabelResponse
- Defined in:
- lib/v20190529/models.rb
Overview
DetectLabel返回参数结构体
Instance Attribute Summary collapse
-
#AlbumLabels ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 新闻版目前为测试阶段,暂不提供每个标签的一级、二级分类信息的输出。 注意:此字段可能返回 null,表示取不到有效值。.
-
#CameraLabels ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 新闻版目前为测试阶段,暂不提供每个标签的一级、二级分类信息的输出。 注意:此字段可能返回 null,表示取不到有效值。.
-
#Labels ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 新闻版目前为测试阶段,暂不提供每个标签的一级、二级分类信息的输出。 注意:此字段可能返回 null,表示取不到有效值。.
-
#NewsLabels ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 新闻版目前为测试阶段,暂不提供每个标签的一级、二级分类信息的输出。 注意:此字段可能返回 null,表示取不到有效值。.
-
#RequestId ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 新闻版目前为测试阶段,暂不提供每个标签的一级、二级分类信息的输出。 注意:此字段可能返回 null,表示取不到有效值。.
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(labels = nil, cameralabels = nil, albumlabels = nil, newslabels = nil, requestid = nil) ⇒ DetectLabelResponse
constructor
A new instance of DetectLabelResponse.
Constructor Details
#initialize(labels = nil, cameralabels = nil, albumlabels = nil, newslabels = nil, requestid = nil) ⇒ DetectLabelResponse
Returns a new instance of DetectLabelResponse.
1112 1113 1114 1115 1116 1117 1118 |
# File 'lib/v20190529/models.rb', line 1112 def initialize(labels=nil, cameralabels=nil, albumlabels=nil, newslabels=nil, requestid=nil) @Labels = labels @CameraLabels = cameralabels @AlbumLabels = albumlabels @NewsLabels = newslabels @RequestId = requestid end |
Instance Attribute Details
#AlbumLabels ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 新闻版目前为测试阶段,暂不提供每个标签的一级、二级分类信息的输出。 注意:此字段可能返回 null,表示取不到有效值。
1110 1111 1112 |
# File 'lib/v20190529/models.rb', line 1110 def AlbumLabels @AlbumLabels end |
#CameraLabels ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 新闻版目前为测试阶段,暂不提供每个标签的一级、二级分类信息的输出。 注意:此字段可能返回 null,表示取不到有效值。
1110 1111 1112 |
# File 'lib/v20190529/models.rb', line 1110 def CameraLabels @CameraLabels end |
#Labels ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 新闻版目前为测试阶段,暂不提供每个标签的一级、二级分类信息的输出。 注意:此字段可能返回 null,表示取不到有效值。
1110 1111 1112 |
# File 'lib/v20190529/models.rb', line 1110 def Labels @Labels end |
#NewsLabels ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 新闻版目前为测试阶段,暂不提供每个标签的一级、二级分类信息的输出。 注意:此字段可能返回 null,表示取不到有效值。
1110 1111 1112 |
# File 'lib/v20190529/models.rb', line 1110 def NewsLabels @NewsLabels end |
#RequestId ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 新闻版目前为测试阶段,暂不提供每个标签的一级、二级分类信息的输出。 注意:此字段可能返回 null,表示取不到有效值。
1110 1111 1112 |
# File 'lib/v20190529/models.rb', line 1110 def RequestId @RequestId end |
Instance Method Details
#deserialize(params) ⇒ Object
1120 1121 1122 1123 1124 1125 1126 1127 1128 1129 1130 1131 1132 1133 1134 1135 1136 1137 1138 1139 1140 1141 1142 1143 1144 1145 1146 1147 1148 1149 1150 1151 1152 1153 1154 |
# File 'lib/v20190529/models.rb', line 1120 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 unless params['CameraLabels'].nil? @CameraLabels = [] params['CameraLabels'].each do |i| detectlabelitem_tmp = DetectLabelItem.new detectlabelitem_tmp.deserialize(i) @CameraLabels << detectlabelitem_tmp end end unless params['AlbumLabels'].nil? @AlbumLabels = [] params['AlbumLabels'].each do |i| detectlabelitem_tmp = DetectLabelItem.new detectlabelitem_tmp.deserialize(i) @AlbumLabels << detectlabelitem_tmp end end unless params['NewsLabels'].nil? @NewsLabels = [] params['NewsLabels'].each do |i| detectlabelitem_tmp = DetectLabelItem.new detectlabelitem_tmp.deserialize(i) @NewsLabels << detectlabelitem_tmp end end @RequestId = params['RequestId'] end |