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.
4264 4265 4266 4267 4268 4269 4270 4271 4272 4273 |
# File 'lib/v20190612/models.rb', line 4264 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
4262 4263 4264 |
# File 'lib/v20190612/models.rb', line 4262 def CreateTime @CreateTime end |
#Description ⇒ Object
4262 4263 4264 |
# File 'lib/v20190612/models.rb', line 4262 def Description @Description end |
#FaceInfoSet ⇒ Object
4262 4263 4264 |
# File 'lib/v20190612/models.rb', line 4262 def FaceInfoSet @FaceInfoSet end |
#Name ⇒ Object
4262 4263 4264 |
# File 'lib/v20190612/models.rb', line 4262 def Name @Name end |
#PersonId ⇒ Object
4262 4263 4264 |
# File 'lib/v20190612/models.rb', line 4262 def PersonId @PersonId end |
#TagSet ⇒ Object
4262 4263 4264 |
# File 'lib/v20190612/models.rb', line 4262 def TagSet @TagSet end |
#UpdateTime ⇒ Object
4262 4263 4264 |
# File 'lib/v20190612/models.rb', line 4262 def UpdateTime @UpdateTime end |
#UsageSet ⇒ Object
4262 4263 4264 |
# File 'lib/v20190612/models.rb', line 4262 def UsageSet @UsageSet end |
Instance Method Details
#deserialize(params) ⇒ Object
4275 4276 4277 4278 4279 4280 4281 4282 4283 4284 4285 4286 4287 4288 4289 4290 4291 |
# File 'lib/v20190612/models.rb', line 4275 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 |