Module GapiDiscoveryV1Model.RestResource

type t = {
methods : (string * RestMethod.t) list;

Methods on this resource.

resources : (string * t) list;

Sub-resources on this resource.

}
val methods : (t(string * RestMethod.t) list) GapiLens.t
val resources : (t(string * t) list) 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