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 ReviewReply(Model): 13 """ReviewReply. 14 15 :param id: Id of the reply 16 :type id: long 17 :param is_deleted: Flag for soft deletion 18 :type is_deleted: bool 19 :param product_version: Version of the product when the reply was submitted or updated 20 :type product_version: str 21 :param reply_text: Content of the reply 22 :type reply_text: str 23 :param review_id: Id of the review, to which this reply belongs 24 :type review_id: long 25 :param title: Title of the reply 26 :type title: str 27 :param updated_date: Date the reply was submitted or updated 28 :type updated_date: datetime 29 :param user_id: Id of the user who left the reply 30 :type user_id: str 31 """ 32 33 _attribute_map = { 34 'id': {'key': 'id', 'type': 'long'}, 35 'is_deleted': {'key': 'isDeleted', 'type': 'bool'}, 36 'product_version': {'key': 'productVersion', 'type': 'str'}, 37 'reply_text': {'key': 'replyText', 'type': 'str'}, 38 'review_id': {'key': 'reviewId', 'type': 'long'}, 39 'title': {'key': 'title', 'type': 'str'}, 40 'updated_date': {'key': 'updatedDate', 'type': 'iso-8601'}, 41 'user_id': {'key': 'userId', 'type': 'str'} 42 } 43 44 def __init__(self, id=None, is_deleted=None, product_version=None, reply_text=None, review_id=None, title=None, updated_date=None, user_id=None): 45 super(ReviewReply, self).__init__() 46 self.id = id 47 self.is_deleted = is_deleted 48 self.product_version = product_version 49 self.reply_text = reply_text 50 self.review_id = review_id 51 self.title = title 52 self.updated_date = updated_date 53 self.user_id = user_id 54