Class: TencentCloud::Cpdp::V20190820::QueryBalanceResponse
- Inherits:
-
TencentCloud::Common::AbstractModel
- Object
- TencentCloud::Common::AbstractModel
- TencentCloud::Cpdp::V20190820::QueryBalanceResponse
- Defined in:
- lib/v20190820/models.rb
Overview
QueryBalance返回参数结构体
Instance Attribute Summary collapse
- #EndFlag ⇒ Object
- #QueryItems ⇒ Object
- #RequestId ⇒ Object
- #ResultCount ⇒ Object
- #StartRecordOffset ⇒ Object
- #TotalCount ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(resultcount = nil, startrecordoffset = nil, endflag = nil, totalcount = nil, queryitems = nil, requestid = nil) ⇒ QueryBalanceResponse
constructor
A new instance of QueryBalanceResponse.
Constructor Details
#initialize(resultcount = nil, startrecordoffset = nil, endflag = nil, totalcount = nil, queryitems = nil, requestid = nil) ⇒ QueryBalanceResponse
Returns a new instance of QueryBalanceResponse.
15050 15051 15052 15053 15054 15055 15056 15057 |
# File 'lib/v20190820/models.rb', line 15050 def initialize(resultcount=nil, startrecordoffset=nil, endflag=nil, totalcount=nil, queryitems=nil, requestid=nil) @ResultCount = resultcount @StartRecordOffset = startrecordoffset @EndFlag = endflag @TotalCount = totalcount @QueryItems = queryitems @RequestId = requestid end |
Instance Attribute Details
#EndFlag ⇒ Object
15048 15049 15050 |
# File 'lib/v20190820/models.rb', line 15048 def EndFlag @EndFlag end |
#QueryItems ⇒ Object
15048 15049 15050 |
# File 'lib/v20190820/models.rb', line 15048 def QueryItems @QueryItems end |
#RequestId ⇒ Object
15048 15049 15050 |
# File 'lib/v20190820/models.rb', line 15048 def RequestId @RequestId end |
#ResultCount ⇒ Object
15048 15049 15050 |
# File 'lib/v20190820/models.rb', line 15048 def ResultCount @ResultCount end |
#StartRecordOffset ⇒ Object
15048 15049 15050 |
# File 'lib/v20190820/models.rb', line 15048 def StartRecordOffset @StartRecordOffset end |
#TotalCount ⇒ Object
15048 15049 15050 |
# File 'lib/v20190820/models.rb', line 15048 def TotalCount @TotalCount end |
Instance Method Details
#deserialize(params) ⇒ Object
15059 15060 15061 15062 15063 15064 15065 15066 15067 15068 15069 15070 15071 15072 15073 |
# File 'lib/v20190820/models.rb', line 15059 def deserialize(params) @ResultCount = params['ResultCount'] @StartRecordOffset = params['StartRecordOffset'] @EndFlag = params['EndFlag'] @TotalCount = params['TotalCount'] unless params['QueryItems'].nil? @QueryItems = [] params['QueryItems'].each do |i| queryitem_tmp = QueryItem.new queryitem_tmp.deserialize(i) @QueryItems << queryitem_tmp end end @RequestId = params['RequestId'] end |