Class: TencentCloud::Scf::V20180416::GetAccountResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Scf::V20180416::GetAccountResponse
- Defined in:
- lib/v20180416/models.rb
Overview
GetAccount返回参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(accountusage = nil, accountlimit = nil, requestid = nil) ⇒ GetAccountResponse
constructor
A new instance of GetAccountResponse.
Constructor Details
#initialize(accountusage = nil, accountlimit = nil, requestid = nil) ⇒ GetAccountResponse
Returns a new instance of GetAccountResponse.
1649 1650 1651 1652 1653 |
# File 'lib/v20180416/models.rb', line 1649 def initialize(accountusage=nil, accountlimit=nil, requestid=nil) @AccountUsage = accountusage @AccountLimit = accountlimit @RequestId = requestid end |
Instance Attribute Details
#AccountLimit ⇒ Object
1647 1648 1649 |
# File 'lib/v20180416/models.rb', line 1647 def AccountLimit @AccountLimit end |
#AccountUsage ⇒ Object
1647 1648 1649 |
# File 'lib/v20180416/models.rb', line 1647 def AccountUsage @AccountUsage end |
#RequestId ⇒ Object
1647 1648 1649 |
# File 'lib/v20180416/models.rb', line 1647 def RequestId @RequestId end |
Instance Method Details
#deserialize(params) ⇒ Object
1655 1656 1657 1658 1659 1660 1661 1662 1663 1664 1665 |
# File 'lib/v20180416/models.rb', line 1655 def deserialize(params) unless params['AccountUsage'].nil? @AccountUsage = UsageInfo.new @AccountUsage.deserialize(params['AccountUsage']) end unless params['AccountLimit'].nil? @AccountLimit = LimitsInfo.new @AccountLimit.deserialize(params['AccountLimit']) end @RequestId = params['RequestId'] end |