Module Values.FieldSource

A key-value pair that describes a property of a pipeline object. The value is specified as either a string value (StringValue) or a reference to another object (RefValue) but not as both.

Sourcetype nonrec t = {
  1. key : FieldNameString.t;
    (*

    The field identifier.

    *)
  2. stringValue : FieldStringValue.t option;
    (*

    The field value, expressed as a String.

    *)
  3. refValue : FieldNameString.t option;
    (*

    The field value, expressed as the identifier of another object.

    *)
}
Sourceval context_ : string
Sourceval make : ?stringValue:??? -> ?refValue:??? -> key:FieldNameString.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `String of FieldNameString.t ]) 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