Class: TencentCloud::Vod::V20180717::DescribePersonSamplesResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Vod::V20180717::DescribePersonSamplesResponse
- Defined in:
- lib/v20180717/models.rb
Overview
DescribePersonSamples返回参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(totalcount = nil, personset = nil, requestid = nil) ⇒ DescribePersonSamplesResponse
constructor
A new instance of DescribePersonSamplesResponse.
Constructor Details
#initialize(totalcount = nil, personset = nil, requestid = nil) ⇒ DescribePersonSamplesResponse
Returns a new instance of DescribePersonSamplesResponse.
11787 11788 11789 11790 11791 |
# File 'lib/v20180717/models.rb', line 11787 def initialize(totalcount=nil, personset=nil, requestid=nil) @TotalCount = totalcount @PersonSet = personset @RequestId = requestid end |
Instance Attribute Details
#PersonSet ⇒ Object
11785 11786 11787 |
# File 'lib/v20180717/models.rb', line 11785 def PersonSet @PersonSet end |
#RequestId ⇒ Object
11785 11786 11787 |
# File 'lib/v20180717/models.rb', line 11785 def RequestId @RequestId end |
#TotalCount ⇒ Object
11785 11786 11787 |
# File 'lib/v20180717/models.rb', line 11785 def TotalCount @TotalCount end |
Instance Method Details
#deserialize(params) ⇒ Object
11793 11794 11795 11796 11797 11798 11799 11800 11801 11802 11803 11804 |
# File 'lib/v20180717/models.rb', line 11793 def deserialize(params) @TotalCount = params['TotalCount'] unless params['PersonSet'].nil? @PersonSet = [] params['PersonSet'].each do |i| aisampleperson_tmp = AiSamplePerson.new aisampleperson_tmp.deserialize(i) @PersonSet << aisampleperson_tmp end end @RequestId = params['RequestId'] end |