Class: TencentCloud::Sqlserver::V20180328::DescribeAccountPrivilegeByDBResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Sqlserver::V20180328::DescribeAccountPrivilegeByDBResponse
- Defined in:
- lib/v20180328/models.rb
Overview
DescribeAccountPrivilegeByDB返回参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(totalcount = nil, accounts = nil, requestid = nil) ⇒ DescribeAccountPrivilegeByDBResponse
constructor
A new instance of DescribeAccountPrivilegeByDBResponse.
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
#Accounts ⇒ Object
3190 3191 3192 |
# File 'lib/v20180328/models.rb', line 3190 def Accounts @Accounts end |
#RequestId ⇒ Object
3190 3191 3192 |
# File 'lib/v20180328/models.rb', line 3190 def RequestId @RequestId end |
#TotalCount ⇒ Object
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 |