Class: TencentCloud::Youmall::V20180228::DescribePersonInfoResponse

Inherits:
Common::AbstractModel
  • Object
show all
Defined in:
lib/v20180228/models.rb

Overview

DescribePersonInfo返回参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#CompanyIdObject

Parameters:

  • CompanyId:

    公司ID

  • ShopId:

    门店ID

  • TotalCount:

    总数

  • PersonInfoSet:

    用户信息

  • RequestId:

    唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。



876
877
878
# File 'lib/v20180228/models.rb', line 876

def CompanyId
  @CompanyId
end

#PersonInfoSetObject

Parameters:

  • CompanyId:

    公司ID

  • ShopId:

    门店ID

  • TotalCount:

    总数

  • PersonInfoSet:

    用户信息

  • RequestId:

    唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。



876
877
878
# File 'lib/v20180228/models.rb', line 876

def PersonInfoSet
  @PersonInfoSet
end

#RequestIdObject

Parameters:

  • CompanyId:

    公司ID

  • ShopId:

    门店ID

  • TotalCount:

    总数

  • PersonInfoSet:

    用户信息

  • RequestId:

    唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。



876
877
878
# File 'lib/v20180228/models.rb', line 876

def RequestId
  @RequestId
end

#ShopIdObject

Parameters:

  • CompanyId:

    公司ID

  • ShopId:

    门店ID

  • TotalCount:

    总数

  • PersonInfoSet:

    用户信息

  • RequestId:

    唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。



876
877
878
# File 'lib/v20180228/models.rb', line 876

def ShopId
  @ShopId
end

#TotalCountObject

Parameters:

  • CompanyId:

    公司ID

  • ShopId:

    门店ID

  • TotalCount:

    总数

  • PersonInfoSet:

    用户信息

  • RequestId:

    唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。



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