Sha256: d5e50f97fdf9e78a517ac20febc541e058749d0d0b46de24fed1b82bb734a0f4

Contents?: true

Size: 1.86 KB

Versions: 1

Compression:

Stored size: 1.86 KB

Contents

# 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::ARM::Logic
  module Models
    #
    # The X12 oneway agreement.
    #
    class X12OneWayAgreement

      include MsRestAzure

      # @return [BusinessIdentity] The sender business identity
      attr_accessor :sender_business_identity

      # @return [BusinessIdentity] The receiver business identity
      attr_accessor :receiver_business_identity

      # @return [X12ProtocolSettings] The X12 protocol settings.
      attr_accessor :protocol_settings


      #
      # Mapper for X12OneWayAgreement class as Ruby Hash.
      # This will be used for serialization/deserialization.
      #
      def self.mapper()
        {
          required: false,
          serialized_name: 'X12OneWayAgreement',
          type: {
            name: 'Composite',
            class_name: 'X12OneWayAgreement',
            model_properties: {
              sender_business_identity: {
                required: true,
                serialized_name: 'senderBusinessIdentity',
                type: {
                  name: 'Composite',
                  class_name: 'BusinessIdentity'
                }
              },
              receiver_business_identity: {
                required: true,
                serialized_name: 'receiverBusinessIdentity',
                type: {
                  name: 'Composite',
                  class_name: 'BusinessIdentity'
                }
              },
              protocol_settings: {
                required: true,
                serialized_name: 'protocolSettings',
                type: {
                  name: 'Composite',
                  class_name: 'X12ProtocolSettings'
                }
              }
            }
          }
        }
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
azure_mgmt_logic-0.14.0 lib/generated/azure_mgmt_logic/models/x12one_way_agreement.rb