Example #1
0
    def __init__(self,
                 leaf_id=None,
                 local_vars_configuration=None):  # noqa: E501
        """Leaf - a model defined in OpenAPI"""  # noqa: E501
        if local_vars_configuration is None:
            local_vars_configuration = Configuration()
        self.local_vars_configuration = local_vars_configuration

        self._leaf_id = None
        self.discriminator = None

        self.leaf_id = leaf_id
    def __init__(self,
                 code=None,
                 message=None,
                 local_vars_configuration=None):  # noqa: E501
        """Error - a model defined in OpenAPI"""  # noqa: E501
        if local_vars_configuration is None:
            local_vars_configuration = Configuration()
        self.local_vars_configuration = local_vars_configuration

        self._code = None
        self._message = None
        self.discriminator = None

        self.code = code
        self.message = message
Example #3
0
    def __init__(self, configuration=None, header_name=None, header_value=None,
                 cookie=None, pool_threads=1):
        if configuration is None:
            configuration = Configuration()
        self.configuration = configuration
        self.pool_threads = pool_threads

        self.rest_client = rest.RESTClientObject(configuration)
        self.default_headers = {}
        if header_name is not None:
            self.default_headers[header_name] = header_value
        self.cookie = cookie
        # Set default User-Agent.
        self.user_agent = 'OpenAPI-Generator/1.0.0/python'
        self.client_side_validation = configuration.client_side_validation
Example #4
0
    def __init__(self,
                 experiment_id=None,
                 leaf_id=None,
                 local_vars_configuration=None):  # noqa: E501
        """NeighbourSummary - a model defined in OpenAPI"""  # noqa: E501
        if local_vars_configuration is None:
            local_vars_configuration = Configuration()
        self.local_vars_configuration = local_vars_configuration

        self._experiment_id = None
        self._leaf_id = None
        self.discriminator = None

        self.experiment_id = experiment_id
        self.leaf_id = leaf_id
    def __init__(self,
                 experiment_id=None,
                 nearest_neighbours=None,
                 nearest_leaf_node=None,
                 local_vars_configuration=None):  # noqa: E501
        """Sample - a model defined in OpenAPI"""  # noqa: E501
        if local_vars_configuration is None:
            local_vars_configuration = Configuration()
        self.local_vars_configuration = local_vars_configuration

        self._experiment_id = None
        self._nearest_neighbours = None
        self._nearest_leaf_node = None
        self.discriminator = None

        self.experiment_id = experiment_id
        if nearest_neighbours is not None:
            self.nearest_neighbours = nearest_neighbours
        if nearest_leaf_node is not None:
            self.nearest_leaf_node = nearest_leaf_node