Ejemplo n.º 1
0
    def __init__(self,
                 status=None,
                 id=None,
                 category=None,
                 sub_category=None,
                 message=None,
                 errors=None,
                 context=None,
                 links=None,
                 local_vars_configuration=None):  # noqa: E501
        """StandardError - 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._status = None
        self._id = None
        self._category = None
        self._sub_category = None
        self._message = None
        self._errors = None
        self._context = None
        self._links = None
        self.discriminator = None

        self.status = status
        if id is not None:
            self.id = id
        self.category = category
        if sub_category is not None:
            self.sub_category = sub_category
        self.message = message
        self.errors = errors
        self.context = context
        self.links = links
    def __init__(
        self,
        id=None,
        path=None,
        name=None,
        created_at=None,
        child_table_id=None,
        values=None,
        local_vars_configuration=None,
    ):  # noqa: E501
        """HubDbTableRowV3 - 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._path = None
        self._name = None
        self._created_at = None
        self._child_table_id = None
        self._values = None
        self.discriminator = None

        self.id = id
        self.path = path
        self.name = name
        self.created_at = created_at
        self.child_table_id = child_table_id
        self.values = values
    def __init__(self,
                 status=None,
                 results=None,
                 requested_at=None,
                 started_at=None,
                 completed_at=None,
                 links=None,
                 local_vars_configuration=None):  # noqa: E501
        """BatchResponseHubDbTableRowV3 - 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._status = None
        self._results = None
        self._requested_at = None
        self._started_at = None
        self._completed_at = None
        self._links = None
        self.discriminator = None

        if status is not None:
            self.status = status
        if results is not None:
            self.results = results
        if requested_at is not None:
            self.requested_at = requested_at
        if started_at is not None:
            self.started_at = started_at
        if completed_at is not None:
            self.completed_at = completed_at
        if links is not None:
            self.links = links
Ejemplo n.º 4
0
    def __init__(self, archived=None, name=None, options=None, width=None, label=None, id=None, type=None, local_vars_configuration=None):  # noqa: E501
        """ColumnInput - 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._archived = None
        self._name = None
        self._options = None
        self._width = None
        self._label = None
        self._id = None
        self._type = None
        self.discriminator = None

        if archived is not None:
            self.archived = archived
        self.name = name
        if options is not None:
            self.options = options
        if width is not None:
            self.width = width
        self.label = label
        if id is not None:
            self.id = id
        self.type = type
Ejemplo n.º 5
0
    def __init__(self,
                 message=None,
                 _in=None,
                 code=None,
                 sub_category=None,
                 context=None,
                 local_vars_configuration=None):  # noqa: E501
        """ErrorDetail - 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._message = None
        self.__in = None
        self._code = None
        self._sub_category = None
        self._context = None
        self.discriminator = None

        self.message = message
        if _in is not None:
            self._in = _in
        if code is not None:
            self.code = code
        if sub_category is not None:
            self.sub_category = sub_category
        if context is not None:
            self.context = context
Ejemplo n.º 6
0
    def __init__(self,
                 message=None,
                 correlation_id=None,
                 category=None,
                 sub_category=None,
                 errors=None,
                 context=None,
                 links=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._message = None
        self._correlation_id = None
        self._category = None
        self._sub_category = None
        self._errors = None
        self._context = None
        self._links = None
        self.discriminator = None

        self.message = message
        self.correlation_id = correlation_id
        self.category = category
        if sub_category is not None:
            self.sub_category = sub_category
        if errors is not None:
            self.errors = errors
        if context is not None:
            self.context = context
        if links is not None:
            self.links = links
Ejemplo n.º 7
0
    def __init__(self,
                 id=None,
                 name=None,
                 label=None,
                 type=None,
                 options=None,
                 foreign_table_id=None,
                 foreign_column_id=None,
                 local_vars_configuration=None):  # noqa: E501
        """ColumnRequest - 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._label = None
        self._type = None
        self._options = None
        self._foreign_table_id = None
        self._foreign_column_id = None
        self.discriminator = None

        self.id = id
        self.name = name
        self.label = label
        self.type = type
        self.options = options
        if foreign_table_id is not None:
            self.foreign_table_id = foreign_table_id
        if foreign_column_id is not None:
            self.foreign_column_id = foreign_column_id
Ejemplo n.º 8
0
    def __init__(
        self,
        name=None,
        label=None,
        id=None,
        width=None,
        foreign_table_id=None,
        foreign_column_id=None,
        foreign_ids=None,
        foreign_ids_by_id=None,
        foreign_ids_by_name=None,
        type=None,
        option_count=None,
        archived=None,
        options=None,
        local_vars_configuration=None,
    ):  # noqa: E501
        """Column - 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._label = None
        self._id = None
        self._width = None
        self._foreign_table_id = None
        self._foreign_column_id = None
        self._foreign_ids = None
        self._foreign_ids_by_id = None
        self._foreign_ids_by_name = None
        self._type = None
        self._option_count = None
        self._archived = None
        self._options = None
        self.discriminator = None

        self.name = name
        self.label = label
        if id is not None:
            self.id = id
        if width is not None:
            self.width = width
        if foreign_table_id is not None:
            self.foreign_table_id = foreign_table_id
        if foreign_column_id is not None:
            self.foreign_column_id = foreign_column_id
        if foreign_ids is not None:
            self.foreign_ids = foreign_ids
        if foreign_ids_by_id is not None:
            self.foreign_ids_by_id = foreign_ids_by_id
        if foreign_ids_by_name is not None:
            self.foreign_ids_by_name = foreign_ids_by_name
        self.type = type
        if option_count is not None:
            self.option_count = option_count
        if archived is not None:
            self.archived = archived
        if options is not None:
            self.options = options
Ejemplo n.º 9
0
    def __init__(
        self,
        archived=None,
        name=None,
        label=None,
        published=None,
        local_vars_configuration=None,
    ):  # noqa: E501
        """HubDbTableV3LiveInput - 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._archived = None
        self._name = None
        self._label = None
        self._published = None
        self.discriminator = None

        if archived is not None:
            self.archived = archived
        if name is not None:
            self.name = name
        if label is not None:
            self.label = label
        if published is not None:
            self.published = published
    def __init__(
        self,
        path=None,
        child_table_id=None,
        values=None,
        name=None,
        local_vars_configuration=None,
    ):  # noqa: E501
        """HubDbTableRowV3Input - 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._path = None
        self._child_table_id = None
        self._values = None
        self._name = None
        self.discriminator = None

        if path is not None:
            self.path = path
        if child_table_id is not None:
            self.child_table_id = child_table_id
        if values is not None:
            self.values = values
        if name is not None:
            self.name = name
Ejemplo n.º 11
0
    def __init__(self, inputs=None, local_vars_configuration=None):  # noqa: E501
        """BatchInputJsonNode - 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._inputs = None
        self.discriminator = None

        self.inputs = inputs
Ejemplo n.º 12
0
    def __init__(self, next=None, local_vars_configuration=None):  # noqa: E501
        """ForwardPaging - 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._next = None
        self.discriminator = None

        if next is not None:
            self.next = next
Ejemplo n.º 13
0
    def __init__(self, after=None, link=None, local_vars_configuration=None):  # noqa: E501
        """NextPage - 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._after = None
        self._link = None
        self.discriminator = None

        self.after = after
        if link is not None:
            self.link = link
Ejemplo n.º 14
0
    def __init__(self, id=None, name=None, type=None, local_vars_configuration=None):  # noqa: E501
        """ForeignId - 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._type = None
        self.discriminator = None

        self.id = id
        self.name = name
        self.type = type
Ejemplo n.º 15
0
    def __init__(self, new_name=None, new_label=None, copy_rows=None, local_vars_configuration=None):  # noqa: E501
        """HubDbTableCloneRequest - 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._new_name = None
        self._new_label = None
        self._copy_rows = None
        self.discriminator = None

        self.new_name = new_name
        self.new_label = new_label
        if copy_rows is not None:
            self.copy_rows = copy_rows
    def __init__(self, total=None, results=None, paging=None, local_vars_configuration=None):  # noqa: E501
        """CollectionResponseWithTotalHubDbTableV3ForwardPaging - 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._total = None
        self._results = None
        self._paging = None
        self.discriminator = None

        self.total = total
        self.results = results
        if paging is not None:
            self.paging = paging
    def __init__(self,
                 before=None,
                 link=None,
                 local_vars_configuration=None):  # noqa: E501
        """PreviousPage - 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._before = None
        self._link = None
        self.discriminator = None

        self.before = before
        if link is not None:
            self.link = link
Ejemplo n.º 18
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
Ejemplo n.º 19
0
    def __init__(
        self,
        name=None,
        label=None,
        use_for_pages=None,
        allow_public_api_access=None,
        allow_child_tables=None,
        enable_child_table_pages=None,
        columns=None,
        dynamic_meta_tags=None,
        local_vars_configuration=None,
    ):  # noqa: E501
        """HubDbTableV3Request - 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._label = None
        self._use_for_pages = None
        self._allow_public_api_access = None
        self._allow_child_tables = None
        self._enable_child_table_pages = None
        self._columns = None
        self._dynamic_meta_tags = None
        self.discriminator = None

        self.name = name
        self.label = label
        if use_for_pages is not None:
            self.use_for_pages = use_for_pages
        if allow_public_api_access is not None:
            self.allow_public_api_access = allow_public_api_access
        if allow_child_tables is not None:
            self.allow_child_tables = allow_child_tables
        if enable_child_table_pages is not None:
            self.enable_child_table_pages = enable_child_table_pages
        if columns is not None:
            self.columns = columns
        if dynamic_meta_tags is not None:
            self.dynamic_meta_tags = dynamic_meta_tags
Ejemplo n.º 20
0
    def __init__(self,
                 errors=None,
                 rows_imported=None,
                 duplicate_rows=None,
                 row_limit_exceeded=None,
                 local_vars_configuration=None):  # noqa: E501
        """ImportResult - 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._errors = None
        self._rows_imported = None
        self._duplicate_rows = None
        self._row_limit_exceeded = None
        self.discriminator = None

        self.errors = errors
        self.rows_imported = rows_imported
        self.duplicate_rows = duplicate_rows
        self.row_limit_exceeded = row_limit_exceeded
Ejemplo n.º 21
0
    def __init__(self,
                 id=None,
                 email=None,
                 first_name=None,
                 last_name=None,
                 local_vars_configuration=None):  # noqa: E501
        """SimpleUser - 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._first_name = None
        self._last_name = None
        self.discriminator = None

        self.id = id
        self.email = email
        self.first_name = first_name
        self.last_name = last_name
Ejemplo n.º 22
0
    def __init__(self,
                 id=None,
                 name=None,
                 label=None,
                 columns=None,
                 published=None,
                 row_count=None,
                 created_by=None,
                 updated_by=None,
                 published_at=None,
                 dynamic_meta_tags=None,
                 created_at=None,
                 archived=None,
                 allow_public_api_access=None,
                 use_for_pages=None,
                 enable_child_table_pages=None,
                 column_count=None,
                 allow_child_tables=None,
                 updated_at=None,
                 local_vars_configuration=None):  # noqa: E501
        """HubDbTableV3 - 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._label = None
        self._columns = None
        self._published = None
        self._row_count = None
        self._created_by = None
        self._updated_by = None
        self._published_at = None
        self._dynamic_meta_tags = None
        self._created_at = None
        self._archived = None
        self._allow_public_api_access = None
        self._use_for_pages = None
        self._enable_child_table_pages = None
        self._column_count = None
        self._allow_child_tables = None
        self._updated_at = None
        self.discriminator = None

        if id is not None:
            self.id = id
        self.name = name
        self.label = label
        if columns is not None:
            self.columns = columns
        if published is not None:
            self.published = published
        if row_count is not None:
            self.row_count = row_count
        if created_by is not None:
            self.created_by = created_by
        if updated_by is not None:
            self.updated_by = updated_by
        if published_at is not None:
            self.published_at = published_at
        if dynamic_meta_tags is not None:
            self.dynamic_meta_tags = dynamic_meta_tags
        if created_at is not None:
            self.created_at = created_at
        if archived is not None:
            self.archived = archived
        if allow_public_api_access is not None:
            self.allow_public_api_access = allow_public_api_access
        if use_for_pages is not None:
            self.use_for_pages = use_for_pages
        if enable_child_table_pages is not None:
            self.enable_child_table_pages = enable_child_table_pages
        if column_count is not None:
            self.column_count = column_count
        if allow_child_tables is not None:
            self.allow_child_tables = allow_child_tables
        if updated_at is not None:
            self.updated_at = updated_at