# coding=utf-8
# --------------------------------------------------------------------------
# Copyright (c) Microsoft Corporation. All rights reserved.
# Licensed under the MIT License. See License.txt in the project root for
# license information.
#
# Code generated by Microsoft (R) AutoRest Code Generator.
# Changes may cause incorrect behavior and will be lost if the code is
# regenerated.
# --------------------------------------------------------------------------
from msrest.serialization import Model
[docs]class WorkItemConfiguration(Model):
"""Work item configuration associated with an application insights resource.
:param connector_id: Connector identifier where work item is created
:type connector_id: str
:param config_display_name: Configuration friendly name
:type config_display_name: str
:param is_default: Boolean value indicating whether configuration is
default
:type is_default: bool
:param id: Unique Id for work item
:type id: str
:param config_properties: Serialized JSON object for detailed properties
:type config_properties: str
"""
_attribute_map = {
'connector_id': {'key': 'ConnectorId', 'type': 'str'},
'config_display_name': {'key': 'ConfigDisplayName', 'type': 'str'},
'is_default': {'key': 'IsDefault', 'type': 'bool'},
'id': {'key': 'Id', 'type': 'str'},
'config_properties': {'key': 'ConfigProperties', 'type': 'str'},
}
def __init__(self, *, connector_id: str=None, config_display_name: str=None, is_default: bool=None, id: str=None, config_properties: str=None, **kwargs) -> None:
super(WorkItemConfiguration, self).__init__(**kwargs)
self.connector_id = connector_id
self.config_display_name = config_display_name
self.is_default = is_default
self.id = id
self.config_properties = config_properties