Class: TencentCloud::Tci::V20190318::DescribePersonsResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Tci::V20190318::DescribePersonsResponse
- Defined in:
- lib/v20190318/models.rb
Overview
DescribePersons返回参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(personset = nil, totalcount = nil, requestid = nil) ⇒ DescribePersonsResponse
constructor
A new instance of DescribePersonsResponse.
Constructor Details
#initialize(personset = nil, totalcount = nil, requestid = nil) ⇒ DescribePersonsResponse
Returns a new instance of DescribePersonsResponse.
1660 1661 1662 1663 1664 |
# File 'lib/v20190318/models.rb', line 1660 def initialize(personset=nil, totalcount=nil, requestid=nil) @PersonSet = personset @TotalCount = totalcount @RequestId = requestid end |
Instance Attribute Details
#PersonSet ⇒ Object
1658 1659 1660 |
# File 'lib/v20190318/models.rb', line 1658 def PersonSet @PersonSet end |
#RequestId ⇒ Object
1658 1659 1660 |
# File 'lib/v20190318/models.rb', line 1658 def RequestId @RequestId end |
#TotalCount ⇒ Object
1658 1659 1660 |
# File 'lib/v20190318/models.rb', line 1658 def TotalCount @TotalCount end |
Instance Method Details
#deserialize(params) ⇒ Object
1666 1667 1668 1669 1670 1671 1672 1673 1674 1675 1676 1677 |
# File 'lib/v20190318/models.rb', line 1666 def deserialize(params) unless params['PersonSet'].nil? @PersonSet = [] params['PersonSet'].each do |i| person_tmp = Person.new person_tmp.deserialize(i) @PersonSet << person_tmp end end @TotalCount = params['TotalCount'] @RequestId = params['RequestId'] end |