Share via


Attachment Class

An attachment within an activity.

Constructor

pydantic model Attachment

Parameters

Name Description
content_type
Required
str

mimetype/Contenttype for the file

content_url
Required
str

Content Url

content
Required

Embedded content

name
Required
str

(OPTIONAL) The name of the attachment

thumbnail_url
Required
str

(OPTIONAL) Thumbnail associated with attachment

Keyword-Only Parameters

Name Description
contentType
Required
contentUrl
Default value: None
content
Default value: None
name
Default value: None
thumbnailUrl
Default value: None

Attributes

content

field content: object = None

content_type

field content_type: str [Required] (alias 'contentType')

content_url

field content_url: str = None (alias 'contentUrl')

name

field name: str = None

thumbnail_url

field thumbnail_url: str = None (alias 'thumbnailUrl')