#!/usr/bin/env python

from iris_sdk.models.base_resource import BaseResource
from iris_sdk.models.data.site_totaltns import SiteTotaltnsData

XML_NAME_TOTALTNS_SITE = "SiteTNs"
XPATH_TOTALTNS_SITE = "/totaltns"

class SiteTotaltns(BaseResource, SiteTotaltnsData):

    """Total telephone numbers count for a site"""

    _node_name = XML_NAME_TOTALTNS_SITE
    _xpath = XPATH_TOTALTNS_SITE

    def get(self):
        return self._get_data()
#!/usr/bin/env python

from iris_sdk.models.base_resource import BaseResource
from iris_sdk.models.data.site_totaltns import SiteTotaltnsData

XML_NAME_TOTALTNS_SITE = "SiteTNs"
XPATH_TOTALTNS_SITE = "/totaltns"

class SiteTotaltns(BaseResource, SiteTotaltnsData):

    """Total telephone numbers count for a site"""

    _node_name = XML_NAME_TOTALTNS_SITE
    _xpath = XPATH_TOTALTNS_SITE

    def get(self):
        return self._get_data()
#!/usr/bin/env python Total telephone numbers count for a site