tools.ozone.safelink.add_rule¶

class atproto_client.models.tools.ozone.safelink.add_rule.Data¶

Bases: DataModelBase

Input data model for tools.ozone.safelink.addRule.

field action: models.ToolsOzoneSafelinkDefs.ActionType [Required]¶

Action.

field comment: str | None = None¶

Optional comment about the decision.

field created_by: str | None = None¶

Author DID. Only respected when using admin auth.

field pattern: models.ToolsOzoneSafelinkDefs.PatternType [Required]¶

Pattern.

field reason: models.ToolsOzoneSafelinkDefs.ReasonType [Required]¶

Reason.

field url: str [Required]¶

The URL or domain to apply the rule to.

class atproto_client.models.tools.ozone.safelink.add_rule.DataDict¶

Bases: TypedDict

action: models.ToolsOzoneSafelinkDefs.ActionType¶

Action.

comment: typing_extensions.NotRequired[str | None]¶

Optional comment about the decision.

created_by: typing_extensions.NotRequired[str | None]¶

Author DID. Only respected when using admin auth.

pattern: models.ToolsOzoneSafelinkDefs.PatternType¶

Pattern.

reason: models.ToolsOzoneSafelinkDefs.ReasonType¶

Reason.

url: str¶

The URL or domain to apply the rule to.