Module Values.CreateFieldRequestSource

Creates a field in the Cases domain. This field is used to define the case object model (that is, defines what data can be captured on cases) in a Cases domain.

Sourcetype nonrec t = {
  1. domainId : DomainId.t;
    (*

    The unique identifier of the Cases domain.

    *)
  2. name : FieldName.t;
    (*

    The name of the field.

    *)
  3. type_ : FieldType.t;
    (*

    Defines the data type, some system constraints, and default display of the field.

    *)
  4. description : FieldDescription.t option;
    (*

    The description of the field.

    *)
  5. attributes : FieldAttributes.t option;
    (*

    Union of field attributes.

    *)
}
Sourceval context_ : string
Sourceval make : ?description:??? -> ?attributes:??? -> domainId:DomainId.t -> name:FieldName.t -> type_:FieldType.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Enum of string | `String of DomainId.t | `Structure of (string * [> `Structure of (string * [> `Boolean of Boolean.t ]) 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