package gapi-ocaml

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
type t = {
  1. address : string;
    (*

    The address where notifications are delivered for this channel.

    *)
  2. expiration : int64;
    (*

    Date and time of notification channel expiration, expressed as a Unix timestamp, in milliseconds. Optional.

    *)
  3. id : string;
    (*

    A UUID or similar unique string that identifies this channel.

    *)
  4. kind : string;
    (*

    Identifies this as a notification channel used to watch for changes to a resource. Value: the fixed string "api#channel".

    *)
  5. params : (string * string) list;
    (*

    Additional parameters controlling delivery channel behavior. Optional.

    *)
  6. payload : bool;
    (*

    A Boolean value to indicate whether payload is wanted. Optional.

    *)
  7. resourceId : string;
    (*

    An opaque ID that identifies the resource being watched on this channel. Stable across different API versions.

    *)
  8. resourceUri : string;
    (*

    A version-specific identifier for the watched resource.

    *)
  9. token : string;
    (*

    An arbitrary string delivered to the target address with each notification delivered over this channel. Optional.

    *)
  10. _type : string;
    (*

    The type of delivery mechanism used for this channel.

    *)
}
val address : (t, string) GapiLens.t
val expiration : (t, int64) GapiLens.t
val id : (t, string) GapiLens.t
val kind : (t, string) GapiLens.t
val params : (t, (string * string) list) GapiLens.t
val payload : (t, bool) GapiLens.t
val resourceId : (t, string) GapiLens.t
val resourceUri : (t, string) GapiLens.t
val token : (t, string) GapiLens.t
val _type : (t, string) 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