Module Values_1.NamedEntityDefinitionSource

A structure that represents a named entity.

Sourcetype nonrec t = {
  1. fieldName : Values_0.LimitedString.t option;
    (*

    The name of the entity.

    *)
  2. propertyName : Values_0.LimitedString.t option;
    (*

    The property name to be used for the named entity.

    *)
  3. propertyRole : PropertyRole.t option;
    (*

    The property role. Valid values for this structure are PRIMARY and ID.

    *)
  4. propertyUsage : PropertyUsage.t option;
    (*

    The property usage. Valid values for this structure are INHERIT, DIMENSION, and MEASURE.

    *)
  5. metric : NamedEntityDefinitionMetric.t option;
    (*

    The definition of a metric.

    *)
}
Sourceval make : ?fieldName:??? -> ?propertyName:??? -> ?propertyRole:??? -> ?propertyUsage:??? -> ?metric:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Enum of string | `String of Values_0.LimitedString.t | `Structure of (string * [> `Enum of string | `Map of ([> `String of string ] * [> `String of string ]) list ]) list ]) list ]
Sourceval to_query : t -> Awso.Client.Query.t
Sourceval of_xml : Awso.Xml.t -> t
Sourceval of_string : string -> t
Sourceval of_json : Yojson.Safe.t -> t
Sourceval to_json : t -> Yojson.Safe.t