Class: TencentCloud::Dbbrain::V20210527::IssueTypeInfo
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Dbbrain::V20210527::IssueTypeInfo
- Defined in:
- lib/v20210527/models.rb
Overview
指标信息。
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(issuetype = nil, events = nil, totalcount = nil) ⇒ IssueTypeInfo
constructor
A new instance of IssueTypeInfo.
Constructor Details
#initialize(issuetype = nil, events = nil, totalcount = nil) ⇒ IssueTypeInfo
Returns a new instance of IssueTypeInfo.
5696 5697 5698 5699 5700 |
# File 'lib/v20210527/models.rb', line 5696 def initialize(issuetype=nil, events=nil, totalcount=nil) @IssueType = issuetype @Events = events @TotalCount = totalcount end |
Instance Attribute Details
#Events ⇒ Object
5694 5695 5696 |
# File 'lib/v20210527/models.rb', line 5694 def Events @Events end |
#IssueType ⇒ Object
5694 5695 5696 |
# File 'lib/v20210527/models.rb', line 5694 def IssueType @IssueType end |
#TotalCount ⇒ Object
5694 5695 5696 |
# File 'lib/v20210527/models.rb', line 5694 def TotalCount @TotalCount end |
Instance Method Details
#deserialize(params) ⇒ Object
5702 5703 5704 5705 5706 5707 5708 5709 5710 5711 5712 5713 |
# File 'lib/v20210527/models.rb', line 5702 def deserialize(params) @IssueType = params['IssueType'] unless params['Events'].nil? @Events = [] params['Events'].each do |i| eventinfo_tmp = EventInfo.new eventinfo_tmp.deserialize(i) @Events << eventinfo_tmp end end @TotalCount = params['TotalCount'] end |