<reponame>hypostulate/mbta-api-client
# coding: utf-8

"""
    MBTA

    MBTA service API. https://www.mbta.com Source code: https://github.com/mbta/api  # noqa: E501

    The version of the OpenAPI document: 3.0
    Contact: <EMAIL>
    Generated by: https://openapi-generator.tech
"""


from __future__ import absolute_import

import unittest
import datetime

import openapi_client
from openapi_client.models.prediction_resource_relationships import PredictionResourceRelationships  # noqa: E501
from openapi_client.rest import ApiException

class TestPredictionResourceRelationships(unittest.TestCase):
    """PredictionResourceRelationships unit test stubs"""

    def setUp(self):
        pass

    def tearDown(self):
        pass

    def make_instance(self, include_optional):
        """Test PredictionResourceRelationships
            include_option is a boolean, when False only required
            params are included, when True both required and
            optional params are included """
        # model = openapi_client.models.prediction_resource_relationships.PredictionResourceRelationships()  # noqa: E501
        if include_optional :
            return PredictionResourceRelationships(
                vehicle = openapi_client.models.prediction_resource_relationships_vehicle.PredictionResource_relationships_vehicle(
                    links = openapi_client.models.prediction_resource_relationships_vehicle_links.PredictionResource_relationships_vehicle_links(
                        self = '0', 
                        related = '0', ), 
                    data = openapi_client.models.prediction_resource_relationships_vehicle_data.PredictionResource_relationships_vehicle_data(
                        type = '0', 
                        id = '0', ), ), 
                trip = openapi_client.models.prediction_resource_relationships_trip.PredictionResource_relationships_trip(
                    links = openapi_client.models.prediction_resource_relationships_trip_links.PredictionResource_relationships_trip_links(
                        self = '0', 
                        related = '0', ), 
                    data = openapi_client.models.prediction_resource_relationships_trip_data.PredictionResource_relationships_trip_data(
                        type = '0', 
                        id = '0', ), ), 
                stop = openapi_client.models.prediction_resource_relationships_stop.PredictionResource_relationships_stop(
                    links = openapi_client.models.prediction_resource_relationships_stop_links.PredictionResource_relationships_stop_links(
                        self = '0', 
                        related = '0', ), 
                    data = openapi_client.models.prediction_resource_relationships_stop_data.PredictionResource_relationships_stop_data(
                        type = '0', 
                        id = '0', ), ), 
                schedule = openapi_client.models.prediction_resource_relationships_schedule.PredictionResource_relationships_schedule(
                    links = openapi_client.models.prediction_resource_relationships_schedule_links.PredictionResource_relationships_schedule_links(
                        self = '0', 
                        related = '0', ), 
                    data = openapi_client.models.prediction_resource_relationships_schedule_data.PredictionResource_relationships_schedule_data(
                        type = '0', 
                        id = '0', ), ), 
                route = openapi_client.models.prediction_resource_relationships_route.PredictionResource_relationships_route(
                    links = openapi_client.models.prediction_resource_relationships_route_links.PredictionResource_relationships_route_links(
                        self = '0', 
                        related = '0', ), 
                    data = openapi_client.models.prediction_resource_relationships_route_data.PredictionResource_relationships_route_data(
                        type = '0', 
                        id = '0', ), ), 
                alerts = openapi_client.models.prediction_resource_relationships_alerts.PredictionResource_relationships_alerts(
                    links = openapi_client.models.prediction_resource_relationships_alerts_links.PredictionResource_relationships_alerts_links(
                        self = '0', 
                        related = '0', ), 
                    data = [
                        openapi_client.models.prediction_resource_relationships_alerts_data.PredictionResource_relationships_alerts_data(
                            type = '0', 
                            id = '0', )
                        ], )
            )
        else :
            return PredictionResourceRelationships(
        )

    def testPredictionResourceRelationships(self):
        """Test PredictionResourceRelationships"""
        inst_req_only = self.make_instance(include_optional=False)
        inst_req_and_optional = self.make_instance(include_optional=True)


if __name__ == '__main__':
    unittest.main()

# coding: utf-8

"""
    MBTA

    MBTA service API. https://www.mbta.com Source code: https://github.com/mbta/api  # noqa: E501

    The version of the OpenAPI document: 3.0
    Contact: <EMAIL>
    Generated by: https://openapi-generator.tech
"""


from __future__ import absolute_import

import unittest
import datetime

import openapi_client
from openapi_client.models.prediction_resource_relationships import PredictionResourceRelationships  # noqa: E501
from openapi_client.rest import ApiException

class TestPredictionResourceRelationships(unittest.TestCase):
    """PredictionResourceRelationships unit test stubs"""

    def setUp(self):
        pass

    def tearDown(self):
        pass

    def make_instance(self, include_optional):
        """Test PredictionResourceRelationships
            include_option is a boolean, when False only required
            params are included, when True both required and
            optional params are included """
        # model = openapi_client.models.prediction_resource_relationships.PredictionResourceRelationships()  # noqa: E501
        if include_optional :
            return PredictionResourceRelationships(
                vehicle = openapi_client.models.prediction_resource_relationships_vehicle.PredictionResource_relationships_vehicle(
                    links = openapi_client.models.prediction_resource_relationships_vehicle_links.PredictionResource_relationships_vehicle_links(
                        self = '0', 
                        related = '0', ), 
                    data = openapi_client.models.prediction_resource_relationships_vehicle_data.PredictionResource_relationships_vehicle_data(
                        type = '0', 
                        id = '0', ), ), 
                trip = openapi_client.models.prediction_resource_relationships_trip.PredictionResource_relationships_trip(
                    links = openapi_client.models.prediction_resource_relationships_trip_links.PredictionResource_relationships_trip_links(
                        self = '0', 
                        related = '0', ), 
                    data = openapi_client.models.prediction_resource_relationships_trip_data.PredictionResource_relationships_trip_data(
                        type = '0', 
                        id = '0', ), ), 
                stop = openapi_client.models.prediction_resource_relationships_stop.PredictionResource_relationships_stop(
                    links = openapi_client.models.prediction_resource_relationships_stop_links.PredictionResource_relationships_stop_links(
                        self = '0', 
                        related = '0', ), 
                    data = openapi_client.models.prediction_resource_relationships_stop_data.PredictionResource_relationships_stop_data(
                        type = '0', 
                        id = '0', ), ), 
                schedule = openapi_client.models.prediction_resource_relationships_schedule.PredictionResource_relationships_schedule(
                    links = openapi_client.models.prediction_resource_relationships_schedule_links.PredictionResource_relationships_schedule_links(
                        self = '0', 
                        related = '0', ), 
                    data = openapi_client.models.prediction_resource_relationships_schedule_data.PredictionResource_relationships_schedule_data(
                        type = '0', 
                        id = '0', ), ), 
                route = openapi_client.models.prediction_resource_relationships_route.PredictionResource_relationships_route(
                    links = openapi_client.models.prediction_resource_relationships_route_links.PredictionResource_relationships_route_links(
                        self = '0', 
                        related = '0', ), 
                    data = openapi_client.models.prediction_resource_relationships_route_data.PredictionResource_relationships_route_data(
                        type = '0', 
                        id = '0', ), ), 
                alerts = openapi_client.models.prediction_resource_relationships_alerts.PredictionResource_relationships_alerts(
                    links = openapi_client.models.prediction_resource_relationships_alerts_links.PredictionResource_relationships_alerts_links(
                        self = '0', 
                        related = '0', ), 
                    data = [
                        openapi_client.models.prediction_resource_relationships_alerts_data.PredictionResource_relationships_alerts_data(
                            type = '0', 
                            id = '0', )
                        ], )
            )
        else :
            return PredictionResourceRelationships(
        )

    def testPredictionResourceRelationships(self):
        """Test PredictionResourceRelationships"""
        inst_req_only = self.make_instance(include_optional=False)
        inst_req_and_optional = self.make_instance(include_optional=True)


if __name__ == '__main__':
    unittest.main()
# coding: utf-8 MBTA      MBTA service API. https://www.mbta.com Source code: https://github.com/mbta/api  # noqa: E501      The version of the OpenAPI document: 3.0     Contact: <EMAIL>     Generated by: https://openapi-generator.tech # noqa: E501 PredictionResourceRelationships unit test stubs Test PredictionResourceRelationships             include_option is a boolean, when False only required             params are included, when True both required and             optional params are included # model = openapi_client.models.prediction_resource_relationships.PredictionResourceRelationships()  # noqa: E501 Test PredictionResourceRelationships