package gapi-ocaml

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

    Filter for this link.

    *)
  2. id : string;
    (*

    Profile filter link ID.

    *)
  3. kind : string;
    (*

    Resource type for Analytics filter.

    *)
  4. profileRef : ProfileRef.t;
    (*

    View (Profile) for this link.

    *)
  5. rank : int;
    (*

    The rank of this profile filter link relative to the other filters linked to the same profile. For readonly (i.e., list and get) operations, the rank always starts at 1. For write (i.e., create, update, or delete) operations, you may specify a value between 0 and 255 inclusively, [0, 255]. In order to insert a link at the end of the list, either don't specify a rank or set a rank to a number greater than the largest rank in the list. In order to insert a link to the beginning of the list specify a rank that is less than or equal to 1. The new link will move all existing filters with the same or lower rank down the list. After the link is inserted/updated/deleted all profile filter links will be renumbered starting at 1.

    *)
}
val filterRef : (t, FilterRef.t) GapiLens.t
val id : (t, string) GapiLens.t
val kind : (t, string) GapiLens.t
val profileRef : (t, ProfileRef.t) GapiLens.t
val rank : (t, int) 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.