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 BacklogLevel(Model):
13    """BacklogLevel.
14
15    :param category_reference_name: Reference name of the corresponding WIT category
16    :type category_reference_name: str
17    :param plural_name: Plural name for the backlog level
18    :type plural_name: str
19    :param work_item_states: Collection of work item states that are included in the plan. The server will filter to only these work item types.
20    :type work_item_states: list of str
21    :param work_item_types: Collection of valid workitem type names for the given backlog level
22    :type work_item_types: list of str
23    """
24
25    _attribute_map = {
26        'category_reference_name': {'key': 'categoryReferenceName', 'type': 'str'},
27        'plural_name': {'key': 'pluralName', 'type': 'str'},
28        'work_item_states': {'key': 'workItemStates', 'type': '[str]'},
29        'work_item_types': {'key': 'workItemTypes', 'type': '[str]'}
30    }
31
32    def __init__(self, category_reference_name=None, plural_name=None, work_item_states=None, work_item_types=None):
33        super(BacklogLevel, self).__init__()
34        self.category_reference_name = category_reference_name
35        self.plural_name = plural_name
36        self.work_item_states = work_item_states
37        self.work_item_types = work_item_types
38