Class: TencentCloud::Postgres::V20170312::DescribeParamsEventResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Postgres::V20170312::DescribeParamsEventResponse
- Defined in:
- lib/v20170312/models.rb
Overview
DescribeParamsEvent返回参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(totalcount = nil, eventitems = nil, requestid = nil) ⇒ DescribeParamsEventResponse
constructor
A new instance of DescribeParamsEventResponse.
Constructor Details
#initialize(totalcount = nil, eventitems = nil, requestid = nil) ⇒ DescribeParamsEventResponse
Returns a new instance of DescribeParamsEventResponse.
4156 4157 4158 4159 4160 |
# File 'lib/v20170312/models.rb', line 4156 def initialize(totalcount=nil, eventitems=nil, requestid=nil) @TotalCount = totalcount @EventItems = eventitems @RequestId = requestid end |
Instance Attribute Details
#EventItems ⇒ Object
4154 4155 4156 |
# File 'lib/v20170312/models.rb', line 4154 def EventItems @EventItems end |
#RequestId ⇒ Object
4154 4155 4156 |
# File 'lib/v20170312/models.rb', line 4154 def RequestId @RequestId end |
#TotalCount ⇒ Object
4154 4155 4156 |
# File 'lib/v20170312/models.rb', line 4154 def TotalCount @TotalCount end |
Instance Method Details
#deserialize(params) ⇒ Object
4162 4163 4164 4165 4166 4167 4168 4169 4170 4171 4172 4173 |
# File 'lib/v20170312/models.rb', line 4162 def deserialize(params) @TotalCount = params['TotalCount'] unless params['EventItems'].nil? @EventItems = [] params['EventItems'].each do |i| eventitem_tmp = EventItem.new eventitem_tmp.deserialize(i) @EventItems << eventitem_tmp end end @RequestId = params['RequestId'] end |