GapiDriveV2Model.App
module Icons : sig ... end
type t = {
authorized : bool; | (* Whether the app is authorized to access data on the user's Drive. *) |
createInFolderTemplate : string; | (* The template url to create a new file with this app in a given folder. The template will contain {folderId} to be replaced by the folder to create the new file in. *) |
createUrl : string; | (* The url to create a new file with this app. *) |
hasDriveWideScope : bool; | (* Whether the app has drive-wide scope. An app with drive-wide scope can access all files in the user's drive. *) |
icons : Icons.t list; | (* The various icons for the app. *) |
id : string; | (* The ID of the app. *) |
installed : bool; | (* Whether the app is installed. *) |
kind : string; | (* This is always drive#app. *) |
longDescription : string; | (* A long description of the app. *) |
name : string; | (* The name of the app. *) |
objectType : string; | (* The type of object this app creates (e.g. Chart). If empty, the app name should be used instead. *) |
openUrlTemplate : string; | (* The template url for opening files with this app. The template will contain {ids} and/or {exportIds} to be replaced by the actual file ids. See Open Files for the full documentation. *) |
primaryFileExtensions : string list; | (* The list of primary file extensions. *) |
primaryMimeTypes : string list; | (* The list of primary mime types. *) |
productId : string; | (* The ID of the product listing for this app. *) |
productUrl : string; | (* A link to the product listing for this app. *) |
secondaryFileExtensions : string list; | (* The list of secondary file extensions. *) |
secondaryMimeTypes : string list; | (* The list of secondary mime types. *) |
shortDescription : string; | (* A short description of the app. *) |
supportsCreate : bool; | (* Whether this app supports creating new objects. *) |
supportsImport : bool; | (* Whether this app supports importing Google Docs. *) |
supportsMultiOpen : bool; | (* Whether this app supports opening more than one file. *) |
supportsOfflineCreate : bool; | (* Whether this app supports creating new files when offline. *) |
useByDefault : bool; | (* Whether the app is selected as the default handler for the types it supports. *) |
}
val authorized : ( t, bool ) GapiLens.t
val createInFolderTemplate : ( t, string ) GapiLens.t
val createUrl : ( t, string ) GapiLens.t
val hasDriveWideScope : ( t, bool ) GapiLens.t
val icons : ( t, Icons.t list ) GapiLens.t
val id : ( t, string ) GapiLens.t
val installed : ( t, bool ) GapiLens.t
val kind : ( t, string ) GapiLens.t
val longDescription : ( t, string ) GapiLens.t
val name : ( t, string ) GapiLens.t
val objectType : ( t, string ) GapiLens.t
val openUrlTemplate : ( t, string ) GapiLens.t
val primaryFileExtensions : ( t, string list ) GapiLens.t
val primaryMimeTypes : ( t, string list ) GapiLens.t
val productId : ( t, string ) GapiLens.t
val productUrl : ( t, string ) GapiLens.t
val secondaryFileExtensions : ( t, string list ) GapiLens.t
val secondaryMimeTypes : ( t, string list ) GapiLens.t
val shortDescription : ( t, string ) GapiLens.t
val supportsCreate : ( t, bool ) GapiLens.t
val supportsImport : ( t, bool ) GapiLens.t
val supportsMultiOpen : ( t, bool ) GapiLens.t
val supportsOfflineCreate : ( t, bool ) GapiLens.t
val useByDefault : ( t, bool ) GapiLens.t
val empty : t
val render : t -> GapiJson.json_data_model list
val parse : t -> GapiJson.json_data_model -> t
val to_data_model : t -> GapiJson.json_data_model
val of_data_model : GapiJson.json_data_model -> t