Adam Goldsmith
98daa460a6
Actual generator command: ```bash java -jar openapi-generator-cli-5.4.0.jar generate -g python-legacy \ --library asyncio \ --package-name openapi_client_udm \ --additional-properties=packageVersion=1.0.2 \ -i udm_openapi.json \ -o ./python ```
83 lines
2.3 KiB
Python
83 lines
2.3 KiB
Python
# coding: utf-8
|
|
|
|
"""
|
|
Univention Directory Manager REST interface
|
|
|
|
Schema definition for the objects in the Univention Directory Manager REST interface. # noqa: E501
|
|
|
|
The version of the OpenAPI document: 1.0.2
|
|
Generated by: https://openapi-generator.tech
|
|
"""
|
|
|
|
|
|
from __future__ import absolute_import
|
|
|
|
import unittest
|
|
|
|
import openapi_client_udm
|
|
from openapi_client_udm.api.nagios_service_api import NagiosServiceApi # noqa: E501
|
|
from openapi_client_udm.rest import ApiException
|
|
|
|
|
|
class TestNagiosServiceApi(unittest.TestCase):
|
|
"""NagiosServiceApi unit test stubs"""
|
|
|
|
def setUp(self):
|
|
self.api = openapi_client_udm.api.nagios_service_api.NagiosServiceApi() # noqa: E501
|
|
|
|
def tearDown(self):
|
|
pass
|
|
|
|
def test_udm_nagios_service_object(self):
|
|
"""Test case for udm_nagios_service_object
|
|
|
|
Get a representation of the Nagios service object with all its properties, policies, options, metadata and references. Includes also instructions how to modify, remove or move the object. # noqa: E501
|
|
"""
|
|
pass
|
|
|
|
def test_udm_nagios_service_object_create(self):
|
|
"""Test case for udm_nagios_service_object_create
|
|
|
|
Create a new Nagios service object # noqa: E501
|
|
"""
|
|
pass
|
|
|
|
def test_udm_nagios_service_object_modify(self):
|
|
"""Test case for udm_nagios_service_object_modify
|
|
|
|
Modify or move an Nagios service object # noqa: E501
|
|
"""
|
|
pass
|
|
|
|
def test_udm_nagios_service_object_remove(self):
|
|
"""Test case for udm_nagios_service_object_remove
|
|
|
|
Remove a Nagios services object # noqa: E501
|
|
"""
|
|
pass
|
|
|
|
def test_udm_nagios_service_object_search(self):
|
|
"""Test case for udm_nagios_service_object_search
|
|
|
|
Search for Nagios services objects # noqa: E501
|
|
"""
|
|
pass
|
|
|
|
def test_udm_nagios_service_object_template(self):
|
|
"""Test case for udm_nagios_service_object_template
|
|
|
|
Get a template for creating an Nagios service object (contains all properties and their default values) # noqa: E501
|
|
"""
|
|
pass
|
|
|
|
def test_udm_nagios_service_object_update(self):
|
|
"""Test case for udm_nagios_service_object_update
|
|
|
|
Modify an Nagios service object (moving is currently not possible) # noqa: E501
|
|
"""
|
|
pass
|
|
|
|
|
|
if __name__ == '__main__':
|
|
unittest.main()
|