app.bsky.graph.block

class atproto_client.models.app.bsky.graph.block.CreateRecordResponse

Bases: SugarResponseModelBase

Create record response for models.AppBskyGraphBlock.Record.

field cid: str [Required]

The CID of the record.

field uri: str [Required]

The URI of the record.

class atproto_client.models.app.bsky.graph.block.GetRecordResponse

Bases: SugarResponseModelBase

Get record response for models.AppBskyGraphBlock.Record.

field cid: str | None = None

The CID of the record.

field uri: str [Required]

The URI of the record.

field value: models.AppBskyGraphBlock.Record [Required]

The record.

class atproto_client.models.app.bsky.graph.block.ListRecordsResponse

Bases: SugarResponseModelBase

List records response for models.AppBskyGraphBlock.Record.

field cursor: str | None = None

Next page cursor.

field records: Dict[str, models.AppBskyGraphBlock.Record] [Required]

Map of URIs to records.

class atproto_client.models.app.bsky.graph.block.Record

Bases: RecordModelBase

Record model for app.bsky.graph.block.

field created_at: str [Required]

Created at.

field py_type: Literal['app.bsky.graph.block'] = 'app.bsky.graph.block'
field subject: str [Required]

DID of the account to be blocked.