Class: TencentCloud::Cdb::V20170320::DescribeAccountsResponse

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

Overview

DescribeAccounts返回参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(totalcount = nil, items = nil, maxuserconnections = nil, requestid = nil) ⇒ DescribeAccountsResponse

Returns a new instance of DescribeAccountsResponse.



4442
4443
4444
4445
4446
4447
# File 'lib/v20170320/models.rb', line 4442

def initialize(totalcount=nil, items=nil, maxuserconnections=nil, requestid=nil)
  @TotalCount = totalcount
  @Items = items
  @MaxUserConnections = maxuserconnections
  @RequestId = requestid
end

Instance Attribute Details

#ItemsObject

Parameters:

  • TotalCount:

    符合查询条件的账号数量。

  • Items:

    符合查询条件的账号详细信息。

  • MaxUserConnections:

    用户可设置实例最大连接数。

  • RequestId:

    唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。



4440
4441
4442
# File 'lib/v20170320/models.rb', line 4440

def Items
  @Items
end

#MaxUserConnectionsObject

Parameters:

  • TotalCount:

    符合查询条件的账号数量。

  • Items:

    符合查询条件的账号详细信息。

  • MaxUserConnections:

    用户可设置实例最大连接数。

  • RequestId:

    唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。



4440
4441
4442
# File 'lib/v20170320/models.rb', line 4440

def MaxUserConnections
  @MaxUserConnections
end

#RequestIdObject

Parameters:

  • TotalCount:

    符合查询条件的账号数量。

  • Items:

    符合查询条件的账号详细信息。

  • MaxUserConnections:

    用户可设置实例最大连接数。

  • RequestId:

    唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。



4440
4441
4442
# File 'lib/v20170320/models.rb', line 4440

def RequestId
  @RequestId
end

#TotalCountObject

Parameters:

  • TotalCount:

    符合查询条件的账号数量。

  • Items:

    符合查询条件的账号详细信息。

  • MaxUserConnections:

    用户可设置实例最大连接数。

  • RequestId:

    唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。



4440
4441
4442
# File 'lib/v20170320/models.rb', line 4440

def TotalCount
  @TotalCount
end

Instance Method Details

#deserialize(params) ⇒ Object



4449
4450
4451
4452
4453
4454
4455
4456
4457
4458
4459
4460
4461
# File 'lib/v20170320/models.rb', line 4449

def deserialize(params)
  @TotalCount = params['TotalCount']
  unless params['Items'].nil?
    @Items = []
    params['Items'].each do |i|
      accountinfo_tmp = AccountInfo.new
      accountinfo_tmp.deserialize(i)
      @Items << accountinfo_tmp
    end
  end
  @MaxUserConnections = params['MaxUserConnections']
  @RequestId = params['RequestId']
end