Class: TencentCloud::Sqlserver::V20180328::DescribeAccountPrivilegeByDBResponse

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

Overview

DescribeAccountPrivilegeByDB返回参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

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

Returns a new instance of DescribeAccountPrivilegeByDBResponse.



3192
3193
3194
3195
3196
# File 'lib/v20180328/models.rb', line 3192

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)。定位问题时需要提供该次请求的 RequestId。



3190
3191
3192
# File 'lib/v20180328/models.rb', line 3190

def Accounts
  @Accounts
end

#RequestIdObject

Parameters:

  • TotalCount:

    账号总数量

  • Accounts:

    账号权限列表

  • RequestId:

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



3190
3191
3192
# File 'lib/v20180328/models.rb', line 3190

def RequestId
  @RequestId
end

#TotalCountObject

Parameters:

  • TotalCount:

    账号总数量

  • Accounts:

    账号权限列表

  • RequestId:

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



3190
3191
3192
# File 'lib/v20180328/models.rb', line 3190

def TotalCount
  @TotalCount
end

Instance Method Details

#deserialize(params) ⇒ Object



3198
3199
3200
3201
3202
3203
3204
3205
3206
3207
3208
3209
# File 'lib/v20180328/models.rb', line 3198

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