1# -------------------------------------------------------------------------------------------- 2# Copyright (c) Microsoft Corporation. All rights reserved. 3# Licensed under the MIT License. See License.txt in the project root for license information. 4# -------------------------------------------------------------------------------------------- 5# Generated file, DO NOT EDIT 6# Changes may cause incorrect behavior and will be lost if the code is regenerated. 7# -------------------------------------------------------------------------------------------- 8 9from .timeline_reference import TimelineReference 10 11 12class Timeline(TimelineReference): 13 """Timeline. 14 15 :param change_id: 16 :type change_id: int 17 :param id: 18 :type id: str 19 :param location: 20 :type location: str 21 :param last_changed_by: 22 :type last_changed_by: str 23 :param last_changed_on: 24 :type last_changed_on: datetime 25 :param records: 26 :type records: list of :class:`TimelineRecord <task.v4_1.models.TimelineRecord>` 27 """ 28 29 _attribute_map = { 30 'change_id': {'key': 'changeId', 'type': 'int'}, 31 'id': {'key': 'id', 'type': 'str'}, 32 'location': {'key': 'location', 'type': 'str'}, 33 'last_changed_by': {'key': 'lastChangedBy', 'type': 'str'}, 34 'last_changed_on': {'key': 'lastChangedOn', 'type': 'iso-8601'}, 35 'records': {'key': 'records', 'type': '[TimelineRecord]'} 36 } 37 38 def __init__(self, change_id=None, id=None, location=None, last_changed_by=None, last_changed_on=None, records=None): 39 super(Timeline, self).__init__(change_id=change_id, id=id, location=location) 40 self.last_changed_by = last_changed_by 41 self.last_changed_on = last_changed_on 42 self.records = records 43