Class: Azure::Logic::Mgmt::V2016_06_01::Models::X12ValidationOverride

Inherits:
Object
  • Object
show all
Includes:
MsRestAzure
Defined in:
lib/2016-06-01/generated/azure_mgmt_logic/models/x12validation_override.rb

Overview

The X12 validation override settings.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#allow_leading_and_trailing_spaces_and_zeroesBoolean

trailing spaces and zeroes.

Returns:

  • (Boolean)

    The value indicating whether to allow leading and



27
28
29
# File 'lib/2016-06-01/generated/azure_mgmt_logic/models/x12validation_override.rb', line 27

def allow_leading_and_trailing_spaces_and_zeroes
  @allow_leading_and_trailing_spaces_and_zeroes
end

#message_idString

be applied.

Returns:

  • (String)

    The message id on which the validation settings has to



17
18
19
# File 'lib/2016-06-01/generated/azure_mgmt_logic/models/x12validation_override.rb', line 17

def message_id
  @message_id
end

#trailing_separator_policyTrailingSeparatorPolicy

Possible values include: ‘NotSpecified’, ‘NotAllowed’, ‘Optional’, ‘Mandatory’

Returns:



40
41
42
# File 'lib/2016-06-01/generated/azure_mgmt_logic/models/x12validation_override.rb', line 40

def trailing_separator_policy
  @trailing_separator_policy
end

#trim_leading_and_trailing_spaces_and_zeroesBoolean

trailing spaces and zeroes.

Returns:

  • (Boolean)

    The value indicating whether to trim leading and



35
36
37
# File 'lib/2016-06-01/generated/azure_mgmt_logic/models/x12validation_override.rb', line 35

def trim_leading_and_trailing_spaces_and_zeroes
  @trim_leading_and_trailing_spaces_and_zeroes
end

#validate_character_setBoolean

Set.

Returns:

  • (Boolean)

    The value indicating whether to validate character



31
32
33
# File 'lib/2016-06-01/generated/azure_mgmt_logic/models/x12validation_override.rb', line 31

def validate_character_set
  @validate_character_set
end

#validate_edi_typesBoolean

Returns The value indicating whether to validate EDI types.

Returns:

  • (Boolean)

    The value indicating whether to validate EDI types.



20
21
22
# File 'lib/2016-06-01/generated/azure_mgmt_logic/models/x12validation_override.rb', line 20

def validate_edi_types
  @validate_edi_types
end

#validate_xsd_typesBoolean

Returns The value indicating whether to validate XSD types.

Returns:

  • (Boolean)

    The value indicating whether to validate XSD types.



23
24
25
# File 'lib/2016-06-01/generated/azure_mgmt_logic/models/x12validation_override.rb', line 23

def validate_xsd_types
  @validate_xsd_types
end

Class Method Details

.mapperObject

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



47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
# File 'lib/2016-06-01/generated/azure_mgmt_logic/models/x12validation_override.rb', line 47

def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'X12ValidationOverride',
    type: {
      name: 'Composite',
      class_name: 'X12ValidationOverride',
      model_properties: {
        message_id: {
          client_side_validation: true,
          required: true,
          serialized_name: 'messageId',
          type: {
            name: 'String'
          }
        },
        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'
          }
        },
        validate_character_set: {
          client_side_validation: true,
          required: true,
          serialized_name: 'validateCharacterSet',
          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