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 .qn_aItem import QnAItem 10 11 12class Concern(QnAItem): 13 """Concern. 14 15 :param created_date: Time when the review was first created 16 :type created_date: datetime 17 :param id: Unique identifier of a QnA item 18 :type id: long 19 :param status: Get status of item 20 :type status: object 21 :param text: Text description of the QnA item 22 :type text: str 23 :param updated_date: Time when the review was edited/updated 24 :type updated_date: datetime 25 :param user: User details for the item. 26 :type user: :class:`UserIdentityRef <gallery.v4_1.models.UserIdentityRef>` 27 :param category: Category of the concern 28 :type category: object 29 """ 30 31 _attribute_map = { 32 'created_date': {'key': 'createdDate', 'type': 'iso-8601'}, 33 'id': {'key': 'id', 'type': 'long'}, 34 'status': {'key': 'status', 'type': 'object'}, 35 'text': {'key': 'text', 'type': 'str'}, 36 'updated_date': {'key': 'updatedDate', 'type': 'iso-8601'}, 37 'user': {'key': 'user', 'type': 'UserIdentityRef'}, 38 'category': {'key': 'category', 'type': 'object'} 39 } 40 41 def __init__(self, created_date=None, id=None, status=None, text=None, updated_date=None, user=None, category=None): 42 super(Concern, self).__init__(created_date=created_date, id=id, status=status, text=text, updated_date=updated_date, user=user) 43 self.category = category 44