merge_ticketing_client 1.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (281) hide show
  1. checksums.yaml +7 -0
  2. data/Gemfile +9 -0
  3. data/LICENSE.md +16 -0
  4. data/README.md +208 -0
  5. data/Rakefile +10 -0
  6. data/docs/Account.md +28 -0
  7. data/docs/AccountDetails.md +36 -0
  8. data/docs/AccountDetailsAndActions.md +36 -0
  9. data/docs/AccountDetailsAndActionsIntegration.md +32 -0
  10. data/docs/AccountDetailsAndActionsStatusEnum.md +15 -0
  11. data/docs/AccountDetailsApi.md +79 -0
  12. data/docs/AccountIntegration.md +28 -0
  13. data/docs/AccountToken.md +20 -0
  14. data/docs/AccountTokenApi.md +79 -0
  15. data/docs/AccountsApi.md +177 -0
  16. data/docs/Attachment.md +36 -0
  17. data/docs/AttachmentRequest.md +30 -0
  18. data/docs/AttachmentsApi.md +335 -0
  19. data/docs/AvailableActions.md +22 -0
  20. data/docs/AvailableActionsApi.md +79 -0
  21. data/docs/CategoriesEnum.md +15 -0
  22. data/docs/CategoryEnum.md +15 -0
  23. data/docs/Comment.md +38 -0
  24. data/docs/CommentEndpointRequest.md +18 -0
  25. data/docs/CommentRequest.md +32 -0
  26. data/docs/CommentResponse.md +24 -0
  27. data/docs/CommentsApi.md +335 -0
  28. data/docs/Contact.md +34 -0
  29. data/docs/ContactsApi.md +181 -0
  30. data/docs/DataPassthroughRequest.md +32 -0
  31. data/docs/DebugModeLog.md +22 -0
  32. data/docs/DebugModelLogSummary.md +22 -0
  33. data/docs/DeleteAccountApi.md +78 -0
  34. data/docs/EncodingEnum.md +15 -0
  35. data/docs/EndUserDetailsRequest.md +30 -0
  36. data/docs/ErrorValidationProblem.md +24 -0
  37. data/docs/ForceResyncApi.md +79 -0
  38. data/docs/GenerateKeyApi.md +79 -0
  39. data/docs/GenerateRemoteKeyRequest.md +18 -0
  40. data/docs/Issue.md +30 -0
  41. data/docs/IssueStatusEnum.md +15 -0
  42. data/docs/IssuesApi.md +177 -0
  43. data/docs/LinkToken.md +22 -0
  44. data/docs/LinkTokenApi.md +79 -0
  45. data/docs/LinkedAccountStatus.md +20 -0
  46. data/docs/LinkedAccountsApi.md +105 -0
  47. data/docs/MetaResponse.md +24 -0
  48. data/docs/MethodEnum.md +15 -0
  49. data/docs/ModelOperation.md +24 -0
  50. data/docs/MultipartFormFieldRequest.md +26 -0
  51. data/docs/PaginatedAccountDetailsAndActionsList.md +22 -0
  52. data/docs/PaginatedAccountList.md +22 -0
  53. data/docs/PaginatedAttachmentList.md +22 -0
  54. data/docs/PaginatedCommentList.md +22 -0
  55. data/docs/PaginatedContactList.md +22 -0
  56. data/docs/PaginatedIssueList.md +22 -0
  57. data/docs/PaginatedProjectList.md +22 -0
  58. data/docs/PaginatedSyncStatusList.md +22 -0
  59. data/docs/PaginatedTagList.md +22 -0
  60. data/docs/PaginatedTeamList.md +22 -0
  61. data/docs/PaginatedTicketList.md +22 -0
  62. data/docs/PaginatedUserList.md +22 -0
  63. data/docs/PassthroughApi.md +81 -0
  64. data/docs/Project.md +28 -0
  65. data/docs/ProjectsApi.md +261 -0
  66. data/docs/RegenerateKeyApi.md +79 -0
  67. data/docs/RemoteData.md +20 -0
  68. data/docs/RemoteKey.md +20 -0
  69. data/docs/RemoteKeyForRegenerationRequest.md +18 -0
  70. data/docs/RemoteResponse.md +28 -0
  71. data/docs/RequestFormatEnum.md +15 -0
  72. data/docs/SyncStatus.md +28 -0
  73. data/docs/SyncStatusApi.md +85 -0
  74. data/docs/SyncStatusStatusEnum.md +15 -0
  75. data/docs/Tag.md +24 -0
  76. data/docs/TagsApi.md +177 -0
  77. data/docs/Team.md +28 -0
  78. data/docs/TeamsApi.md +177 -0
  79. data/docs/Ticket.md +52 -0
  80. data/docs/TicketEndpointRequest.md +18 -0
  81. data/docs/TicketRequest.md +46 -0
  82. data/docs/TicketResponse.md +24 -0
  83. data/docs/TicketStatusEnum.md +15 -0
  84. data/docs/TicketingAttachmentEndpointRequest.md +18 -0
  85. data/docs/TicketingAttachmentResponse.md +24 -0
  86. data/docs/TicketsApi.md +425 -0
  87. data/docs/User.md +32 -0
  88. data/docs/UsersApi.md +181 -0
  89. data/docs/ValidationProblemSource.md +18 -0
  90. data/docs/WarningValidationProblem.md +24 -0
  91. data/docs/WebhookReceiver.md +22 -0
  92. data/docs/WebhookReceiverRequest.md +22 -0
  93. data/docs/WebhookReceiversApi.md +153 -0
  94. data/git_push.sh +58 -0
  95. data/lib/merge_ticketing_client/api/account_details_api.rb +84 -0
  96. data/lib/merge_ticketing_client/api/account_token_api.rb +83 -0
  97. data/lib/merge_ticketing_client/api/accounts_api.rb +182 -0
  98. data/lib/merge_ticketing_client/api/attachments_api.rb +337 -0
  99. data/lib/merge_ticketing_client/api/available_actions_api.rb +84 -0
  100. data/lib/merge_ticketing_client/api/comments_api.rb +337 -0
  101. data/lib/merge_ticketing_client/api/contacts_api.rb +196 -0
  102. data/lib/merge_ticketing_client/api/delete_account_api.rb +82 -0
  103. data/lib/merge_ticketing_client/api/force_resync_api.rb +84 -0
  104. data/lib/merge_ticketing_client/api/generate_key_api.rb +85 -0
  105. data/lib/merge_ticketing_client/api/issues_api.rb +181 -0
  106. data/lib/merge_ticketing_client/api/link_token_api.rb +85 -0
  107. data/lib/merge_ticketing_client/api/linked_accounts_api.rb +120 -0
  108. data/lib/merge_ticketing_client/api/passthrough_api.rb +92 -0
  109. data/lib/merge_ticketing_client/api/projects_api.rb +266 -0
  110. data/lib/merge_ticketing_client/api/regenerate_key_api.rb +85 -0
  111. data/lib/merge_ticketing_client/api/sync_status_api.rb +90 -0
  112. data/lib/merge_ticketing_client/api/tags_api.rb +182 -0
  113. data/lib/merge_ticketing_client/api/teams_api.rb +182 -0
  114. data/lib/merge_ticketing_client/api/tickets_api.rb +438 -0
  115. data/lib/merge_ticketing_client/api/users_api.rb +196 -0
  116. data/lib/merge_ticketing_client/api/webhook_receivers_api.rb +154 -0
  117. data/lib/merge_ticketing_client/api_client.rb +390 -0
  118. data/lib/merge_ticketing_client/api_error.rb +57 -0
  119. data/lib/merge_ticketing_client/configuration.rb +281 -0
  120. data/lib/merge_ticketing_client/models/account.rb +276 -0
  121. data/lib/merge_ticketing_client/models/account_details.rb +302 -0
  122. data/lib/merge_ticketing_client/models/account_details_and_actions.rb +327 -0
  123. data/lib/merge_ticketing_client/models/account_details_and_actions_integration.rb +310 -0
  124. data/lib/merge_ticketing_client/models/account_details_and_actions_status_enum.rb +46 -0
  125. data/lib/merge_ticketing_client/models/account_integration.rb +303 -0
  126. data/lib/merge_ticketing_client/models/account_token.rb +237 -0
  127. data/lib/merge_ticketing_client/models/attachment.rb +315 -0
  128. data/lib/merge_ticketing_client/models/attachment_request.rb +285 -0
  129. data/lib/merge_ticketing_client/models/available_actions.rb +249 -0
  130. data/lib/merge_ticketing_client/models/categories_enum.rb +48 -0
  131. data/lib/merge_ticketing_client/models/category_enum.rb +48 -0
  132. data/lib/merge_ticketing_client/models/comment.rb +325 -0
  133. data/lib/merge_ticketing_client/models/comment_endpoint_request.rb +223 -0
  134. data/lib/merge_ticketing_client/models/comment_request.rb +295 -0
  135. data/lib/merge_ticketing_client/models/comment_response.rb +266 -0
  136. data/lib/merge_ticketing_client/models/contact.rb +307 -0
  137. data/lib/merge_ticketing_client/models/data_passthrough_request.rb +352 -0
  138. data/lib/merge_ticketing_client/models/debug_mode_log.rb +251 -0
  139. data/lib/merge_ticketing_client/models/debug_model_log_summary.rb +251 -0
  140. data/lib/merge_ticketing_client/models/encoding_enum.rb +46 -0
  141. data/lib/merge_ticketing_client/models/end_user_details_request.rb +430 -0
  142. data/lib/merge_ticketing_client/models/error_validation_problem.rb +260 -0
  143. data/lib/merge_ticketing_client/models/generate_remote_key_request.rb +243 -0
  144. data/lib/merge_ticketing_client/models/issue.rb +281 -0
  145. data/lib/merge_ticketing_client/models/issue_status_enum.rb +45 -0
  146. data/lib/merge_ticketing_client/models/link_token.rb +246 -0
  147. data/lib/merge_ticketing_client/models/linked_account_status.rb +237 -0
  148. data/lib/merge_ticketing_client/models/meta_response.rb +262 -0
  149. data/lib/merge_ticketing_client/models/method_enum.rb +50 -0
  150. data/lib/merge_ticketing_client/models/model_operation.rb +272 -0
  151. data/lib/merge_ticketing_client/models/multipart_form_field_request.rb +341 -0
  152. data/lib/merge_ticketing_client/models/paginated_account_details_and_actions_list.rb +240 -0
  153. data/lib/merge_ticketing_client/models/paginated_account_list.rb +240 -0
  154. data/lib/merge_ticketing_client/models/paginated_attachment_list.rb +240 -0
  155. data/lib/merge_ticketing_client/models/paginated_comment_list.rb +240 -0
  156. data/lib/merge_ticketing_client/models/paginated_contact_list.rb +240 -0
  157. data/lib/merge_ticketing_client/models/paginated_issue_list.rb +240 -0
  158. data/lib/merge_ticketing_client/models/paginated_project_list.rb +240 -0
  159. data/lib/merge_ticketing_client/models/paginated_sync_status_list.rb +240 -0
  160. data/lib/merge_ticketing_client/models/paginated_tag_list.rb +240 -0
  161. data/lib/merge_ticketing_client/models/paginated_team_list.rb +240 -0
  162. data/lib/merge_ticketing_client/models/paginated_ticket_list.rb +240 -0
  163. data/lib/merge_ticketing_client/models/paginated_user_list.rb +240 -0
  164. data/lib/merge_ticketing_client/models/project.rb +274 -0
  165. data/lib/merge_ticketing_client/models/remote_data.rb +234 -0
  166. data/lib/merge_ticketing_client/models/remote_key.rb +238 -0
  167. data/lib/merge_ticketing_client/models/remote_key_for_regeneration_request.rb +243 -0
  168. data/lib/merge_ticketing_client/models/remote_response.rb +290 -0
  169. data/lib/merge_ticketing_client/models/request_format_enum.rb +46 -0
  170. data/lib/merge_ticketing_client/models/sync_status.rb +294 -0
  171. data/lib/merge_ticketing_client/models/sync_status_status_enum.rb +48 -0
  172. data/lib/merge_ticketing_client/models/tag.rb +254 -0
  173. data/lib/merge_ticketing_client/models/team.rb +274 -0
  174. data/lib/merge_ticketing_client/models/ticket.rb +401 -0
  175. data/lib/merge_ticketing_client/models/ticket_endpoint_request.rb +223 -0
  176. data/lib/merge_ticketing_client/models/ticket_request.rb +371 -0
  177. data/lib/merge_ticketing_client/models/ticket_response.rb +266 -0
  178. data/lib/merge_ticketing_client/models/ticket_status_enum.rb +45 -0
  179. data/lib/merge_ticketing_client/models/ticketing_attachment_endpoint_request.rb +223 -0
  180. data/lib/merge_ticketing_client/models/ticketing_attachment_response.rb +266 -0
  181. data/lib/merge_ticketing_client/models/user.rb +296 -0
  182. data/lib/merge_ticketing_client/models/validation_problem_source.rb +223 -0
  183. data/lib/merge_ticketing_client/models/warning_validation_problem.rb +260 -0
  184. data/lib/merge_ticketing_client/models/webhook_receiver.rb +246 -0
  185. data/lib/merge_ticketing_client/models/webhook_receiver_request.rb +280 -0
  186. data/lib/merge_ticketing_client/version.rb +15 -0
  187. data/lib/merge_ticketing_client.rb +127 -0
  188. data/merge_ticketing_client.gemspec +38 -0
  189. data/pull_request_template.md +20 -0
  190. data/spec/api/account_details_api_spec.rb +46 -0
  191. data/spec/api/account_token_api_spec.rb +46 -0
  192. data/spec/api/accounts_api_spec.rb +68 -0
  193. data/spec/api/attachments_api_spec.rb +96 -0
  194. data/spec/api/available_actions_api_spec.rb +46 -0
  195. data/spec/api/comments_api_spec.rb +96 -0
  196. data/spec/api/contacts_api_spec.rb +70 -0
  197. data/spec/api/delete_account_api_spec.rb +46 -0
  198. data/spec/api/force_resync_api_spec.rb +46 -0
  199. data/spec/api/generate_key_api_spec.rb +46 -0
  200. data/spec/api/issues_api_spec.rb +69 -0
  201. data/spec/api/link_token_api_spec.rb +46 -0
  202. data/spec/api/linked_accounts_api_spec.rb +58 -0
  203. data/spec/api/passthrough_api_spec.rb +47 -0
  204. data/spec/api/projects_api_spec.rb +84 -0
  205. data/spec/api/regenerate_key_api_spec.rb +46 -0
  206. data/spec/api/sync_status_api_spec.rb +48 -0
  207. data/spec/api/tags_api_spec.rb +68 -0
  208. data/spec/api/teams_api_spec.rb +68 -0
  209. data/spec/api/tickets_api_spec.rb +115 -0
  210. data/spec/api/users_api_spec.rb +70 -0
  211. data/spec/api/webhook_receivers_api_spec.rb +58 -0
  212. data/spec/api_client_spec.rb +226 -0
  213. data/spec/configuration_spec.rb +42 -0
  214. data/spec/models/account_details_and_actions_integration_spec.rb +76 -0
  215. data/spec/models/account_details_and_actions_spec.rb +88 -0
  216. data/spec/models/account_details_and_actions_status_enum_spec.rb +28 -0
  217. data/spec/models/account_details_spec.rb +88 -0
  218. data/spec/models/account_integration_spec.rb +64 -0
  219. data/spec/models/account_spec.rb +64 -0
  220. data/spec/models/account_token_spec.rb +40 -0
  221. data/spec/models/attachment_request_spec.rb +70 -0
  222. data/spec/models/attachment_spec.rb +88 -0
  223. data/spec/models/available_actions_spec.rb +46 -0
  224. data/spec/models/categories_enum_spec.rb +28 -0
  225. data/spec/models/category_enum_spec.rb +28 -0
  226. data/spec/models/comment_endpoint_request_spec.rb +34 -0
  227. data/spec/models/comment_request_spec.rb +76 -0
  228. data/spec/models/comment_response_spec.rb +52 -0
  229. data/spec/models/comment_spec.rb +94 -0
  230. data/spec/models/contact_spec.rb +82 -0
  231. data/spec/models/data_passthrough_request_spec.rb +76 -0
  232. data/spec/models/debug_mode_log_spec.rb +46 -0
  233. data/spec/models/debug_model_log_summary_spec.rb +46 -0
  234. data/spec/models/encoding_enum_spec.rb +28 -0
  235. data/spec/models/end_user_details_request_spec.rb +70 -0
  236. data/spec/models/error_validation_problem_spec.rb +52 -0
  237. data/spec/models/generate_remote_key_request_spec.rb +34 -0
  238. data/spec/models/issue_spec.rb +70 -0
  239. data/spec/models/issue_status_enum_spec.rb +28 -0
  240. data/spec/models/link_token_spec.rb +46 -0
  241. data/spec/models/linked_account_status_spec.rb +40 -0
  242. data/spec/models/meta_response_spec.rb +52 -0
  243. data/spec/models/method_enum_spec.rb +28 -0
  244. data/spec/models/model_operation_spec.rb +52 -0
  245. data/spec/models/multipart_form_field_request_spec.rb +58 -0
  246. data/spec/models/paginated_account_details_and_actions_list_spec.rb +46 -0
  247. data/spec/models/paginated_account_list_spec.rb +46 -0
  248. data/spec/models/paginated_attachment_list_spec.rb +46 -0
  249. data/spec/models/paginated_comment_list_spec.rb +46 -0
  250. data/spec/models/paginated_contact_list_spec.rb +46 -0
  251. data/spec/models/paginated_issue_list_spec.rb +46 -0
  252. data/spec/models/paginated_project_list_spec.rb +46 -0
  253. data/spec/models/paginated_sync_status_list_spec.rb +46 -0
  254. data/spec/models/paginated_tag_list_spec.rb +46 -0
  255. data/spec/models/paginated_team_list_spec.rb +46 -0
  256. data/spec/models/paginated_ticket_list_spec.rb +46 -0
  257. data/spec/models/paginated_user_list_spec.rb +46 -0
  258. data/spec/models/project_spec.rb +64 -0
  259. data/spec/models/remote_data_spec.rb +40 -0
  260. data/spec/models/remote_key_for_regeneration_request_spec.rb +34 -0
  261. data/spec/models/remote_key_spec.rb +40 -0
  262. data/spec/models/remote_response_spec.rb +64 -0
  263. data/spec/models/request_format_enum_spec.rb +28 -0
  264. data/spec/models/sync_status_spec.rb +64 -0
  265. data/spec/models/sync_status_status_enum_spec.rb +28 -0
  266. data/spec/models/tag_spec.rb +52 -0
  267. data/spec/models/team_spec.rb +64 -0
  268. data/spec/models/ticket_endpoint_request_spec.rb +34 -0
  269. data/spec/models/ticket_request_spec.rb +118 -0
  270. data/spec/models/ticket_response_spec.rb +52 -0
  271. data/spec/models/ticket_spec.rb +136 -0
  272. data/spec/models/ticket_status_enum_spec.rb +28 -0
  273. data/spec/models/ticketing_attachment_endpoint_request_spec.rb +34 -0
  274. data/spec/models/ticketing_attachment_response_spec.rb +52 -0
  275. data/spec/models/user_spec.rb +76 -0
  276. data/spec/models/validation_problem_source_spec.rb +34 -0
  277. data/spec/models/warning_validation_problem_spec.rb +52 -0
  278. data/spec/models/webhook_receiver_request_spec.rb +46 -0
  279. data/spec/models/webhook_receiver_spec.rb +46 -0
  280. data/spec/spec_helper.rb +111 -0
  281. metadata +454 -0
@@ -0,0 +1,425 @@
1
+ # MergeTicketingClient::TicketsApi
2
+
3
+ All URIs are relative to *https://api.merge.dev/api/ticketing/v1*
4
+
5
+ | Method | HTTP request | Description |
6
+ | ------ | ------------ | ----------- |
7
+ | [**tickets_collaborators_list**](TicketsApi.md#tickets_collaborators_list) | **GET** /tickets/{id}/collaborators | |
8
+ | [**tickets_create**](TicketsApi.md#tickets_create) | **POST** /tickets | |
9
+ | [**tickets_list**](TicketsApi.md#tickets_list) | **GET** /tickets | |
10
+ | [**tickets_meta_post_retrieve**](TicketsApi.md#tickets_meta_post_retrieve) | **GET** /tickets/meta/post | |
11
+ | [**tickets_retrieve**](TicketsApi.md#tickets_retrieve) | **GET** /tickets/{id} | |
12
+
13
+
14
+ ## tickets_collaborators_list
15
+
16
+ > <PaginatedUserList> tickets_collaborators_list(x_account_token, id, opts)
17
+
18
+
19
+
20
+ Returns a `User` object with the given `id`.
21
+
22
+ ### Examples
23
+
24
+ ```ruby
25
+ require 'time'
26
+ require 'merge_ticketing_client'
27
+ # setup authorization
28
+ MergeTicketingClient.configure do |config|
29
+ # Configure API key authorization: tokenAuth
30
+ config.api_key['tokenAuth'] = 'YOUR API KEY'
31
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
32
+ # config.api_key_prefix['tokenAuth'] = 'Bearer'
33
+ end
34
+
35
+ api_instance = MergeTicketingClient::TicketsApi.new
36
+ x_account_token = 'x_account_token_example' # String | Token identifying the end user.
37
+ id = TODO # String |
38
+ opts = {
39
+ cursor: 'cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw', # String | The pagination cursor value.
40
+ expand: 'teams', # String | Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces.
41
+ include_remote_data: true, # Boolean | Whether to include the original data Merge fetched from the third-party to produce these models.
42
+ page_size: 56 # Integer | Number of results to return per page.
43
+ }
44
+
45
+ begin
46
+
47
+ result = api_instance.tickets_collaborators_list(x_account_token, id, opts)
48
+ p result
49
+ rescue MergeTicketingClient::ApiError => e
50
+ puts "Error when calling TicketsApi->tickets_collaborators_list: #{e}"
51
+ end
52
+ ```
53
+
54
+ #### Using the tickets_collaborators_list_with_http_info variant
55
+
56
+ This returns an Array which contains the response data, status code and headers.
57
+
58
+ > <Array(<PaginatedUserList>, Integer, Hash)> tickets_collaborators_list_with_http_info(x_account_token, id, opts)
59
+
60
+ ```ruby
61
+ begin
62
+
63
+ data, status_code, headers = api_instance.tickets_collaborators_list_with_http_info(x_account_token, id, opts)
64
+ p status_code # => 2xx
65
+ p headers # => { ... }
66
+ p data # => <PaginatedUserList>
67
+ rescue MergeTicketingClient::ApiError => e
68
+ puts "Error when calling TicketsApi->tickets_collaborators_list_with_http_info: #{e}"
69
+ end
70
+ ```
71
+
72
+ ### Parameters
73
+
74
+ | Name | Type | Description | Notes |
75
+ | ---- | ---- | ----------- | ----- |
76
+ | **x_account_token** | **String** | Token identifying the end user. | |
77
+ | **id** | [**String**](.md) | | |
78
+ | **cursor** | **String** | The pagination cursor value. | [optional] |
79
+ | **expand** | **String** | Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. | [optional] |
80
+ | **include_remote_data** | **Boolean** | Whether to include the original data Merge fetched from the third-party to produce these models. | [optional] |
81
+ | **page_size** | **Integer** | Number of results to return per page. | [optional] |
82
+
83
+ ### Return type
84
+
85
+ [**PaginatedUserList**](PaginatedUserList.md)
86
+
87
+ ### Authorization
88
+
89
+ [tokenAuth](../README.md#tokenAuth)
90
+
91
+ ### HTTP request headers
92
+
93
+ - **Content-Type**: Not defined
94
+ - **Accept**: application/json
95
+
96
+
97
+ ## tickets_create
98
+
99
+ > <TicketResponse> tickets_create(x_account_token, ticket_endpoint_request, opts)
100
+
101
+
102
+
103
+ Creates a `Ticket` object with the given values.
104
+
105
+ ### Examples
106
+
107
+ ```ruby
108
+ require 'time'
109
+ require 'merge_ticketing_client'
110
+ # setup authorization
111
+ MergeTicketingClient.configure do |config|
112
+ # Configure API key authorization: tokenAuth
113
+ config.api_key['tokenAuth'] = 'YOUR API KEY'
114
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
115
+ # config.api_key_prefix['tokenAuth'] = 'Bearer'
116
+ end
117
+
118
+ api_instance = MergeTicketingClient::TicketsApi.new
119
+ x_account_token = 'x_account_token_example' # String | Token identifying the end user.
120
+ ticket_endpoint_request = MergeTicketingClient::TicketEndpointRequest.new({model: MergeTicketingClient::TicketRequest.new}) # TicketEndpointRequest |
121
+ opts = {
122
+ is_debug_mode: true, # Boolean | Whether to include debug fields (such as log file links) in the response.
123
+ run_async: true # Boolean | Whether or not third-party updates should be run asynchronously.
124
+ }
125
+
126
+ begin
127
+
128
+ result = api_instance.tickets_create(x_account_token, ticket_endpoint_request, opts)
129
+ p result
130
+ rescue MergeTicketingClient::ApiError => e
131
+ puts "Error when calling TicketsApi->tickets_create: #{e}"
132
+ end
133
+ ```
134
+
135
+ #### Using the tickets_create_with_http_info variant
136
+
137
+ This returns an Array which contains the response data, status code and headers.
138
+
139
+ > <Array(<TicketResponse>, Integer, Hash)> tickets_create_with_http_info(x_account_token, ticket_endpoint_request, opts)
140
+
141
+ ```ruby
142
+ begin
143
+
144
+ data, status_code, headers = api_instance.tickets_create_with_http_info(x_account_token, ticket_endpoint_request, opts)
145
+ p status_code # => 2xx
146
+ p headers # => { ... }
147
+ p data # => <TicketResponse>
148
+ rescue MergeTicketingClient::ApiError => e
149
+ puts "Error when calling TicketsApi->tickets_create_with_http_info: #{e}"
150
+ end
151
+ ```
152
+
153
+ ### Parameters
154
+
155
+ | Name | Type | Description | Notes |
156
+ | ---- | ---- | ----------- | ----- |
157
+ | **x_account_token** | **String** | Token identifying the end user. | |
158
+ | **ticket_endpoint_request** | [**TicketEndpointRequest**](TicketEndpointRequest.md) | | |
159
+ | **is_debug_mode** | **Boolean** | Whether to include debug fields (such as log file links) in the response. | [optional] |
160
+ | **run_async** | **Boolean** | Whether or not third-party updates should be run asynchronously. | [optional] |
161
+
162
+ ### Return type
163
+
164
+ [**TicketResponse**](TicketResponse.md)
165
+
166
+ ### Authorization
167
+
168
+ [tokenAuth](../README.md#tokenAuth)
169
+
170
+ ### HTTP request headers
171
+
172
+ - **Content-Type**: application/json, application/x-www-form-urlencoded, multipart/form-data
173
+ - **Accept**: application/json
174
+
175
+
176
+ ## tickets_list
177
+
178
+ > <PaginatedTicketList> tickets_list(x_account_token, opts)
179
+
180
+
181
+
182
+ Returns a list of `Ticket` objects.
183
+
184
+ ### Examples
185
+
186
+ ```ruby
187
+ require 'time'
188
+ require 'merge_ticketing_client'
189
+ # setup authorization
190
+ MergeTicketingClient.configure do |config|
191
+ # Configure API key authorization: tokenAuth
192
+ config.api_key['tokenAuth'] = 'YOUR API KEY'
193
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
194
+ # config.api_key_prefix['tokenAuth'] = 'Bearer'
195
+ end
196
+
197
+ api_instance = MergeTicketingClient::TicketsApi.new
198
+ x_account_token = 'x_account_token_example' # String | Token identifying the end user.
199
+ opts = {
200
+ account_id: 'account_id_example', # String | If provided, will only return tickets for this account.
201
+ created_after: Time.parse('2013-10-20T19:20:30+01:00'), # Time | If provided, will only return objects created after this datetime.
202
+ created_before: Time.parse('2013-10-20T19:20:30+01:00'), # Time | If provided, will only return objects created before this datetime.
203
+ cursor: 'cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw', # String | The pagination cursor value.
204
+ expand: 'account', # String | Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces.
205
+ include_deleted_data: true, # Boolean | Whether to include data that was marked as deleted by third party webhooks.
206
+ include_remote_data: true, # Boolean | Whether to include the original data Merge fetched from the third-party to produce these models.
207
+ modified_after: Time.parse('2013-10-20T19:20:30+01:00'), # Time | If provided, will only return objects modified after this datetime.
208
+ modified_before: Time.parse('2013-10-20T19:20:30+01:00'), # Time | If provided, will only return objects modified before this datetime.
209
+ page_size: 56, # Integer | Number of results to return per page.
210
+ project_id: 'project_id_example', # String | If provided, will only return tickets for this project.
211
+ remote_fields: 'status', # String | Which fields should be returned in non-normalized form.
212
+ remote_id: 'remote_id_example' # String | The API provider's ID for the given object.
213
+ }
214
+
215
+ begin
216
+
217
+ result = api_instance.tickets_list(x_account_token, opts)
218
+ p result
219
+ rescue MergeTicketingClient::ApiError => e
220
+ puts "Error when calling TicketsApi->tickets_list: #{e}"
221
+ end
222
+ ```
223
+
224
+ #### Using the tickets_list_with_http_info variant
225
+
226
+ This returns an Array which contains the response data, status code and headers.
227
+
228
+ > <Array(<PaginatedTicketList>, Integer, Hash)> tickets_list_with_http_info(x_account_token, opts)
229
+
230
+ ```ruby
231
+ begin
232
+
233
+ data, status_code, headers = api_instance.tickets_list_with_http_info(x_account_token, opts)
234
+ p status_code # => 2xx
235
+ p headers # => { ... }
236
+ p data # => <PaginatedTicketList>
237
+ rescue MergeTicketingClient::ApiError => e
238
+ puts "Error when calling TicketsApi->tickets_list_with_http_info: #{e}"
239
+ end
240
+ ```
241
+
242
+ ### Parameters
243
+
244
+ | Name | Type | Description | Notes |
245
+ | ---- | ---- | ----------- | ----- |
246
+ | **x_account_token** | **String** | Token identifying the end user. | |
247
+ | **account_id** | **String** | If provided, will only return tickets for this account. | [optional] |
248
+ | **created_after** | **Time** | If provided, will only return objects created after this datetime. | [optional] |
249
+ | **created_before** | **Time** | If provided, will only return objects created before this datetime. | [optional] |
250
+ | **cursor** | **String** | The pagination cursor value. | [optional] |
251
+ | **expand** | **String** | Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. | [optional] |
252
+ | **include_deleted_data** | **Boolean** | Whether to include data that was marked as deleted by third party webhooks. | [optional] |
253
+ | **include_remote_data** | **Boolean** | Whether to include the original data Merge fetched from the third-party to produce these models. | [optional] |
254
+ | **modified_after** | **Time** | If provided, will only return objects modified after this datetime. | [optional] |
255
+ | **modified_before** | **Time** | If provided, will only return objects modified before this datetime. | [optional] |
256
+ | **page_size** | **Integer** | Number of results to return per page. | [optional] |
257
+ | **project_id** | **String** | If provided, will only return tickets for this project. | [optional] |
258
+ | **remote_fields** | **String** | Which fields should be returned in non-normalized form. | [optional] |
259
+ | **remote_id** | **String** | The API provider&#39;s ID for the given object. | [optional] |
260
+
261
+ ### Return type
262
+
263
+ [**PaginatedTicketList**](PaginatedTicketList.md)
264
+
265
+ ### Authorization
266
+
267
+ [tokenAuth](../README.md#tokenAuth)
268
+
269
+ ### HTTP request headers
270
+
271
+ - **Content-Type**: Not defined
272
+ - **Accept**: application/json
273
+
274
+
275
+ ## tickets_meta_post_retrieve
276
+
277
+ > <MetaResponse> tickets_meta_post_retrieve(x_account_token)
278
+
279
+
280
+
281
+ Returns metadata for `Ticket` POSTs.
282
+
283
+ ### Examples
284
+
285
+ ```ruby
286
+ require 'time'
287
+ require 'merge_ticketing_client'
288
+ # setup authorization
289
+ MergeTicketingClient.configure do |config|
290
+ # Configure API key authorization: tokenAuth
291
+ config.api_key['tokenAuth'] = 'YOUR API KEY'
292
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
293
+ # config.api_key_prefix['tokenAuth'] = 'Bearer'
294
+ end
295
+
296
+ api_instance = MergeTicketingClient::TicketsApi.new
297
+ x_account_token = 'x_account_token_example' # String | Token identifying the end user.
298
+
299
+ begin
300
+
301
+ result = api_instance.tickets_meta_post_retrieve(x_account_token)
302
+ p result
303
+ rescue MergeTicketingClient::ApiError => e
304
+ puts "Error when calling TicketsApi->tickets_meta_post_retrieve: #{e}"
305
+ end
306
+ ```
307
+
308
+ #### Using the tickets_meta_post_retrieve_with_http_info variant
309
+
310
+ This returns an Array which contains the response data, status code and headers.
311
+
312
+ > <Array(<MetaResponse>, Integer, Hash)> tickets_meta_post_retrieve_with_http_info(x_account_token)
313
+
314
+ ```ruby
315
+ begin
316
+
317
+ data, status_code, headers = api_instance.tickets_meta_post_retrieve_with_http_info(x_account_token)
318
+ p status_code # => 2xx
319
+ p headers # => { ... }
320
+ p data # => <MetaResponse>
321
+ rescue MergeTicketingClient::ApiError => e
322
+ puts "Error when calling TicketsApi->tickets_meta_post_retrieve_with_http_info: #{e}"
323
+ end
324
+ ```
325
+
326
+ ### Parameters
327
+
328
+ | Name | Type | Description | Notes |
329
+ | ---- | ---- | ----------- | ----- |
330
+ | **x_account_token** | **String** | Token identifying the end user. | |
331
+
332
+ ### Return type
333
+
334
+ [**MetaResponse**](MetaResponse.md)
335
+
336
+ ### Authorization
337
+
338
+ [tokenAuth](../README.md#tokenAuth)
339
+
340
+ ### HTTP request headers
341
+
342
+ - **Content-Type**: Not defined
343
+ - **Accept**: application/json
344
+
345
+
346
+ ## tickets_retrieve
347
+
348
+ > <Ticket> tickets_retrieve(x_account_token, id, opts)
349
+
350
+
351
+
352
+ Returns a `Ticket` object with the given `id`.
353
+
354
+ ### Examples
355
+
356
+ ```ruby
357
+ require 'time'
358
+ require 'merge_ticketing_client'
359
+ # setup authorization
360
+ MergeTicketingClient.configure do |config|
361
+ # Configure API key authorization: tokenAuth
362
+ config.api_key['tokenAuth'] = 'YOUR API KEY'
363
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
364
+ # config.api_key_prefix['tokenAuth'] = 'Bearer'
365
+ end
366
+
367
+ api_instance = MergeTicketingClient::TicketsApi.new
368
+ x_account_token = 'x_account_token_example' # String | Token identifying the end user.
369
+ id = TODO # String |
370
+ opts = {
371
+ expand: 'account', # String | Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces.
372
+ include_remote_data: true, # Boolean | Whether to include the original data Merge fetched from the third-party to produce these models.
373
+ remote_fields: 'status' # String | Which fields should be returned in non-normalized form.
374
+ }
375
+
376
+ begin
377
+
378
+ result = api_instance.tickets_retrieve(x_account_token, id, opts)
379
+ p result
380
+ rescue MergeTicketingClient::ApiError => e
381
+ puts "Error when calling TicketsApi->tickets_retrieve: #{e}"
382
+ end
383
+ ```
384
+
385
+ #### Using the tickets_retrieve_with_http_info variant
386
+
387
+ This returns an Array which contains the response data, status code and headers.
388
+
389
+ > <Array(<Ticket>, Integer, Hash)> tickets_retrieve_with_http_info(x_account_token, id, opts)
390
+
391
+ ```ruby
392
+ begin
393
+
394
+ data, status_code, headers = api_instance.tickets_retrieve_with_http_info(x_account_token, id, opts)
395
+ p status_code # => 2xx
396
+ p headers # => { ... }
397
+ p data # => <Ticket>
398
+ rescue MergeTicketingClient::ApiError => e
399
+ puts "Error when calling TicketsApi->tickets_retrieve_with_http_info: #{e}"
400
+ end
401
+ ```
402
+
403
+ ### Parameters
404
+
405
+ | Name | Type | Description | Notes |
406
+ | ---- | ---- | ----------- | ----- |
407
+ | **x_account_token** | **String** | Token identifying the end user. | |
408
+ | **id** | [**String**](.md) | | |
409
+ | **expand** | **String** | Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. | [optional] |
410
+ | **include_remote_data** | **Boolean** | Whether to include the original data Merge fetched from the third-party to produce these models. | [optional] |
411
+ | **remote_fields** | **String** | Which fields should be returned in non-normalized form. | [optional] |
412
+
413
+ ### Return type
414
+
415
+ [**Ticket**](Ticket.md)
416
+
417
+ ### Authorization
418
+
419
+ [tokenAuth](../README.md#tokenAuth)
420
+
421
+ ### HTTP request headers
422
+
423
+ - **Content-Type**: Not defined
424
+ - **Accept**: application/json
425
+
data/docs/User.md ADDED
@@ -0,0 +1,32 @@
1
+ # MergeTicketingClient::User
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **id** | **String** | | [optional][readonly] |
8
+ | **remote_id** | **String** | The third-party API ID of the matching object. | [optional] |
9
+ | **name** | **String** | The user&#39;s name. | [optional] |
10
+ | **email_address** | **String** | The user&#39;s email address. | [optional] |
11
+ | **is_active** | **Boolean** | Whether or not the user is active. | [optional] |
12
+ | **teams** | **Array&lt;String&gt;** | | [optional] |
13
+ | **remote_data** | [**Array&lt;RemoteData&gt;**](RemoteData.md) | | [optional][readonly] |
14
+ | **remote_was_deleted** | **Boolean** | Indicates whether or not this object has been deleted by third party webhooks. | [optional][readonly] |
15
+
16
+ ## Example
17
+
18
+ ```ruby
19
+ require 'merge_ticketing_client'
20
+
21
+ instance = MergeTicketingClient::User.new(
22
+ id: 17a54124-287f-494d-965e-3c5b330c9a68,
23
+ remote_id: 19202938,
24
+ name: Gil Feig,
25
+ email_address: help@merge.dev,
26
+ is_active: true,
27
+ teams: [&quot;28b54125-287f-494d-965e-3c5b330c9a68&quot;,&quot;17a54124-287f-494d-965e-3c5b330c9a68&quot;],
28
+ remote_data: null,
29
+ remote_was_deleted: null
30
+ )
31
+ ```
32
+
data/docs/UsersApi.md ADDED
@@ -0,0 +1,181 @@
1
+ # MergeTicketingClient::UsersApi
2
+
3
+ All URIs are relative to *https://api.merge.dev/api/ticketing/v1*
4
+
5
+ | Method | HTTP request | Description |
6
+ | ------ | ------------ | ----------- |
7
+ | [**users_list**](UsersApi.md#users_list) | **GET** /users | |
8
+ | [**users_retrieve**](UsersApi.md#users_retrieve) | **GET** /users/{id} | |
9
+
10
+
11
+ ## users_list
12
+
13
+ > <PaginatedUserList> users_list(x_account_token, opts)
14
+
15
+
16
+
17
+ Returns a list of `User` objects.
18
+
19
+ ### Examples
20
+
21
+ ```ruby
22
+ require 'time'
23
+ require 'merge_ticketing_client'
24
+ # setup authorization
25
+ MergeTicketingClient.configure do |config|
26
+ # Configure API key authorization: tokenAuth
27
+ config.api_key['tokenAuth'] = 'YOUR API KEY'
28
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
29
+ # config.api_key_prefix['tokenAuth'] = 'Bearer'
30
+ end
31
+
32
+ api_instance = MergeTicketingClient::UsersApi.new
33
+ x_account_token = 'x_account_token_example' # String | Token identifying the end user.
34
+ opts = {
35
+ created_after: Time.parse('2013-10-20T19:20:30+01:00'), # Time | If provided, will only return objects created after this datetime.
36
+ created_before: Time.parse('2013-10-20T19:20:30+01:00'), # Time | If provided, will only return objects created before this datetime.
37
+ cursor: 'cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw', # String | The pagination cursor value.
38
+ expand: 'teams', # String | Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces.
39
+ include_deleted_data: true, # Boolean | Whether to include data that was marked as deleted by third party webhooks.
40
+ include_remote_data: true, # Boolean | Whether to include the original data Merge fetched from the third-party to produce these models.
41
+ modified_after: Time.parse('2013-10-20T19:20:30+01:00'), # Time | If provided, will only return objects modified after this datetime.
42
+ modified_before: Time.parse('2013-10-20T19:20:30+01:00'), # Time | If provided, will only return objects modified before this datetime.
43
+ page_size: 56, # Integer | Number of results to return per page.
44
+ remote_id: 'remote_id_example' # String | The API provider's ID for the given object.
45
+ }
46
+
47
+ begin
48
+
49
+ result = api_instance.users_list(x_account_token, opts)
50
+ p result
51
+ rescue MergeTicketingClient::ApiError => e
52
+ puts "Error when calling UsersApi->users_list: #{e}"
53
+ end
54
+ ```
55
+
56
+ #### Using the users_list_with_http_info variant
57
+
58
+ This returns an Array which contains the response data, status code and headers.
59
+
60
+ > <Array(<PaginatedUserList>, Integer, Hash)> users_list_with_http_info(x_account_token, opts)
61
+
62
+ ```ruby
63
+ begin
64
+
65
+ data, status_code, headers = api_instance.users_list_with_http_info(x_account_token, opts)
66
+ p status_code # => 2xx
67
+ p headers # => { ... }
68
+ p data # => <PaginatedUserList>
69
+ rescue MergeTicketingClient::ApiError => e
70
+ puts "Error when calling UsersApi->users_list_with_http_info: #{e}"
71
+ end
72
+ ```
73
+
74
+ ### Parameters
75
+
76
+ | Name | Type | Description | Notes |
77
+ | ---- | ---- | ----------- | ----- |
78
+ | **x_account_token** | **String** | Token identifying the end user. | |
79
+ | **created_after** | **Time** | If provided, will only return objects created after this datetime. | [optional] |
80
+ | **created_before** | **Time** | If provided, will only return objects created before this datetime. | [optional] |
81
+ | **cursor** | **String** | The pagination cursor value. | [optional] |
82
+ | **expand** | **String** | Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. | [optional] |
83
+ | **include_deleted_data** | **Boolean** | Whether to include data that was marked as deleted by third party webhooks. | [optional] |
84
+ | **include_remote_data** | **Boolean** | Whether to include the original data Merge fetched from the third-party to produce these models. | [optional] |
85
+ | **modified_after** | **Time** | If provided, will only return objects modified after this datetime. | [optional] |
86
+ | **modified_before** | **Time** | If provided, will only return objects modified before this datetime. | [optional] |
87
+ | **page_size** | **Integer** | Number of results to return per page. | [optional] |
88
+ | **remote_id** | **String** | The API provider&#39;s ID for the given object. | [optional] |
89
+
90
+ ### Return type
91
+
92
+ [**PaginatedUserList**](PaginatedUserList.md)
93
+
94
+ ### Authorization
95
+
96
+ [tokenAuth](../README.md#tokenAuth)
97
+
98
+ ### HTTP request headers
99
+
100
+ - **Content-Type**: Not defined
101
+ - **Accept**: application/json
102
+
103
+
104
+ ## users_retrieve
105
+
106
+ > <User> users_retrieve(x_account_token, id, opts)
107
+
108
+
109
+
110
+ Returns a `User` object with the given `id`.
111
+
112
+ ### Examples
113
+
114
+ ```ruby
115
+ require 'time'
116
+ require 'merge_ticketing_client'
117
+ # setup authorization
118
+ MergeTicketingClient.configure do |config|
119
+ # Configure API key authorization: tokenAuth
120
+ config.api_key['tokenAuth'] = 'YOUR API KEY'
121
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
122
+ # config.api_key_prefix['tokenAuth'] = 'Bearer'
123
+ end
124
+
125
+ api_instance = MergeTicketingClient::UsersApi.new
126
+ x_account_token = 'x_account_token_example' # String | Token identifying the end user.
127
+ id = TODO # String |
128
+ opts = {
129
+ expand: 'teams', # String | Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces.
130
+ include_remote_data: true # Boolean | Whether to include the original data Merge fetched from the third-party to produce these models.
131
+ }
132
+
133
+ begin
134
+
135
+ result = api_instance.users_retrieve(x_account_token, id, opts)
136
+ p result
137
+ rescue MergeTicketingClient::ApiError => e
138
+ puts "Error when calling UsersApi->users_retrieve: #{e}"
139
+ end
140
+ ```
141
+
142
+ #### Using the users_retrieve_with_http_info variant
143
+
144
+ This returns an Array which contains the response data, status code and headers.
145
+
146
+ > <Array(<User>, Integer, Hash)> users_retrieve_with_http_info(x_account_token, id, opts)
147
+
148
+ ```ruby
149
+ begin
150
+
151
+ data, status_code, headers = api_instance.users_retrieve_with_http_info(x_account_token, id, opts)
152
+ p status_code # => 2xx
153
+ p headers # => { ... }
154
+ p data # => <User>
155
+ rescue MergeTicketingClient::ApiError => e
156
+ puts "Error when calling UsersApi->users_retrieve_with_http_info: #{e}"
157
+ end
158
+ ```
159
+
160
+ ### Parameters
161
+
162
+ | Name | Type | Description | Notes |
163
+ | ---- | ---- | ----------- | ----- |
164
+ | **x_account_token** | **String** | Token identifying the end user. | |
165
+ | **id** | [**String**](.md) | | |
166
+ | **expand** | **String** | Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. | [optional] |
167
+ | **include_remote_data** | **Boolean** | Whether to include the original data Merge fetched from the third-party to produce these models. | [optional] |
168
+
169
+ ### Return type
170
+
171
+ [**User**](User.md)
172
+
173
+ ### Authorization
174
+
175
+ [tokenAuth](../README.md#tokenAuth)
176
+
177
+ ### HTTP request headers
178
+
179
+ - **Content-Type**: Not defined
180
+ - **Accept**: application/json
181
+
@@ -0,0 +1,18 @@
1
+ # MergeTicketingClient::ValidationProblemSource
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **pointer** | **String** | | |
8
+
9
+ ## Example
10
+
11
+ ```ruby
12
+ require 'merge_ticketing_client'
13
+
14
+ instance = MergeTicketingClient::ValidationProblemSource.new(
15
+ pointer: null
16
+ )
17
+ ```
18
+
@@ -0,0 +1,24 @@
1
+ # MergeTicketingClient::WarningValidationProblem
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **source** | [**ValidationProblemSource**](ValidationProblemSource.md) | | [optional] |
8
+ | **title** | **String** | | |
9
+ | **detail** | **String** | | |
10
+ | **problem_type** | **String** | | |
11
+
12
+ ## Example
13
+
14
+ ```ruby
15
+ require 'merge_ticketing_client'
16
+
17
+ instance = MergeTicketingClient::WarningValidationProblem.new(
18
+ source: null,
19
+ title: Unrecognized Field,
20
+ detail: An unrecognized field, age, was passed in with request data.,
21
+ problem_type: UNRECOGNIZED_FIELD
22
+ )
23
+ ```
24
+