package gapi-ocaml

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

    The position of the ads relative to the feed entries.

    *)
  2. frequency : int;
    (*

    The frequency at which ads should appear in the feed (i.e. every N entries).

    *)
  3. minimumWordCount : int;
    (*

    The minimum length an entry should be in order to have attached ads.

    *)
  4. _type : string;
    (*

    The type of ads which should appear.

    *)
}
val adPosition : (t, string) GapiLens.t
val frequency : (t, int) GapiLens.t
val minimumWordCount : (t, int) 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