Sha256: 5ed9d0fe4e0cc8ea4bca4a6f40ec22a382e247c7a00b8027e5998ed6d35fce82

Contents?: true

Size: 1.72 KB

Versions: 1

Compression:

Stored size: 1.72 KB

Contents

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

module Azure::ARM::Logic
  module Models
    #
    # Model object.
    #
    #
    class AgreementContent

      include MsRestAzure

      # @return [AS2AgreementContent] The AS2 agreement content.
      attr_accessor :as2

      # @return [X12AgreementContent] The X12 agreement content.
      attr_accessor :x12

      # @return [EdifactAgreementContent] The EDIFACT agreement content.
      attr_accessor :edifact


      #
      # Mapper for AgreementContent class as Ruby Hash.
      # This will be used for serialization/deserialization.
      #
      def self.mapper()
        {
          required: false,
          serialized_name: 'AgreementContent',
          type: {
            name: 'Composite',
            class_name: 'AgreementContent',
            model_properties: {
              as2: {
                required: false,
                serialized_name: 'AS2',
                type: {
                  name: 'Composite',
                  class_name: 'AS2AgreementContent'
                }
              },
              x12: {
                required: false,
                serialized_name: 'X12',
                type: {
                  name: 'Composite',
                  class_name: 'X12AgreementContent'
                }
              },
              edifact: {
                required: false,
                serialized_name: 'Edifact',
                type: {
                  name: 'Composite',
                  class_name: 'EdifactAgreementContent'
                }
              }
            }
          }
        }
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
azure_mgmt_logic-0.9.0 lib/generated/azure_mgmt_logic/models/agreement_content.rb