Class: Azure::Logic::Mgmt::V2018_07_01_preview::Models::AS2AgreementContent

Inherits:
Object
  • Object
show all
Includes:
MsRestAzure
Defined in:
lib/2018-07-01-preview/generated/azure_mgmt_logic/models/as2agreement_content.rb

Overview

The integration account AS2 agreement content.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#receive_agreementAS2OneWayAgreement

Returns The AS2 one-way receive agreement.

Returns:



16
17
18
# File 'lib/2018-07-01-preview/generated/azure_mgmt_logic/models/as2agreement_content.rb', line 16

def receive_agreement
  @receive_agreement
end

#send_agreementAS2OneWayAgreement

Returns The AS2 one-way send agreement.

Returns:



19
20
21
# File 'lib/2018-07-01-preview/generated/azure_mgmt_logic/models/as2agreement_content.rb', line 19

def send_agreement
  @send_agreement
end

Class Method Details

.mapperObject

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



26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
# File 'lib/2018-07-01-preview/generated/azure_mgmt_logic/models/as2agreement_content.rb', line 26

def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'AS2AgreementContent',
    type: {
      name: 'Composite',
      class_name: 'AS2AgreementContent',
      model_properties: {
        receive_agreement: {
          client_side_validation: true,
          required: true,
          serialized_name: 'receiveAgreement',
          type: {
            name: 'Composite',
            class_name: 'AS2OneWayAgreement'
          }
        },
        send_agreement: {
          client_side_validation: true,
          required: true,
          serialized_name: 'sendAgreement',
          type: {
            name: 'Composite',
            class_name: 'AS2OneWayAgreement'
          }
        }
      }
    }
  }
end