Class: TencentCloud::Youmall::V20180228::DescribePersonInfoResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Youmall::V20180228::DescribePersonInfoResponse
- Defined in:
- lib/v20180228/models.rb
Overview
DescribePersonInfo返回参数结构体
Instance Attribute Summary collapse
- #CompanyId ⇒ Object
- #PersonInfoSet ⇒ Object
- #RequestId ⇒ Object
- #ShopId ⇒ Object
- #TotalCount ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(companyid = nil, shopid = nil, totalcount = nil, personinfoset = nil, requestid = nil) ⇒ DescribePersonInfoResponse
constructor
A new instance of DescribePersonInfoResponse.
Constructor Details
#initialize(companyid = nil, shopid = nil, totalcount = nil, personinfoset = nil, requestid = nil) ⇒ DescribePersonInfoResponse
Returns a new instance of DescribePersonInfoResponse.
878 879 880 881 882 883 884 |
# File 'lib/v20180228/models.rb', line 878 def initialize(companyid=nil, shopid=nil, totalcount=nil, personinfoset=nil, requestid=nil) @CompanyId = companyid @ShopId = shopid @TotalCount = totalcount @PersonInfoSet = personinfoset @RequestId = requestid end |
Instance Attribute Details
#CompanyId ⇒ Object
876 877 878 |
# File 'lib/v20180228/models.rb', line 876 def CompanyId @CompanyId end |
#PersonInfoSet ⇒ Object
876 877 878 |
# File 'lib/v20180228/models.rb', line 876 def PersonInfoSet @PersonInfoSet end |
#RequestId ⇒ Object
876 877 878 |
# File 'lib/v20180228/models.rb', line 876 def RequestId @RequestId end |
#ShopId ⇒ Object
876 877 878 |
# File 'lib/v20180228/models.rb', line 876 def ShopId @ShopId end |
#TotalCount ⇒ Object
876 877 878 |
# File 'lib/v20180228/models.rb', line 876 def TotalCount @TotalCount end |
Instance Method Details
#deserialize(params) ⇒ Object
886 887 888 889 890 891 892 893 894 895 896 897 898 899 |
# File 'lib/v20180228/models.rb', line 886 def deserialize(params) @CompanyId = params['CompanyId'] @ShopId = params['ShopId'] @TotalCount = params['TotalCount'] unless params['PersonInfoSet'].nil? @PersonInfoSet = [] params['PersonInfoSet'].each do |i| personinfo_tmp = PersonInfo.new personinfo_tmp.deserialize(i) @PersonInfoSet << personinfo_tmp end end @RequestId = params['RequestId'] end |