embulk-input-zendesk 0.2.14 → 0.3.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (82) hide show
  1. checksums.yaml +4 -4
  2. data/.gitignore +9 -3
  3. data/.travis.yml +5 -44
  4. data/CHANGELOG.md +3 -0
  5. data/README.md +5 -5
  6. data/build.gradle +123 -0
  7. data/classpath/commons-codec-1.10.jar +0 -0
  8. data/classpath/commons-logging-1.2.jar +0 -0
  9. data/classpath/embulk-input-zendesk-0.3.0.jar +0 -0
  10. data/classpath/httpclient-4.5.6.jar +0 -0
  11. data/classpath/httpcore-4.4.10.jar +0 -0
  12. data/config/checkstyle/checkstyle.xml +128 -0
  13. data/config/checkstyle/default.xml +108 -0
  14. data/gradle/wrapper/gradle-wrapper.jar +0 -0
  15. data/gradle/wrapper/gradle-wrapper.properties +5 -0
  16. data/gradlew +172 -0
  17. data/gradlew.bat +84 -0
  18. data/lib/embulk/guess/zendesk.rb +21 -0
  19. data/lib/embulk/input/zendesk.rb +3 -9
  20. data/src/main/java/org/embulk/input/zendesk/ZendeskInputPlugin.java +471 -0
  21. data/src/main/java/org/embulk/input/zendesk/clients/ZendeskRestClient.java +268 -0
  22. data/src/main/java/org/embulk/input/zendesk/models/AuthenticationMethod.java +23 -0
  23. data/src/main/java/org/embulk/input/zendesk/models/Target.java +46 -0
  24. data/src/main/java/org/embulk/input/zendesk/models/ZendeskException.java +25 -0
  25. data/src/main/java/org/embulk/input/zendesk/services/ZendeskSupportAPIService.java +109 -0
  26. data/src/main/java/org/embulk/input/zendesk/utils/ZendeskConstants.java +61 -0
  27. data/src/main/java/org/embulk/input/zendesk/utils/ZendeskDateUtils.java +51 -0
  28. data/src/main/java/org/embulk/input/zendesk/utils/ZendeskUtils.java +150 -0
  29. data/src/main/java/org/embulk/input/zendesk/utils/ZendeskValidatorUtils.java +92 -0
  30. data/src/test/java/org/embulk/input/zendesk/TestZendeskInputPlugin.java +232 -0
  31. data/src/test/java/org/embulk/input/zendesk/clients/TestZendeskRestClient.java +351 -0
  32. data/src/test/java/org/embulk/input/zendesk/services/TestZendeskSupportAPIService.java +172 -0
  33. data/src/test/java/org/embulk/input/zendesk/utils/TestZendeskDateUtils.java +36 -0
  34. data/src/test/java/org/embulk/input/zendesk/utils/TestZendeskUtil.java +160 -0
  35. data/src/test/java/org/embulk/input/zendesk/utils/TestZendeskValidatorUtils.java +138 -0
  36. data/src/test/java/org/embulk/input/zendesk/utils/ZendeskPluginTestRuntime.java +133 -0
  37. data/src/test/java/org/embulk/input/zendesk/utils/ZendeskTestHelper.java +63 -0
  38. data/src/test/resources/config/base.yml +14 -0
  39. data/src/test/resources/config/base_validator.yml +48 -0
  40. data/src/test/resources/config/incremental.yml +54 -0
  41. data/src/test/resources/config/non-incremental.yml +39 -0
  42. data/src/test/resources/config/util.yml +18 -0
  43. data/src/test/resources/data/client.json +293 -0
  44. data/src/test/resources/data/error_data.json +187 -0
  45. data/src/test/resources/data/expected/ticket_column.json +148 -0
  46. data/src/test/resources/data/expected/ticket_column_with_related_objects.json +152 -0
  47. data/src/test/resources/data/expected/ticket_fields_column.json +92 -0
  48. data/src/test/resources/data/expected/ticket_metrics_column.json +98 -0
  49. data/src/test/resources/data/ticket_fields.json +225 -0
  50. data/src/test/resources/data/ticket_metrics.json +397 -0
  51. data/src/test/resources/data/ticket_with_related_objects.json +67 -0
  52. data/src/test/resources/data/tickets.json +232 -0
  53. data/src/test/resources/data/tickets_continue.json +52 -0
  54. data/src/test/resources/data/util.json +19 -0
  55. data/src/test/resources/data/util_page.json +227 -0
  56. metadata +65 -221
  57. data/.ruby-version +0 -1
  58. data/.travis.yml.erb +0 -43
  59. data/Gemfile +0 -2
  60. data/Rakefile +0 -21
  61. data/embulk-input-zendesk.gemspec +0 -29
  62. data/gemfiles/embulk-0.8.0-latest +0 -4
  63. data/gemfiles/embulk-0.8.1 +0 -4
  64. data/gemfiles/embulk-latest +0 -4
  65. data/gemfiles/template.erb +0 -4
  66. data/lib/embulk/input/zendesk/client.rb +0 -434
  67. data/lib/embulk/input/zendesk/plugin.rb +0 -199
  68. data/test/capture_io.rb +0 -45
  69. data/test/embulk/input/zendesk/test_client.rb +0 -722
  70. data/test/embulk/input/zendesk/test_plugin.rb +0 -628
  71. data/test/fixture_helper.rb +0 -11
  72. data/test/fixtures/invalid_app_marketplace_lack_one_property.yml +0 -13
  73. data/test/fixtures/invalid_app_marketplace_lack_two_property.yml +0 -12
  74. data/test/fixtures/invalid_lack_username.yml +0 -9
  75. data/test/fixtures/invalid_unknown_auth.yml +0 -9
  76. data/test/fixtures/tickets.json +0 -44
  77. data/test/fixtures/valid_app_marketplace.yml +0 -14
  78. data/test/fixtures/valid_auth_basic.yml +0 -11
  79. data/test/fixtures/valid_auth_oauth.yml +0 -10
  80. data/test/fixtures/valid_auth_token.yml +0 -11
  81. data/test/override_assert_raise.rb +0 -21
  82. data/test/run-test.rb +0 -26
@@ -0,0 +1,67 @@
1
+ {
2
+ "ticket":
3
+ {
4
+ "url": "https://abc.zendesk.com/api/v2/tickets/2.json",
5
+ "id": 2,
6
+ "external_id": null,
7
+ "via": {
8
+ "channel": "web",
9
+ "source": {
10
+ "from": {},
11
+ "to": {},
12
+ "rel": null
13
+ }
14
+ },
15
+ "created_at": "2019-02-20T06:51:50Z",
16
+ "updated_at": "2019-02-20T06:51:50Z",
17
+ "type": null,
18
+ "subject": "ticket1",
19
+ "raw_subject": "ticket1",
20
+ "description": "ticket1",
21
+ "priority": null,
22
+ "status": "open",
23
+ "recipient": null,
24
+ "requester_id": 374673563333,
25
+ "submitter_id": 374673563333,
26
+ "assignee_id": 374673563333,
27
+ "organization_id": 360857467053,
28
+ "group_id": 360003235353,
29
+ "collaborator_ids": [],
30
+ "follower_ids": [],
31
+ "email_cc_ids": [],
32
+ "forum_topic_id": null,
33
+ "problem_id": null,
34
+ "has_incidents": false,
35
+ "is_public": true,
36
+ "due_at": null,
37
+ "tags": [],
38
+ "custom_fields": [],
39
+ "satisfaction_rating": null,
40
+ "sharing_agreement_ids": [],
41
+ "fields": [],
42
+ "followup_ids": [],
43
+ "brand_id": 360001998013,
44
+ "allow_channelback": false,
45
+ "allow_attachments": true
46
+ },
47
+ "organizations": [
48
+ {
49
+ "url": "https://abc.zendesk.com/api/v2/organizations/360857467053.json",
50
+ "id": 360857467053,
51
+ "name": "利用端末�",
52
+ "shared_tickets": false,
53
+ "shared_comments": false,
54
+ "external_id": null,
55
+ "created_at": "2019-02-20T06:50:45Z",
56
+ "updated_at": "2019-02-28T10:33:21Z",
57
+ "domain_names": [],
58
+ "details": "",
59
+ "notes": "",
60
+ "group_id": null,
61
+ "tags": [],
62
+ "organization_fields": {}
63
+ }
64
+ ],
65
+ "count": 999,
66
+ "end_time": 1550647053
67
+ }
@@ -0,0 +1,232 @@
1
+ {
2
+ "tickets": [
3
+ {
4
+ "url": "https://abc.zendesk.com/api/v2/tickets/2.json",
5
+ "id": 2,
6
+ "external_id": null,
7
+ "via": {
8
+ "channel": "web",
9
+ "source": {
10
+ "from": {},
11
+ "to": {},
12
+ "rel": null
13
+ }
14
+ },
15
+ "created_at": "2019-02-20T06:51:50Z",
16
+ "updated_at": "2019-02-20T06:51:50Z",
17
+ "type": null,
18
+ "subject": "ticket1",
19
+ "raw_subject": "ticket1",
20
+ "description": "ticket1",
21
+ "priority": null,
22
+ "status": "open",
23
+ "recipient": null,
24
+ "requester_id": 374673563333,
25
+ "submitter_id": 374673563333,
26
+ "assignee_id": 374673563333,
27
+ "organization_id": 360857467053,
28
+ "group_id": 360003235353,
29
+ "collaborator_ids": [],
30
+ "follower_ids": [],
31
+ "email_cc_ids": [],
32
+ "forum_topic_id": null,
33
+ "problem_id": null,
34
+ "has_incidents": false,
35
+ "is_public": true,
36
+ "due_at": null,
37
+ "tags": [],
38
+ "custom_fields": [],
39
+ "satisfaction_rating": null,
40
+ "sharing_agreement_ids": [],
41
+ "fields": [],
42
+ "followup_ids": [],
43
+ "brand_id": 360001998013,
44
+ "allow_channelback": false,
45
+ "allow_attachments": true,
46
+ "generated_timestamp": 1550645510
47
+ },
48
+ {
49
+ "url": "https://abc.zendesk.com/api/v2/tickets/3.json",
50
+ "id": 3,
51
+ "external_id": null,
52
+ "via": {
53
+ "channel": "web",
54
+ "source": {
55
+ "from": {},
56
+ "to": {},
57
+ "rel": null
58
+ }
59
+ },
60
+ "created_at": "2019-02-20T06:52:02Z",
61
+ "updated_at": "2019-02-20T06:52:02Z",
62
+ "type": null,
63
+ "subject": "ticket2",
64
+ "raw_subject": "ticket2",
65
+ "description": "ticket2",
66
+ "priority": null,
67
+ "status": "open",
68
+ "recipient": null,
69
+ "requester_id": 374673563333,
70
+ "submitter_id": 374673563333,
71
+ "assignee_id": 374673563333,
72
+ "organization_id": 360857467053,
73
+ "group_id": 360003235353,
74
+ "collaborator_ids": [],
75
+ "follower_ids": [],
76
+ "email_cc_ids": [],
77
+ "forum_topic_id": null,
78
+ "problem_id": null,
79
+ "has_incidents": false,
80
+ "is_public": true,
81
+ "due_at": null,
82
+ "tags": [],
83
+ "custom_fields": [],
84
+ "satisfaction_rating": null,
85
+ "sharing_agreement_ids": [],
86
+ "fields": [],
87
+ "followup_ids": [],
88
+ "brand_id": 360001998013,
89
+ "allow_channelback": false,
90
+ "allow_attachments": true,
91
+ "generated_timestamp": 1550645522
92
+ },
93
+ {
94
+ "url": "https://abc.zendesk.com/api/v2/tickets/4.json",
95
+ "id": 4,
96
+ "external_id": null,
97
+ "via": {
98
+ "channel": "web",
99
+ "source": {
100
+ "from": {},
101
+ "to": {},
102
+ "rel": null
103
+ }
104
+ },
105
+ "created_at": "2019-02-20T06:52:12Z",
106
+ "updated_at": "2019-02-20T06:52:12Z",
107
+ "type": null,
108
+ "subject": "ticket3",
109
+ "raw_subject": "ticket3",
110
+ "description": "ticket3",
111
+ "priority": null,
112
+ "status": "open",
113
+ "recipient": null,
114
+ "requester_id": 374673563333,
115
+ "submitter_id": 374673563333,
116
+ "assignee_id": 374673563333,
117
+ "organization_id": 360857467053,
118
+ "group_id": 360003235353,
119
+ "collaborator_ids": [],
120
+ "follower_ids": [],
121
+ "email_cc_ids": [],
122
+ "forum_topic_id": null,
123
+ "problem_id": null,
124
+ "has_incidents": false,
125
+ "is_public": true,
126
+ "due_at": null,
127
+ "tags": [],
128
+ "custom_fields": [],
129
+ "satisfaction_rating": null,
130
+ "sharing_agreement_ids": [],
131
+ "fields": [],
132
+ "followup_ids": [],
133
+ "brand_id": 360001998013,
134
+ "allow_channelback": false,
135
+ "allow_attachments": true,
136
+ "generated_timestamp": 1550645532
137
+ },
138
+ {
139
+ "url": "https://abc.zendesk.com/api/v2/tickets/1002.json",
140
+ "id": 1002,
141
+ "external_id": null,
142
+ "via": {
143
+ "channel": "api",
144
+ "source": {
145
+ "from": {},
146
+ "to": {},
147
+ "rel": null
148
+ }
149
+ },
150
+ "created_at": "2019-02-20T07:17:33Z",
151
+ "updated_at": "2019-02-20T07:17:33Z",
152
+ "type": null,
153
+ "subject": "Help!",
154
+ "raw_subject": "Help!",
155
+ "description": "Help I need somebody.",
156
+ "priority": null,
157
+ "status": "open",
158
+ "recipient": null,
159
+ "requester_id": 374673563333,
160
+ "submitter_id": 374673563333,
161
+ "assignee_id": 374673563333,
162
+ "organization_id": 360857467053,
163
+ "group_id": 360003235353,
164
+ "collaborator_ids": [],
165
+ "follower_ids": [],
166
+ "email_cc_ids": [],
167
+ "forum_topic_id": null,
168
+ "problem_id": null,
169
+ "has_incidents": false,
170
+ "is_public": true,
171
+ "due_at": null,
172
+ "tags": [],
173
+ "custom_fields": [],
174
+ "satisfaction_rating": null,
175
+ "sharing_agreement_ids": [],
176
+ "fields": [],
177
+ "followup_ids": [],
178
+ "brand_id": 360001998013,
179
+ "allow_channelback": false,
180
+ "allow_attachments": true,
181
+ "generated_timestamp": 1550647053
182
+ },
183
+ {
184
+ "url": "https://abc.zendesk.com/api/v2/tickets/1002.json",
185
+ "id": 1002,
186
+ "external_id": null,
187
+ "via": {
188
+ "channel": "api",
189
+ "source": {
190
+ "from": {},
191
+ "to": {},
192
+ "rel": null
193
+ }
194
+ },
195
+ "created_at": "2019-02-20T07:17:33Z",
196
+ "updated_at": "2019-02-20T07:17:33Z",
197
+ "type": null,
198
+ "subject": "Help!",
199
+ "raw_subject": "Help!",
200
+ "description": "Help I need somebody.",
201
+ "priority": null,
202
+ "status": "open",
203
+ "recipient": null,
204
+ "requester_id": 374673563333,
205
+ "submitter_id": 374673563333,
206
+ "assignee_id": 374673563333,
207
+ "organization_id": 360857467053,
208
+ "group_id": 360003235353,
209
+ "collaborator_ids": [],
210
+ "follower_ids": [],
211
+ "email_cc_ids": [],
212
+ "forum_topic_id": null,
213
+ "problem_id": null,
214
+ "has_incidents": false,
215
+ "is_public": true,
216
+ "due_at": null,
217
+ "tags": [],
218
+ "custom_fields": [],
219
+ "satisfaction_rating": null,
220
+ "sharing_agreement_ids": [],
221
+ "fields": [],
222
+ "followup_ids": [],
223
+ "brand_id": 360001998013,
224
+ "allow_channelback": false,
225
+ "allow_attachments": true,
226
+ "generated_timestamp": 1550647053
227
+ }
228
+ ],
229
+ "count": 999,
230
+ "next_page": "https://abc.zendesk.com/api/v2/incremental/tickets.json?sort_by=updated_at&start_time=1550647053",
231
+ "end_time": 1550647053
232
+ }
@@ -0,0 +1,52 @@
1
+ {
2
+ "tickets": [
3
+ {
4
+ "url": "https://abc.zendesk.com/api/v2/tickets/1.json",
5
+ "id": 1,
6
+ "external_id": null,
7
+ "via": {
8
+ "channel": "web",
9
+ "source": {
10
+ "from": {},
11
+ "to": {},
12
+ "rel": null
13
+ }
14
+ },
15
+ "created_at": "2019-02-20T06:51:50Z",
16
+ "updated_at": "2019-02-20T06:51:50Z",
17
+ "type": null,
18
+ "subject": "ticket1",
19
+ "raw_subject": "ticket1",
20
+ "description": "ticket1",
21
+ "priority": null,
22
+ "status": "open",
23
+ "recipient": null,
24
+ "requester_id": 374673563333,
25
+ "submitter_id": 374673563333,
26
+ "assignee_id": 374673563333,
27
+ "organization_id": 360857467053,
28
+ "group_id": 360003235353,
29
+ "collaborator_ids": [],
30
+ "follower_ids": [],
31
+ "email_cc_ids": [],
32
+ "forum_topic_id": null,
33
+ "problem_id": null,
34
+ "has_incidents": false,
35
+ "is_public": true,
36
+ "due_at": null,
37
+ "tags": [],
38
+ "custom_fields": [],
39
+ "satisfaction_rating": null,
40
+ "sharing_agreement_ids": [],
41
+ "fields": [],
42
+ "followup_ids": [],
43
+ "brand_id": 360001998013,
44
+ "allow_channelback": false,
45
+ "allow_attachments": true,
46
+ "generated_timestamp": 1550645510
47
+ }
48
+ ],
49
+ "count": 1000,
50
+ "next_page": "https://abc.zendesk.com/api/v2/incremental/tickets.json?sort_by=updated_at&start_time=1550647053",
51
+ "end_time": 1550647053
52
+ }
@@ -0,0 +1,19 @@
1
+ {
2
+ "allRight": {
3
+ "boolean": true,
4
+ "long": 1,
5
+ "double": 1,
6
+ "string": "string",
7
+ "date": "2019-01-01T00:00:00Z",
8
+ "json": {}
9
+ },
10
+ "allWrong": {
11
+ "boolean": null,
12
+ "long": null,
13
+ "double": null,
14
+ "string": null,
15
+ "date": "abcxyz",
16
+ "json": {}
17
+ },
18
+ "allMissing": {}
19
+ }
@@ -0,0 +1,227 @@
1
+ {
2
+ "ticket_fields": [
3
+ {
4
+ "url": "https://abc.zendesk.com/api/v2/ticket_fields/360015417093.json",
5
+ "id": 360015417093,
6
+ "type": "subject",
7
+ "title": "Subject",
8
+ "raw_title": "Subject",
9
+ "description": "",
10
+ "raw_description": "",
11
+ "position": 1,
12
+ "active": true,
13
+ "required": false,
14
+ "collapsed_for_agents": false,
15
+ "regexp_for_validation": null,
16
+ "title_in_portal": "Subject",
17
+ "raw_title_in_portal": "Subject",
18
+ "visible_in_portal": true,
19
+ "editable_in_portal": true,
20
+ "required_in_portal": true,
21
+ "tag": null,
22
+ "created_at": "2019-02-20T06:50:45Z",
23
+ "updated_at": "2019-02-20T06:50:46Z",
24
+ "removable": false,
25
+ "agent_description": null
26
+ },
27
+ {
28
+ "url": "https://abc.zendesk.com/api/v2/ticket_fields/360015417113.json",
29
+ "id": 360015417113,
30
+ "type": "description",
31
+ "title": "Description",
32
+ "raw_title": "Description",
33
+ "description": "Please enter the details of your request. A member of our support staff will respond as soon as possible.",
34
+ "raw_description": "Please enter the details of your request. A member of our support staff will respond as soon as possible.",
35
+ "position": 2,
36
+ "active": true,
37
+ "required": false,
38
+ "collapsed_for_agents": false,
39
+ "regexp_for_validation": null,
40
+ "title_in_portal": "Description",
41
+ "raw_title_in_portal": "Description",
42
+ "visible_in_portal": true,
43
+ "editable_in_portal": true,
44
+ "required_in_portal": true,
45
+ "tag": null,
46
+ "created_at": "2019-02-20T06:50:45Z",
47
+ "updated_at": "2019-02-20T06:50:46Z",
48
+ "removable": false,
49
+ "agent_description": null
50
+ },
51
+ {
52
+ "url": "https://abc.zendesk.com/api/v2/ticket_fields/360015417133.json",
53
+ "id": 360015417133,
54
+ "type": "status",
55
+ "title": "Status",
56
+ "raw_title": "Status",
57
+ "description": "Request status",
58
+ "raw_description": "Request status",
59
+ "position": 3,
60
+ "active": true,
61
+ "required": false,
62
+ "collapsed_for_agents": false,
63
+ "regexp_for_validation": null,
64
+ "title_in_portal": "Status",
65
+ "raw_title_in_portal": "Status",
66
+ "visible_in_portal": false,
67
+ "editable_in_portal": false,
68
+ "required_in_portal": false,
69
+ "tag": null,
70
+ "created_at": "2019-02-20T06:50:45Z",
71
+ "updated_at": "2019-02-20T06:50:46Z",
72
+ "removable": false,
73
+ "agent_description": null,
74
+ "system_field_options": [
75
+ {
76
+ "name": "Open",
77
+ "value": "open"
78
+ },
79
+ {
80
+ "name": "Pending",
81
+ "value": "pending"
82
+ },
83
+ {
84
+ "name": "Solved",
85
+ "value": "solved"
86
+ }
87
+ ],
88
+ "sub_type_id": 0
89
+ },
90
+ {
91
+ "url": "https://abc.zendesk.com/api/v2/ticket_fields/360015417153.json",
92
+ "id": 360015417153,
93
+ "type": "tickettype",
94
+ "title": "Type",
95
+ "raw_title": "Type",
96
+ "description": "Request type",
97
+ "raw_description": "Request type",
98
+ "position": 4,
99
+ "active": true,
100
+ "required": false,
101
+ "collapsed_for_agents": false,
102
+ "regexp_for_validation": null,
103
+ "title_in_portal": "Type",
104
+ "raw_title_in_portal": "Type",
105
+ "visible_in_portal": false,
106
+ "editable_in_portal": false,
107
+ "required_in_portal": false,
108
+ "tag": null,
109
+ "created_at": "2019-02-20T06:50:45Z",
110
+ "updated_at": "2019-02-20T06:50:46Z",
111
+ "removable": true,
112
+ "agent_description": null,
113
+ "system_field_options": [
114
+ {
115
+ "name": "Question",
116
+ "value": "question"
117
+ },
118
+ {
119
+ "name": "Incident",
120
+ "value": "incident"
121
+ },
122
+ {
123
+ "name": "Problem",
124
+ "value": "problem"
125
+ },
126
+ {
127
+ "name": "Task",
128
+ "value": "task"
129
+ }
130
+ ]
131
+ },
132
+ {
133
+ "url": "https://abc.zendesk.com/api/v2/ticket_fields/360015417173.json",
134
+ "id": 360015417173,
135
+ "type": "priority",
136
+ "title": "Priority",
137
+ "raw_title": "Priority",
138
+ "description": "Request priority",
139
+ "raw_description": "Request priority",
140
+ "position": 5,
141
+ "active": true,
142
+ "required": false,
143
+ "collapsed_for_agents": false,
144
+ "regexp_for_validation": null,
145
+ "title_in_portal": "Priority",
146
+ "raw_title_in_portal": "Priority",
147
+ "visible_in_portal": true,
148
+ "editable_in_portal": false,
149
+ "required_in_portal": false,
150
+ "tag": null,
151
+ "created_at": "2019-02-20T06:50:45Z",
152
+ "updated_at": "2019-02-20T06:50:46Z",
153
+ "removable": true,
154
+ "agent_description": null,
155
+ "system_field_options": [
156
+ {
157
+ "name": "Low",
158
+ "value": "low"
159
+ },
160
+ {
161
+ "name": "Normal",
162
+ "value": "normal"
163
+ },
164
+ {
165
+ "name": "High",
166
+ "value": "high"
167
+ },
168
+ {
169
+ "name": "Urgent",
170
+ "value": "urgent"
171
+ }
172
+ ],
173
+ "sub_type_id": 0
174
+ },
175
+ {
176
+ "url": "https://abc.zendesk.com/api/v2/ticket_fields/360015417193.json",
177
+ "id": 360015417193,
178
+ "type": "group",
179
+ "title": "Group",
180
+ "raw_title": "Group",
181
+ "description": "Request group",
182
+ "raw_description": "Request group",
183
+ "position": 6,
184
+ "active": true,
185
+ "required": false,
186
+ "collapsed_for_agents": false,
187
+ "regexp_for_validation": null,
188
+ "title_in_portal": "Group",
189
+ "raw_title_in_portal": "Group",
190
+ "visible_in_portal": false,
191
+ "editable_in_portal": false,
192
+ "required_in_portal": false,
193
+ "tag": null,
194
+ "created_at": "2019-02-20T06:50:45Z",
195
+ "updated_at": "2019-02-20T06:50:46Z",
196
+ "removable": false,
197
+ "agent_description": null
198
+ },
199
+ {
200
+ "url": "https://abc.zendesk.com/api/v2/ticket_fields/360015417213.json",
201
+ "id": 360015417213,
202
+ "type": "assignee",
203
+ "title": "Assignee",
204
+ "raw_title": "Assignee",
205
+ "description": "Agent assigned to your request",
206
+ "raw_description": "Agent assigned to your request",
207
+ "position": 7,
208
+ "active": true,
209
+ "required": true,
210
+ "collapsed_for_agents": false,
211
+ "regexp_for_validation": null,
212
+ "title_in_portal": "Assignee",
213
+ "raw_title_in_portal": "Assignee",
214
+ "visible_in_portal": true,
215
+ "editable_in_portal": false,
216
+ "required_in_portal": false,
217
+ "tag": null,
218
+ "created_at": "2019-02-20T06:50:45Z",
219
+ "updated_at": "2019-02-20T06:50:46Z",
220
+ "removable": false,
221
+ "agent_description": null
222
+ }
223
+ ],
224
+ "next_page": "https://abc.zendesk.com/api/v2/ticket_fields.json?page=2",
225
+ "previous_page": null,
226
+ "count": 2198
227
+ }