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 .team_settings_data_contract_base import TeamSettingsDataContractBase
10
11
12class TeamFieldValues(TeamSettingsDataContractBase):
13    """TeamFieldValues.
14
15    :param _links: Collection of links relevant to resource
16    :type _links: :class:`ReferenceLinks <work.v4_0.models.ReferenceLinks>`
17    :param url: Full http link to the resource
18    :type url: str
19    :param default_value: The default team field value
20    :type default_value: str
21    :param field: Shallow ref to the field being used as a team field
22    :type field: :class:`FieldReference <work.v4_0.models.FieldReference>`
23    :param values: Collection of all valid team field values
24    :type values: list of :class:`TeamFieldValue <work.v4_0.models.TeamFieldValue>`
25    """
26
27    _attribute_map = {
28        '_links': {'key': '_links', 'type': 'ReferenceLinks'},
29        'url': {'key': 'url', 'type': 'str'},
30        'default_value': {'key': 'defaultValue', 'type': 'str'},
31        'field': {'key': 'field', 'type': 'FieldReference'},
32        'values': {'key': 'values', 'type': '[TeamFieldValue]'}
33    }
34
35    def __init__(self, _links=None, url=None, default_value=None, field=None, values=None):
36        super(TeamFieldValues, self).__init__(_links=_links, url=url)
37        self.default_value = default_value
38        self.field = field
39        self.values = values
40