Class: TencentCloud::Iai::V20180301::GetPersonGroupInfoResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Iai::V20180301::GetPersonGroupInfoResponse
- Defined in:
- lib/v20180301/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.
2052 2053 2054 2055 2056 2057 |
# File 'lib/v20180301/models.rb', line 2052 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,表示取不到有效值。
2050 2051 2052 |
# File 'lib/v20180301/models.rb', line 2050 def FaceModelVersion @FaceModelVersion end |
#GroupNum ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。
2050 2051 2052 |
# File 'lib/v20180301/models.rb', line 2050 def GroupNum @GroupNum end |
#PersonGroupInfos ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。
2050 2051 2052 |
# File 'lib/v20180301/models.rb', line 2050 def PersonGroupInfos @PersonGroupInfos end |
#RequestId ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。
2050 2051 2052 |
# File 'lib/v20180301/models.rb', line 2050 def RequestId @RequestId end |
Instance Method Details
#deserialize(params) ⇒ Object
2059 2060 2061 2062 2063 2064 2065 2066 2067 2068 2069 2070 2071 |
# File 'lib/v20180301/models.rb', line 2059 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 |