Class: TencentCloud::Vod::V20180717::AiSamplePerson
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Vod::V20180717::AiSamplePerson
- Defined in:
- lib/v20180717/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.
3894 3895 3896 3897 3898 3899 3900 3901 3902 3903 |
# File 'lib/v20180717/models.rb', line 3894 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
3892 3893 3894 |
# File 'lib/v20180717/models.rb', line 3892 def CreateTime @CreateTime end |
#Description ⇒ Object
3892 3893 3894 |
# File 'lib/v20180717/models.rb', line 3892 def Description @Description end |
#FaceInfoSet ⇒ Object
3892 3893 3894 |
# File 'lib/v20180717/models.rb', line 3892 def FaceInfoSet @FaceInfoSet end |
#Name ⇒ Object
3892 3893 3894 |
# File 'lib/v20180717/models.rb', line 3892 def Name @Name end |
#PersonId ⇒ Object
3892 3893 3894 |
# File 'lib/v20180717/models.rb', line 3892 def PersonId @PersonId end |
#TagSet ⇒ Object
3892 3893 3894 |
# File 'lib/v20180717/models.rb', line 3892 def TagSet @TagSet end |
#UpdateTime ⇒ Object
3892 3893 3894 |
# File 'lib/v20180717/models.rb', line 3892 def UpdateTime @UpdateTime end |
#UsageSet ⇒ Object
3892 3893 3894 |
# File 'lib/v20180717/models.rb', line 3892 def UsageSet @UsageSet end |
Instance Method Details
#deserialize(params) ⇒ Object
3905 3906 3907 3908 3909 3910 3911 3912 3913 3914 3915 3916 3917 3918 3919 3920 3921 |
# File 'lib/v20180717/models.rb', line 3905 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 |