text: # --------------------------------------------------------------------------------------------
  # Copyright (c) Microsoft Corporation. All rights reserved.
  # Licensed under the MIT License. See License.txt in the project root for license information.
  # --------------------------------------------------------------------------------------------
  # Generated file, DO NOT EDIT
  # Changes may cause incorrect behavior and will be lost if the code is regenerated.
  # --------------------------------------------------------------------------------------------
  
  from msrest.serialization import Model
  
  
  class Package(Model):
      """Package.
  
      :param _links:
      :type _links: :class:`ReferenceLinks <maven.v4_1.models.ReferenceLinks>`
      :param deleted_date: If and when the package was deleted
      :type deleted_date: datetime
      :param id:
      :type id: str
      :param name: The display name of the package
      :type name: str
      :param permanently_deleted_date: If and when the package was permanently deleted.
      :type permanently_deleted_date: datetime
      :param version: The version of the package
      :type version: str
      """
  
      _attribute_map = {
          '_links': {'key': '_links', 'type': 'ReferenceLinks'},
          'deleted_date': {'key': 'deletedDate', 'type': 'iso-8601'},
          'id': {'key': 'id', 'type': 'str'},
          'name': {'key': 'name', 'type': 'str'},
          'permanently_deleted_date': {'key': 'permanentlyDeletedDate', 'type': 'iso-8601'},
          'version': {'key': 'version', 'type': 'str'}
      }
  
      def __init__(self, _links=None, deleted_date=None, id=None, name=None, permanently_deleted_date=None, version=None):
          super(Package, self).__init__()
          self._links = _links
          self.deleted_date = deleted_date
          self.id = id
          self.name = name
          self.permanently_deleted_date = permanently_deleted_date
          self.version = version
  