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.
10684 10685 10686 10687 |
# File 'lib/v20200910/models.rb', line 10684 def initialize(timeline=nil, page=nil) @Timeline = timeline @Page = page end |
Instance Attribute Details
#Page ⇒ Object
10682 10683 10684 |
# File 'lib/v20200910/models.rb', line 10682 def Page @Page end |
#Timeline ⇒ Object
10682 10683 10684 |
# File 'lib/v20200910/models.rb', line 10682 def Timeline @Timeline end |
Instance Method Details
#deserialize(params) ⇒ Object
10689 10690 10691 10692 10693 10694 10695 10696 10697 10698 10699 |
# File 'lib/v20200910/models.rb', line 10689 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 |