Class: TencentCloud::Tci::V20190318::Face

Inherits:
Common::AbstractModel
  • Object
show all
Defined in:
lib/v20190318/models.rb

Overview

人脸描述

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(faceid = nil, faceurl = nil, personid = nil) ⇒ Face

Returns a new instance of Face.



1829
1830
1831
1832
1833
# File 'lib/v20190318/models.rb', line 1829

def initialize(faceid=nil, faceurl=nil, personid=nil)
  @FaceId = faceid
  @FaceUrl = faceurl
  @PersonId = personid
end

Instance Attribute Details

#FaceIdObject

Parameters:

  • FaceId:

    人脸唯一标识符

  • FaceUrl:

    人脸图片 URL

  • PersonId:

    人员唯一标识符



1827
1828
1829
# File 'lib/v20190318/models.rb', line 1827

def FaceId
  @FaceId
end

#FaceUrlObject

Parameters:

  • FaceId:

    人脸唯一标识符

  • FaceUrl:

    人脸图片 URL

  • PersonId:

    人员唯一标识符



1827
1828
1829
# File 'lib/v20190318/models.rb', line 1827

def FaceUrl
  @FaceUrl
end

#PersonIdObject

Parameters:

  • FaceId:

    人脸唯一标识符

  • FaceUrl:

    人脸图片 URL

  • PersonId:

    人员唯一标识符



1827
1828
1829
# File 'lib/v20190318/models.rb', line 1827

def PersonId
  @PersonId
end

Instance Method Details

#deserialize(params) ⇒ Object



1835
1836
1837
1838
1839
# File 'lib/v20190318/models.rb', line 1835

def deserialize(params)
  @FaceId = params['FaceId']
  @FaceUrl = params['FaceUrl']
  @PersonId = params['PersonId']
end