Module Values.CodegenGenericDataFieldSource

Describes a field in a generic data schema.

Sourcetype nonrec t = {
  1. dataType : CodegenGenericDataFieldDataType.t;
    (*

    The data type for the generic data field.

    *)
  2. dataTypeValue : String_.t;
    (*

    The value of the data type for the generic data field.

    *)
  3. required : Boolean.t;
    (*

    Specifies whether the generic data field is required.

    *)
  4. readOnly : Boolean.t;
    (*

    Specifies whether the generic data field is read-only.

    *)
  5. isArray : Boolean.t;
    (*

    Specifies whether the generic data field is an array.

    *)
  6. relationship : CodegenGenericDataRelationshipType.t option;
    (*

    The relationship of the generic data schema.

    *)
}
Sourceval context_ : string
Sourceval make : ?relationship:??? -> dataType:CodegenGenericDataFieldDataType.t -> dataTypeValue:String_.t -> required:Boolean.t -> readOnly:Boolean.t -> isArray:Boolean.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Boolean of Boolean.t | `Enum of string | `String of String_.t | `Structure of (string * [> `Boolean of Boolean.t | `Enum of string | `List of [> `String of String_.t ] list | `String of String_.t ]) 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