Skip to content

ThreadSectionMoveParams

Base classes

Name Children Inherits
CodexBaseModel
codexed.models.base
Base model for all Codex API models.

⋔ Inheritance diagram

graph TD
  367095394["v2_protocol.ThreadSectionMoveParams"]
  3116041069["base.CodexBaseModel"]
  3879467795["main.BaseModel"]
  2751680898["builtins.object"]
  3116041069 --> 367095394
  3879467795 --> 3116041069
  2751680898 --> 3879467795

🛈 DocStrings

Bases: CodexBaseModel

Parameters for moving a thread within a server-owned section ordering.

Source code in src/codexed/models/v2_protocol.py
class ThreadSectionMoveParams(CodexBaseModel):
    """Parameters for moving a thread within a server-owned section ordering."""

    before_thread_id: str | None = None
    """
    Existing thread to insert before; omission or null appends to the section.
    """
    section_id: str | None
    """
    Destination section, or `null` to remove the thread from its section.
    """
    thread_id: str
    """
    Thread to move into, within, or out of a section.
    """

before_thread_id class-attribute instance-attribute

before_thread_id: str | None = None

Existing thread to insert before; omission or null appends to the section.

section_id instance-attribute

section_id: str | None

Destination section, or null to remove the thread from its section.

thread_id instance-attribute

thread_id: str

Thread to move into, within, or out of a section.

:fa-brands-github: Show source on GitHub