Class: TencentCloud::Billing::V20180709::DetailSet
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Billing::V20180709::DetailSet
- Defined in:
- lib/v20180709/models.rb
Overview
由域名和使用明细组成的数据结构
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(domain = nil, detailpoints = nil, instanceid = nil) ⇒ DetailSet
constructor
A new instance of DetailSet.
Constructor Details
#initialize(domain = nil, detailpoints = nil, instanceid = nil) ⇒ DetailSet
Returns a new instance of DetailSet.
9863 9864 9865 9866 9867 |
# File 'lib/v20180709/models.rb', line 9863 def initialize(domain=nil, detailpoints=nil, instanceid=nil) @Domain = domain @DetailPoints = detailpoints @InstanceID = instanceid end |
Instance Attribute Details
#DetailPoints ⇒ Object
9861 9862 9863 |
# File 'lib/v20180709/models.rb', line 9861 def DetailPoints @DetailPoints end |
#Domain ⇒ Object
9861 9862 9863 |
# File 'lib/v20180709/models.rb', line 9861 def Domain @Domain end |
#InstanceID ⇒ Object
9861 9862 9863 |
# File 'lib/v20180709/models.rb', line 9861 def InstanceID @InstanceID end |
Instance Method Details
#deserialize(params) ⇒ Object
9869 9870 9871 9872 9873 9874 9875 9876 9877 9878 9879 9880 |
# File 'lib/v20180709/models.rb', line 9869 def deserialize(params) @Domain = params['Domain'] unless params['DetailPoints'].nil? @DetailPoints = [] params['DetailPoints'].each do |i| detailpoint_tmp = DetailPoint.new detailpoint_tmp.deserialize(i) @DetailPoints << detailpoint_tmp end end @InstanceID = params['InstanceID'] end |