ResourceLink
Base classes¶
| Name | Children | Inherits |
|---|---|---|
| AnnotatedObject aclientp.schema.v2.base A v2 object with the ``_meta`` extension point. |
⋔ Inheritance diagram¶
graph TD
95970868821808["content.ResourceLink"]
95970868359040["base.AnnotatedObject"]
95970855946400["base.Schema"]
95970851503232["main.BaseModel"]
125067848591872["builtins.object"]
95970868359040 --> 95970868821808
95970855946400 --> 95970868359040
95970851503232 --> 95970855946400
125067848591872 --> 95970851503232
🛈 DocStrings¶
Bases: AnnotatedObject
A link to a resource the receiver may be able to read. All agents MUST support it.
Source code in src/aclientp/schema/v2/content.py
annotations
class-attribute
instance-attribute
¶
annotations: Annotations | MISSING | None = MISSING
Display and routing hints.
description
class-attribute
instance-attribute
¶
Human-readable details.
icons
class-attribute
instance-attribute
¶
icons: Sequence[Icon] | MISSING | None = MISSING
Icons a user interface can show.
mime_type
class-attribute
instance-attribute
¶
mime_type: MediaType | MISSING | None = MISSING
MIME type of the resource.
size
class-attribute
instance-attribute
¶
Size of the resource in bytes.