Class: TencentCloud::Youmall::V20180228::DescribePersonResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Youmall::V20180228::DescribePersonResponse
- Defined in:
- lib/v20180228/models.rb
Overview
DescribePerson返回参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(totalcount = nil, personset = nil, requestid = nil) ⇒ DescribePersonResponse
constructor
A new instance of DescribePersonResponse.
Constructor Details
#initialize(totalcount = nil, personset = nil, requestid = nil) ⇒ DescribePersonResponse
Returns a new instance of DescribePersonResponse.
937 938 939 940 941 |
# File 'lib/v20180228/models.rb', line 937 def initialize(totalcount=nil, personset=nil, requestid=nil) @TotalCount = totalcount @PersonSet = personset @RequestId = requestid end |
Instance Attribute Details
#PersonSet ⇒ Object
935 936 937 |
# File 'lib/v20180228/models.rb', line 935 def PersonSet @PersonSet end |
#RequestId ⇒ Object
935 936 937 |
# File 'lib/v20180228/models.rb', line 935 def RequestId @RequestId end |
#TotalCount ⇒ Object
935 936 937 |
# File 'lib/v20180228/models.rb', line 935 def TotalCount @TotalCount end |
Instance Method Details
#deserialize(params) ⇒ Object
943 944 945 946 947 948 949 950 951 952 953 954 |
# File 'lib/v20180228/models.rb', line 943 def deserialize(params) @TotalCount = params['TotalCount'] unless params['PersonSet'].nil? @PersonSet = [] params['PersonSet'].each do |i| personprofile_tmp = PersonProfile.new personprofile_tmp.deserialize(i) @PersonSet << personprofile_tmp end end @RequestId = params['RequestId'] end |