#!/usr/bin/python
# Copyright 2011 Google Inc. All Rights Reserved.
#
# AUTO-GENERATED BY parse-schema.py
#
# DO NOT EDIT!!
#
#pylint: disable-msg=C6202
#pylint: disable-msg=C6409
#pylint: disable-msg=C6310
# These should not actually be necessary (bugs in gpylint?):
#pylint: disable-msg=E1101
#pylint: disable-msg=W0231
#
"""Auto-generated from spec: urn:broadband-forum-org:tr-181-1-0."""

import core
from tr157_v1_1 import Device_v1_4


class Device_v1_5(Device_v1_4):
  """Represents Device_v1_5."""

  def __init__(self, **defaults):
    Device_v1_4.__init__(self, defaults=defaults)
    self.Export(objects=['DeviceInfo',
                         'ManagementServer',
                         'Time'])

  class DeviceInfo(Device_v1_4.DeviceInfo):
    """Represents Device_v1_5.DeviceInfo."""

    def __init__(self, **defaults):
      Device_v1_4.DeviceInfo.__init__(self, defaults=defaults)
      self.Export(params=['ManufacturerOUI',
                          'ProductClass',
                          'SerialNumber',
                          'VendorConfigFileNumberOfEntries'],
                  lists=['VendorConfigFile'])

    class VendorConfigFile(core.Exporter):
      """Represents Device_v1_5.DeviceInfo.VendorConfigFile.{i}."""

      def __init__(self, **defaults):
        core.Exporter.__init__(self, defaults=defaults)
        self.Export(params=['Date',
                            'Description',
                            'Name',
                            'Version'])

  class ManagementServer(Device_v1_4.ManagementServer):
    """Represents Device_v1_5.ManagementServer."""

    def __init__(self, **defaults):
      Device_v1_4.ManagementServer.__init__(self, defaults=defaults)
      self.Export(params=['CWMPRetryIntervalMultiplier',
                          'CWMPRetryMinimumWaitInterval',
                          'DefaultActiveNotificationThrottle',
                          'EnableCWMP'])

  class Time(Device_v1_4.Time):
    """Represents Device_v1_5.Time."""

    def __init__(self, **defaults):
      Device_v1_4.Time.__init__(self, defaults=defaults)
      self.Export(params=['Enable',
                          'Status'])


if __name__ == '__main__':
  print core.DumpSchema(Device_v1_5)
