module Attachments:sig..end
module Thumbnails:sig..end
module Image:sig..end
module FullImage:sig..end
module Embed:sig..end
type t = {
|
content : |
(* |
If the attachment is an article, this property contains a snippet of text from the article. It can also include descriptions for other types.
| *) |
|
displayName : |
(* |
The title of the attachment, such as a photo caption or an article title.
| *) |
|
embed : |
(* |
If the attachment is a video, the embeddable link.
| *) |
|
fullImage : |
(* |
The full image URL for photo attachments.
| *) |
|
id : |
(* |
The ID of the attachment.
| *) |
|
image : |
(* |
The preview image for photos or videos.
| *) |
|
objectType : |
(* |
The type of media object. Possible values include, but are not limited to, the following values:
| *) |
|
thumbnails : |
(* |
If the attachment is an album, this property is a list of potential additional thumbnails from the album.
| *) |
|
url : |
(* |
The link to the attachment, which should be of type text/html.
| *) |
val content : (t, string) GapiLens.t
val displayName : (t, string) GapiLens.t
val embed : (t,
Embed.t)
GapiLens.t
val fullImage : (t,
FullImage.t)
GapiLens.t
val id : (t, string) GapiLens.t
val image : (t,
Image.t)
GapiLens.t
val objectType : (t, string) GapiLens.t
val thumbnails : (t,
Thumbnails.t list)
GapiLens.t
val url : (t, string) GapiLens.t
val empty : t
val render : t ->
GapiJson.json_data_model list
val parse : t ->
GapiJson.json_data_model -> t