class Azure::Logic::Mgmt::V2016_06_01::Models::EdifactValidationSettings

The Edifact agreement validation settings.

Attributes

allow_leading_and_trailing_spaces_and_zeroes[RW]

@return [Boolean] The value indicating whether to allow leading and trailing spaces and zeroes.

check_duplicate_group_control_number[RW]

@return [Boolean] The value indicating whether to check for duplicate group control number.

check_duplicate_interchange_control_number[RW]

@return [Boolean] The value indicating whether to check for duplicate interchange control number.

check_duplicate_transaction_set_control_number[RW]

@return [Boolean] The value indicating whether to check for duplicate transaction set control number.

interchange_control_number_validity_days[RW]

@return [Integer] The validity period of interchange control number.

trailing_separator_policy[RW]

@return [TrailingSeparatorPolicy] The trailing separator policy. Possible values include: 'NotSpecified', 'NotAllowed', 'Optional', 'Mandatory'

trim_leading_and_trailing_spaces_and_zeroes[RW]

@return [Boolean] The value indicating whether to trim leading and trailing spaces and zeroes.

validate_character_set[RW]

@return [Boolean] The value indicating whether to validate character set in the message.

validate_edi_types[RW]

@return [Boolean] The value indicating whether to Whether to validate EDI types.

validate_xsd_types[RW]

@return [Boolean] The value indicating whether to Whether to validate XSD types.

Public Class Methods

mapper() click to toggle source

Mapper for EdifactValidationSettings class as Ruby Hash. This will be used for serialization/deserialization.

# File lib/2016-06-01/generated/azure_mgmt_logic/models/edifact_validation_settings.rb, line 60
def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'EdifactValidationSettings',
    type: {
      name: 'Composite',
      class_name: 'EdifactValidationSettings',
      model_properties: {
        validate_character_set: {
          client_side_validation: true,
          required: true,
          serialized_name: 'validateCharacterSet',
          type: {
            name: 'Boolean'
          }
        },
        check_duplicate_interchange_control_number: {
          client_side_validation: true,
          required: true,
          serialized_name: 'checkDuplicateInterchangeControlNumber',
          type: {
            name: 'Boolean'
          }
        },
        interchange_control_number_validity_days: {
          client_side_validation: true,
          required: true,
          serialized_name: 'interchangeControlNumberValidityDays',
          type: {
            name: 'Number'
          }
        },
        check_duplicate_group_control_number: {
          client_side_validation: true,
          required: true,
          serialized_name: 'checkDuplicateGroupControlNumber',
          type: {
            name: 'Boolean'
          }
        },
        check_duplicate_transaction_set_control_number: {
          client_side_validation: true,
          required: true,
          serialized_name: 'checkDuplicateTransactionSetControlNumber',
          type: {
            name: 'Boolean'
          }
        },
        validate_edi_types: {
          client_side_validation: true,
          required: true,
          serialized_name: 'validateEdiTypes',
          type: {
            name: 'Boolean'
          }
        },
        validate_xsd_types: {
          client_side_validation: true,
          required: true,
          serialized_name: 'validateXsdTypes',
          type: {
            name: 'Boolean'
          }
        },
        allow_leading_and_trailing_spaces_and_zeroes: {
          client_side_validation: true,
          required: true,
          serialized_name: 'allowLeadingAndTrailingSpacesAndZeroes',
          type: {
            name: 'Boolean'
          }
        },
        trim_leading_and_trailing_spaces_and_zeroes: {
          client_side_validation: true,
          required: true,
          serialized_name: 'trimLeadingAndTrailingSpacesAndZeroes',
          type: {
            name: 'Boolean'
          }
        },
        trailing_separator_policy: {
          client_side_validation: true,
          required: true,
          serialized_name: 'trailingSeparatorPolicy',
          type: {
            name: 'Enum',
            module: 'TrailingSeparatorPolicy'
          }
        }
      }
    }
  }
end