Class: TencentCloud::Ccc::V20200210::DescribeCompanyListResponse
- Inherits:
-
TencentCloud::Common::AbstractModel
- Object
- TencentCloud::Common::AbstractModel
- TencentCloud::Ccc::V20200210::DescribeCompanyListResponse
- Defined in:
- lib/v20200210/models.rb
Overview
DescribeCompanyList返回参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(totalcount = nil, companyinfo = nil, requestid = nil) ⇒ DescribeCompanyListResponse
constructor
A new instance of DescribeCompanyListResponse.
Constructor Details
#initialize(totalcount = nil, companyinfo = nil, requestid = nil) ⇒ DescribeCompanyListResponse
Returns a new instance of DescribeCompanyListResponse.
3401 3402 3403 3404 3405 |
# File 'lib/v20200210/models.rb', line 3401 def initialize(totalcount=nil, =nil, requestid=nil) @TotalCount = totalcount @CompanyInfo = @RequestId = requestid end |
Instance Attribute Details
#CompanyInfo ⇒ Object
3399 3400 3401 |
# File 'lib/v20200210/models.rb', line 3399 def CompanyInfo @CompanyInfo end |
#RequestId ⇒ Object
3399 3400 3401 |
# File 'lib/v20200210/models.rb', line 3399 def RequestId @RequestId end |
#TotalCount ⇒ Object
3399 3400 3401 |
# File 'lib/v20200210/models.rb', line 3399 def TotalCount @TotalCount end |
Instance Method Details
#deserialize(params) ⇒ Object
3407 3408 3409 3410 3411 3412 3413 3414 3415 3416 3417 3418 |
# File 'lib/v20200210/models.rb', line 3407 def deserialize(params) @TotalCount = params['TotalCount'] unless params['CompanyInfo'].nil? @CompanyInfo = [] params['CompanyInfo'].each do |i| companystateinfo_tmp = CompanyStateInfo.new companystateinfo_tmp.deserialize(i) @CompanyInfo << companystateinfo_tmp end end @RequestId = params['RequestId'] end |