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 msrest.serialization import Model
10
11
12class TimelineTeamIteration(Model):
13    """TimelineTeamIteration.
14
15    :param finish_date: The end date of the iteration
16    :type finish_date: datetime
17    :param name: The iteration name
18    :type name: str
19    :param partially_paged_work_items: All the partially paged workitems in this iteration.
20    :type partially_paged_work_items: list of [object]
21    :param path: The iteration path
22    :type path: str
23    :param start_date: The start date of the iteration
24    :type start_date: datetime
25    :param status: The status of this iteration
26    :type status: :class:`TimelineIterationStatus <work.v4_0.models.TimelineIterationStatus>`
27    :param work_items: The work items that have been paged in this iteration
28    :type work_items: list of [object]
29    """
30
31    _attribute_map = {
32        'finish_date': {'key': 'finishDate', 'type': 'iso-8601'},
33        'name': {'key': 'name', 'type': 'str'},
34        'partially_paged_work_items': {'key': 'partiallyPagedWorkItems', 'type': '[[object]]'},
35        'path': {'key': 'path', 'type': 'str'},
36        'start_date': {'key': 'startDate', 'type': 'iso-8601'},
37        'status': {'key': 'status', 'type': 'TimelineIterationStatus'},
38        'work_items': {'key': 'workItems', 'type': '[[object]]'}
39    }
40
41    def __init__(self, finish_date=None, name=None, partially_paged_work_items=None, path=None, start_date=None, status=None, work_items=None):
42        super(TimelineTeamIteration, self).__init__()
43        self.finish_date = finish_date
44        self.name = name
45        self.partially_paged_work_items = partially_paged_work_items
46        self.path = path
47        self.start_date = start_date
48        self.status = status
49        self.work_items = work_items
50