tools.ozone.moderation.cancelScheduledActions

Cancel all pending scheduled moderation actions for specified subjects

class atproto_client.models.tools.ozone.moderation.cancel_scheduled_actions.Data

Bases: DataModelBase

Input data model for tools.ozone.moderation.cancelScheduledActions.

field comment: str | None = None

Optional comment describing the reason for cancellation.

field subjects: List[Did] [Required]

Array of DID subjects to cancel scheduled actions for.

Constraints:
  • max_length = 100

class atproto_client.models.tools.ozone.moderation.cancel_scheduled_actions.DataDict

Bases: TypedDict

subjects: List[Did]

Array of DID subjects to cancel scheduled actions for.

comment: NotRequired[str | None]

Optional comment describing the reason for cancellation.

class atproto_client.models.tools.ozone.moderation.cancel_scheduled_actions.CancellationResults

Bases: ModelBase

Definition model for tools.ozone.moderation.cancelScheduledActions.

field failed: List[models.ToolsOzoneModerationCancelScheduledActions.FailedCancellation] [Required]

DIDs for which cancellation failed with error details.

field succeeded: List[Did] [Required]

DIDs for which all pending scheduled actions were successfully cancelled.

class atproto_client.models.tools.ozone.moderation.cancel_scheduled_actions.FailedCancellation

Bases: ModelBase

Definition model for tools.ozone.moderation.cancelScheduledActions.

field did: Did [Required]

Did.

field error: str [Required]

Error.

field error_code: str | None = None

Error code.