Class: TencentCloud::Iai::V20200303::GetPersonGroupInfoResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Iai::V20200303::GetPersonGroupInfoResponse
- Defined in:
- lib/v20200303/models.rb
Overview
GetPersonGroupInfo返回参数结构体
Instance Attribute Summary collapse
-
#FaceModelVersion ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。.
-
#GroupNum ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。.
-
#PersonGroupInfos ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。.
-
#RequestId ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。.
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(persongroupinfos = nil, groupnum = nil, facemodelversion = nil, requestid = nil) ⇒ GetPersonGroupInfoResponse
constructor
A new instance of GetPersonGroupInfoResponse.
Constructor Details
#initialize(persongroupinfos = nil, groupnum = nil, facemodelversion = nil, requestid = nil) ⇒ GetPersonGroupInfoResponse
Returns a new instance of GetPersonGroupInfoResponse.
2379 2380 2381 2382 2383 2384 |
# File 'lib/v20200303/models.rb', line 2379 def initialize(persongroupinfos=nil, groupnum=nil, facemodelversion=nil, requestid=nil) @PersonGroupInfos = persongroupinfos @GroupNum = groupnum @FaceModelVersion = facemodelversion @RequestId = requestid end |
Instance Attribute Details
#FaceModelVersion ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。
2377 2378 2379 |
# File 'lib/v20200303/models.rb', line 2377 def FaceModelVersion @FaceModelVersion end |
#GroupNum ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。
2377 2378 2379 |
# File 'lib/v20200303/models.rb', line 2377 def GroupNum @GroupNum end |
#PersonGroupInfos ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。
2377 2378 2379 |
# File 'lib/v20200303/models.rb', line 2377 def PersonGroupInfos @PersonGroupInfos end |
#RequestId ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。
2377 2378 2379 |
# File 'lib/v20200303/models.rb', line 2377 def RequestId @RequestId end |
Instance Method Details
#deserialize(params) ⇒ Object
2386 2387 2388 2389 2390 2391 2392 2393 2394 2395 2396 2397 2398 |
# File 'lib/v20200303/models.rb', line 2386 def deserialize(params) unless params['PersonGroupInfos'].nil? @PersonGroupInfos = [] params['PersonGroupInfos'].each do |i| persongroupinfo_tmp = PersonGroupInfo.new persongroupinfo_tmp.deserialize(i) @PersonGroupInfos << persongroupinfo_tmp end end @GroupNum = params['GroupNum'] @FaceModelVersion = params['FaceModelVersion'] @RequestId = params['RequestId'] end |