Class: TencentCloud::Iai::V20200303::CreatePersonResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Iai::V20200303::CreatePersonResponse
- Defined in:
- lib/v20200303/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.
813 814 815 816 817 818 819 |
# File 'lib/v20200303/models.rb', line 813 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且人员库中有疑似的同一人,此参数才有意义。
811 812 813 |
# File 'lib/v20200303/models.rb', line 811 def FaceId @FaceId end |
#FaceModelVersion ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
-
当 UniquePersonControl 参数不为0且人员库中有疑似的同一人,此参数才有意义。
811 812 813 |
# File 'lib/v20200303/models.rb', line 811 def FaceModelVersion @FaceModelVersion end |
#FaceRect ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
-
当 UniquePersonControl 参数不为0且人员库中有疑似的同一人,此参数才有意义。
811 812 813 |
# File 'lib/v20200303/models.rb', line 811 def FaceRect @FaceRect end |
#RequestId ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
-
当 UniquePersonControl 参数不为0且人员库中有疑似的同一人,此参数才有意义。
811 812 813 |
# File 'lib/v20200303/models.rb', line 811 def RequestId @RequestId end |
#SimilarPersonId ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
-
当 UniquePersonControl 参数不为0且人员库中有疑似的同一人,此参数才有意义。
811 812 813 |
# File 'lib/v20200303/models.rb', line 811 def SimilarPersonId @SimilarPersonId end |
Instance Method Details
#deserialize(params) ⇒ Object
821 822 823 824 825 826 827 828 829 830 |
# File 'lib/v20200303/models.rb', line 821 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 |