예제 #1
0
    def __init__(self, job_ids=None, local_vars_configuration=None):  # noqa: E501
        """JobsArray - 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._job_ids = None
        self.discriminator = None

        self.job_ids = job_ids
예제 #2
0
    def __init__(self, object=None, id=None, deleted=None, local_vars_configuration=None):  # noqa: E501
        """ConnectionDelResponse - 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._object = None
        self._id = None
        self._deleted = None
        self.discriminator = None

        self.object = object
        self.id = id
        self.deleted = deleted
예제 #3
0
    def __init__(self, first_name=None, id=None, last_name=None, role=None, local_vars_configuration=None):  # noqa: E501
        """UpdateLicense - 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._first_name = None
        self._id = None
        self._last_name = None
        self._role = None
        self.discriminator = None

        self.first_name = first_name
        self.id = id
        self.last_name = last_name
        self.role = role
예제 #4
0
    def __init__(self,
                 _query_params=None,
                 preview_rows=None,
                 local_vars_configuration=None):  # noqa: E501
        """RunReport - 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.__query_params = None
        self._preview_rows = None
        self.discriminator = None

        if _query_params is not None:
            self._query_params = _query_params
        if preview_rows is not None:
            self.preview_rows = preview_rows
예제 #5
0
    def __init__(self, email=None, first_name=None, password=None, last_name=None, local_vars_configuration=None):  # noqa: E501
        """NewUser - 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._email = None
        self._first_name = None
        self._password = None
        self._last_name = None
        self.discriminator = None

        self.email = email
        self.first_name = first_name
        self.password = password
        if last_name is not None:
            self.last_name = last_name
예제 #6
0
    def __init__(self,
                 id=None,
                 email=None,
                 access=None,
                 local_vars_configuration=None):  # noqa: E501
        """ShareConnection - 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._id = None
        self._email = None
        self._access = None
        self.discriminator = None

        self.id = id
        self.email = email
        self.access = access
예제 #7
0
    def __init__(self,
                 id=None,
                 object=None,
                 shared_with=None,
                 local_vars_configuration=None):  # noqa: E501
        """ConnectionShareResponse - 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._id = None
        self._object = None
        self._shared_with = None
        self.discriminator = None

        self.id = id
        self.object = object
        self.shared_with = shared_with
예제 #8
0
    def __init__(self,
                 configuration=None,
                 header_name=None,
                 header_value=None,
                 cookie=None,
                 pool_threads=1):
        if configuration is None:
            configuration = Configuration.get_default_copy()
        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/0.3.8/python'
        self.client_side_validation = configuration.client_side_validation
예제 #9
0
    def __init__(self, name=None, host=None, port=None, database=None, username=None, password=None, production=None, ssl=None, enable_tunnel=None, tunnel_info=None, ssl_info=None, local_vars_configuration=None):  # noqa: E501
        """UpdateConnection - 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._name = None
        self._host = None
        self._port = None
        self._database = None
        self._username = None
        self._password = None
        self._production = None
        self._ssl = None
        self._enable_tunnel = None
        self._tunnel_info = None
        self._ssl_info = None
        self.discriminator = None

        if name is not None:
            self.name = name
        if host is not None:
            self.host = host
        if port is not None:
            self.port = port
        if database is not None:
            self.database = database
        if username is not None:
            self.username = username
        if password is not None:
            self.password = password
        if production is not None:
            self.production = production
        if ssl is not None:
            self.ssl = ssl
        if enable_tunnel is not None:
            self.enable_tunnel = enable_tunnel
        if tunnel_info is not None:
            self.tunnel_info = tunnel_info
        if ssl_info is not None:
            self.ssl_info = ssl_info
예제 #10
0
    def __init__(self,
                 id=None,
                 resource=None,
                 error=None,
                 message=None,
                 local_vars_configuration=None):  # noqa: E501
        """ErrorResponse - 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._id = None
        self._resource = None
        self._error = None
        self._message = None
        self.discriminator = None

        if id is not None:
            self.id = id
        if resource is not None:
            self.resource = resource
        self.error = error
        self.message = message
예제 #11
0
    def __init__(self, id=None, name=None, host=None, port=None, database=None, username=None, password=None, db_type=None, production=None, user=None, updated_at=None, ssl=None, updated_by=None, created_at=None, shared_with=None, enable_tunnel=None, tunnel_info=None, other_options=None, fed=None, dw=None, metadata=None, connection_type=None, integration_user_id=None, web_type=None, ssl_info=None, local_vars_configuration=None):  # noqa: E501
        """ConnectionRespose - 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._id = None
        self._name = None
        self._host = None
        self._port = None
        self._database = None
        self._username = None
        self._password = None
        self._db_type = None
        self._production = None
        self._user = None
        self._updated_at = None
        self._ssl = None
        self._updated_by = None
        self._created_at = None
        self._shared_with = None
        self._enable_tunnel = None
        self._tunnel_info = None
        self._other_options = None
        self._fed = None
        self._dw = None
        self._metadata = None
        self._connection_type = None
        self._integration_user_id = None
        self._web_type = None
        self._ssl_info = None
        self.discriminator = None

        self.id = id
        self.name = name
        self.host = host
        self.port = port
        self.database = database
        if username is not None:
            self.username = username
        if password is not None:
            self.password = password
        if db_type is not None:
            self.db_type = db_type
        if production is not None:
            self.production = production
        if user is not None:
            self.user = user
        if updated_at is not None:
            self.updated_at = updated_at
        if ssl is not None:
            self.ssl = ssl
        if updated_by is not None:
            self.updated_by = updated_by
        if created_at is not None:
            self.created_at = created_at
        if shared_with is not None:
            self.shared_with = shared_with
        if enable_tunnel is not None:
            self.enable_tunnel = enable_tunnel
        if tunnel_info is not None:
            self.tunnel_info = tunnel_info
        if other_options is not None:
            self.other_options = other_options
        if fed is not None:
            self.fed = fed
        if dw is not None:
            self.dw = dw
        if metadata is not None:
            self.metadata = metadata
        if connection_type is not None:
            self.connection_type = connection_type
        if integration_user_id is not None:
            self.integration_user_id = integration_user_id
        if web_type is not None:
            self.web_type = web_type
        if ssl_info is not None:
            self.ssl_info = ssl_info
예제 #12
0
    def __init__(self,
                 name=None,
                 id=None,
                 connection_id=None,
                 description=None,
                 db_query=None,
                 db_table=None,
                 sql_mode=None,
                 connection_type=None,
                 _query_params=None,
                 selected_cols=None,
                 available_cols=None,
                 shared_with=None,
                 db_schema=None,
                 tags=None,
                 db_database=None,
                 joins=None,
                 custom_join=None,
                 additional_info=None,
                 join_tables=None,
                 settings=None,
                 model=None,
                 integration_id=None,
                 user_id=None,
                 updated_at=None,
                 created_at=None,
                 query_version=None,
                 db_type=None,
                 domain=None,
                 local_vars_configuration=None):  # noqa: E501
        """ReportsResponse - 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._name = None
        self._id = None
        self._connection_id = None
        self._description = None
        self._db_query = None
        self._db_table = None
        self._sql_mode = None
        self._connection_type = None
        self.__query_params = None
        self._selected_cols = None
        self._available_cols = None
        self._shared_with = None
        self._db_schema = None
        self._tags = None
        self._db_database = None
        self._joins = None
        self._custom_join = None
        self._additional_info = None
        self._join_tables = None
        self._settings = None
        self._model = None
        self._integration_id = None
        self._user_id = None
        self._updated_at = None
        self._created_at = None
        self._query_version = None
        self._db_type = None
        self._domain = None
        self.discriminator = None

        self.name = name
        self.id = id
        self.connection_id = connection_id
        if description is not None:
            self.description = description
        if db_query is not None:
            self.db_query = db_query
        if db_table is not None:
            self.db_table = db_table
        if sql_mode is not None:
            self.sql_mode = sql_mode
        if connection_type is not None:
            self.connection_type = connection_type
        if _query_params is not None:
            self._query_params = _query_params
        if selected_cols is not None:
            self.selected_cols = selected_cols
        if available_cols is not None:
            self.available_cols = available_cols
        if shared_with is not None:
            self.shared_with = shared_with
        if db_schema is not None:
            self.db_schema = db_schema
        if tags is not None:
            self.tags = tags
        if db_database is not None:
            self.db_database = db_database
        if joins is not None:
            self.joins = joins
        if custom_join is not None:
            self.custom_join = custom_join
        if additional_info is not None:
            self.additional_info = additional_info
        if join_tables is not None:
            self.join_tables = join_tables
        if settings is not None:
            self.settings = settings
        if model is not None:
            self.model = model
        if integration_id is not None:
            self.integration_id = integration_id
        if user_id is not None:
            self.user_id = user_id
        if updated_at is not None:
            self.updated_at = updated_at
        if created_at is not None:
            self.created_at = created_at
        if query_version is not None:
            self.query_version = query_version
        if db_type is not None:
            self.db_type = db_type
        if domain is not None:
            self.domain = domain