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,145 @@
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 EdifactValidationSettings
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [Boolean] The value indicating whether to validate character
16
+ # set in the message.
17
+ attr_accessor :validate_character_set
18
+
19
+ # @return [Boolean] The value indicating whether to check for duplicate
20
+ # interchange control number.
21
+ attr_accessor :check_duplicate_interchange_control_number
22
+
23
+ # @return [Integer] The validity period of interchange control number.
24
+ attr_accessor :interchange_control_number_validity_days
25
+
26
+ # @return [Boolean] The value indicating whether to check for duplicate
27
+ # group control number.
28
+ attr_accessor :check_duplicate_group_control_number
29
+
30
+ # @return [Boolean] The value indicating whether to check for duplicate
31
+ # transaction set control number.
32
+ attr_accessor :check_duplicate_transaction_set_control_number
33
+
34
+ # @return [Boolean] The value indicating whether to Whether to validate
35
+ # EDI types.
36
+ attr_accessor :validate_editypes
37
+
38
+ # @return [Boolean] The value indicating whether to Whether to validate
39
+ # XSD types.
40
+ attr_accessor :validate_xsdtypes
41
+
42
+ # @return [Boolean] The value indicating whether to allow leading and
43
+ # trailing spaces and zeroes.
44
+ attr_accessor :allow_leading_and_trailing_spaces_and_zeroes
45
+
46
+ # @return [Boolean] The value indicating whether to trim leading and
47
+ # trailing spaces and zeroes.
48
+ attr_accessor :trim_leading_and_trailing_spaces_and_zeroes
49
+
50
+ # @return [TrailingSeparatorPolicy] The trailing separator policy.
51
+ # Possible values include: 'NotSpecified', 'NotAllowed', 'Optional',
52
+ # 'Mandatory'
53
+ attr_accessor :trailing_separator_policy
54
+
55
+
56
+ #
57
+ # Mapper for EdifactValidationSettings class as Ruby Hash.
58
+ # This will be used for serialization/deserialization.
59
+ #
60
+ def self.mapper()
61
+ {
62
+ required: false,
63
+ serialized_name: 'EdifactValidationSettings',
64
+ type: {
65
+ name: 'Composite',
66
+ class_name: 'EdifactValidationSettings',
67
+ model_properties: {
68
+ validate_character_set: {
69
+ required: false,
70
+ serialized_name: 'validateCharacterSet',
71
+ type: {
72
+ name: 'Boolean'
73
+ }
74
+ },
75
+ check_duplicate_interchange_control_number: {
76
+ required: false,
77
+ serialized_name: 'checkDuplicateInterchangeControlNumber',
78
+ type: {
79
+ name: 'Boolean'
80
+ }
81
+ },
82
+ interchange_control_number_validity_days: {
83
+ required: false,
84
+ serialized_name: 'interchangeControlNumberValidityDays',
85
+ type: {
86
+ name: 'Number'
87
+ }
88
+ },
89
+ check_duplicate_group_control_number: {
90
+ required: false,
91
+ serialized_name: 'checkDuplicateGroupControlNumber',
92
+ type: {
93
+ name: 'Boolean'
94
+ }
95
+ },
96
+ check_duplicate_transaction_set_control_number: {
97
+ required: false,
98
+ serialized_name: 'checkDuplicateTransactionSetControlNumber',
99
+ type: {
100
+ name: 'Boolean'
101
+ }
102
+ },
103
+ validate_editypes: {
104
+ required: false,
105
+ serialized_name: 'validateEDITypes',
106
+ type: {
107
+ name: 'Boolean'
108
+ }
109
+ },
110
+ validate_xsdtypes: {
111
+ required: false,
112
+ serialized_name: 'validateXSDTypes',
113
+ type: {
114
+ name: 'Boolean'
115
+ }
116
+ },
117
+ allow_leading_and_trailing_spaces_and_zeroes: {
118
+ required: false,
119
+ serialized_name: 'allowLeadingAndTrailingSpacesAndZeroes',
120
+ type: {
121
+ name: 'Boolean'
122
+ }
123
+ },
124
+ trim_leading_and_trailing_spaces_and_zeroes: {
125
+ required: false,
126
+ serialized_name: 'trimLeadingAndTrailingSpacesAndZeroes',
127
+ type: {
128
+ name: 'Boolean'
129
+ }
130
+ },
131
+ trailing_separator_policy: {
132
+ required: false,
133
+ serialized_name: 'trailingSeparatorPolicy',
134
+ type: {
135
+ name: 'Enum',
136
+ module: 'TrailingSeparatorPolicy'
137
+ }
138
+ }
139
+ }
140
+ }
141
+ }
142
+ end
143
+ end
144
+ end
145
+ end
@@ -0,0 +1,21 @@
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 EncryptionAlgorithm
10
+ #
11
+ module EncryptionAlgorithm
12
+ NotSpecified = "NotSpecified"
13
+ None = "None"
14
+ DES3 = "DES3"
15
+ RC2 = "RC2"
16
+ AES128 = "AES128"
17
+ AES192 = "AES192"
18
+ AES256 = "AES256"
19
+ end
20
+ end
21
+ end
@@ -0,0 +1,19 @@
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 HashingAlgorithm
10
+ #
11
+ module HashingAlgorithm
12
+ NotSpecified = "NotSpecified"
13
+ None = "None"
14
+ SHA2256 = "SHA2256"
15
+ SHA2384 = "SHA2384"
16
+ SHA2512 = "SHA2512"
17
+ end
18
+ end
19
+ end
@@ -0,0 +1,97 @@
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 IntegrationAccount < MsRestAzure::IntegrationAccountResource
12
+
13
+ include MsRestAzure
14
+
15
+ # @return The integration account properties.
16
+ attr_accessor :properties
17
+
18
+ # @return [IntegrationAccountSku] The sku.
19
+ attr_accessor :sku
20
+
21
+
22
+ #
23
+ # Mapper for IntegrationAccount class as Ruby Hash.
24
+ # This will be used for serialization/deserialization.
25
+ #
26
+ def self.mapper()
27
+ {
28
+ required: false,
29
+ serialized_name: 'IntegrationAccount',
30
+ type: {
31
+ name: 'Composite',
32
+ class_name: 'IntegrationAccount',
33
+ model_properties: {
34
+ id: {
35
+ required: false,
36
+ serialized_name: 'id',
37
+ type: {
38
+ name: 'String'
39
+ }
40
+ },
41
+ name: {
42
+ required: false,
43
+ serialized_name: 'name',
44
+ type: {
45
+ name: 'String'
46
+ }
47
+ },
48
+ type: {
49
+ required: false,
50
+ serialized_name: 'type',
51
+ type: {
52
+ name: 'String'
53
+ }
54
+ },
55
+ location: {
56
+ required: false,
57
+ serialized_name: 'location',
58
+ type: {
59
+ name: 'String'
60
+ }
61
+ },
62
+ tags: {
63
+ required: false,
64
+ serialized_name: 'tags',
65
+ type: {
66
+ name: 'Dictionary',
67
+ value: {
68
+ required: false,
69
+ serialized_name: 'StringElementType',
70
+ type: {
71
+ name: 'String'
72
+ }
73
+ }
74
+ }
75
+ },
76
+ properties: {
77
+ required: false,
78
+ serialized_name: 'properties',
79
+ type: {
80
+ name: 'Object'
81
+ }
82
+ },
83
+ sku: {
84
+ required: false,
85
+ serialized_name: 'sku',
86
+ type: {
87
+ name: 'Composite',
88
+ class_name: 'IntegrationAccountSku'
89
+ }
90
+ }
91
+ }
92
+ }
93
+ }
94
+ end
95
+ end
96
+ end
97
+ end
@@ -0,0 +1,173 @@
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 IntegrationAccountAgreement < MsRestAzure::IntegrationAccountResource
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [DateTime] The created time.
16
+ attr_accessor :created_time
17
+
18
+ # @return [DateTime] The changed time.
19
+ attr_accessor :changed_time
20
+
21
+ # @return The metadata.
22
+ attr_accessor :metadata
23
+
24
+ # @return [AgreementType] The agreement type. Possible values include:
25
+ # 'NotSpecified', 'AS2', 'X12', 'Edifact'
26
+ attr_accessor :agreement_type
27
+
28
+ # @return [String] The host partner.
29
+ attr_accessor :host_partner
30
+
31
+ # @return [String] The guest partner.
32
+ attr_accessor :guest_partner
33
+
34
+ # @return [BusinessIdentity] The host identity.
35
+ attr_accessor :host_identity
36
+
37
+ # @return [BusinessIdentity] The guest identity.
38
+ attr_accessor :guest_identity
39
+
40
+ # @return [AgreementContent] The agreement content.
41
+ attr_accessor :content
42
+
43
+
44
+ #
45
+ # Mapper for IntegrationAccountAgreement class as Ruby Hash.
46
+ # This will be used for serialization/deserialization.
47
+ #
48
+ def self.mapper()
49
+ {
50
+ required: false,
51
+ serialized_name: 'IntegrationAccountAgreement',
52
+ type: {
53
+ name: 'Composite',
54
+ class_name: 'IntegrationAccountAgreement',
55
+ model_properties: {
56
+ id: {
57
+ required: false,
58
+ serialized_name: 'id',
59
+ type: {
60
+ name: 'String'
61
+ }
62
+ },
63
+ name: {
64
+ required: false,
65
+ serialized_name: 'name',
66
+ type: {
67
+ name: 'String'
68
+ }
69
+ },
70
+ type: {
71
+ required: false,
72
+ serialized_name: 'type',
73
+ type: {
74
+ name: 'String'
75
+ }
76
+ },
77
+ location: {
78
+ required: false,
79
+ serialized_name: 'location',
80
+ type: {
81
+ name: 'String'
82
+ }
83
+ },
84
+ tags: {
85
+ required: false,
86
+ serialized_name: 'tags',
87
+ type: {
88
+ name: 'Dictionary',
89
+ value: {
90
+ required: false,
91
+ serialized_name: 'StringElementType',
92
+ type: {
93
+ name: 'String'
94
+ }
95
+ }
96
+ }
97
+ },
98
+ created_time: {
99
+ required: false,
100
+ read_only: true,
101
+ serialized_name: 'properties.createdTime',
102
+ type: {
103
+ name: 'DateTime'
104
+ }
105
+ },
106
+ changed_time: {
107
+ required: false,
108
+ read_only: true,
109
+ serialized_name: 'properties.changedTime',
110
+ type: {
111
+ name: 'DateTime'
112
+ }
113
+ },
114
+ metadata: {
115
+ required: false,
116
+ serialized_name: 'properties.metadata',
117
+ type: {
118
+ name: 'Object'
119
+ }
120
+ },
121
+ agreement_type: {
122
+ required: false,
123
+ serialized_name: 'properties.agreementType',
124
+ type: {
125
+ name: 'Enum',
126
+ module: 'AgreementType'
127
+ }
128
+ },
129
+ host_partner: {
130
+ required: false,
131
+ serialized_name: 'properties.hostPartner',
132
+ type: {
133
+ name: 'String'
134
+ }
135
+ },
136
+ guest_partner: {
137
+ required: false,
138
+ serialized_name: 'properties.guestPartner',
139
+ type: {
140
+ name: 'String'
141
+ }
142
+ },
143
+ host_identity: {
144
+ required: false,
145
+ serialized_name: 'properties.hostIdentity',
146
+ type: {
147
+ name: 'Composite',
148
+ class_name: 'BusinessIdentity'
149
+ }
150
+ },
151
+ guest_identity: {
152
+ required: false,
153
+ serialized_name: 'properties.guestIdentity',
154
+ type: {
155
+ name: 'Composite',
156
+ class_name: 'BusinessIdentity'
157
+ }
158
+ },
159
+ content: {
160
+ required: false,
161
+ serialized_name: 'properties.content',
162
+ type: {
163
+ name: 'Composite',
164
+ class_name: 'AgreementContent'
165
+ }
166
+ }
167
+ }
168
+ }
169
+ }
170
+ end
171
+ end
172
+ end
173
+ end
@@ -0,0 +1,47 @@
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 IntegrationAccountAgreementFilter
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [AgreementType] The agreement type of integration account
16
+ # agreement. Possible values include: 'NotSpecified', 'AS2', 'X12',
17
+ # 'Edifact'
18
+ attr_accessor :agreement_type
19
+
20
+
21
+ #
22
+ # Mapper for IntegrationAccountAgreementFilter class as Ruby Hash.
23
+ # This will be used for serialization/deserialization.
24
+ #
25
+ def self.mapper()
26
+ {
27
+ required: false,
28
+ serialized_name: 'IntegrationAccountAgreementFilter',
29
+ type: {
30
+ name: 'Composite',
31
+ class_name: 'IntegrationAccountAgreementFilter',
32
+ model_properties: {
33
+ agreement_type: {
34
+ required: false,
35
+ serialized_name: 'agreementType',
36
+ type: {
37
+ name: 'Enum',
38
+ module: 'AgreementType'
39
+ }
40
+ }
41
+ }
42
+ }
43
+ }
44
+ end
45
+ end
46
+ end
47
+ end
@@ -0,0 +1,94 @@
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 IntegrationAccountAgreementListResult
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [Array<IntegrationAccountAgreement>] The list of integration
16
+ # account agreements.
17
+ attr_accessor :value
18
+
19
+ # @return [String] The URL to get the next set of results.
20
+ attr_accessor :next_link
21
+
22
+ # return [Proc] with next page method call.
23
+ attr_accessor :next_method
24
+
25
+ #
26
+ # Gets the rest of the items for the request, enabling auto-pagination.
27
+ #
28
+ # @return [Array<IntegrationAccountAgreement>] operation results.
29
+ #
30
+ def get_all_items
31
+ items = @value
32
+ page = self
33
+ while page.next_link != nil do
34
+ page = page.get_next_page
35
+ items.concat(page.value)
36
+ end
37
+ items
38
+ end
39
+
40
+ #
41
+ # Gets the next page of results.
42
+ #
43
+ # @return [IntegrationAccountAgreementListResult] with next page content.
44
+ #
45
+ def get_next_page
46
+ response = @next_method.call(@next_link).value! unless @next_method.nil?
47
+ unless response.nil?
48
+ @next_link = response.body.next_link
49
+ @value = response.body.value
50
+ self
51
+ end
52
+ end
53
+
54
+ #
55
+ # Mapper for IntegrationAccountAgreementListResult class as Ruby Hash.
56
+ # This will be used for serialization/deserialization.
57
+ #
58
+ def self.mapper()
59
+ {
60
+ required: false,
61
+ serialized_name: 'IntegrationAccountAgreementListResult',
62
+ type: {
63
+ name: 'Composite',
64
+ class_name: 'IntegrationAccountAgreementListResult',
65
+ model_properties: {
66
+ value: {
67
+ required: false,
68
+ serialized_name: 'value',
69
+ type: {
70
+ name: 'Sequence',
71
+ element: {
72
+ required: false,
73
+ serialized_name: 'IntegrationAccountAgreementElementType',
74
+ type: {
75
+ name: 'Composite',
76
+ class_name: 'IntegrationAccountAgreement'
77
+ }
78
+ }
79
+ }
80
+ },
81
+ next_link: {
82
+ required: false,
83
+ serialized_name: 'nextLink',
84
+ type: {
85
+ name: 'String'
86
+ }
87
+ }
88
+ }
89
+ }
90
+ }
91
+ end
92
+ end
93
+ end
94
+ end