Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
def __init__(self, session, object_factory, request_validator):
"""Initialize a new CommandRunner
object with the provided RestSession.
Args:
session(RestSession): The RESTful session object to be used for
API calls to the DNA Center service.
Raises:
TypeError: If the parameter types are incorrect.
"""
check_type(session, RestSession)
super(CommandRunner, self).__init__()
self._session = session
self._object_factory = object_factory
self._request_validator = request_validator
def __init__(self, session, object_factory, request_validator):
"""Initialize a new NonFabricWireless object with the provided RestSession.
Args:
session(RestSession): The RESTful session object to be used for
API calls to the DNA Center service.
Raises:
TypeError: If the parameter types are incorrect.
"""
check_type(session, RestSession)
super(NonFabricWireless, self).__init__()
self._session = session
self._object_factory = object_factory
self._request_validator = request_validator
def __init__(self, session, object_factory, request_validator):
"""Initialize a new Wireless
object with the provided RestSession.
Args:
session(RestSession): The RESTful session object to be used for
API calls to the DNA Center service.
Raises:
TypeError: If the parameter types are incorrect.
"""
check_type(session, RestSession)
super(Wireless, self).__init__()
self._session = session
self._object_factory = object_factory
self._request_validator = request_validator
def __init__(self, session, object_factory, request_validator):
"""Initialize a new FabricWired
object with the provided RestSession.
Args:
session(RestSession): The RESTful session object to be used for
API calls to the DNA Center service.
Raises:
TypeError: If the parameter types are incorrect.
"""
check_type(session, RestSession)
super(FabricWired, self).__init__()
self._session = session
self._object_factory = object_factory
self._request_validator = request_validator
def __init__(self, session, object_factory, request_validator):
"""Initialize a new Sites
object with the provided RestSession.
Args:
session(RestSession): The RESTful session object to be used for
API calls to the DNA Center service.
Raises:
TypeError: If the parameter types are incorrect.
"""
check_type(session, RestSession)
super(Sites, self).__init__()
self._session = session
self._object_factory = object_factory
self._request_validator = request_validator
def __init__(self, session, object_factory, request_validator):
"""Initialize a new NetworkDiscovery object with the provided RestSession.
Args:
session(RestSession): The RESTful session object to be used for
API calls to the DNA Center service.
Raises:
TypeError: If the parameter types are incorrect.
"""
check_type(session, RestSession)
super(NetworkDiscovery, self).__init__()
self._session = session
self._object_factory = object_factory
self._request_validator = request_validator
def __init__(self, session, object_factory, request_validator):
"""Initialize a new SoftwareImageManagementSwim
object with the provided RestSession.
Args:
session(RestSession): The RESTful session object to be used for
API calls to the DNA Center service.
Raises:
TypeError: If the parameter types are incorrect.
"""
check_type(session, RestSession)
super(SoftwareImageManagementSwim, self).__init__()
self._session = session
self._object_factory = object_factory
self._request_validator = request_validator
def __init__(self, session, object_factory, request_validator):
"""Initialize a new Tag
object with the provided RestSession.
Args:
session(RestSession): The RESTful session object to be used for
API calls to the DNA Center service.
Raises:
TypeError: If the parameter types are incorrect.
"""
check_type(session, RestSession)
super(Tag, self).__init__()
self._session = session
self._object_factory = object_factory
self._request_validator = request_validator
def __init__(self, session, object_factory, request_validator):
"""Initialize a new SiteProfile
object with the provided RestSession.
Args:
session(RestSession): The RESTful session object to be used for
API calls to the DNA Center service.
Raises:
TypeError: If the parameter types are incorrect.
"""
check_type(session, RestSession)
super(SiteProfile, self).__init__()
self._session = session
self._object_factory = object_factory
self._request_validator = request_validator
def __init__(self, session, object_factory, request_validator):
"""Initialize a new PathTrace object with the provided RestSession.
Args:
session(RestSession): The RESTful session object to be used for
API calls to the DNA Center service.
Raises:
TypeError: If the parameter types are incorrect.
"""
check_type(session, RestSession)
super(PathTrace, self).__init__()
self._session = session
self._object_factory = object_factory
self._request_validator = request_validator