Class: TencentCloud::Mrs::V20200910::TimelineInformation
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Mrs::V20200910::TimelineInformation
- Defined in:
- lib/v20200910/models.rb
Overview
时间轴
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(timeline = nil, page = nil) ⇒ TimelineInformation
constructor
A new instance of TimelineInformation.
Constructor Details
#initialize(timeline = nil, page = nil) ⇒ TimelineInformation
Returns a new instance of TimelineInformation.
10650 10651 10652 10653 |
# File 'lib/v20200910/models.rb', line 10650 def initialize(timeline=nil, page=nil) @Timeline = timeline @Page = page end |
Instance Attribute Details
#Page ⇒ Object
10648 10649 10650 |
# File 'lib/v20200910/models.rb', line 10648 def Page @Page end |
#Timeline ⇒ Object
10648 10649 10650 |
# File 'lib/v20200910/models.rb', line 10648 def Timeline @Timeline end |
Instance Method Details
#deserialize(params) ⇒ Object
10655 10656 10657 10658 10659 10660 10661 10662 10663 10664 10665 |
# File 'lib/v20200910/models.rb', line 10655 def deserialize(params) unless params['Timeline'].nil? @Timeline = [] params['Timeline'].each do |i| timelineevent_tmp = TimelineEvent.new timelineevent_tmp.deserialize(i) @Timeline << timelineevent_tmp end end @Page = params['Page'] end |