# encoding: utf-8
# Code generated by Microsoft (R) AutoRest Code Generator.
# Changes may cause incorrect behavior and will be lost if the code is
# regenerated.

module Azure::Logic::Mgmt::V2016_06_01
  module Models
    #
    # The Edifact agreement framing settings.
    #
    class EdifactFramingSettings

      include MsRestAzure

      # @return [String] The service code list directory version.
      attr_accessor :service_code_list_directory_version

      # @return [String] The character encoding.
      attr_accessor :character_encoding

      # @return [Integer] The protocol version.
      attr_accessor :protocol_version

      # @return [Integer] The data element separator.
      attr_accessor :data_element_separator

      # @return [Integer] The component separator.
      attr_accessor :component_separator

      # @return [Integer] The segment terminator.
      attr_accessor :segment_terminator

      # @return [Integer] The release indicator.
      attr_accessor :release_indicator

      # @return [Integer] The repetition separator.
      attr_accessor :repetition_separator

      # @return [EdifactCharacterSet] The EDIFACT frame setting characterSet.
      # Possible values include: 'NotSpecified', 'UNOB', 'UNOA', 'UNOC',
      # 'UNOD', 'UNOE', 'UNOF', 'UNOG', 'UNOH', 'UNOI', 'UNOJ', 'UNOK', 'UNOX',
      # 'UNOY', 'KECA'
      attr_accessor :character_set

      # @return [EdifactDecimalIndicator] The EDIFACT frame setting decimal
      # indicator. Possible values include: 'NotSpecified', 'Comma', 'Decimal'
      attr_accessor :decimal_point_indicator

      # @return [SegmentTerminatorSuffix] The EDIFACT frame setting segment
      # terminator suffix. Possible values include: 'NotSpecified', 'None',
      # 'CR', 'LF', 'CRLF'
      attr_accessor :segment_terminator_suffix


      #
      # Mapper for EdifactFramingSettings class as Ruby Hash.
      # This will be used for serialization/deserialization.
      #
      def self.mapper()
        {
          client_side_validation: true,
          required: false,
          serialized_name: 'EdifactFramingSettings',
          type: {
            name: 'Composite',
            class_name: 'EdifactFramingSettings',
            model_properties: {
              service_code_list_directory_version: {
                client_side_validation: true,
                required: false,
                serialized_name: 'serviceCodeListDirectoryVersion',
                type: {
                  name: 'String'
                }
              },
              character_encoding: {
                client_side_validation: true,
                required: false,
                serialized_name: 'characterEncoding',
                type: {
                  name: 'String'
                }
              },
              protocol_version: {
                client_side_validation: true,
                required: true,
                serialized_name: 'protocolVersion',
                type: {
                  name: 'Number'
                }
              },
              data_element_separator: {
                client_side_validation: true,
                required: true,
                serialized_name: 'dataElementSeparator',
                type: {
                  name: 'Number'
                }
              },
              component_separator: {
                client_side_validation: true,
                required: true,
                serialized_name: 'componentSeparator',
                type: {
                  name: 'Number'
                }
              },
              segment_terminator: {
                client_side_validation: true,
                required: true,
                serialized_name: 'segmentTerminator',
                type: {
                  name: 'Number'
                }
              },
              release_indicator: {
                client_side_validation: true,
                required: true,
                serialized_name: 'releaseIndicator',
                type: {
                  name: 'Number'
                }
              },
              repetition_separator: {
                client_side_validation: true,
                required: true,
                serialized_name: 'repetitionSeparator',
                type: {
                  name: 'Number'
                }
              },
              character_set: {
                client_side_validation: true,
                required: true,
                serialized_name: 'characterSet',
                type: {
                  name: 'Enum',
                  module: 'EdifactCharacterSet'
                }
              },
              decimal_point_indicator: {
                client_side_validation: true,
                required: true,
                serialized_name: 'decimalPointIndicator',
                type: {
                  name: 'Enum',
                  module: 'EdifactDecimalIndicator'
                }
              },
              segment_terminator_suffix: {
                client_side_validation: true,
                required: true,
                serialized_name: 'segmentTerminatorSuffix',
                type: {
                  name: 'Enum',
                  module: 'SegmentTerminatorSuffix'
                }
              }
            }
          }
        }
      end
    end
  end
end
