Class: TencentCloud::Vod::V20180717::ModifyPersonSampleRequest
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Vod::V20180717::ModifyPersonSampleRequest
- Defined in:
- lib/v20180717/models.rb
Overview
ModifyPersonSample请求参数结构体
Instance Attribute Summary collapse
-
#Description ⇒ Object
1.
-
#FaceOperationInfo ⇒ Object
1.
-
#Name ⇒ Object
1.
-
#PersonId ⇒ Object
1.
-
#SubAppId ⇒ Object
1.
-
#TagOperationInfo ⇒ Object
1.
-
#Usages ⇒ Object
1.
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(personid = nil, subappid = nil, name = nil, description = nil, usages = nil, faceoperationinfo = nil, tagoperationinfo = nil) ⇒ ModifyPersonSampleRequest
constructor
A new instance of ModifyPersonSampleRequest.
Constructor Details
#initialize(personid = nil, subappid = nil, name = nil, description = nil, usages = nil, faceoperationinfo = nil, tagoperationinfo = nil) ⇒ ModifyPersonSampleRequest
Returns a new instance of ModifyPersonSampleRequest.
19930 19931 19932 19933 19934 19935 19936 19937 19938 |
# File 'lib/v20180717/models.rb', line 19930 def initialize(personid=nil, subappid=nil, name=nil, description=nil, usages=nil, faceoperationinfo=nil, tagoperationinfo=nil) @PersonId = personid @SubAppId = subappid @Name = name @Description = description @Usages = usages @FaceOperationInfo = faceoperationinfo @TagOperationInfo = tagoperationinfo end |
Instance Attribute Details
#Description ⇒ Object
-
Recognition:用于内容识别,等价于 Recognition.Face。
-
Review:用于不适宜的内容识别,等价于 Review.Face。
-
All:用于内容识别、不适宜的内容识别,等价于 1+2。
19928 19929 19930 |
# File 'lib/v20180717/models.rb', line 19928 def Description @Description end |
#FaceOperationInfo ⇒ Object
-
Recognition:用于内容识别,等价于 Recognition.Face。
-
Review:用于不适宜的内容识别,等价于 Review.Face。
-
All:用于内容识别、不适宜的内容识别,等价于 1+2。
19928 19929 19930 |
# File 'lib/v20180717/models.rb', line 19928 def FaceOperationInfo @FaceOperationInfo end |
#Name ⇒ Object
-
Recognition:用于内容识别,等价于 Recognition.Face。
-
Review:用于不适宜的内容识别,等价于 Review.Face。
-
All:用于内容识别、不适宜的内容识别,等价于 1+2。
19928 19929 19930 |
# File 'lib/v20180717/models.rb', line 19928 def Name @Name end |
#PersonId ⇒ Object
-
Recognition:用于内容识别,等价于 Recognition.Face。
-
Review:用于不适宜的内容识别,等价于 Review.Face。
-
All:用于内容识别、不适宜的内容识别,等价于 1+2。
19928 19929 19930 |
# File 'lib/v20180717/models.rb', line 19928 def PersonId @PersonId end |
#SubAppId ⇒ Object
-
Recognition:用于内容识别,等价于 Recognition.Face。
-
Review:用于不适宜的内容识别,等价于 Review.Face。
-
All:用于内容识别、不适宜的内容识别,等价于 1+2。
19928 19929 19930 |
# File 'lib/v20180717/models.rb', line 19928 def SubAppId @SubAppId end |
#TagOperationInfo ⇒ Object
-
Recognition:用于内容识别,等价于 Recognition.Face。
-
Review:用于不适宜的内容识别,等价于 Review.Face。
-
All:用于内容识别、不适宜的内容识别,等价于 1+2。
19928 19929 19930 |
# File 'lib/v20180717/models.rb', line 19928 def TagOperationInfo @TagOperationInfo end |
#Usages ⇒ Object
-
Recognition:用于内容识别,等价于 Recognition.Face。
-
Review:用于不适宜的内容识别,等价于 Review.Face。
-
All:用于内容识别、不适宜的内容识别,等价于 1+2。
19928 19929 19930 |
# File 'lib/v20180717/models.rb', line 19928 def Usages @Usages end |
Instance Method Details
#deserialize(params) ⇒ Object
19940 19941 19942 19943 19944 19945 19946 19947 19948 19949 19950 19951 19952 19953 19954 |
# File 'lib/v20180717/models.rb', line 19940 def deserialize(params) @PersonId = params['PersonId'] @SubAppId = params['SubAppId'] @Name = params['Name'] @Description = params['Description'] @Usages = params['Usages'] unless params['FaceOperationInfo'].nil? @FaceOperationInfo = AiSampleFaceOperation.new @FaceOperationInfo.deserialize(params['FaceOperationInfo']) end unless params['TagOperationInfo'].nil? @TagOperationInfo = AiSampleTagOperation.new @TagOperationInfo.deserialize(params['TagOperationInfo']) end end |