package gapi-ocaml

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

    Unique identifier of this alert. This should be considered an opaque identifier; it is not safe to rely on it being in any particular format.

    *)
  2. isDismissible : bool;
    (*

    Whether this alert can be dismissed.

    *)
  3. kind : string;
    (*

    Kind of resource this is, in this case adsense#alert.

    *)
  4. message : string;
    (*

    The localized alert message.

    *)
  5. severity : string;
    (*

    Severity of this alert. Possible values: INFO, WARNING, SEVERE.

    *)
  6. _type : string;
    (*

    Type of this alert. Possible values: SELF_HOLD, MIGRATED_TO_BILLING3, ADDRESS_PIN_VERIFICATION, PHONE_PIN_VERIFICATION, CORPORATE_ENTITY, GRAYLISTED_PUBLISHER, API_HOLD.

    *)
}
val id : (t, string) GapiLens.t
val isDismissible : (t, bool) GapiLens.t
val kind : (t, string) GapiLens.t
val message : (t, string) GapiLens.t
val severity : (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
OCaml

Innovation. Community. Security.