Module GapiDiscoveryV1Model.RestMethod

module RestMethod: sig .. end

module Response: sig .. end
module Request: sig .. end
module MediaUpload: sig .. end
type t = {
   description : string; (*
Description of this method.
*)
   etagRequired : bool; (*
Whether this method requires an ETag to be specified. The ETag is sent as an HTTP If-Match or If-None-Match header.
*)
   httpMethod : string; (*
HTTP method used by this method.
*)
   id : string; (*
A unique ID for this method. This property can be used to match methods between different versions of Discovery.
*)
   mediaUpload : MediaUpload.t; (*
Media upload parameters.
*)
   parameterOrder : string list; (*
Ordered list of required parameters, serves as a hint to clients on how to structure their method signatures. The array is ordered such that the "most-significant" parameter appears first.
*)
   parameters : (string * GapiDiscoveryV1Model.JsonSchema.t) list; (*
Details for all parameters in this method.
*)
   path : string; (*
The URI path of this REST method. Should be used in conjunction with the basePath property at the api-level.
*)
   request : Request.t; (*
The schema for the request.
*)
   response : Response.t; (*
The schema for the response.
*)
   scopes : string list; (*
OAuth 2.0 scopes applicable to this method.
*)
   supportsMediaDownload : bool; (*
Whether this method supports media downloads.
*)
   supportsMediaUpload : bool; (*
Whether this method supports media uploads.
*)
   supportsSubscription : bool; (*
Whether this method supports subscriptions.
*)
   useMediaDownloadService : bool; (*
Indicates that downloads from this method should use the download service URL (i.e. "/download"). Only applies if the method supports media download.
*)
}
val description : (t, string) GapiLens.t
val etagRequired : (t, bool) GapiLens.t
val httpMethod : (t, string) GapiLens.t
val id : (t, string) GapiLens.t
val mediaUpload : (t,
MediaUpload.t)
GapiLens.t
val parameterOrder : (t, string list) GapiLens.t
val parameters : (t,
(string * GapiDiscoveryV1Model.JsonSchema.t) list)
GapiLens.t
val path : (t, string) GapiLens.t
val request : (t,
Request.t)
GapiLens.t
val response : (t,
Response.t)
GapiLens.t
val scopes : (t, string list) GapiLens.t
val supportsMediaDownload : (t, bool) GapiLens.t
val supportsMediaUpload : (t, bool) GapiLens.t
val supportsSubscription : (t, bool) GapiLens.t
val useMediaDownloadService : (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