Class: TencentCloud::Dbbrain::V20191016::IssueTypeInfo

Inherits:
Common::AbstractModel
  • Object
show all
Defined in:
lib/v20191016/models.rb

Overview

指标信息。

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(issuetype = nil, events = nil, totalcount = nil) ⇒ IssueTypeInfo



2211
2212
2213
2214
2215
# File 'lib/v20191016/models.rb', line 2211

def initialize(issuetype=nil, events=nil, totalcount=nil)
  @IssueType = issuetype
  @Events = events
  @TotalCount = totalcount
end

Instance Attribute Details

#EventsObject



2209
2210
2211
# File 'lib/v20191016/models.rb', line 2209

def Events
  @Events
end

#IssueTypeObject



2209
2210
2211
# File 'lib/v20191016/models.rb', line 2209

def IssueType
  @IssueType
end

#TotalCountObject



2209
2210
2211
# File 'lib/v20191016/models.rb', line 2209

def TotalCount
  @TotalCount
end

Instance Method Details

#deserialize(params) ⇒ Object



2217
2218
2219
2220
2221
2222
2223
2224
2225
2226
2227
2228
# File 'lib/v20191016/models.rb', line 2217

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