Class: TencentCloud::Apcas::V20201127::GeneralStat
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Apcas::V20201127::GeneralStat
- Defined in:
- lib/v20201127/models.rb
Overview
调用量统计信息,包括周/日/月/总调用量
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(todayamount = nil, weekamount = nil, monthamount = nil, totalamount = nil) ⇒ GeneralStat
constructor
A new instance of GeneralStat.
Constructor Details
#initialize(todayamount = nil, weekamount = nil, monthamount = nil, totalamount = nil) ⇒ GeneralStat
Returns a new instance of GeneralStat.
104 105 106 107 108 109 |
# File 'lib/v20201127/models.rb', line 104 def initialize(todayamount=nil, weekamount=nil, monthamount=nil, totalamount=nil) @TodayAmount = todayamount @WeekAmount = weekamount @MonthAmount = monthamount @TotalAmount = totalamount end |
Instance Attribute Details
#MonthAmount ⇒ Object
102 103 104 |
# File 'lib/v20201127/models.rb', line 102 def MonthAmount @MonthAmount end |
#TodayAmount ⇒ Object
102 103 104 |
# File 'lib/v20201127/models.rb', line 102 def TodayAmount @TodayAmount end |
#TotalAmount ⇒ Object
102 103 104 |
# File 'lib/v20201127/models.rb', line 102 def TotalAmount @TotalAmount end |
#WeekAmount ⇒ Object
102 103 104 |
# File 'lib/v20201127/models.rb', line 102 def WeekAmount @WeekAmount end |
Instance Method Details
#deserialize(params) ⇒ Object
111 112 113 114 115 116 |
# File 'lib/v20201127/models.rb', line 111 def deserialize(params) @TodayAmount = params['TodayAmount'] @WeekAmount = params['WeekAmount'] @MonthAmount = params['MonthAmount'] @TotalAmount = params['TotalAmount'] end |