Class: TencentCloud::Tci::V20190318::ModifyPersonResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Tci::V20190318::ModifyPersonResponse
- Defined in:
- lib/v20190318/models.rb
Overview
ModifyPerson返回参数结构体
Instance Attribute Summary collapse
- #FaceInfoSet ⇒ Object
- #LibraryId ⇒ Object
- #PersonId ⇒ Object
- #PersonName ⇒ Object
- #RequestId ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(faceinfoset = nil, libraryid = nil, personid = nil, personname = nil, requestid = nil) ⇒ ModifyPersonResponse
constructor
A new instance of ModifyPersonResponse.
Constructor Details
#initialize(faceinfoset = nil, libraryid = nil, personid = nil, personname = nil, requestid = nil) ⇒ ModifyPersonResponse
Returns a new instance of ModifyPersonResponse.
2804 2805 2806 2807 2808 2809 2810 |
# File 'lib/v20190318/models.rb', line 2804 def initialize(faceinfoset=nil, libraryid=nil, personid=nil, personname=nil, requestid=nil) @FaceInfoSet = faceinfoset @LibraryId = libraryid @PersonId = personid @PersonName = personname @RequestId = requestid end |
Instance Attribute Details
#FaceInfoSet ⇒ Object
2802 2803 2804 |
# File 'lib/v20190318/models.rb', line 2802 def FaceInfoSet @FaceInfoSet end |
#LibraryId ⇒ Object
2802 2803 2804 |
# File 'lib/v20190318/models.rb', line 2802 def LibraryId @LibraryId end |
#PersonId ⇒ Object
2802 2803 2804 |
# File 'lib/v20190318/models.rb', line 2802 def PersonId @PersonId end |
#PersonName ⇒ Object
2802 2803 2804 |
# File 'lib/v20190318/models.rb', line 2802 def PersonName @PersonName end |
#RequestId ⇒ Object
2802 2803 2804 |
# File 'lib/v20190318/models.rb', line 2802 def RequestId @RequestId end |
Instance Method Details
#deserialize(params) ⇒ Object
2812 2813 2814 2815 2816 2817 2818 2819 2820 2821 2822 2823 2824 2825 |
# File 'lib/v20190318/models.rb', line 2812 def deserialize(params) unless params['FaceInfoSet'].nil? @FaceInfoSet = [] params['FaceInfoSet'].each do |i| faceinfo_tmp = FaceInfo.new faceinfo_tmp.deserialize(i) @FaceInfoSet << faceinfo_tmp end end @LibraryId = params['LibraryId'] @PersonId = params['PersonId'] @PersonName = params['PersonName'] @RequestId = params['RequestId'] end |