示例#1
0
    def __init__(self, **kwargs):
        self._tm1_rest = RestService(**kwargs)

        # instantiate all Services
        self.annotations = AnnotationService(self._tm1_rest)
        self.cells = CellService(self._tm1_rest)
        self.chores = ChoreService(self._tm1_rest)
        self.cubes = CubeService(self._tm1_rest)
        self.dimensions = DimensionService(self._tm1_rest)
        self.elements = ElementService(self._tm1_rest)
        self.hierarchies = HierarchyService(self._tm1_rest)
        self.monitoring = MonitoringService(self._tm1_rest)
        self.power_bi = PowerBiService(self._tm1_rest)
        self.processes = ProcessService(self._tm1_rest)
        self.security = SecurityService(self._tm1_rest)
        self.server = ServerService(self._tm1_rest)
        self.subsets = SubsetService(self._tm1_rest)
        self.applications = ApplicationService(self._tm1_rest)
        self.views = ViewService(self._tm1_rest)
示例#2
0
 def _instantiate_services(self):
     self.annotations = AnnotationService(self._tm1_rest)
     self.cells = CellService(self._tm1_rest)
     self.chores = ChoreService(self._tm1_rest)
     self.cubes = CubeService(self._tm1_rest)
     self.dimensions = DimensionService(self._tm1_rest)
     self.elements = ElementService(self._tm1_rest)
     self.git = GitService(self._tm1_rest)
     self.hierarchies = HierarchyService(self._tm1_rest)
     self.monitoring = MonitoringService(self._tm1_rest)
     self.power_bi = PowerBiService(self._tm1_rest)
     self.processes = ProcessService(self._tm1_rest)
     self.security = SecurityService(self._tm1_rest)
     self.server = ServerService(self._tm1_rest)
     self.subsets = SubsetService(self._tm1_rest)
     self.applications = ApplicationService(self._tm1_rest)
     self.views = ViewService(self._tm1_rest)
     self.sandboxes = SandboxService(self._tm1_rest)
     self.git = GitService(self._tm1_rest)