Module Values.WrapOptionsSource

Contains options for wrapping (line folding) in X12 EDI files. Wrapping controls how long lines are handled in the EDI output.

Sourcetype nonrec t = {
  1. wrapBy : WrapFormat.t;
    (*

    Specifies the method used for wrapping lines in the EDI output. Valid values: SEGMENT: Wraps by segment. ONE_LINE: Indicates that the entire content is on a single line. When you specify ONE_LINE, do not provide either the line length nor the line terminator value. LINE_LENGTH: Wraps by character count, as specified by lineLength value.

    *)
  2. lineTerminator : LineTerminator.t option;
    (*

    Specifies the character sequence used to terminate lines when wrapping. Valid values: CRLF: carriage return and line feed LF: line feed) CR: carriage return

    *)
  3. lineLength : LineLength.t option;
    (*

    Specifies the maximum length of a line before wrapping occurs. This value is used when wrapBy is set to LINE_LENGTH.

    *)
}
Sourceval context_ : string
Sourceval make : ?lineTerminator:??? -> ?lineLength:??? -> wrapBy:WrapFormat.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Enum of string | `Integer of LineLength.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