# Path: zenpy/lib/api_objects/help_centre_objects.py
# class Category(BaseObject):
#     """
#     ######################################################################
#     #    Do not modify, this class is autogenerated by gen_classes.py    #
#     ######################################################################
#     """
#     def __init__(self,
#                  api=None,
#                  created_at=None,
#                  description=None,
#                  html_url=None,
#                  id=None,
#                  locale=None,
#                  name=None,
#                  outdated=None,
#                  position=None,
#                  source_locale=None,
#                  updated_at=None,
#                  url=None,
#                  **kwargs):
# 
#         self.api = api
#         self.created_at = created_at
#         self.description = description
#         self.html_url = html_url
#         self.id = id
#         self.locale = locale
#         self.name = name
#         self.outdated = outdated
#         self.position = position
#         self.source_locale = source_locale
#         self.updated_at = updated_at
#         self.url = url
# 
#         for key, value in kwargs.items():
#             setattr(self, key, value)
# 
#         for key in self.to_dict():
#             if getattr(self, key) is None:
#                 try:
#                     self._dirty_attributes.remove(key)
#                 except KeyError:
#                     continue
# 
#     @property
#     def created(self):
# 
#         if self.created_at:
#             return dateutil.parser.parse(self.created_at)
# 
#     @created.setter
#     def created(self, created):
#         if created:
#             self.created_at = created
# 
#     @property
#     def updated(self):
# 
#         if self.updated_at:
#             return dateutil.parser.parse(self.updated_at)
# 
#     @updated.setter
#     def updated(self, updated):
#         if updated:
#             self.updated_at = updated


from zenpy.lib.api_objects.help_centre_objects import Category
from test_api.fixtures import (
    SingleUpdateApiTestCase,
    SingleCreateApiTestCase,
    SingleDeleteApiTestCase,
)


class TestCategoryCreateUpdateDelete(
    SingleUpdateApiTestCase, SingleCreateApiTestCase, SingleDeleteApiTestCase
):
    __test__ = True

# Path: zenpy/lib/api_objects/help_centre_objects.py
# class Category(BaseObject):
#     """
#     ######################################################################
#     #    Do not modify, this class is autogenerated by gen_classes.py    #
#     ######################################################################
#     """
#     def __init__(self,
#                  api=None,
#                  created_at=None,
#                  description=None,
#                  html_url=None,
#                  id=None,
#                  locale=None,
#                  name=None,
#                  outdated=None,
#                  position=None,
#                  source_locale=None,
#                  updated_at=None,
#                  url=None,
#                  **kwargs):
# 
#         self.api = api
#         self.created_at = created_at
#         self.description = description
#         self.html_url = html_url
#         self.id = id
#         self.locale = locale
#         self.name = name
#         self.outdated = outdated
#         self.position = position
#         self.source_locale = source_locale
#         self.updated_at = updated_at
#         self.url = url
# 
#         for key, value in kwargs.items():
#             setattr(self, key, value)
# 
#         for key in self.to_dict():
#             if getattr(self, key) is None:
#                 try:
#                     self._dirty_attributes.remove(key)
#                 except KeyError:
#                     continue
# 
#     @property
#     def created(self):
# 
#         if self.created_at:
#             return dateutil.parser.parse(self.created_at)
# 
#     @created.setter
#     def created(self, created):
#         if created:
#             self.created_at = created
# 
#     @property
#     def updated(self):
# 
#         if self.updated_at:
#             return dateutil.parser.parse(self.updated_at)
# 
#     @updated.setter
#     def updated(self, updated):
#         if updated:
#             self.updated_at = updated


# Path: tests/test_api/test_create_update_delete_helpcentre.py
from zenpy.lib.api_objects.help_centre_objects import Category
from test_api.fixtures import (
    SingleUpdateApiTestCase,
    SingleCreateApiTestCase,
    SingleDeleteApiTestCase,
)



class TestCategoryCreateUpdateDelete(
    SingleUpdateApiTestCase, SingleCreateApiTestCase, SingleDeleteApiTestCase
):
    __test__ = True

    ZenpyType = Category