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 Folder(Model):
13    """Folder.
14
15    :param created_by: The process or person who created the folder.
16    :type created_by: :class:`IdentityRef <build.v4_1.models.IdentityRef>`
17    :param created_on: The date the folder was created.
18    :type created_on: datetime
19    :param description: The description.
20    :type description: str
21    :param last_changed_by: The process or person that last changed the folder.
22    :type last_changed_by: :class:`IdentityRef <build.v4_1.models.IdentityRef>`
23    :param last_changed_date: The date the folder was last changed.
24    :type last_changed_date: datetime
25    :param path: The full path.
26    :type path: str
27    :param project: The project.
28    :type project: :class:`TeamProjectReference <build.v4_1.models.TeamProjectReference>`
29    """
30
31    _attribute_map = {
32        'created_by': {'key': 'createdBy', 'type': 'IdentityRef'},
33        'created_on': {'key': 'createdOn', 'type': 'iso-8601'},
34        'description': {'key': 'description', 'type': 'str'},
35        'last_changed_by': {'key': 'lastChangedBy', 'type': 'IdentityRef'},
36        'last_changed_date': {'key': 'lastChangedDate', 'type': 'iso-8601'},
37        'path': {'key': 'path', 'type': 'str'},
38        'project': {'key': 'project', 'type': 'TeamProjectReference'}
39    }
40
41    def __init__(self, created_by=None, created_on=None, description=None, last_changed_by=None, last_changed_date=None, path=None, project=None):
42        super(Folder, self).__init__()
43        self.created_by = created_by
44        self.created_on = created_on
45        self.description = description
46        self.last_changed_by = last_changed_by
47        self.last_changed_date = last_changed_date
48        self.path = path
49        self.project = project
50