Class: Aws::B2bi::Types::WrapOptions

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-b2bi/lib/aws-sdk-b2bi/types.rb

Overview

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

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#line_lengthInteger

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

Returns:

  • (Integer)


2781
2782
2783
2784
2785
2786
2787
# File 'gems/aws-sdk-b2bi/lib/aws-sdk-b2bi/types.rb', line 2781

class WrapOptions < Struct.new(
  :wrap_by,
  :line_terminator,
  :line_length)
  SENSITIVE = []
  include Aws::Structure
end

#line_terminatorString

Specifies the character sequence used to terminate lines when wrapping. Valid values:

  • CRLF: carriage return and line feed

  • LF: line feed)

  • CR: carriage return

Returns:

  • (String)


2781
2782
2783
2784
2785
2786
2787
# File 'gems/aws-sdk-b2bi/lib/aws-sdk-b2bi/types.rb', line 2781

class WrapOptions < Struct.new(
  :wrap_by,
  :line_terminator,
  :line_length)
  SENSITIVE = []
  include Aws::Structure
end

#wrap_byString

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.

Returns:

  • (String)


2781
2782
2783
2784
2785
2786
2787
# File 'gems/aws-sdk-b2bi/lib/aws-sdk-b2bi/types.rb', line 2781

class WrapOptions < Struct.new(
  :wrap_by,
  :line_terminator,
  :line_length)
  SENSITIVE = []
  include Aws::Structure
end