Class: TencentCloud::Mps::V20190612::AiSamplePerson
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Mps::V20190612::AiSamplePerson
- Defined in:
- lib/v20190612/models.rb
Overview
AI 样本管理,人物信息。
Instance Attribute Summary collapse
- #CreateTime ⇒ Object
- #Description ⇒ Object
- #FaceInfoSet ⇒ Object
- #Name ⇒ Object
- #PersonId ⇒ Object
- #TagSet ⇒ Object
- #UpdateTime ⇒ Object
- #UsageSet ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(personid = nil, name = nil, description = nil, faceinfoset = nil, tagset = nil, usageset = nil, createtime = nil, updatetime = nil) ⇒ AiSamplePerson
constructor
A new instance of AiSamplePerson.
Constructor Details
#initialize(personid = nil, name = nil, description = nil, faceinfoset = nil, tagset = nil, usageset = nil, createtime = nil, updatetime = nil) ⇒ AiSamplePerson
Returns a new instance of AiSamplePerson.
4823 4824 4825 4826 4827 4828 4829 4830 4831 4832 |
# File 'lib/v20190612/models.rb', line 4823 def initialize(personid=nil, name=nil, description=nil, faceinfoset=nil, =nil, usageset=nil, createtime=nil, updatetime=nil) @PersonId = personid @Name = name @Description = description @FaceInfoSet = faceinfoset @TagSet = @UsageSet = usageset @CreateTime = createtime @UpdateTime = updatetime end |
Instance Attribute Details
#CreateTime ⇒ Object
4821 4822 4823 |
# File 'lib/v20190612/models.rb', line 4821 def CreateTime @CreateTime end |
#Description ⇒ Object
4821 4822 4823 |
# File 'lib/v20190612/models.rb', line 4821 def Description @Description end |
#FaceInfoSet ⇒ Object
4821 4822 4823 |
# File 'lib/v20190612/models.rb', line 4821 def FaceInfoSet @FaceInfoSet end |
#Name ⇒ Object
4821 4822 4823 |
# File 'lib/v20190612/models.rb', line 4821 def Name @Name end |
#PersonId ⇒ Object
4821 4822 4823 |
# File 'lib/v20190612/models.rb', line 4821 def PersonId @PersonId end |
#TagSet ⇒ Object
4821 4822 4823 |
# File 'lib/v20190612/models.rb', line 4821 def TagSet @TagSet end |
#UpdateTime ⇒ Object
4821 4822 4823 |
# File 'lib/v20190612/models.rb', line 4821 def UpdateTime @UpdateTime end |
#UsageSet ⇒ Object
4821 4822 4823 |
# File 'lib/v20190612/models.rb', line 4821 def UsageSet @UsageSet end |
Instance Method Details
#deserialize(params) ⇒ Object
4834 4835 4836 4837 4838 4839 4840 4841 4842 4843 4844 4845 4846 4847 4848 4849 4850 |
# File 'lib/v20190612/models.rb', line 4834 def deserialize(params) @PersonId = params['PersonId'] @Name = params['Name'] @Description = params['Description'] unless params['FaceInfoSet'].nil? @FaceInfoSet = [] params['FaceInfoSet'].each do |i| aisamplefaceinfo_tmp = AiSampleFaceInfo.new aisamplefaceinfo_tmp.deserialize(i) @FaceInfoSet << aisamplefaceinfo_tmp end end @TagSet = params['TagSet'] @UsageSet = params['UsageSet'] @CreateTime = params['CreateTime'] @UpdateTime = params['UpdateTime'] end |