Class: TencentCloud::Iai::V20180301::CreatePersonResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Iai::V20180301::CreatePersonResponse
- Defined in:
- lib/v20180301/models.rb
Overview
CreatePerson返回参数结构体
Instance Attribute Summary collapse
-
#FaceId ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 当 UniquePersonControl 参数不为0且人员库中有疑似的同一人,此参数才有意义。.
-
#FaceModelVersion ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 当 UniquePersonControl 参数不为0且人员库中有疑似的同一人,此参数才有意义。.
-
#FaceRect ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 当 UniquePersonControl 参数不为0且人员库中有疑似的同一人,此参数才有意义。.
-
#RequestId ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 当 UniquePersonControl 参数不为0且人员库中有疑似的同一人,此参数才有意义。.
-
#SimilarPersonId ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 当 UniquePersonControl 参数不为0且人员库中有疑似的同一人,此参数才有意义。.
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(faceid = nil, facerect = nil, similarpersonid = nil, facemodelversion = nil, requestid = nil) ⇒ CreatePersonResponse
constructor
A new instance of CreatePersonResponse.
Constructor Details
#initialize(faceid = nil, facerect = nil, similarpersonid = nil, facemodelversion = nil, requestid = nil) ⇒ CreatePersonResponse
Returns a new instance of CreatePersonResponse.
674 675 676 677 678 679 680 |
# File 'lib/v20180301/models.rb', line 674 def initialize(faceid=nil, facerect=nil, similarpersonid=nil, facemodelversion=nil, requestid=nil) @FaceId = faceid @FaceRect = facerect @SimilarPersonId = similarpersonid @FaceModelVersion = facemodelversion @RequestId = requestid end |
Instance Attribute Details
#FaceId ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。当 UniquePersonControl 参数不为0且人员库中有疑似的同一人,此参数才有意义。
672 673 674 |
# File 'lib/v20180301/models.rb', line 672 def FaceId @FaceId end |
#FaceModelVersion ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。当 UniquePersonControl 参数不为0且人员库中有疑似的同一人,此参数才有意义。
672 673 674 |
# File 'lib/v20180301/models.rb', line 672 def FaceModelVersion @FaceModelVersion end |
#FaceRect ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。当 UniquePersonControl 参数不为0且人员库中有疑似的同一人,此参数才有意义。
672 673 674 |
# File 'lib/v20180301/models.rb', line 672 def FaceRect @FaceRect end |
#RequestId ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。当 UniquePersonControl 参数不为0且人员库中有疑似的同一人,此参数才有意义。
672 673 674 |
# File 'lib/v20180301/models.rb', line 672 def RequestId @RequestId end |
#SimilarPersonId ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。当 UniquePersonControl 参数不为0且人员库中有疑似的同一人,此参数才有意义。
672 673 674 |
# File 'lib/v20180301/models.rb', line 672 def SimilarPersonId @SimilarPersonId end |
Instance Method Details
#deserialize(params) ⇒ Object
682 683 684 685 686 687 688 689 690 691 |
# File 'lib/v20180301/models.rb', line 682 def deserialize(params) @FaceId = params['FaceId'] unless params['FaceRect'].nil? @FaceRect = FaceRect.new @FaceRect.deserialize(params['FaceRect']) end @SimilarPersonId = params['SimilarPersonId'] @FaceModelVersion = params['FaceModelVersion'] @RequestId = params['RequestId'] end |