package gapi-ocaml

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
module Permissions : sig ... end
module Entity : sig ... end
type t = {
  1. entity : Entity.t;
    (*

    Entity for this link. It can be an account, a web property, or a view (profile).

    *)
  2. id : string;
    (*

    Entity user link ID

    *)
  3. kind : string;
    (*

    Resource type for entity user link.

    *)
  4. permissions : Permissions.t;
    (*

    Permissions the user has for this entity.

    *)
  5. userRef : UserRef.t;
    (*

    User reference.

    *)
}
val entity : (t, Entity.t) GapiLens.t
val id : (t, string) GapiLens.t
val kind : (t, string) GapiLens.t
val permissions : (t, Permissions.t) GapiLens.t
val userRef : (t, UserRef.t) 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