azure_mgmt_logic 0.4.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (100) hide show
  1. checksums.yaml +7 -0
  2. data/.rspec +3 -0
  3. data/LICENSE.txt +21 -0
  4. data/Rakefile +5 -0
  5. data/azure_mgmt_logic.gemspec +34 -0
  6. data/lib/azure_mgmt_logic.rb +5 -0
  7. data/lib/generated/azure_mgmt_logic/integration_account_agreements.rb +549 -0
  8. data/lib/generated/azure_mgmt_logic/integration_account_certificates.rb +545 -0
  9. data/lib/generated/azure_mgmt_logic/integration_account_maps.rb +546 -0
  10. data/lib/generated/azure_mgmt_logic/integration_account_partners.rb +546 -0
  11. data/lib/generated/azure_mgmt_logic/integration_account_schemas.rb +546 -0
  12. data/lib/generated/azure_mgmt_logic/integration_accounts.rb +939 -0
  13. data/lib/generated/azure_mgmt_logic/logic_management_client.rb +86 -0
  14. data/lib/generated/azure_mgmt_logic/models/agreement_content.rb +67 -0
  15. data/lib/generated/azure_mgmt_logic/models/agreement_type.rb +18 -0
  16. data/lib/generated/azure_mgmt_logic/models/as2acknowledgement_connection_settings.rb +78 -0
  17. data/lib/generated/azure_mgmt_logic/models/as2agreement_content.rb +56 -0
  18. data/lib/generated/azure_mgmt_logic/models/as2envelope_settings.rb +87 -0
  19. data/lib/generated/azure_mgmt_logic/models/as2error_settings.rb +56 -0
  20. data/lib/generated/azure_mgmt_logic/models/as2mdn_settings.rb +132 -0
  21. data/lib/generated/azure_mgmt_logic/models/as2message_connection_settings.rb +78 -0
  22. data/lib/generated/azure_mgmt_logic/models/as2one_way_agreement.rb +67 -0
  23. data/lib/generated/azure_mgmt_logic/models/as2protocol_settings.rb +112 -0
  24. data/lib/generated/azure_mgmt_logic/models/as2security_settings.rb +131 -0
  25. data/lib/generated/azure_mgmt_logic/models/as2validation_settings.rb +135 -0
  26. data/lib/generated/azure_mgmt_logic/models/b2bpartner_content.rb +53 -0
  27. data/lib/generated/azure_mgmt_logic/models/business_identity.rb +54 -0
  28. data/lib/generated/azure_mgmt_logic/models/callback_url.rb +44 -0
  29. data/lib/generated/azure_mgmt_logic/models/edifact_acknowledgement_settings.rb +151 -0
  30. data/lib/generated/azure_mgmt_logic/models/edifact_agreement_content.rb +56 -0
  31. data/lib/generated/azure_mgmt_logic/models/edifact_character_set.rb +29 -0
  32. data/lib/generated/azure_mgmt_logic/models/edifact_decimal_indicator.rb +17 -0
  33. data/lib/generated/azure_mgmt_logic/models/edifact_delimiter_override.rb +159 -0
  34. data/lib/generated/azure_mgmt_logic/models/edifact_envelope_override.rb +188 -0
  35. data/lib/generated/azure_mgmt_logic/models/edifact_envelope_settings.rb +452 -0
  36. data/lib/generated/azure_mgmt_logic/models/edifact_framing_settings.rb +153 -0
  37. data/lib/generated/azure_mgmt_logic/models/edifact_message_filter.rb +46 -0
  38. data/lib/generated/azure_mgmt_logic/models/edifact_message_identifier.rb +45 -0
  39. data/lib/generated/azure_mgmt_logic/models/edifact_one_way_agreement.rb +67 -0
  40. data/lib/generated/azure_mgmt_logic/models/edifact_processing_settings.rb +88 -0
  41. data/lib/generated/azure_mgmt_logic/models/edifact_protocol_settings.rb +195 -0
  42. data/lib/generated/azure_mgmt_logic/models/edifact_schema_reference.rb +104 -0
  43. data/lib/generated/azure_mgmt_logic/models/edifact_validation_override.rb +111 -0
  44. data/lib/generated/azure_mgmt_logic/models/edifact_validation_settings.rb +145 -0
  45. data/lib/generated/azure_mgmt_logic/models/encryption_algorithm.rb +21 -0
  46. data/lib/generated/azure_mgmt_logic/models/hashing_algorithm.rb +19 -0
  47. data/lib/generated/azure_mgmt_logic/models/integration_account.rb +97 -0
  48. data/lib/generated/azure_mgmt_logic/models/integration_account_agreement.rb +173 -0
  49. data/lib/generated/azure_mgmt_logic/models/integration_account_agreement_filter.rb +47 -0
  50. data/lib/generated/azure_mgmt_logic/models/integration_account_agreement_list_result.rb +94 -0
  51. data/lib/generated/azure_mgmt_logic/models/integration_account_certificate.rb +129 -0
  52. data/lib/generated/azure_mgmt_logic/models/integration_account_certificate_list_result.rb +95 -0
  53. data/lib/generated/azure_mgmt_logic/models/integration_account_content_hash.rb +54 -0
  54. data/lib/generated/azure_mgmt_logic/models/integration_account_content_link.rb +85 -0
  55. data/lib/generated/azure_mgmt_logic/models/integration_account_list_result.rb +93 -0
  56. data/lib/generated/azure_mgmt_logic/models/integration_account_map.rb +152 -0
  57. data/lib/generated/azure_mgmt_logic/models/integration_account_map_filter.rb +46 -0
  58. data/lib/generated/azure_mgmt_logic/models/integration_account_map_list_result.rb +94 -0
  59. data/lib/generated/azure_mgmt_logic/models/integration_account_partner.rb +131 -0
  60. data/lib/generated/azure_mgmt_logic/models/integration_account_partner_filter.rb +46 -0
  61. data/lib/generated/azure_mgmt_logic/models/integration_account_partner_list_result.rb +94 -0
  62. data/lib/generated/azure_mgmt_logic/models/integration_account_resource.rb +91 -0
  63. data/lib/generated/azure_mgmt_logic/models/integration_account_schema.rb +162 -0
  64. data/lib/generated/azure_mgmt_logic/models/integration_account_schema_filter.rb +46 -0
  65. data/lib/generated/azure_mgmt_logic/models/integration_account_schema_list_result.rb +94 -0
  66. data/lib/generated/azure_mgmt_logic/models/integration_account_sku.rb +46 -0
  67. data/lib/generated/azure_mgmt_logic/models/key_vault_key_reference.rb +65 -0
  68. data/lib/generated/azure_mgmt_logic/models/key_vault_key_reference_key_vault.rb +66 -0
  69. data/lib/generated/azure_mgmt_logic/models/list_callback_url_parameters.rb +44 -0
  70. data/lib/generated/azure_mgmt_logic/models/map_type.rb +16 -0
  71. data/lib/generated/azure_mgmt_logic/models/message_filter_type.rb +17 -0
  72. data/lib/generated/azure_mgmt_logic/models/partner_content.rb +45 -0
  73. data/lib/generated/azure_mgmt_logic/models/partner_type.rb +16 -0
  74. data/lib/generated/azure_mgmt_logic/models/schema_type.rb +16 -0
  75. data/lib/generated/azure_mgmt_logic/models/segment_terminator_suffix.rb +19 -0
  76. data/lib/generated/azure_mgmt_logic/models/sku_name.rb +20 -0
  77. data/lib/generated/azure_mgmt_logic/models/trailing_separator_policy.rb +18 -0
  78. data/lib/generated/azure_mgmt_logic/models/usage_indicator.rb +18 -0
  79. data/lib/generated/azure_mgmt_logic/models/x12acknowledgement_settings.rb +193 -0
  80. data/lib/generated/azure_mgmt_logic/models/x12agreement_content.rb +56 -0
  81. data/lib/generated/azure_mgmt_logic/models/x12character_set.rb +18 -0
  82. data/lib/generated/azure_mgmt_logic/models/x12date_format.rb +17 -0
  83. data/lib/generated/azure_mgmt_logic/models/x12delimiter_overrides.rb +128 -0
  84. data/lib/generated/azure_mgmt_logic/models/x12envelope_override.rb +141 -0
  85. data/lib/generated/azure_mgmt_logic/models/x12envelope_settings.rb +286 -0
  86. data/lib/generated/azure_mgmt_logic/models/x12framing_settings.rb +109 -0
  87. data/lib/generated/azure_mgmt_logic/models/x12message_filter.rb +46 -0
  88. data/lib/generated/azure_mgmt_logic/models/x12message_identifier.rb +44 -0
  89. data/lib/generated/azure_mgmt_logic/models/x12one_way_agreement.rb +67 -0
  90. data/lib/generated/azure_mgmt_logic/models/x12processing_settings.rb +99 -0
  91. data/lib/generated/azure_mgmt_logic/models/x12protocol_settings.rb +204 -0
  92. data/lib/generated/azure_mgmt_logic/models/x12schema_reference.rb +74 -0
  93. data/lib/generated/azure_mgmt_logic/models/x12security_settings.rb +74 -0
  94. data/lib/generated/azure_mgmt_logic/models/x12time_format.rb +19 -0
  95. data/lib/generated/azure_mgmt_logic/models/x12validation_override.rb +111 -0
  96. data/lib/generated/azure_mgmt_logic/models/x12validation_settings.rb +145 -0
  97. data/lib/generated/azure_mgmt_logic/module_definition.rb +8 -0
  98. data/lib/generated/azure_mgmt_logic/version.rb +8 -0
  99. data/lib/generated/azure_mgmt_logic.rb +116 -0
  100. metadata +212 -0
@@ -0,0 +1,86 @@
1
+ # encoding: utf-8
2
+ # Code generated by Microsoft (R) AutoRest Code Generator 0.17.0.0
3
+ # Changes may cause incorrect behavior and will be lost if the code is
4
+ # regenerated.
5
+
6
+ module Azure::ARM::Logic
7
+ #
8
+ # A service client - single point of access to the REST API.
9
+ #
10
+ class LogicManagementClient < MsRestAzure::AzureServiceClient
11
+ include MsRest::Serialization
12
+ include MsRestAzure
13
+
14
+ # @return [String] the base URI of the service.
15
+ attr_accessor :base_url
16
+
17
+ # @return Credentials needed for the client to connect to Azure.
18
+ attr_reader :credentials
19
+
20
+ # @return [String] The subscription id.
21
+ attr_accessor :subscription_id
22
+
23
+ # @return [String] The API version.
24
+ attr_reader :api_version
25
+
26
+ # @return [String] Gets or sets the preferred language for the response.
27
+ attr_accessor :accept_language
28
+
29
+ # @return [Integer] Gets or sets the retry timeout in seconds for Long
30
+ # Running Operations. Default value is 30.
31
+ attr_accessor :long_running_operation_retry_timeout
32
+
33
+ # @return [Boolean] When set to true a unique x-ms-client-request-id value
34
+ # is generated and included in each request. Default is true.
35
+ attr_accessor :generate_client_request_id
36
+
37
+ # @return Subscription credentials which uniquely identify client
38
+ # subscription.
39
+ attr_accessor :credentials
40
+
41
+ # @return [IntegrationAccounts] integration_accounts
42
+ attr_reader :integration_accounts
43
+
44
+ # @return [IntegrationAccountSchemas] integration_account_schemas
45
+ attr_reader :integration_account_schemas
46
+
47
+ # @return [IntegrationAccountMaps] integration_account_maps
48
+ attr_reader :integration_account_maps
49
+
50
+ # @return [IntegrationAccountPartners] integration_account_partners
51
+ attr_reader :integration_account_partners
52
+
53
+ # @return [IntegrationAccountAgreements] integration_account_agreements
54
+ attr_reader :integration_account_agreements
55
+
56
+ # @return [IntegrationAccountCertificates] integration_account_certificates
57
+ attr_reader :integration_account_certificates
58
+
59
+ #
60
+ # Creates initializes a new instance of the LogicManagementClient class.
61
+ # @param credentials [MsRest::ServiceClientCredentials] credentials to authorize HTTP requests made by the service client.
62
+ # @param base_url [String] the base URI of the service.
63
+ # @param options [Array] filters to be applied to the HTTP requests.
64
+ #
65
+ def initialize(credentials, base_url = nil, options = nil)
66
+ super(credentials, options)
67
+ @base_url = base_url || 'https://management.azure.com'
68
+
69
+ fail ArgumentError, 'credentials is nil' if credentials.nil?
70
+ fail ArgumentError, 'invalid type of credentials input parameter' unless credentials.is_a?(MsRest::ServiceClientCredentials)
71
+ @credentials = credentials
72
+
73
+ @integration_accounts = IntegrationAccounts.new(self)
74
+ @integration_account_schemas = IntegrationAccountSchemas.new(self)
75
+ @integration_account_maps = IntegrationAccountMaps.new(self)
76
+ @integration_account_partners = IntegrationAccountPartners.new(self)
77
+ @integration_account_agreements = IntegrationAccountAgreements.new(self)
78
+ @integration_account_certificates = IntegrationAccountCertificates.new(self)
79
+ @api_version = '2015-08-01-preview'
80
+ @accept_language = 'en-US'
81
+ @long_running_operation_retry_timeout = 30
82
+ @generate_client_request_id = true
83
+ end
84
+
85
+ end
86
+ end
@@ -0,0 +1,67 @@
1
+ # encoding: utf-8
2
+ # Code generated by Microsoft (R) AutoRest Code Generator 0.17.0.0
3
+ # Changes may cause incorrect behavior and will be lost if the code is
4
+ # regenerated.
5
+
6
+ module Azure::ARM::Logic
7
+ module Models
8
+ #
9
+ # Model object.
10
+ #
11
+ class AgreementContent
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [AS2AgreementContent] The AS2 agreement content.
16
+ attr_accessor :as2
17
+
18
+ # @return [X12AgreementContent] The X12 agreement content.
19
+ attr_accessor :x12
20
+
21
+ # @return [EdifactAgreementContent] The EDIFACT agreement content.
22
+ attr_accessor :edifact
23
+
24
+
25
+ #
26
+ # Mapper for AgreementContent class as Ruby Hash.
27
+ # This will be used for serialization/deserialization.
28
+ #
29
+ def self.mapper()
30
+ {
31
+ required: false,
32
+ serialized_name: 'AgreementContent',
33
+ type: {
34
+ name: 'Composite',
35
+ class_name: 'AgreementContent',
36
+ model_properties: {
37
+ as2: {
38
+ required: false,
39
+ serialized_name: 'AS2',
40
+ type: {
41
+ name: 'Composite',
42
+ class_name: 'AS2AgreementContent'
43
+ }
44
+ },
45
+ x12: {
46
+ required: false,
47
+ serialized_name: 'X12',
48
+ type: {
49
+ name: 'Composite',
50
+ class_name: 'X12AgreementContent'
51
+ }
52
+ },
53
+ edifact: {
54
+ required: false,
55
+ serialized_name: 'Edifact',
56
+ type: {
57
+ name: 'Composite',
58
+ class_name: 'EdifactAgreementContent'
59
+ }
60
+ }
61
+ }
62
+ }
63
+ }
64
+ end
65
+ end
66
+ end
67
+ end
@@ -0,0 +1,18 @@
1
+ # encoding: utf-8
2
+ # Code generated by Microsoft (R) AutoRest Code Generator 0.17.0.0
3
+ # Changes may cause incorrect behavior and will be lost if the code is
4
+ # regenerated.
5
+
6
+ module Azure::ARM::Logic
7
+ module Models
8
+ #
9
+ # Defines values for AgreementType
10
+ #
11
+ module AgreementType
12
+ NotSpecified = "NotSpecified"
13
+ AS2 = "AS2"
14
+ X12 = "X12"
15
+ Edifact = "Edifact"
16
+ end
17
+ end
18
+ end
@@ -0,0 +1,78 @@
1
+ # encoding: utf-8
2
+ # Code generated by Microsoft (R) AutoRest Code Generator 0.17.0.0
3
+ # Changes may cause incorrect behavior and will be lost if the code is
4
+ # regenerated.
5
+
6
+ module Azure::ARM::Logic
7
+ module Models
8
+ #
9
+ # Model object.
10
+ #
11
+ class AS2AcknowledgementConnectionSettings
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [Boolean] The value indicating whether to ignore mismatch in
16
+ # certificate name.
17
+ attr_accessor :ignore_certificate_name_mismatch
18
+
19
+ # @return [Boolean] The value indicating whether to support HTTP status
20
+ # code 'CONTINUE'.
21
+ attr_accessor :support_http_status_code_continue
22
+
23
+ # @return [Boolean] The value indicating whether to keep the connection
24
+ # alive.
25
+ attr_accessor :keep_http_connection_alive
26
+
27
+ # @return [Boolean] The value indicating whether to unfold the HTTP
28
+ # headers.
29
+ attr_accessor :unfold_http_headers
30
+
31
+
32
+ #
33
+ # Mapper for AS2AcknowledgementConnectionSettings class as Ruby Hash.
34
+ # This will be used for serialization/deserialization.
35
+ #
36
+ def self.mapper()
37
+ {
38
+ required: false,
39
+ serialized_name: 'AS2AcknowledgementConnectionSettings',
40
+ type: {
41
+ name: 'Composite',
42
+ class_name: 'AS2AcknowledgementConnectionSettings',
43
+ model_properties: {
44
+ ignore_certificate_name_mismatch: {
45
+ required: false,
46
+ serialized_name: 'ignoreCertificateNameMismatch',
47
+ type: {
48
+ name: 'Boolean'
49
+ }
50
+ },
51
+ support_http_status_code_continue: {
52
+ required: false,
53
+ serialized_name: 'supportHttpStatusCodeContinue',
54
+ type: {
55
+ name: 'Boolean'
56
+ }
57
+ },
58
+ keep_http_connection_alive: {
59
+ required: false,
60
+ serialized_name: 'keepHttpConnectionAlive',
61
+ type: {
62
+ name: 'Boolean'
63
+ }
64
+ },
65
+ unfold_http_headers: {
66
+ required: false,
67
+ serialized_name: 'unfoldHttpHeaders',
68
+ type: {
69
+ name: 'Boolean'
70
+ }
71
+ }
72
+ }
73
+ }
74
+ }
75
+ end
76
+ end
77
+ end
78
+ end
@@ -0,0 +1,56 @@
1
+ # encoding: utf-8
2
+ # Code generated by Microsoft (R) AutoRest Code Generator 0.17.0.0
3
+ # Changes may cause incorrect behavior and will be lost if the code is
4
+ # regenerated.
5
+
6
+ module Azure::ARM::Logic
7
+ module Models
8
+ #
9
+ # Model object.
10
+ #
11
+ class AS2AgreementContent
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [AS2OneWayAgreement] The AS2 one-way receive agreement.
16
+ attr_accessor :receive_agreement
17
+
18
+ # @return [AS2OneWayAgreement] The AS2 one-way send agreement.
19
+ attr_accessor :send_agreement
20
+
21
+
22
+ #
23
+ # Mapper for AS2AgreementContent class as Ruby Hash.
24
+ # This will be used for serialization/deserialization.
25
+ #
26
+ def self.mapper()
27
+ {
28
+ required: false,
29
+ serialized_name: 'AS2AgreementContent',
30
+ type: {
31
+ name: 'Composite',
32
+ class_name: 'AS2AgreementContent',
33
+ model_properties: {
34
+ receive_agreement: {
35
+ required: false,
36
+ serialized_name: 'receiveAgreement',
37
+ type: {
38
+ name: 'Composite',
39
+ class_name: 'AS2OneWayAgreement'
40
+ }
41
+ },
42
+ send_agreement: {
43
+ required: false,
44
+ serialized_name: 'sendAgreement',
45
+ type: {
46
+ name: 'Composite',
47
+ class_name: 'AS2OneWayAgreement'
48
+ }
49
+ }
50
+ }
51
+ }
52
+ }
53
+ end
54
+ end
55
+ end
56
+ end
@@ -0,0 +1,87 @@
1
+ # encoding: utf-8
2
+ # Code generated by Microsoft (R) AutoRest Code Generator 0.17.0.0
3
+ # Changes may cause incorrect behavior and will be lost if the code is
4
+ # regenerated.
5
+
6
+ module Azure::ARM::Logic
7
+ module Models
8
+ #
9
+ # Model object.
10
+ #
11
+ class AS2EnvelopeSettings
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [String] The message content type.
16
+ attr_accessor :message_content_type
17
+
18
+ # @return [Boolean] The value indicating whether to transmit file name
19
+ # in mime header.
20
+ attr_accessor :transmit_file_name_in_mime_header
21
+
22
+ # @return [String] The template for file name.
23
+ attr_accessor :file_name_template
24
+
25
+ # @return [Boolean] The value indicating whether to suspend message on
26
+ # file name generation error.
27
+ attr_accessor :suspend_message_on_file_name_generation_error
28
+
29
+ # @return [Boolean] The value indicating whether to auto generate file
30
+ # name.
31
+ attr_accessor :autogenerate_file_name
32
+
33
+
34
+ #
35
+ # Mapper for AS2EnvelopeSettings class as Ruby Hash.
36
+ # This will be used for serialization/deserialization.
37
+ #
38
+ def self.mapper()
39
+ {
40
+ required: false,
41
+ serialized_name: 'AS2EnvelopeSettings',
42
+ type: {
43
+ name: 'Composite',
44
+ class_name: 'AS2EnvelopeSettings',
45
+ model_properties: {
46
+ message_content_type: {
47
+ required: false,
48
+ serialized_name: 'messageContentType',
49
+ type: {
50
+ name: 'String'
51
+ }
52
+ },
53
+ transmit_file_name_in_mime_header: {
54
+ required: false,
55
+ serialized_name: 'transmitFileNameInMimeHeader',
56
+ type: {
57
+ name: 'Boolean'
58
+ }
59
+ },
60
+ file_name_template: {
61
+ required: false,
62
+ serialized_name: 'fileNameTemplate',
63
+ type: {
64
+ name: 'String'
65
+ }
66
+ },
67
+ suspend_message_on_file_name_generation_error: {
68
+ required: false,
69
+ serialized_name: 'SuspendMessageOnFileNameGenerationError',
70
+ type: {
71
+ name: 'Boolean'
72
+ }
73
+ },
74
+ autogenerate_file_name: {
75
+ required: false,
76
+ serialized_name: 'AutogenerateFileName',
77
+ type: {
78
+ name: 'Boolean'
79
+ }
80
+ }
81
+ }
82
+ }
83
+ }
84
+ end
85
+ end
86
+ end
87
+ end
@@ -0,0 +1,56 @@
1
+ # encoding: utf-8
2
+ # Code generated by Microsoft (R) AutoRest Code Generator 0.17.0.0
3
+ # Changes may cause incorrect behavior and will be lost if the code is
4
+ # regenerated.
5
+
6
+ module Azure::ARM::Logic
7
+ module Models
8
+ #
9
+ # Model object.
10
+ #
11
+ class AS2ErrorSettings
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [Boolean] The value indicating whether to suspend duplicate
16
+ # message.
17
+ attr_accessor :suspend_duplicate_message
18
+
19
+ # @return [Boolean] The value indicating whether to resend message If
20
+ # MDN is not received.
21
+ attr_accessor :resend_if_mdn_not_received
22
+
23
+
24
+ #
25
+ # Mapper for AS2ErrorSettings class as Ruby Hash.
26
+ # This will be used for serialization/deserialization.
27
+ #
28
+ def self.mapper()
29
+ {
30
+ required: false,
31
+ serialized_name: 'AS2ErrorSettings',
32
+ type: {
33
+ name: 'Composite',
34
+ class_name: 'AS2ErrorSettings',
35
+ model_properties: {
36
+ suspend_duplicate_message: {
37
+ required: false,
38
+ serialized_name: 'SuspendDuplicateMessage',
39
+ type: {
40
+ name: 'Boolean'
41
+ }
42
+ },
43
+ resend_if_mdn_not_received: {
44
+ required: false,
45
+ serialized_name: 'ResendIfMdnNotReceived',
46
+ type: {
47
+ name: 'Boolean'
48
+ }
49
+ }
50
+ }
51
+ }
52
+ }
53
+ end
54
+ end
55
+ end
56
+ end
@@ -0,0 +1,132 @@
1
+ # encoding: utf-8
2
+ # Code generated by Microsoft (R) AutoRest Code Generator 0.17.0.0
3
+ # Changes may cause incorrect behavior and will be lost if the code is
4
+ # regenerated.
5
+
6
+ module Azure::ARM::Logic
7
+ module Models
8
+ #
9
+ # Model object.
10
+ #
11
+ class AS2MdnSettings
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [Boolean] The value indicating whether to send or request a
16
+ # MDN.
17
+ attr_accessor :need_mdn
18
+
19
+ # @return [Boolean] The value indicating whether the MDN needs to be
20
+ # signed or not.
21
+ attr_accessor :sign_mdn
22
+
23
+ # @return [Boolean] The value indicating whether to send the
24
+ # asynchronous MDN.
25
+ attr_accessor :send_mdn_asynchronously
26
+
27
+ # @return [String] The receipt delivery URL.
28
+ attr_accessor :receipt_delivery_url
29
+
30
+ # @return [String] The disposition notification to header value.
31
+ attr_accessor :disposition_notification_to
32
+
33
+ # @return [Boolean] The value indicating whether to sign the outbound
34
+ # MDN if optional.
35
+ attr_accessor :sign_outbound_mdn_if_optional
36
+
37
+ # @return [String] The MDN text.
38
+ attr_accessor :mdn_text
39
+
40
+ # @return [Boolean] The value indicating whether to send inbound MDN to
41
+ # message box.
42
+ attr_accessor :send_inbound_mdn_to_message_box
43
+
44
+ # @return [HashingAlgorithm] The signing or hashing algorithm. Possible
45
+ # values include: 'NotSpecified', 'None', 'SHA2256', 'SHA2384',
46
+ # 'SHA2512'
47
+ attr_accessor :mic_hashing_algorithm
48
+
49
+
50
+ #
51
+ # Mapper for AS2MdnSettings class as Ruby Hash.
52
+ # This will be used for serialization/deserialization.
53
+ #
54
+ def self.mapper()
55
+ {
56
+ required: false,
57
+ serialized_name: 'AS2MdnSettings',
58
+ type: {
59
+ name: 'Composite',
60
+ class_name: 'AS2MdnSettings',
61
+ model_properties: {
62
+ need_mdn: {
63
+ required: false,
64
+ serialized_name: 'needMdn',
65
+ type: {
66
+ name: 'Boolean'
67
+ }
68
+ },
69
+ sign_mdn: {
70
+ required: false,
71
+ serialized_name: 'signMdn',
72
+ type: {
73
+ name: 'Boolean'
74
+ }
75
+ },
76
+ send_mdn_asynchronously: {
77
+ required: false,
78
+ serialized_name: 'sendMdnAsynchronously',
79
+ type: {
80
+ name: 'Boolean'
81
+ }
82
+ },
83
+ receipt_delivery_url: {
84
+ required: false,
85
+ serialized_name: 'receiptDeliveryUrl',
86
+ type: {
87
+ name: 'String'
88
+ }
89
+ },
90
+ disposition_notification_to: {
91
+ required: false,
92
+ serialized_name: 'dispositionNotificationTo',
93
+ type: {
94
+ name: 'String'
95
+ }
96
+ },
97
+ sign_outbound_mdn_if_optional: {
98
+ required: false,
99
+ serialized_name: 'signOutboundMdnIfOptional',
100
+ type: {
101
+ name: 'Boolean'
102
+ }
103
+ },
104
+ mdn_text: {
105
+ required: false,
106
+ serialized_name: 'mdnText',
107
+ type: {
108
+ name: 'String'
109
+ }
110
+ },
111
+ send_inbound_mdn_to_message_box: {
112
+ required: false,
113
+ serialized_name: 'sendInboundMdnToMessageBox',
114
+ type: {
115
+ name: 'Boolean'
116
+ }
117
+ },
118
+ mic_hashing_algorithm: {
119
+ required: false,
120
+ serialized_name: 'micHashingAlgorithm',
121
+ type: {
122
+ name: 'Enum',
123
+ module: 'HashingAlgorithm'
124
+ }
125
+ }
126
+ }
127
+ }
128
+ }
129
+ end
130
+ end
131
+ end
132
+ end
@@ -0,0 +1,78 @@
1
+ # encoding: utf-8
2
+ # Code generated by Microsoft (R) AutoRest Code Generator 0.17.0.0
3
+ # Changes may cause incorrect behavior and will be lost if the code is
4
+ # regenerated.
5
+
6
+ module Azure::ARM::Logic
7
+ module Models
8
+ #
9
+ # Model object.
10
+ #
11
+ class AS2MessageConnectionSettings
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [Boolean] The value indicating whether to ignore mismatch in
16
+ # certificate name.
17
+ attr_accessor :ignore_certificate_name_mismatch
18
+
19
+ # @return [Boolean] The value indicating whether to support HTTP status
20
+ # code 'CONTINUE'.
21
+ attr_accessor :support_http_status_code_continue
22
+
23
+ # @return [Boolean] The value indicating whether to keep the connection
24
+ # alive.
25
+ attr_accessor :keep_http_connection_alive
26
+
27
+ # @return [Boolean] The value indicating whether to unfold the HTTP
28
+ # headers.
29
+ attr_accessor :unfold_http_headers
30
+
31
+
32
+ #
33
+ # Mapper for AS2MessageConnectionSettings class as Ruby Hash.
34
+ # This will be used for serialization/deserialization.
35
+ #
36
+ def self.mapper()
37
+ {
38
+ required: false,
39
+ serialized_name: 'AS2MessageConnectionSettings',
40
+ type: {
41
+ name: 'Composite',
42
+ class_name: 'AS2MessageConnectionSettings',
43
+ model_properties: {
44
+ ignore_certificate_name_mismatch: {
45
+ required: false,
46
+ serialized_name: 'ignoreCertificateNameMismatch',
47
+ type: {
48
+ name: 'Boolean'
49
+ }
50
+ },
51
+ support_http_status_code_continue: {
52
+ required: false,
53
+ serialized_name: 'supportHttpStatusCodeContinue',
54
+ type: {
55
+ name: 'Boolean'
56
+ }
57
+ },
58
+ keep_http_connection_alive: {
59
+ required: false,
60
+ serialized_name: 'keepHttpConnectionAlive',
61
+ type: {
62
+ name: 'Boolean'
63
+ }
64
+ },
65
+ unfold_http_headers: {
66
+ required: false,
67
+ serialized_name: 'unfoldHttpHeaders',
68
+ type: {
69
+ name: 'Boolean'
70
+ }
71
+ }
72
+ }
73
+ }
74
+ }
75
+ end
76
+ end
77
+ end
78
+ end