Class: TencentCloud::Yunjing::V20180228::DescribeAccountsResponse

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

Overview

DescribeAccounts返回参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(totalcount = nil, accounts = nil, requestid = nil) ⇒ DescribeAccountsResponse

Returns a new instance of DescribeAccountsResponse.



1423
1424
1425
1426
1427
# File 'lib/v20180228/models.rb', line 1423

def initialize(totalcount=nil, accounts=nil, requestid=nil)
  @TotalCount = totalcount
  @Accounts = accounts
  @RequestId = requestid
end

Instance Attribute Details

#AccountsObject

Parameters:

  • TotalCount:

    帐号列表记录总数。

  • Accounts:

    帐号数据列表。

  • RequestId:

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



1421
1422
1423
# File 'lib/v20180228/models.rb', line 1421

def Accounts
  @Accounts
end

#RequestIdObject

Parameters:

  • TotalCount:

    帐号列表记录总数。

  • Accounts:

    帐号数据列表。

  • RequestId:

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



1421
1422
1423
# File 'lib/v20180228/models.rb', line 1421

def RequestId
  @RequestId
end

#TotalCountObject

Parameters:

  • TotalCount:

    帐号列表记录总数。

  • Accounts:

    帐号数据列表。

  • RequestId:

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



1421
1422
1423
# File 'lib/v20180228/models.rb', line 1421

def TotalCount
  @TotalCount
end

Instance Method Details

#deserialize(params) ⇒ Object



1429
1430
1431
1432
1433
1434
1435
1436
1437
1438
1439
1440
# File 'lib/v20180228/models.rb', line 1429

def deserialize(params)
  @TotalCount = params['TotalCount']
  unless params['Accounts'].nil?
    @Accounts = []
    params['Accounts'].each do |i|
       = Account.new
      .deserialize(i)
      @Accounts << 
    end
  end
  @RequestId = params['RequestId']
end