MailchimpMarketing 3.0.8 → 3.0.9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (35) hide show
  1. checksums.yaml +4 -4
  2. data/MailchimpMarketing.gemspec +2 -2
  3. data/README.md +2 -2
  4. data/lib/MailchimpMarketing.rb +1 -1
  5. data/lib/MailchimpMarketing/api/activity_feed_api.rb +1 -6
  6. data/lib/MailchimpMarketing/api/authorized_apps_api.rb +1 -8
  7. data/lib/MailchimpMarketing/api/automations_api.rb +1 -40
  8. data/lib/MailchimpMarketing/api/batch_webhooks_api.rb +1 -12
  9. data/lib/MailchimpMarketing/api/batches_api.rb +1 -10
  10. data/lib/MailchimpMarketing/api/campaign_folders_api.rb +1 -12
  11. data/lib/MailchimpMarketing/api/campaigns_api.rb +1 -46
  12. data/lib/MailchimpMarketing/api/connected_sites_api.rb +1 -12
  13. data/lib/MailchimpMarketing/api/conversations_api.rb +1 -12
  14. data/lib/MailchimpMarketing/api/dashboard_api.rb +1 -14
  15. data/lib/MailchimpMarketing/api/ecommerce_api.rb +1 -120
  16. data/lib/MailchimpMarketing/api/external_auths_api.rb +1 -8
  17. data/lib/MailchimpMarketing/api/facebook_ads_api.rb +1 -6
  18. data/lib/MailchimpMarketing/api/file_manager_api.rb +1 -24
  19. data/lib/MailchimpMarketing/api/landing_pages_api.rb +1 -18
  20. data/lib/MailchimpMarketing/api/lists_api.rb +1 -134
  21. data/lib/MailchimpMarketing/api/ping_api.rb +1 -4
  22. data/lib/MailchimpMarketing/api/postcards_api.rb +1 -4
  23. data/lib/MailchimpMarketing/api/reporting_api.rb +1 -14
  24. data/lib/MailchimpMarketing/api/reports_api.rb +1 -46
  25. data/lib/MailchimpMarketing/api/root_api.rb +1 -4
  26. data/lib/MailchimpMarketing/api/search_campaigns_api.rb +1 -4
  27. data/lib/MailchimpMarketing/api/search_members_api.rb +1 -4
  28. data/lib/MailchimpMarketing/api/template_folders_api.rb +1 -12
  29. data/lib/MailchimpMarketing/api/templates_api.rb +1 -14
  30. data/lib/MailchimpMarketing/api/verified_domains_api.rb +1 -12
  31. data/lib/MailchimpMarketing/api_client.rb +16 -118
  32. data/lib/MailchimpMarketing/api_error.rb +1 -1
  33. data/lib/MailchimpMarketing/configuration.rb +1 -1
  34. data/lib/MailchimpMarketing/version.rb +2 -2
  35. metadata +4 -10
@@ -3,7 +3,7 @@
3
3
 
4
4
  #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
5
5
 
6
- OpenAPI spec version: 3.0.8
6
+ OpenAPI spec version: 3.0.9
7
7
  Contact: apihelp@mailchimp.com
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
9
  Swagger Codegen version: 2.4.12
@@ -11,7 +11,6 @@ Swagger Codegen version: 2.4.12
11
11
  =end
12
12
 
13
13
  require 'uri'
14
- require 'json'
15
14
 
16
15
  module MailchimpMarketing
17
16
  class ExternalAuthsApi
@@ -28,13 +27,11 @@ module MailchimpMarketing
28
27
  query_params = {}
29
28
  query_params[:'fields'] = @api_client.build_collection_param(opts[:'fields'], :csv) if !opts[:'fields'].nil?
30
29
  query_params[:'exclude_fields'] = @api_client.build_collection_param(opts[:'exclude_fields'], :csv) if !opts[:'exclude_fields'].nil?
31
- form_params = {}
32
30
  post_body = nil
33
31
 
34
32
  local_var_path = '/external-auths/{system_id}'.sub('{' + 'system_id' + '}', system_id.to_s)
35
33
  data, status_code, headers = @api_client.call_api(:GET, local_var_path,
36
34
  :query_params => query_params,
37
- :form_params => form_params,
38
35
  :body => post_body)
39
36
  return data, status_code, headers
40
37
  end
@@ -48,13 +45,11 @@ module MailchimpMarketing
48
45
  query_params[:'exclude_fields'] = @api_client.build_collection_param(opts[:'exclude_fields'], :csv) if !opts[:'exclude_fields'].nil?
49
46
  query_params[:'count'] = opts[:'count'] if !opts[:'count'].nil?
50
47
  query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
51
- form_params = {}
52
48
  post_body = nil
53
49
 
54
50
  local_var_path = '/external-auths'
55
51
  data, status_code, headers = @api_client.call_api(:GET, local_var_path,
56
52
  :query_params => query_params,
57
- :form_params => form_params,
58
53
  :body => post_body)
59
54
  return data, status_code, headers
60
55
  end
@@ -64,13 +59,11 @@ module MailchimpMarketing
64
59
  fail ArgumentError, "Missing required param: 'body'" if body.nil?
65
60
 
66
61
  query_params = {}
67
- form_params = {}
68
62
  post_body = @api_client.object_to_http_body(body)
69
63
 
70
64
  local_var_path = '/external-auths'
71
65
  data, status_code, headers = @api_client.call_api(:POST, local_var_path,
72
66
  :query_params => query_params,
73
- :form_params => form_params,
74
67
  :body => post_body)
75
68
  return data, status_code, headers
76
69
  end
@@ -3,7 +3,7 @@
3
3
 
4
4
  #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
5
5
 
6
- OpenAPI spec version: 3.0.8
6
+ OpenAPI spec version: 3.0.9
7
7
  Contact: apihelp@mailchimp.com
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
9
  Swagger Codegen version: 2.4.12
@@ -11,7 +11,6 @@ Swagger Codegen version: 2.4.12
11
11
  =end
12
12
 
13
13
  require 'uri'
14
- require 'json'
15
14
 
16
15
  module MailchimpMarketing
17
16
  class FacebookAdsApi
@@ -34,13 +33,11 @@ module MailchimpMarketing
34
33
  query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
35
34
  query_params[:'sort_field'] = opts[:'sort_field'] if !opts[:'sort_field'].nil?
36
35
  query_params[:'sort_dir'] = opts[:'sort_dir'] if !opts[:'sort_dir'].nil?
37
- form_params = {}
38
36
  post_body = nil
39
37
 
40
38
  local_var_path = '/facebook-ads'
41
39
  data, status_code, headers = @api_client.call_api(:GET, local_var_path,
42
40
  :query_params => query_params,
43
- :form_params => form_params,
44
41
  :body => post_body)
45
42
  return data, status_code, headers
46
43
  end
@@ -52,13 +49,11 @@ module MailchimpMarketing
52
49
  query_params = {}
53
50
  query_params[:'fields'] = @api_client.build_collection_param(opts[:'fields'], :csv) if !opts[:'fields'].nil?
54
51
  query_params[:'exclude_fields'] = @api_client.build_collection_param(opts[:'exclude_fields'], :csv) if !opts[:'exclude_fields'].nil?
55
- form_params = {}
56
52
  post_body = nil
57
53
 
58
54
  local_var_path = '/facebook-ads/{outreach_id}'.sub('{' + 'outreach_id' + '}', outreach_id.to_s)
59
55
  data, status_code, headers = @api_client.call_api(:GET, local_var_path,
60
56
  :query_params => query_params,
61
- :form_params => form_params,
62
57
  :body => post_body)
63
58
  return data, status_code, headers
64
59
  end
@@ -3,7 +3,7 @@
3
3
 
4
4
  #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
5
5
 
6
- OpenAPI spec version: 3.0.8
6
+ OpenAPI spec version: 3.0.9
7
7
  Contact: apihelp@mailchimp.com
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
9
  Swagger Codegen version: 2.4.12
@@ -11,7 +11,6 @@ Swagger Codegen version: 2.4.12
11
11
  =end
12
12
 
13
13
  require 'uri'
14
- require 'json'
15
14
 
16
15
  module MailchimpMarketing
17
16
  class FileManagerApi
@@ -26,13 +25,11 @@ module MailchimpMarketing
26
25
  fail ArgumentError, "Missing required param: 'file_id'" if file_id.nil?
27
26
 
28
27
  query_params = {}
29
- form_params = {}
30
28
  post_body = nil
31
29
 
32
30
  local_var_path = '/file-manager/files/{file_id}'.sub('{' + 'file_id' + '}', file_id.to_s)
33
31
  data, status_code, headers = @api_client.call_api(:DELETE, local_var_path,
34
32
  :query_params => query_params,
35
- :form_params => form_params,
36
33
  :body => post_body)
37
34
  return data, status_code, headers
38
35
  end
@@ -42,13 +39,11 @@ module MailchimpMarketing
42
39
  fail ArgumentError, "Missing required param: 'folder_id'" if folder_id.nil?
43
40
 
44
41
  query_params = {}
45
- form_params = {}
46
42
  post_body = nil
47
43
 
48
44
  local_var_path = '/file-manager/folders/{folder_id}'.sub('{' + 'folder_id' + '}', folder_id.to_s)
49
45
  data, status_code, headers = @api_client.call_api(:DELETE, local_var_path,
50
46
  :query_params => query_params,
51
- :form_params => form_params,
52
47
  :body => post_body)
53
48
  return data, status_code, headers
54
49
  end
@@ -57,13 +52,11 @@ module MailchimpMarketing
57
52
  def get(opts = {})
58
53
 
59
54
  query_params = {}
60
- form_params = {}
61
55
  post_body = nil
62
56
 
63
57
  local_var_path = '/file-manager'
64
58
  data, status_code, headers = @api_client.call_api(:GET, local_var_path,
65
59
  :query_params => query_params,
66
- :form_params => form_params,
67
60
  :body => post_body)
68
61
  return data, status_code, headers
69
62
  end
@@ -85,13 +78,11 @@ module MailchimpMarketing
85
78
  query_params[:'since_created_at'] = opts[:'since_created_at'] if !opts[:'since_created_at'].nil?
86
79
  query_params[:'sort_field'] = opts[:'sort_field'] if !opts[:'sort_field'].nil?
87
80
  query_params[:'sort_dir'] = opts[:'sort_dir'] if !opts[:'sort_dir'].nil?
88
- form_params = {}
89
81
  post_body = nil
90
82
 
91
83
  local_var_path = '/file-manager/files'
92
84
  data, status_code, headers = @api_client.call_api(:GET, local_var_path,
93
85
  :query_params => query_params,
94
- :form_params => form_params,
95
86
  :body => post_body)
96
87
  return data, status_code, headers
97
88
  end
@@ -103,13 +94,11 @@ module MailchimpMarketing
103
94
  query_params = {}
104
95
  query_params[:'fields'] = @api_client.build_collection_param(opts[:'fields'], :csv) if !opts[:'fields'].nil?
105
96
  query_params[:'exclude_fields'] = @api_client.build_collection_param(opts[:'exclude_fields'], :csv) if !opts[:'exclude_fields'].nil?
106
- form_params = {}
107
97
  post_body = nil
108
98
 
109
99
  local_var_path = '/file-manager/files/{file_id}'.sub('{' + 'file_id' + '}', file_id.to_s)
110
100
  data, status_code, headers = @api_client.call_api(:GET, local_var_path,
111
101
  :query_params => query_params,
112
- :form_params => form_params,
113
102
  :body => post_body)
114
103
  return data, status_code, headers
115
104
  end
@@ -126,13 +115,11 @@ module MailchimpMarketing
126
115
  query_params[:'created_by'] = opts[:'created_by'] if !opts[:'created_by'].nil?
127
116
  query_params[:'before_created_at'] = opts[:'before_created_at'] if !opts[:'before_created_at'].nil?
128
117
  query_params[:'since_created_at'] = opts[:'since_created_at'] if !opts[:'since_created_at'].nil?
129
- form_params = {}
130
118
  post_body = nil
131
119
 
132
120
  local_var_path = '/file-manager/folders'
133
121
  data, status_code, headers = @api_client.call_api(:GET, local_var_path,
134
122
  :query_params => query_params,
135
- :form_params => form_params,
136
123
  :body => post_body)
137
124
  return data, status_code, headers
138
125
  end
@@ -144,13 +131,11 @@ module MailchimpMarketing
144
131
  query_params = {}
145
132
  query_params[:'fields'] = @api_client.build_collection_param(opts[:'fields'], :csv) if !opts[:'fields'].nil?
146
133
  query_params[:'exclude_fields'] = @api_client.build_collection_param(opts[:'exclude_fields'], :csv) if !opts[:'exclude_fields'].nil?
147
- form_params = {}
148
134
  post_body = nil
149
135
 
150
136
  local_var_path = '/file-manager/folders/{folder_id}'.sub('{' + 'folder_id' + '}', folder_id.to_s)
151
137
  data, status_code, headers = @api_client.call_api(:GET, local_var_path,
152
138
  :query_params => query_params,
153
- :form_params => form_params,
154
139
  :body => post_body)
155
140
  return data, status_code, headers
156
141
  end
@@ -161,13 +146,11 @@ module MailchimpMarketing
161
146
  fail ArgumentError, "Missing required param: 'body'" if body.nil?
162
147
 
163
148
  query_params = {}
164
- form_params = {}
165
149
  post_body = @api_client.object_to_http_body(body)
166
150
 
167
151
  local_var_path = '/file-manager/files/{file_id}'.sub('{' + 'file_id' + '}', file_id.to_s)
168
152
  data, status_code, headers = @api_client.call_api(:PATCH, local_var_path,
169
153
  :query_params => query_params,
170
- :form_params => form_params,
171
154
  :body => post_body)
172
155
  return data, status_code, headers
173
156
  end
@@ -178,13 +161,11 @@ module MailchimpMarketing
178
161
  fail ArgumentError, "Missing required param: 'body'" if body.nil?
179
162
 
180
163
  query_params = {}
181
- form_params = {}
182
164
  post_body = @api_client.object_to_http_body(body)
183
165
 
184
166
  local_var_path = '/file-manager/folders/{folder_id}'.sub('{' + 'folder_id' + '}', folder_id.to_s)
185
167
  data, status_code, headers = @api_client.call_api(:PATCH, local_var_path,
186
168
  :query_params => query_params,
187
- :form_params => form_params,
188
169
  :body => post_body)
189
170
  return data, status_code, headers
190
171
  end
@@ -194,13 +175,11 @@ module MailchimpMarketing
194
175
  fail ArgumentError, "Missing required param: 'body'" if body.nil?
195
176
 
196
177
  query_params = {}
197
- form_params = {}
198
178
  post_body = @api_client.object_to_http_body(body)
199
179
 
200
180
  local_var_path = '/file-manager/files'
201
181
  data, status_code, headers = @api_client.call_api(:POST, local_var_path,
202
182
  :query_params => query_params,
203
- :form_params => form_params,
204
183
  :body => post_body)
205
184
  return data, status_code, headers
206
185
  end
@@ -210,13 +189,11 @@ module MailchimpMarketing
210
189
  fail ArgumentError, "Missing required param: 'body'" if body.nil?
211
190
 
212
191
  query_params = {}
213
- form_params = {}
214
192
  post_body = @api_client.object_to_http_body(body)
215
193
 
216
194
  local_var_path = '/file-manager/folders'
217
195
  data, status_code, headers = @api_client.call_api(:POST, local_var_path,
218
196
  :query_params => query_params,
219
- :form_params => form_params,
220
197
  :body => post_body)
221
198
  return data, status_code, headers
222
199
  end
@@ -3,7 +3,7 @@
3
3
 
4
4
  #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
5
5
 
6
- OpenAPI spec version: 3.0.8
6
+ OpenAPI spec version: 3.0.9
7
7
  Contact: apihelp@mailchimp.com
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
9
  Swagger Codegen version: 2.4.12
@@ -11,7 +11,6 @@ Swagger Codegen version: 2.4.12
11
11
  =end
12
12
 
13
13
  require 'uri'
14
- require 'json'
15
14
 
16
15
  module MailchimpMarketing
17
16
  class LandingPagesApi
@@ -26,13 +25,11 @@ module MailchimpMarketing
26
25
  fail ArgumentError, "Missing required param: 'page_id'" if page_id.nil?
27
26
 
28
27
  query_params = {}
29
- form_params = {}
30
28
  post_body = nil
31
29
 
32
30
  local_var_path = '/landing-pages/{page_id}'.sub('{' + 'page_id' + '}', page_id.to_s)
33
31
  data, status_code, headers = @api_client.call_api(:DELETE, local_var_path,
34
32
  :query_params => query_params,
35
- :form_params => form_params,
36
33
  :body => post_body)
37
34
  return data, status_code, headers
38
35
  end
@@ -49,13 +46,11 @@ module MailchimpMarketing
49
46
  query_params[:'fields'] = @api_client.build_collection_param(opts[:'fields'], :csv) if !opts[:'fields'].nil?
50
47
  query_params[:'exclude_fields'] = @api_client.build_collection_param(opts[:'exclude_fields'], :csv) if !opts[:'exclude_fields'].nil?
51
48
  query_params[:'count'] = opts[:'count'] if !opts[:'count'].nil?
52
- form_params = {}
53
49
  post_body = nil
54
50
 
55
51
  local_var_path = '/landing-pages'
56
52
  data, status_code, headers = @api_client.call_api(:GET, local_var_path,
57
53
  :query_params => query_params,
58
- :form_params => form_params,
59
54
  :body => post_body)
60
55
  return data, status_code, headers
61
56
  end
@@ -67,13 +62,11 @@ module MailchimpMarketing
67
62
  query_params = {}
68
63
  query_params[:'fields'] = @api_client.build_collection_param(opts[:'fields'], :csv) if !opts[:'fields'].nil?
69
64
  query_params[:'exclude_fields'] = @api_client.build_collection_param(opts[:'exclude_fields'], :csv) if !opts[:'exclude_fields'].nil?
70
- form_params = {}
71
65
  post_body = nil
72
66
 
73
67
  local_var_path = '/landing-pages/{page_id}'.sub('{' + 'page_id' + '}', page_id.to_s)
74
68
  data, status_code, headers = @api_client.call_api(:GET, local_var_path,
75
69
  :query_params => query_params,
76
- :form_params => form_params,
77
70
  :body => post_body)
78
71
  return data, status_code, headers
79
72
  end
@@ -85,13 +78,11 @@ module MailchimpMarketing
85
78
  query_params = {}
86
79
  query_params[:'fields'] = @api_client.build_collection_param(opts[:'fields'], :csv) if !opts[:'fields'].nil?
87
80
  query_params[:'exclude_fields'] = @api_client.build_collection_param(opts[:'exclude_fields'], :csv) if !opts[:'exclude_fields'].nil?
88
- form_params = {}
89
81
  post_body = nil
90
82
 
91
83
  local_var_path = '/landing-pages/{page_id}/content'.sub('{' + 'page_id' + '}', page_id.to_s)
92
84
  data, status_code, headers = @api_client.call_api(:GET, local_var_path,
93
85
  :query_params => query_params,
94
- :form_params => form_params,
95
86
  :body => post_body)
96
87
  return data, status_code, headers
97
88
  end
@@ -102,13 +93,11 @@ module MailchimpMarketing
102
93
  fail ArgumentError, "Missing required param: 'body'" if body.nil?
103
94
 
104
95
  query_params = {}
105
- form_params = {}
106
96
  post_body = @api_client.object_to_http_body(body)
107
97
 
108
98
  local_var_path = '/landing-pages/{page_id}'.sub('{' + 'page_id' + '}', page_id.to_s)
109
99
  data, status_code, headers = @api_client.call_api(:PATCH, local_var_path,
110
100
  :query_params => query_params,
111
- :form_params => form_params,
112
101
  :body => post_body)
113
102
  return data, status_code, headers
114
103
  end
@@ -118,13 +107,11 @@ module MailchimpMarketing
118
107
  fail ArgumentError, "Missing required param: 'body'" if body.nil?
119
108
 
120
109
  query_params = {}
121
- form_params = {}
122
110
  post_body = @api_client.object_to_http_body(body)
123
111
 
124
112
  local_var_path = '/landing-pages'
125
113
  data, status_code, headers = @api_client.call_api(:POST, local_var_path,
126
114
  :query_params => query_params,
127
- :form_params => form_params,
128
115
  :body => post_body)
129
116
  return data, status_code, headers
130
117
  end
@@ -134,13 +121,11 @@ module MailchimpMarketing
134
121
  fail ArgumentError, "Missing required param: 'page_id'" if page_id.nil?
135
122
 
136
123
  query_params = {}
137
- form_params = {}
138
124
  post_body = nil
139
125
 
140
126
  local_var_path = '/landing-pages/{page_id}/actions/publish'.sub('{' + 'page_id' + '}', page_id.to_s)
141
127
  data, status_code, headers = @api_client.call_api(:POST, local_var_path,
142
128
  :query_params => query_params,
143
- :form_params => form_params,
144
129
  :body => post_body)
145
130
  return data, status_code, headers
146
131
  end
@@ -150,13 +135,11 @@ module MailchimpMarketing
150
135
  fail ArgumentError, "Missing required param: 'page_id'" if page_id.nil?
151
136
 
152
137
  query_params = {}
153
- form_params = {}
154
138
  post_body = nil
155
139
 
156
140
  local_var_path = '/landing-pages/{page_id}/actions/unpublish'.sub('{' + 'page_id' + '}', page_id.to_s)
157
141
  data, status_code, headers = @api_client.call_api(:POST, local_var_path,
158
142
  :query_params => query_params,
159
- :form_params => form_params,
160
143
  :body => post_body)
161
144
  return data, status_code, headers
162
145
  end
@@ -3,7 +3,7 @@
3
3
 
4
4
  #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
5
5
 
6
- OpenAPI spec version: 3.0.8
6
+ OpenAPI spec version: 3.0.9
7
7
  Contact: apihelp@mailchimp.com
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
9
  Swagger Codegen version: 2.4.12
@@ -11,7 +11,6 @@ Swagger Codegen version: 2.4.12
11
11
  =end
12
12
 
13
13
  require 'uri'
14
- require 'json'
15
14
 
16
15
  module MailchimpMarketing
17
16
  class ListsApi
@@ -26,13 +25,11 @@ module MailchimpMarketing
26
25
  fail ArgumentError, "Missing required param: 'list_id'" if list_id.nil?
27
26
 
28
27
  query_params = {}
29
- form_params = {}
30
28
  post_body = nil
31
29
 
32
30
  local_var_path = '/lists/{list_id}'.sub('{' + 'list_id' + '}', list_id.to_s)
33
31
  data, status_code, headers = @api_client.call_api(:DELETE, local_var_path,
34
32
  :query_params => query_params,
35
- :form_params => form_params,
36
33
  :body => post_body)
37
34
  return data, status_code, headers
38
35
  end
@@ -43,13 +40,11 @@ module MailchimpMarketing
43
40
  fail ArgumentError, "Missing required param: 'interest_category_id'" if interest_category_id.nil?
44
41
 
45
42
  query_params = {}
46
- form_params = {}
47
43
  post_body = nil
48
44
 
49
45
  local_var_path = '/lists/{list_id}/interest-categories/{interest_category_id}'.sub('{' + 'list_id' + '}', list_id.to_s).sub('{' + 'interest_category_id' + '}', interest_category_id.to_s)
50
46
  data, status_code, headers = @api_client.call_api(:DELETE, local_var_path,
51
47
  :query_params => query_params,
52
- :form_params => form_params,
53
48
  :body => post_body)
54
49
  return data, status_code, headers
55
50
  end
@@ -61,13 +56,11 @@ module MailchimpMarketing
61
56
  fail ArgumentError, "Missing required param: 'interest_id'" if interest_id.nil?
62
57
 
63
58
  query_params = {}
64
- form_params = {}
65
59
  post_body = nil
66
60
 
67
61
  local_var_path = '/lists/{list_id}/interest-categories/{interest_category_id}/interests/{interest_id}'.sub('{' + 'list_id' + '}', list_id.to_s).sub('{' + 'interest_category_id' + '}', interest_category_id.to_s).sub('{' + 'interest_id' + '}', interest_id.to_s)
68
62
  data, status_code, headers = @api_client.call_api(:DELETE, local_var_path,
69
63
  :query_params => query_params,
70
- :form_params => form_params,
71
64
  :body => post_body)
72
65
  return data, status_code, headers
73
66
  end
@@ -78,13 +71,11 @@ module MailchimpMarketing
78
71
  fail ArgumentError, "Missing required param: 'subscriber_hash'" if subscriber_hash.nil?
79
72
 
80
73
  query_params = {}
81
- form_params = {}
82
74
  post_body = nil
83
75
 
84
76
  local_var_path = '/lists/{list_id}/members/{subscriber_hash}'.sub('{' + 'list_id' + '}', list_id.to_s).sub('{' + 'subscriber_hash' + '}', subscriber_hash.to_s)
85
77
  data, status_code, headers = @api_client.call_api(:DELETE, local_var_path,
86
78
  :query_params => query_params,
87
- :form_params => form_params,
88
79
  :body => post_body)
89
80
  return data, status_code, headers
90
81
  end
@@ -96,13 +87,11 @@ module MailchimpMarketing
96
87
  fail ArgumentError, "Missing required param: 'note_id'" if note_id.nil?
97
88
 
98
89
  query_params = {}
99
- form_params = {}
100
90
  post_body = nil
101
91
 
102
92
  local_var_path = '/lists/{list_id}/members/{subscriber_hash}/notes/{note_id}'.sub('{' + 'list_id' + '}', list_id.to_s).sub('{' + 'subscriber_hash' + '}', subscriber_hash.to_s).sub('{' + 'note_id' + '}', note_id.to_s)
103
93
  data, status_code, headers = @api_client.call_api(:DELETE, local_var_path,
104
94
  :query_params => query_params,
105
- :form_params => form_params,
106
95
  :body => post_body)
107
96
  return data, status_code, headers
108
97
  end
@@ -113,13 +102,11 @@ module MailchimpMarketing
113
102
  fail ArgumentError, "Missing required param: 'merge_id'" if merge_id.nil?
114
103
 
115
104
  query_params = {}
116
- form_params = {}
117
105
  post_body = nil
118
106
 
119
107
  local_var_path = '/lists/{list_id}/merge-fields/{merge_id}'.sub('{' + 'list_id' + '}', list_id.to_s).sub('{' + 'merge_id' + '}', merge_id.to_s)
120
108
  data, status_code, headers = @api_client.call_api(:DELETE, local_var_path,
121
109
  :query_params => query_params,
122
- :form_params => form_params,
123
110
  :body => post_body)
124
111
  return data, status_code, headers
125
112
  end
@@ -130,13 +117,11 @@ module MailchimpMarketing
130
117
  fail ArgumentError, "Missing required param: 'segment_id'" if segment_id.nil?
131
118
 
132
119
  query_params = {}
133
- form_params = {}
134
120
  post_body = nil
135
121
 
136
122
  local_var_path = '/lists/{list_id}/segments/{segment_id}'.sub('{' + 'list_id' + '}', list_id.to_s).sub('{' + 'segment_id' + '}', segment_id.to_s)
137
123
  data, status_code, headers = @api_client.call_api(:DELETE, local_var_path,
138
124
  :query_params => query_params,
139
- :form_params => form_params,
140
125
  :body => post_body)
141
126
  return data, status_code, headers
142
127
  end
@@ -148,13 +133,11 @@ module MailchimpMarketing
148
133
  fail ArgumentError, "Missing required param: 'subscriber_hash'" if subscriber_hash.nil?
149
134
 
150
135
  query_params = {}
151
- form_params = {}
152
136
  post_body = nil
153
137
 
154
138
  local_var_path = '/lists/{list_id}/segments/{segment_id}/members/{subscriber_hash}'.sub('{' + 'list_id' + '}', list_id.to_s).sub('{' + 'segment_id' + '}', segment_id.to_s).sub('{' + 'subscriber_hash' + '}', subscriber_hash.to_s)
155
139
  data, status_code, headers = @api_client.call_api(:DELETE, local_var_path,
156
140
  :query_params => query_params,
157
- :form_params => form_params,
158
141
  :body => post_body)
159
142
  return data, status_code, headers
160
143
  end
@@ -165,13 +148,11 @@ module MailchimpMarketing
165
148
  fail ArgumentError, "Missing required param: 'webhook_id'" if webhook_id.nil?
166
149
 
167
150
  query_params = {}
168
- form_params = {}
169
151
  post_body = nil
170
152
 
171
153
  local_var_path = '/lists/{list_id}/webhooks/{webhook_id}'.sub('{' + 'list_id' + '}', list_id.to_s).sub('{' + 'webhook_id' + '}', webhook_id.to_s)
172
154
  data, status_code, headers = @api_client.call_api(:DELETE, local_var_path,
173
155
  :query_params => query_params,
174
- :form_params => form_params,
175
156
  :body => post_body)
176
157
  return data, status_code, headers
177
158
  end
@@ -187,13 +168,11 @@ module MailchimpMarketing
187
168
  query_params[:'exclude_fields'] = @api_client.build_collection_param(opts[:'exclude_fields'], :csv) if !opts[:'exclude_fields'].nil?
188
169
  query_params[:'count'] = opts[:'count'] if !opts[:'count'].nil?
189
170
  query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
190
- form_params = {}
191
171
  post_body = nil
192
172
 
193
173
  local_var_path = '/lists/{list_id}/members/{subscriber_hash}/tags'.sub('{' + 'list_id' + '}', list_id.to_s).sub('{' + 'subscriber_hash' + '}', subscriber_hash.to_s)
194
174
  data, status_code, headers = @api_client.call_api(:GET, local_var_path,
195
175
  :query_params => query_params,
196
- :form_params => form_params,
197
176
  :body => post_body)
198
177
  return data, status_code, headers
199
178
  end
@@ -216,13 +195,11 @@ module MailchimpMarketing
216
195
  query_params[:'email'] = opts[:'email'] if !opts[:'email'].nil?
217
196
  query_params[:'sort_field'] = opts[:'sort_field'] if !opts[:'sort_field'].nil?
218
197
  query_params[:'sort_dir'] = opts[:'sort_dir'] if !opts[:'sort_dir'].nil?
219
- form_params = {}
220
198
  post_body = nil
221
199
 
222
200
  local_var_path = '/lists'
223
201
  data, status_code, headers = @api_client.call_api(:GET, local_var_path,
224
202
  :query_params => query_params,
225
- :form_params => form_params,
226
203
  :body => post_body)
227
204
  return data, status_code, headers
228
205
  end
@@ -234,13 +211,11 @@ module MailchimpMarketing
234
211
  query_params = {}
235
212
  query_params[:'fields'] = @api_client.build_collection_param(opts[:'fields'], :csv) if !opts[:'fields'].nil?
236
213
  query_params[:'exclude_fields'] = @api_client.build_collection_param(opts[:'exclude_fields'], :csv) if !opts[:'exclude_fields'].nil?
237
- form_params = {}
238
214
  post_body = nil
239
215
 
240
216
  local_var_path = '/lists/{list_id}'.sub('{' + 'list_id' + '}', list_id.to_s)
241
217
  data, status_code, headers = @api_client.call_api(:GET, local_var_path,
242
218
  :query_params => query_params,
243
- :form_params => form_params,
244
219
  :body => post_body)
245
220
  return data, status_code, headers
246
221
  end
@@ -255,13 +230,11 @@ module MailchimpMarketing
255
230
  query_params[:'exclude_fields'] = @api_client.build_collection_param(opts[:'exclude_fields'], :csv) if !opts[:'exclude_fields'].nil?
256
231
  query_params[:'count'] = opts[:'count'] if !opts[:'count'].nil?
257
232
  query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
258
- form_params = {}
259
233
  post_body = nil
260
234
 
261
235
  local_var_path = '/lists/{list_id}/abuse-reports'.sub('{' + 'list_id' + '}', list_id.to_s)
262
236
  data, status_code, headers = @api_client.call_api(:GET, local_var_path,
263
237
  :query_params => query_params,
264
- :form_params => form_params,
265
238
  :body => post_body)
266
239
  return data, status_code, headers
267
240
  end
@@ -277,13 +250,11 @@ module MailchimpMarketing
277
250
  query_params[:'exclude_fields'] = @api_client.build_collection_param(opts[:'exclude_fields'], :csv) if !opts[:'exclude_fields'].nil?
278
251
  query_params[:'count'] = opts[:'count'] if !opts[:'count'].nil?
279
252
  query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
280
- form_params = {}
281
253
  post_body = nil
282
254
 
283
255
  local_var_path = '/lists/{list_id}/abuse-reports/{report_id}'.sub('{' + 'list_id' + '}', list_id.to_s).sub('{' + 'report_id' + '}', report_id.to_s)
284
256
  data, status_code, headers = @api_client.call_api(:GET, local_var_path,
285
257
  :query_params => query_params,
286
- :form_params => form_params,
287
258
  :body => post_body)
288
259
  return data, status_code, headers
289
260
  end
@@ -295,13 +266,11 @@ module MailchimpMarketing
295
266
  query_params = {}
296
267
  query_params[:'fields'] = @api_client.build_collection_param(opts[:'fields'], :csv) if !opts[:'fields'].nil?
297
268
  query_params[:'exclude_fields'] = @api_client.build_collection_param(opts[:'exclude_fields'], :csv) if !opts[:'exclude_fields'].nil?
298
- form_params = {}
299
269
  post_body = nil
300
270
 
301
271
  local_var_path = '/lists/{list_id}/activity'.sub('{' + 'list_id' + '}', list_id.to_s)
302
272
  data, status_code, headers = @api_client.call_api(:GET, local_var_path,
303
273
  :query_params => query_params,
304
- :form_params => form_params,
305
274
  :body => post_body)
306
275
  return data, status_code, headers
307
276
  end
@@ -313,13 +282,11 @@ module MailchimpMarketing
313
282
  query_params = {}
314
283
  query_params[:'fields'] = @api_client.build_collection_param(opts[:'fields'], :csv) if !opts[:'fields'].nil?
315
284
  query_params[:'exclude_fields'] = @api_client.build_collection_param(opts[:'exclude_fields'], :csv) if !opts[:'exclude_fields'].nil?
316
- form_params = {}
317
285
  post_body = nil
318
286
 
319
287
  local_var_path = '/lists/{list_id}/clients'.sub('{' + 'list_id' + '}', list_id.to_s)
320
288
  data, status_code, headers = @api_client.call_api(:GET, local_var_path,
321
289
  :query_params => query_params,
322
- :form_params => form_params,
323
290
  :body => post_body)
324
291
  return data, status_code, headers
325
292
  end
@@ -332,13 +299,11 @@ module MailchimpMarketing
332
299
  query_params = {}
333
300
  query_params[:'count'] = opts[:'count'] if !opts[:'count'].nil?
334
301
  query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
335
- form_params = {}
336
302
  post_body = nil
337
303
 
338
304
  local_var_path = '/lists/{list_id}/external-ids'.sub('{' + 'list_id' + '}', list_id.to_s)
339
305
  data, status_code, headers = @api_client.call_api(:GET, local_var_path,
340
306
  :query_params => query_params,
341
- :form_params => form_params,
342
307
  :body => post_body)
343
308
  return data, status_code, headers
344
309
  end
@@ -357,13 +322,11 @@ module MailchimpMarketing
357
322
  query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
358
323
  query_params[:'sort_field'] = opts[:'sort_field'] if !opts[:'sort_field'].nil?
359
324
  query_params[:'sort_dir'] = opts[:'sort_dir'] if !opts[:'sort_dir'].nil?
360
- form_params = {}
361
325
  post_body = nil
362
326
 
363
327
  local_var_path = '/lists/{list_id}/growth-history'.sub('{' + 'list_id' + '}', list_id.to_s)
364
328
  data, status_code, headers = @api_client.call_api(:GET, local_var_path,
365
329
  :query_params => query_params,
366
- :form_params => form_params,
367
330
  :body => post_body)
368
331
  return data, status_code, headers
369
332
  end
@@ -376,13 +339,11 @@ module MailchimpMarketing
376
339
  query_params = {}
377
340
  query_params[:'fields'] = @api_client.build_collection_param(opts[:'fields'], :csv) if !opts[:'fields'].nil?
378
341
  query_params[:'exclude_fields'] = @api_client.build_collection_param(opts[:'exclude_fields'], :csv) if !opts[:'exclude_fields'].nil?
379
- form_params = {}
380
342
  post_body = nil
381
343
 
382
344
  local_var_path = '/lists/{list_id}/growth-history/{month}'.sub('{' + 'list_id' + '}', list_id.to_s).sub('{' + 'month' + '}', month.to_s)
383
345
  data, status_code, headers = @api_client.call_api(:GET, local_var_path,
384
346
  :query_params => query_params,
385
- :form_params => form_params,
386
347
  :body => post_body)
387
348
  return data, status_code, headers
388
349
  end
@@ -398,13 +359,11 @@ module MailchimpMarketing
398
359
  query_params[:'count'] = opts[:'count'] if !opts[:'count'].nil?
399
360
  query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
400
361
  query_params[:'type'] = opts[:'type'] if !opts[:'type'].nil?
401
- form_params = {}
402
362
  post_body = nil
403
363
 
404
364
  local_var_path = '/lists/{list_id}/interest-categories'.sub('{' + 'list_id' + '}', list_id.to_s)
405
365
  data, status_code, headers = @api_client.call_api(:GET, local_var_path,
406
366
  :query_params => query_params,
407
- :form_params => form_params,
408
367
  :body => post_body)
409
368
  return data, status_code, headers
410
369
  end
@@ -417,13 +376,11 @@ module MailchimpMarketing
417
376
  query_params = {}
418
377
  query_params[:'fields'] = @api_client.build_collection_param(opts[:'fields'], :csv) if !opts[:'fields'].nil?
419
378
  query_params[:'exclude_fields'] = @api_client.build_collection_param(opts[:'exclude_fields'], :csv) if !opts[:'exclude_fields'].nil?
420
- form_params = {}
421
379
  post_body = nil
422
380
 
423
381
  local_var_path = '/lists/{list_id}/interest-categories/{interest_category_id}'.sub('{' + 'list_id' + '}', list_id.to_s).sub('{' + 'interest_category_id' + '}', interest_category_id.to_s)
424
382
  data, status_code, headers = @api_client.call_api(:GET, local_var_path,
425
383
  :query_params => query_params,
426
- :form_params => form_params,
427
384
  :body => post_body)
428
385
  return data, status_code, headers
429
386
  end
@@ -439,13 +396,11 @@ module MailchimpMarketing
439
396
  query_params[:'exclude_fields'] = @api_client.build_collection_param(opts[:'exclude_fields'], :csv) if !opts[:'exclude_fields'].nil?
440
397
  query_params[:'count'] = opts[:'count'] if !opts[:'count'].nil?
441
398
  query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
442
- form_params = {}
443
399
  post_body = nil
444
400
 
445
401
  local_var_path = '/lists/{list_id}/interest-categories/{interest_category_id}/interests'.sub('{' + 'list_id' + '}', list_id.to_s).sub('{' + 'interest_category_id' + '}', interest_category_id.to_s)
446
402
  data, status_code, headers = @api_client.call_api(:GET, local_var_path,
447
403
  :query_params => query_params,
448
- :form_params => form_params,
449
404
  :body => post_body)
450
405
  return data, status_code, headers
451
406
  end
@@ -459,13 +414,11 @@ module MailchimpMarketing
459
414
  query_params = {}
460
415
  query_params[:'fields'] = @api_client.build_collection_param(opts[:'fields'], :csv) if !opts[:'fields'].nil?
461
416
  query_params[:'exclude_fields'] = @api_client.build_collection_param(opts[:'exclude_fields'], :csv) if !opts[:'exclude_fields'].nil?
462
- form_params = {}
463
417
  post_body = nil
464
418
 
465
419
  local_var_path = '/lists/{list_id}/interest-categories/{interest_category_id}/interests/{interest_id}'.sub('{' + 'list_id' + '}', list_id.to_s).sub('{' + 'interest_category_id' + '}', interest_category_id.to_s).sub('{' + 'interest_id' + '}', interest_id.to_s)
466
420
  data, status_code, headers = @api_client.call_api(:GET, local_var_path,
467
421
  :query_params => query_params,
468
- :form_params => form_params,
469
422
  :body => post_body)
470
423
  return data, status_code, headers
471
424
  end
@@ -477,13 +430,11 @@ module MailchimpMarketing
477
430
  query_params = {}
478
431
  query_params[:'fields'] = @api_client.build_collection_param(opts[:'fields'], :csv) if !opts[:'fields'].nil?
479
432
  query_params[:'exclude_fields'] = @api_client.build_collection_param(opts[:'exclude_fields'], :csv) if !opts[:'exclude_fields'].nil?
480
- form_params = {}
481
433
  post_body = nil
482
434
 
483
435
  local_var_path = '/lists/{list_id}/locations'.sub('{' + 'list_id' + '}', list_id.to_s)
484
436
  data, status_code, headers = @api_client.call_api(:GET, local_var_path,
485
437
  :query_params => query_params,
486
- :form_params => form_params,
487
438
  :body => post_body)
488
439
  return data, status_code, headers
489
440
  end
@@ -517,13 +468,11 @@ module MailchimpMarketing
517
468
  query_params[:'sort_dir'] = opts[:'sort_dir'] if !opts[:'sort_dir'].nil?
518
469
  query_params[:'since_last_campaign'] = opts[:'since_last_campaign'] if !opts[:'since_last_campaign'].nil?
519
470
  query_params[:'unsubscribed_since'] = opts[:'unsubscribed_since'] if !opts[:'unsubscribed_since'].nil?
520
- form_params = {}
521
471
  post_body = nil
522
472
 
523
473
  local_var_path = '/lists/{list_id}/members'.sub('{' + 'list_id' + '}', list_id.to_s)
524
474
  data, status_code, headers = @api_client.call_api(:GET, local_var_path,
525
475
  :query_params => query_params,
526
- :form_params => form_params,
527
476
  :body => post_body)
528
477
  return data, status_code, headers
529
478
  end
@@ -536,13 +485,11 @@ module MailchimpMarketing
536
485
  query_params = {}
537
486
  query_params[:'fields'] = @api_client.build_collection_param(opts[:'fields'], :csv) if !opts[:'fields'].nil?
538
487
  query_params[:'exclude_fields'] = @api_client.build_collection_param(opts[:'exclude_fields'], :csv) if !opts[:'exclude_fields'].nil?
539
- form_params = {}
540
488
  post_body = nil
541
489
 
542
490
  local_var_path = '/lists/{list_id}/members/{subscriber_hash}'.sub('{' + 'list_id' + '}', list_id.to_s).sub('{' + 'subscriber_hash' + '}', subscriber_hash.to_s)
543
491
  data, status_code, headers = @api_client.call_api(:GET, local_var_path,
544
492
  :query_params => query_params,
545
- :form_params => form_params,
546
493
  :body => post_body)
547
494
  return data, status_code, headers
548
495
  end
@@ -556,13 +503,11 @@ module MailchimpMarketing
556
503
  query_params[:'fields'] = @api_client.build_collection_param(opts[:'fields'], :csv) if !opts[:'fields'].nil?
557
504
  query_params[:'exclude_fields'] = @api_client.build_collection_param(opts[:'exclude_fields'], :csv) if !opts[:'exclude_fields'].nil?
558
505
  query_params[:'action'] = @api_client.build_collection_param(opts[:'action'], :csv) if !opts[:'action'].nil?
559
- form_params = {}
560
506
  post_body = nil
561
507
 
562
508
  local_var_path = '/lists/{list_id}/members/{subscriber_hash}/activity'.sub('{' + 'list_id' + '}', list_id.to_s).sub('{' + 'subscriber_hash' + '}', subscriber_hash.to_s)
563
509
  data, status_code, headers = @api_client.call_api(:GET, local_var_path,
564
510
  :query_params => query_params,
565
- :form_params => form_params,
566
511
  :body => post_body)
567
512
  return data, status_code, headers
568
513
  end
@@ -579,13 +524,11 @@ module MailchimpMarketing
579
524
  query_params[:'count'] = opts[:'count'] if !opts[:'count'].nil?
580
525
  query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
581
526
  query_params[:'activity_filters'] = @api_client.build_collection_param(opts[:'activity_filters'], :csv) if !opts[:'activity_filters'].nil?
582
- form_params = {}
583
527
  post_body = nil
584
528
 
585
529
  local_var_path = '/lists/{list_id}/members/{subscriber_hash}/activity-feed'.sub('{' + 'list_id' + '}', list_id.to_s).sub('{' + 'subscriber_hash' + '}', subscriber_hash.to_s)
586
530
  data, status_code, headers = @api_client.call_api(:GET, local_var_path,
587
531
  :query_params => query_params,
588
- :form_params => form_params,
589
532
  :body => post_body)
590
533
  return data, status_code, headers
591
534
  end
@@ -601,13 +544,11 @@ module MailchimpMarketing
601
544
  query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
602
545
  query_params[:'fields'] = @api_client.build_collection_param(opts[:'fields'], :csv) if !opts[:'fields'].nil?
603
546
  query_params[:'exclude_fields'] = @api_client.build_collection_param(opts[:'exclude_fields'], :csv) if !opts[:'exclude_fields'].nil?
604
- form_params = {}
605
547
  post_body = nil
606
548
 
607
549
  local_var_path = '/lists/{list_id}/members/{subscriber_hash}/events'.sub('{' + 'list_id' + '}', list_id.to_s).sub('{' + 'subscriber_hash' + '}', subscriber_hash.to_s)
608
550
  data, status_code, headers = @api_client.call_api(:GET, local_var_path,
609
551
  :query_params => query_params,
610
- :form_params => form_params,
611
552
  :body => post_body)
612
553
  return data, status_code, headers
613
554
  end
@@ -620,13 +561,11 @@ module MailchimpMarketing
620
561
  query_params = {}
621
562
  query_params[:'fields'] = @api_client.build_collection_param(opts[:'fields'], :csv) if !opts[:'fields'].nil?
622
563
  query_params[:'exclude_fields'] = @api_client.build_collection_param(opts[:'exclude_fields'], :csv) if !opts[:'exclude_fields'].nil?
623
- form_params = {}
624
564
  post_body = nil
625
565
 
626
566
  local_var_path = '/lists/{list_id}/members/{subscriber_hash}/goals'.sub('{' + 'list_id' + '}', list_id.to_s).sub('{' + 'subscriber_hash' + '}', subscriber_hash.to_s)
627
567
  data, status_code, headers = @api_client.call_api(:GET, local_var_path,
628
568
  :query_params => query_params,
629
- :form_params => form_params,
630
569
  :body => post_body)
631
570
  return data, status_code, headers
632
571
  end
@@ -646,13 +585,11 @@ module MailchimpMarketing
646
585
  query_params[:'exclude_fields'] = @api_client.build_collection_param(opts[:'exclude_fields'], :csv) if !opts[:'exclude_fields'].nil?
647
586
  query_params[:'count'] = opts[:'count'] if !opts[:'count'].nil?
648
587
  query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
649
- form_params = {}
650
588
  post_body = nil
651
589
 
652
590
  local_var_path = '/lists/{list_id}/members/{subscriber_hash}/notes'.sub('{' + 'list_id' + '}', list_id.to_s).sub('{' + 'subscriber_hash' + '}', subscriber_hash.to_s)
653
591
  data, status_code, headers = @api_client.call_api(:GET, local_var_path,
654
592
  :query_params => query_params,
655
- :form_params => form_params,
656
593
  :body => post_body)
657
594
  return data, status_code, headers
658
595
  end
@@ -666,13 +603,11 @@ module MailchimpMarketing
666
603
  query_params = {}
667
604
  query_params[:'fields'] = @api_client.build_collection_param(opts[:'fields'], :csv) if !opts[:'fields'].nil?
668
605
  query_params[:'exclude_fields'] = @api_client.build_collection_param(opts[:'exclude_fields'], :csv) if !opts[:'exclude_fields'].nil?
669
- form_params = {}
670
606
  post_body = nil
671
607
 
672
608
  local_var_path = '/lists/{list_id}/members/{subscriber_hash}/notes/{note_id}'.sub('{' + 'list_id' + '}', list_id.to_s).sub('{' + 'subscriber_hash' + '}', subscriber_hash.to_s).sub('{' + 'note_id' + '}', note_id.to_s)
673
609
  data, status_code, headers = @api_client.call_api(:GET, local_var_path,
674
610
  :query_params => query_params,
675
- :form_params => form_params,
676
611
  :body => post_body)
677
612
  return data, status_code, headers
678
613
  end
@@ -689,13 +624,11 @@ module MailchimpMarketing
689
624
  query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
690
625
  query_params[:'type'] = opts[:'type'] if !opts[:'type'].nil?
691
626
  query_params[:'required'] = opts[:'required'] if !opts[:'required'].nil?
692
- form_params = {}
693
627
  post_body = nil
694
628
 
695
629
  local_var_path = '/lists/{list_id}/merge-fields'.sub('{' + 'list_id' + '}', list_id.to_s)
696
630
  data, status_code, headers = @api_client.call_api(:GET, local_var_path,
697
631
  :query_params => query_params,
698
- :form_params => form_params,
699
632
  :body => post_body)
700
633
  return data, status_code, headers
701
634
  end
@@ -708,13 +641,11 @@ module MailchimpMarketing
708
641
  query_params = {}
709
642
  query_params[:'exclude_fields'] = @api_client.build_collection_param(opts[:'exclude_fields'], :csv) if !opts[:'exclude_fields'].nil?
710
643
  query_params[:'fields'] = @api_client.build_collection_param(opts[:'fields'], :csv) if !opts[:'fields'].nil?
711
- form_params = {}
712
644
  post_body = nil
713
645
 
714
646
  local_var_path = '/lists/{list_id}/merge-fields/{merge_id}'.sub('{' + 'list_id' + '}', list_id.to_s).sub('{' + 'merge_id' + '}', merge_id.to_s)
715
647
  data, status_code, headers = @api_client.call_api(:GET, local_var_path,
716
648
  :query_params => query_params,
717
- :form_params => form_params,
718
649
  :body => post_body)
719
650
  return data, status_code, headers
720
651
  end
@@ -730,13 +661,11 @@ module MailchimpMarketing
730
661
  query_params[:'include_cleaned'] = opts[:'include_cleaned'] if !opts[:'include_cleaned'].nil?
731
662
  query_params[:'include_transactional'] = opts[:'include_transactional'] if !opts[:'include_transactional'].nil?
732
663
  query_params[:'include_unsubscribed'] = opts[:'include_unsubscribed'] if !opts[:'include_unsubscribed'].nil?
733
- form_params = {}
734
664
  post_body = nil
735
665
 
736
666
  local_var_path = '/lists/{list_id}/segments/{segment_id}'.sub('{' + 'list_id' + '}', list_id.to_s).sub('{' + 'segment_id' + '}', segment_id.to_s)
737
667
  data, status_code, headers = @api_client.call_api(:GET, local_var_path,
738
668
  :query_params => query_params,
739
- :form_params => form_params,
740
669
  :body => post_body)
741
670
  return data, status_code, headers
742
671
  end
@@ -755,13 +684,11 @@ module MailchimpMarketing
755
684
  query_params[:'include_cleaned'] = opts[:'include_cleaned'] if !opts[:'include_cleaned'].nil?
756
685
  query_params[:'include_transactional'] = opts[:'include_transactional'] if !opts[:'include_transactional'].nil?
757
686
  query_params[:'include_unsubscribed'] = opts[:'include_unsubscribed'] if !opts[:'include_unsubscribed'].nil?
758
- form_params = {}
759
687
  post_body = nil
760
688
 
761
689
  local_var_path = '/lists/{list_id}/segments/{segment_id}/members'.sub('{' + 'list_id' + '}', list_id.to_s).sub('{' + 'segment_id' + '}', segment_id.to_s)
762
690
  data, status_code, headers = @api_client.call_api(:GET, local_var_path,
763
691
  :query_params => query_params,
764
- :form_params => form_params,
765
692
  :body => post_body)
766
693
  return data, status_code, headers
767
694
  end
@@ -771,13 +698,11 @@ module MailchimpMarketing
771
698
  fail ArgumentError, "Missing required param: 'list_id'" if list_id.nil?
772
699
 
773
700
  query_params = {}
774
- form_params = {}
775
701
  post_body = nil
776
702
 
777
703
  local_var_path = '/lists/{list_id}/signup-forms'.sub('{' + 'list_id' + '}', list_id.to_s)
778
704
  data, status_code, headers = @api_client.call_api(:GET, local_var_path,
779
705
  :query_params => query_params,
780
- :form_params => form_params,
781
706
  :body => post_body)
782
707
  return data, status_code, headers
783
708
  end
@@ -787,13 +712,11 @@ module MailchimpMarketing
787
712
  fail ArgumentError, "Missing required param: 'list_id'" if list_id.nil?
788
713
 
789
714
  query_params = {}
790
- form_params = {}
791
715
  post_body = nil
792
716
 
793
717
  local_var_path = '/lists/{list_id}/webhooks'.sub('{' + 'list_id' + '}', list_id.to_s)
794
718
  data, status_code, headers = @api_client.call_api(:GET, local_var_path,
795
719
  :query_params => query_params,
796
- :form_params => form_params,
797
720
  :body => post_body)
798
721
  return data, status_code, headers
799
722
  end
@@ -804,13 +727,11 @@ module MailchimpMarketing
804
727
  fail ArgumentError, "Missing required param: 'webhook_id'" if webhook_id.nil?
805
728
 
806
729
  query_params = {}
807
- form_params = {}
808
730
  post_body = nil
809
731
 
810
732
  local_var_path = '/lists/{list_id}/webhooks/{webhook_id}'.sub('{' + 'list_id' + '}', list_id.to_s).sub('{' + 'webhook_id' + '}', webhook_id.to_s)
811
733
  data, status_code, headers = @api_client.call_api(:GET, local_var_path,
812
734
  :query_params => query_params,
813
- :form_params => form_params,
814
735
  :body => post_body)
815
736
  return data, status_code, headers
816
737
  end
@@ -821,13 +742,11 @@ module MailchimpMarketing
821
742
  fail ArgumentError, "Missing required param: 'body'" if body.nil?
822
743
 
823
744
  query_params = {}
824
- form_params = {}
825
745
  post_body = @api_client.object_to_http_body(body)
826
746
 
827
747
  local_var_path = '/lists/{list_id}'.sub('{' + 'list_id' + '}', list_id.to_s)
828
748
  data, status_code, headers = @api_client.call_api(:PATCH, local_var_path,
829
749
  :query_params => query_params,
830
- :form_params => form_params,
831
750
  :body => post_body)
832
751
  return data, status_code, headers
833
752
  end
@@ -839,13 +758,11 @@ module MailchimpMarketing
839
758
  fail ArgumentError, "Missing required param: 'body'" if body.nil?
840
759
 
841
760
  query_params = {}
842
- form_params = {}
843
761
  post_body = @api_client.object_to_http_body(body)
844
762
 
845
763
  local_var_path = '/lists/{list_id}/interest-categories/{interest_category_id}'.sub('{' + 'list_id' + '}', list_id.to_s).sub('{' + 'interest_category_id' + '}', interest_category_id.to_s)
846
764
  data, status_code, headers = @api_client.call_api(:PATCH, local_var_path,
847
765
  :query_params => query_params,
848
- :form_params => form_params,
849
766
  :body => post_body)
850
767
  return data, status_code, headers
851
768
  end
@@ -857,13 +774,11 @@ module MailchimpMarketing
857
774
  fail ArgumentError, "Missing required param: 'interest_id'" if interest_id.nil?
858
775
 
859
776
  query_params = {}
860
- form_params = {}
861
777
  post_body = @api_client.object_to_http_body(opts[:'body'])
862
778
 
863
779
  local_var_path = '/lists/{list_id}/interest-categories/{interest_category_id}/interests/{interest_id}'.sub('{' + 'list_id' + '}', list_id.to_s).sub('{' + 'interest_category_id' + '}', interest_category_id.to_s).sub('{' + 'interest_id' + '}', interest_id.to_s)
864
780
  data, status_code, headers = @api_client.call_api(:PATCH, local_var_path,
865
781
  :query_params => query_params,
866
- :form_params => form_params,
867
782
  :body => post_body)
868
783
  return data, status_code, headers
869
784
  end
@@ -876,13 +791,11 @@ module MailchimpMarketing
876
791
 
877
792
  query_params = {}
878
793
  query_params[:'skip_merge_validation'] = opts[:'skip_merge_validation'] if !opts[:'skip_merge_validation'].nil?
879
- form_params = {}
880
794
  post_body = @api_client.object_to_http_body(body)
881
795
 
882
796
  local_var_path = '/lists/{list_id}/members/{subscriber_hash}'.sub('{' + 'list_id' + '}', list_id.to_s).sub('{' + 'subscriber_hash' + '}', subscriber_hash.to_s)
883
797
  data, status_code, headers = @api_client.call_api(:PATCH, local_var_path,
884
798
  :query_params => query_params,
885
- :form_params => form_params,
886
799
  :body => post_body)
887
800
  return data, status_code, headers
888
801
  end
@@ -894,13 +807,11 @@ module MailchimpMarketing
894
807
  fail ArgumentError, "Missing required param: 'note_id'" if note_id.nil?
895
808
 
896
809
  query_params = {}
897
- form_params = {}
898
810
  post_body = @api_client.object_to_http_body(opts[:'body'])
899
811
 
900
812
  local_var_path = '/lists/{list_id}/members/{subscriber_hash}/notes/{note_id}'.sub('{' + 'list_id' + '}', list_id.to_s).sub('{' + 'subscriber_hash' + '}', subscriber_hash.to_s).sub('{' + 'note_id' + '}', note_id.to_s)
901
813
  data, status_code, headers = @api_client.call_api(:PATCH, local_var_path,
902
814
  :query_params => query_params,
903
- :form_params => form_params,
904
815
  :body => post_body)
905
816
  return data, status_code, headers
906
817
  end
@@ -912,13 +823,11 @@ module MailchimpMarketing
912
823
  fail ArgumentError, "Missing required param: 'body'" if body.nil?
913
824
 
914
825
  query_params = {}
915
- form_params = {}
916
826
  post_body = @api_client.object_to_http_body(body)
917
827
 
918
828
  local_var_path = '/lists/{list_id}/merge-fields/{merge_id}'.sub('{' + 'list_id' + '}', list_id.to_s).sub('{' + 'merge_id' + '}', merge_id.to_s)
919
829
  data, status_code, headers = @api_client.call_api(:PATCH, local_var_path,
920
830
  :query_params => query_params,
921
- :form_params => form_params,
922
831
  :body => post_body)
923
832
  return data, status_code, headers
924
833
  end
@@ -930,13 +839,11 @@ module MailchimpMarketing
930
839
  fail ArgumentError, "Missing required param: 'body'" if body.nil?
931
840
 
932
841
  query_params = {}
933
- form_params = {}
934
842
  post_body = @api_client.object_to_http_body(body)
935
843
 
936
844
  local_var_path = '/lists/{list_id}/segments/{segment_id}'.sub('{' + 'list_id' + '}', list_id.to_s).sub('{' + 'segment_id' + '}', segment_id.to_s)
937
845
  data, status_code, headers = @api_client.call_api(:PATCH, local_var_path,
938
846
  :query_params => query_params,
939
- :form_params => form_params,
940
847
  :body => post_body)
941
848
  return data, status_code, headers
942
849
  end
@@ -948,13 +855,11 @@ module MailchimpMarketing
948
855
  fail ArgumentError, "Missing required param: 'body'" if body.nil?
949
856
 
950
857
  query_params = {}
951
- form_params = {}
952
858
  post_body = @api_client.object_to_http_body(body)
953
859
 
954
860
  local_var_path = '/lists/{list_id}/webhooks/{webhook_id}'.sub('{' + 'list_id' + '}', list_id.to_s).sub('{' + 'webhook_id' + '}', webhook_id.to_s)
955
861
  data, status_code, headers = @api_client.call_api(:PATCH, local_var_path,
956
862
  :query_params => query_params,
957
- :form_params => form_params,
958
863
  :body => post_body)
959
864
  return data, status_code, headers
960
865
  end
@@ -965,13 +870,11 @@ module MailchimpMarketing
965
870
  fail ArgumentError, "Missing required param: 'subscriber_hash'" if subscriber_hash.nil?
966
871
 
967
872
  query_params = {}
968
- form_params = {}
969
873
  post_body = @api_client.object_to_http_body(opts[:'body'])
970
874
 
971
875
  local_var_path = '/lists/{list_id}/members/{subscriber_hash}/events'.sub('{' + 'list_id' + '}', list_id.to_s).sub('{' + 'subscriber_hash' + '}', subscriber_hash.to_s)
972
876
  data, status_code, headers = @api_client.call_api(:POST, local_var_path,
973
877
  :query_params => query_params,
974
- :form_params => form_params,
975
878
  :body => post_body)
976
879
  return data, status_code, headers
977
880
  end
@@ -982,13 +885,11 @@ module MailchimpMarketing
982
885
  fail ArgumentError, "Missing required param: 'subscriber_hash'" if subscriber_hash.nil?
983
886
 
984
887
  query_params = {}
985
- form_params = {}
986
888
  post_body = @api_client.object_to_http_body(opts[:'body'])
987
889
 
988
890
  local_var_path = '/lists/{list_id}/members/{subscriber_hash}/tags'.sub('{' + 'list_id' + '}', list_id.to_s).sub('{' + 'subscriber_hash' + '}', subscriber_hash.to_s)
989
891
  data, status_code, headers = @api_client.call_api(:POST, local_var_path,
990
892
  :query_params => query_params,
991
- :form_params => form_params,
992
893
  :body => post_body)
993
894
  return data, status_code, headers
994
895
  end
@@ -998,13 +899,11 @@ module MailchimpMarketing
998
899
  fail ArgumentError, "Missing required param: 'body'" if body.nil?
999
900
 
1000
901
  query_params = {}
1001
- form_params = {}
1002
902
  post_body = @api_client.object_to_http_body(body)
1003
903
 
1004
904
  local_var_path = '/lists'
1005
905
  data, status_code, headers = @api_client.call_api(:POST, local_var_path,
1006
906
  :query_params => query_params,
1007
- :form_params => form_params,
1008
907
  :body => post_body)
1009
908
  return data, status_code, headers
1010
909
  end
@@ -1017,13 +916,11 @@ module MailchimpMarketing
1017
916
  query_params = {}
1018
917
  query_params[:'skip_merge_validation'] = opts[:'skip_merge_validation'] if !opts[:'skip_merge_validation'].nil?
1019
918
  query_params[:'skip_duplicate_check'] = opts[:'skip_duplicate_check'] if !opts[:'skip_duplicate_check'].nil?
1020
- form_params = {}
1021
919
  post_body = @api_client.object_to_http_body(body)
1022
920
 
1023
921
  local_var_path = '/lists/{list_id}'.sub('{' + 'list_id' + '}', list_id.to_s)
1024
922
  data, status_code, headers = @api_client.call_api(:POST, local_var_path,
1025
923
  :query_params => query_params,
1026
- :form_params => form_params,
1027
924
  :body => post_body)
1028
925
  return data, status_code, headers
1029
926
  end
@@ -1033,13 +930,11 @@ module MailchimpMarketing
1033
930
  fail ArgumentError, "Missing required param: 'list_id'" if list_id.nil?
1034
931
 
1035
932
  query_params = {}
1036
- form_params = {}
1037
933
  post_body = @api_client.object_to_http_body(opts[:'body'])
1038
934
 
1039
935
  local_var_path = '/lists/{list_id}/external-ids'.sub('{' + 'list_id' + '}', list_id.to_s)
1040
936
  data, status_code, headers = @api_client.call_api(:POST, local_var_path,
1041
937
  :query_params => query_params,
1042
- :form_params => form_params,
1043
938
  :body => post_body)
1044
939
  return data, status_code, headers
1045
940
  end
@@ -1050,13 +945,11 @@ module MailchimpMarketing
1050
945
  fail ArgumentError, "Missing required param: 'body'" if body.nil?
1051
946
 
1052
947
  query_params = {}
1053
- form_params = {}
1054
948
  post_body = @api_client.object_to_http_body(body)
1055
949
 
1056
950
  local_var_path = '/lists/{list_id}/interest-categories'.sub('{' + 'list_id' + '}', list_id.to_s)
1057
951
  data, status_code, headers = @api_client.call_api(:POST, local_var_path,
1058
952
  :query_params => query_params,
1059
- :form_params => form_params,
1060
953
  :body => post_body)
1061
954
  return data, status_code, headers
1062
955
  end
@@ -1068,13 +961,11 @@ module MailchimpMarketing
1068
961
  fail ArgumentError, "Missing required param: 'body'" if body.nil?
1069
962
 
1070
963
  query_params = {}
1071
- form_params = {}
1072
964
  post_body = @api_client.object_to_http_body(body)
1073
965
 
1074
966
  local_var_path = '/lists/{list_id}/interest-categories/{interest_category_id}/interests'.sub('{' + 'list_id' + '}', list_id.to_s).sub('{' + 'interest_category_id' + '}', interest_category_id.to_s)
1075
967
  data, status_code, headers = @api_client.call_api(:POST, local_var_path,
1076
968
  :query_params => query_params,
1077
- :form_params => form_params,
1078
969
  :body => post_body)
1079
970
  return data, status_code, headers
1080
971
  end
@@ -1086,13 +977,11 @@ module MailchimpMarketing
1086
977
 
1087
978
  query_params = {}
1088
979
  query_params[:'skip_merge_validation'] = opts[:'skip_merge_validation'] if !opts[:'skip_merge_validation'].nil?
1089
- form_params = {}
1090
980
  post_body = @api_client.object_to_http_body(body)
1091
981
 
1092
982
  local_var_path = '/lists/{list_id}/members'.sub('{' + 'list_id' + '}', list_id.to_s)
1093
983
  data, status_code, headers = @api_client.call_api(:POST, local_var_path,
1094
984
  :query_params => query_params,
1095
- :form_params => form_params,
1096
985
  :body => post_body)
1097
986
  return data, status_code, headers
1098
987
  end
@@ -1103,13 +992,11 @@ module MailchimpMarketing
1103
992
  fail ArgumentError, "Missing required param: 'subscriber_hash'" if subscriber_hash.nil?
1104
993
 
1105
994
  query_params = {}
1106
- form_params = {}
1107
995
  post_body = nil
1108
996
 
1109
997
  local_var_path = '/lists/{list_id}/members/{subscriber_hash}/actions/delete-permanent'.sub('{' + 'list_id' + '}', list_id.to_s).sub('{' + 'subscriber_hash' + '}', subscriber_hash.to_s)
1110
998
  data, status_code, headers = @api_client.call_api(:POST, local_var_path,
1111
999
  :query_params => query_params,
1112
- :form_params => form_params,
1113
1000
  :body => post_body)
1114
1001
  return data, status_code, headers
1115
1002
  end
@@ -1120,13 +1007,11 @@ module MailchimpMarketing
1120
1007
  fail ArgumentError, "Missing required param: 'subscriber_hash'" if subscriber_hash.nil?
1121
1008
 
1122
1009
  query_params = {}
1123
- form_params = {}
1124
1010
  post_body = @api_client.object_to_http_body(opts[:'body'])
1125
1011
 
1126
1012
  local_var_path = '/lists/{list_id}/members/{subscriber_hash}/notes'.sub('{' + 'list_id' + '}', list_id.to_s).sub('{' + 'subscriber_hash' + '}', subscriber_hash.to_s)
1127
1013
  data, status_code, headers = @api_client.call_api(:POST, local_var_path,
1128
1014
  :query_params => query_params,
1129
- :form_params => form_params,
1130
1015
  :body => post_body)
1131
1016
  return data, status_code, headers
1132
1017
  end
@@ -1137,13 +1022,11 @@ module MailchimpMarketing
1137
1022
  fail ArgumentError, "Missing required param: 'body'" if body.nil?
1138
1023
 
1139
1024
  query_params = {}
1140
- form_params = {}
1141
1025
  post_body = @api_client.object_to_http_body(body)
1142
1026
 
1143
1027
  local_var_path = '/lists/{list_id}/merge-fields'.sub('{' + 'list_id' + '}', list_id.to_s)
1144
1028
  data, status_code, headers = @api_client.call_api(:POST, local_var_path,
1145
1029
  :query_params => query_params,
1146
- :form_params => form_params,
1147
1030
  :body => post_body)
1148
1031
  return data, status_code, headers
1149
1032
  end
@@ -1154,13 +1037,11 @@ module MailchimpMarketing
1154
1037
  fail ArgumentError, "Missing required param: 'body'" if body.nil?
1155
1038
 
1156
1039
  query_params = {}
1157
- form_params = {}
1158
1040
  post_body = @api_client.object_to_http_body(body)
1159
1041
 
1160
1042
  local_var_path = '/lists/{list_id}/segments'.sub('{' + 'list_id' + '}', list_id.to_s)
1161
1043
  data, status_code, headers = @api_client.call_api(:POST, local_var_path,
1162
1044
  :query_params => query_params,
1163
- :form_params => form_params,
1164
1045
  :body => post_body)
1165
1046
  return data, status_code, headers
1166
1047
  end
@@ -1172,13 +1053,11 @@ module MailchimpMarketing
1172
1053
  fail ArgumentError, "Missing required param: 'segment_id'" if segment_id.nil?
1173
1054
 
1174
1055
  query_params = {}
1175
- form_params = {}
1176
1056
  post_body = @api_client.object_to_http_body(body)
1177
1057
 
1178
1058
  local_var_path = '/lists/{list_id}/segments/{segment_id}'.sub('{' + 'list_id' + '}', list_id.to_s).sub('{' + 'segment_id' + '}', segment_id.to_s)
1179
1059
  data, status_code, headers = @api_client.call_api(:POST, local_var_path,
1180
1060
  :query_params => query_params,
1181
- :form_params => form_params,
1182
1061
  :body => post_body)
1183
1062
  return data, status_code, headers
1184
1063
  end
@@ -1190,13 +1069,11 @@ module MailchimpMarketing
1190
1069
  fail ArgumentError, "Missing required param: 'body'" if body.nil?
1191
1070
 
1192
1071
  query_params = {}
1193
- form_params = {}
1194
1072
  post_body = @api_client.object_to_http_body(body)
1195
1073
 
1196
1074
  local_var_path = '/lists/{list_id}/segments/{segment_id}/members'.sub('{' + 'list_id' + '}', list_id.to_s).sub('{' + 'segment_id' + '}', segment_id.to_s)
1197
1075
  data, status_code, headers = @api_client.call_api(:POST, local_var_path,
1198
1076
  :query_params => query_params,
1199
- :form_params => form_params,
1200
1077
  :body => post_body)
1201
1078
  return data, status_code, headers
1202
1079
  end
@@ -1207,13 +1084,11 @@ module MailchimpMarketing
1207
1084
  fail ArgumentError, "Missing required param: 'body'" if body.nil?
1208
1085
 
1209
1086
  query_params = {}
1210
- form_params = {}
1211
1087
  post_body = @api_client.object_to_http_body(body)
1212
1088
 
1213
1089
  local_var_path = '/lists/{list_id}/signup-forms'.sub('{' + 'list_id' + '}', list_id.to_s)
1214
1090
  data, status_code, headers = @api_client.call_api(:POST, local_var_path,
1215
1091
  :query_params => query_params,
1216
- :form_params => form_params,
1217
1092
  :body => post_body)
1218
1093
  return data, status_code, headers
1219
1094
  end
@@ -1224,13 +1099,11 @@ module MailchimpMarketing
1224
1099
  fail ArgumentError, "Missing required param: 'body'" if body.nil?
1225
1100
 
1226
1101
  query_params = {}
1227
- form_params = {}
1228
1102
  post_body = @api_client.object_to_http_body(body)
1229
1103
 
1230
1104
  local_var_path = '/lists/{list_id}/webhooks'.sub('{' + 'list_id' + '}', list_id.to_s)
1231
1105
  data, status_code, headers = @api_client.call_api(:POST, local_var_path,
1232
1106
  :query_params => query_params,
1233
- :form_params => form_params,
1234
1107
  :body => post_body)
1235
1108
  return data, status_code, headers
1236
1109
  end
@@ -1253,13 +1126,11 @@ module MailchimpMarketing
1253
1126
  query_params[:'include_unsubscribed'] = opts[:'include_unsubscribed'] if !opts[:'include_unsubscribed'].nil?
1254
1127
  query_params[:'since_updated_at'] = opts[:'since_updated_at'] if !opts[:'since_updated_at'].nil?
1255
1128
  query_params[:'before_updated_at'] = opts[:'before_updated_at'] if !opts[:'before_updated_at'].nil?
1256
- form_params = {}
1257
1129
  post_body = nil
1258
1130
 
1259
1131
  local_var_path = '/lists/{list_id}/segments'.sub('{' + 'list_id' + '}', list_id.to_s)
1260
1132
  data, status_code, headers = @api_client.call_api(:GET, local_var_path,
1261
1133
  :query_params => query_params,
1262
- :form_params => form_params,
1263
1134
  :body => post_body)
1264
1135
  return data, status_code, headers
1265
1136
  end
@@ -1269,13 +1140,11 @@ module MailchimpMarketing
1269
1140
  fail ArgumentError, "Missing required param: 'list_id'" if list_id.nil?
1270
1141
 
1271
1142
  query_params = {}
1272
- form_params = {}
1273
1143
  post_body = @api_client.object_to_http_body(opts[:'body'])
1274
1144
 
1275
1145
  local_var_path = '/lists/{list_id}/preview-segment'.sub('{' + 'list_id' + '}', list_id.to_s)
1276
1146
  data, status_code, headers = @api_client.call_api(:POST, local_var_path,
1277
1147
  :query_params => query_params,
1278
- :form_params => form_params,
1279
1148
  :body => post_body)
1280
1149
  return data, status_code, headers
1281
1150
  end
@@ -1288,13 +1157,11 @@ module MailchimpMarketing
1288
1157
 
1289
1158
  query_params = {}
1290
1159
  query_params[:'skip_merge_validation'] = opts[:'skip_merge_validation'] if !opts[:'skip_merge_validation'].nil?
1291
- form_params = {}
1292
1160
  post_body = @api_client.object_to_http_body(body)
1293
1161
 
1294
1162
  local_var_path = '/lists/{list_id}/members/{subscriber_hash}'.sub('{' + 'list_id' + '}', list_id.to_s).sub('{' + 'subscriber_hash' + '}', subscriber_hash.to_s)
1295
1163
  data, status_code, headers = @api_client.call_api(:PUT, local_var_path,
1296
1164
  :query_params => query_params,
1297
- :form_params => form_params,
1298
1165
  :body => post_body)
1299
1166
  return data, status_code, headers
1300
1167
  end