# Path: tenable_io/api/models.py
# class Template(BaseModel):
# 
#     def __init__(
#             self,
#             uuid=None,
#             name=None,
#             title=None,
#             description=None,
#             cloud_only=None,
#             subscription_only=None,
#             is_agent=None,
#             more_info=None,
#     ):
#         self.uuid = uuid
#         self.name = name
#         self.title = title
#         self.description = description
#         self.cloud_only = cloud_only
#         self.subscription_only = subscription_only
#         self.is_agent = is_agent
#         self.more_info = more_info
# 
# Path: tenable_io/exceptions.py
# class TenableIOException(Exception):
# 
#     def __init__(self, message=None, code=None):
#         self.code = code if code else TenableIOErrorCode.GENERIC
#         self.message = message if message else self.code.description
# 
#     def __str__(self):
#         return self.message


from tenable_io.api.models import Template
from tenable_io.api.policies import PolicyCreateRequest, PolicyImportRequest, PolicySettings
from tenable_io.exceptions import TenableIOException


class PolicyHelper(object):

    def __init__(self, client):
        self._client = client


# Path: tenable_io/api/models.py
# class Template(BaseModel):
# 
#     def __init__(
#             self,
#             uuid=None,
#             name=None,
#             title=None,
#             description=None,
#             cloud_only=None,
#             subscription_only=None,
#             is_agent=None,
#             more_info=None,
#     ):
#         self.uuid = uuid
#         self.name = name
#         self.title = title
#         self.description = description
#         self.cloud_only = cloud_only
#         self.subscription_only = subscription_only
#         self.is_agent = is_agent
#         self.more_info = more_info
# 
# Path: tenable_io/exceptions.py
# class TenableIOException(Exception):
# 
#     def __init__(self, message=None, code=None):
#         self.code = code if code else TenableIOErrorCode.GENERIC
#         self.message = message if message else self.code.description
# 
#     def __str__(self):
#         return self.message


# Path: tenable_io/helpers/policy.py
from tenable_io.api.models import Template
from tenable_io.api.policies import PolicyCreateRequest, PolicyImportRequest, PolicySettings
from tenable_io.exceptions import TenableIOException



class PolicyHelper(object):

    def __init__(self, client):
        self._client = client


    def create(self, name, template):