| Name | Type | Description | Notes |
|---|---|---|---|
| type | string | The type of the assignment resolved: * `rich`, `photo`, `video` are attachment types that are automatically resolved from a `link` attachment. * A `flat` attachment is a score document where the unique identifier will be specified in the `score` property. Its sharing mode will be provided in the `sharingMode` property. | [optional] |
| score | string | An unique Flat score identifier | [optional] |
| revision | string | An unique revision identifier of a score | [optional] |
| correct | bool | If the attachment is an exercise question, this state will describe if it is correct or not.For exercise assignments only. | [optional] |
| sharingMode | \Flat\APIClient\Model\MediaScoreSharingMode | [optional] | |
| title | string | The resolved title of the attachment | [optional] |
| description | string | The resolved description of the attachment | [optional] |
| html | string | If the attachment type is `rich` or `video`, the HTML code of the media to display | [optional] |
| htmlWidth | string | If the `html` is available, the width of the widget | [optional] |
| htmlHeight | string | If the `html` is available, the height of the widget | [optional] |
| url | string | The url of the attachment | [optional] |
| thumbnailUrl | string | If the attachment type is `rich`, `video`, `photo` or `link`, a displayable thumbnail for this attachment | [optional] |
| thumbnailWidth | string | If the `thumbnailUrl` is available, the width of the thumbnail | [optional] |
| thumbnailHeight | string | If the `thumbnailUrl` is available, the width of the thumbnail | [optional] |
| authorName | string | The resolved author name of the attachment | [optional] |
| authorUrl | string | The resolved author url of the attachment | [optional] |