Class: TencentCloud::Billing::V20180709::DescribeDosageDetailByDateResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Billing::V20180709::DescribeDosageDetailByDateResponse
- Defined in:
- lib/v20180709/models.rb
Overview
DescribeDosageDetailByDate返回参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(unit = nil, detailsets = nil, retcode = nil, retmsg = nil, requestid = nil) ⇒ DescribeDosageDetailByDateResponse
constructor
A new instance of DescribeDosageDetailByDateResponse.
Constructor Details
#initialize(unit = nil, detailsets = nil, retcode = nil, retmsg = nil, requestid = nil) ⇒ DescribeDosageDetailByDateResponse
Returns a new instance of DescribeDosageDetailByDateResponse.
9231 9232 9233 9234 9235 9236 9237 |
# File 'lib/v20180709/models.rb', line 9231 def initialize(unit=nil, detailsets=nil, retcode=nil, retmsg=nil, requestid=nil) @Unit = unit @DetailSets = detailsets @RetCode = retcode @RetMsg = retmsg @RequestId = requestid end |
Instance Attribute Details
#DetailSets ⇒ Object
9229 9230 9231 |
# File 'lib/v20180709/models.rb', line 9229 def DetailSets @DetailSets end |
#RequestId ⇒ Object
9229 9230 9231 |
# File 'lib/v20180709/models.rb', line 9229 def RequestId @RequestId end |
#RetCode ⇒ Object
9229 9230 9231 |
# File 'lib/v20180709/models.rb', line 9229 def RetCode @RetCode end |
#RetMsg ⇒ Object
9229 9230 9231 |
# File 'lib/v20180709/models.rb', line 9229 def RetMsg @RetMsg end |
#Unit ⇒ Object
9229 9230 9231 |
# File 'lib/v20180709/models.rb', line 9229 def Unit @Unit end |
Instance Method Details
#deserialize(params) ⇒ Object
9239 9240 9241 9242 9243 9244 9245 9246 9247 9248 9249 9250 9251 9252 |
# File 'lib/v20180709/models.rb', line 9239 def deserialize(params) @Unit = params['Unit'] unless params['DetailSets'].nil? @DetailSets = [] params['DetailSets'].each do |i| detailset_tmp = DetailSet.new detailset_tmp.deserialize(i) @DetailSets << detailset_tmp end end @RetCode = params['RetCode'] @RetMsg = params['RetMsg'] @RequestId = params['RequestId'] end |