ngrok-api 0.15.0 → 0.16.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (266) hide show
  1. checksums.yaml +4 -4
  2. data/.rubocop.yml +1 -1
  3. data/doc/NgrokAPI/Client.html +140 -172
  4. data/doc/NgrokAPI/Error.html +3 -3
  5. data/doc/NgrokAPI/Errors/NotFoundError.html +3 -3
  6. data/doc/NgrokAPI/Errors.html +3 -3
  7. data/doc/NgrokAPI/HttpClient.html +30 -36
  8. data/doc/NgrokAPI/Models/APIKey.html +3 -3
  9. data/doc/NgrokAPI/Models/AWSAuth.html +3 -3
  10. data/doc/NgrokAPI/Models/AWSCredentials.html +3 -3
  11. data/doc/NgrokAPI/Models/AWSRole.html +3 -3
  12. data/doc/NgrokAPI/Models/AbuseReport.html +3 -3
  13. data/doc/NgrokAPI/Models/AbuseReportHostname.html +3 -3
  14. data/doc/NgrokAPI/Models/{IPWhitelistEntry.html → AgentIngress.html} +216 -68
  15. data/doc/NgrokAPI/Models/CertificateAuthority.html +3 -3
  16. data/doc/NgrokAPI/Models/Credential.html +3 -3
  17. data/doc/NgrokAPI/Models/EndpointCircuitBreaker.html +3 -3
  18. data/doc/NgrokAPI/Models/EndpointCompression.html +3 -3
  19. data/doc/NgrokAPI/Models/EndpointConfiguration.html +3 -3
  20. data/doc/NgrokAPI/Models/EndpointIPPolicy.html +3 -3
  21. data/doc/NgrokAPI/Models/EndpointIPPolicyMutate.html +3 -3
  22. data/doc/NgrokAPI/Models/EndpointLogging.html +3 -3
  23. data/doc/NgrokAPI/Models/EndpointLoggingMutate.html +3 -3
  24. data/doc/NgrokAPI/Models/EndpointMutualTLS.html +3 -3
  25. data/doc/NgrokAPI/Models/EndpointMutualTLSMutate.html +3 -3
  26. data/doc/NgrokAPI/Models/EndpointOAuth.html +3 -3
  27. data/doc/NgrokAPI/Models/EndpointOAuthFacebook.html +3 -3
  28. data/doc/NgrokAPI/Models/EndpointOAuthGitHub.html +3 -3
  29. data/doc/NgrokAPI/Models/EndpointOAuthGoogle.html +3 -3
  30. data/doc/NgrokAPI/Models/EndpointOAuthMicrosoft.html +3 -3
  31. data/doc/NgrokAPI/Models/EndpointOAuthProvider.html +3 -3
  32. data/doc/NgrokAPI/Models/EndpointOIDC.html +3 -3
  33. data/doc/NgrokAPI/Models/EndpointRequestHeaders.html +3 -3
  34. data/doc/NgrokAPI/Models/EndpointResponseHeaders.html +3 -3
  35. data/doc/NgrokAPI/Models/EndpointSAML.html +3 -3
  36. data/doc/NgrokAPI/Models/EndpointSAMLMutate.html +3 -3
  37. data/doc/NgrokAPI/Models/EndpointTLSTermination.html +3 -3
  38. data/doc/NgrokAPI/Models/EndpointWebhookValidation.html +3 -3
  39. data/doc/NgrokAPI/Models/EventDestination.html +3 -3
  40. data/doc/NgrokAPI/Models/EventSource.html +3 -3
  41. data/doc/NgrokAPI/Models/EventSourceList.html +3 -3
  42. data/doc/NgrokAPI/Models/EventSourceReplace.html +3 -3
  43. data/doc/NgrokAPI/Models/EventStream.html +3 -3
  44. data/doc/NgrokAPI/Models/EventSubscription.html +3 -3
  45. data/doc/NgrokAPI/Models/EventTarget.html +3 -3
  46. data/doc/NgrokAPI/Models/EventTargetCloudwatchLogs.html +3 -3
  47. data/doc/NgrokAPI/Models/EventTargetFirehose.html +3 -3
  48. data/doc/NgrokAPI/Models/EventTargetKinesis.html +3 -3
  49. data/doc/NgrokAPI/Models/IPPolicy.html +3 -3
  50. data/doc/NgrokAPI/Models/IPPolicyRule.html +3 -3
  51. data/doc/NgrokAPI/Models/IPRestriction.html +3 -3
  52. data/doc/NgrokAPI/Models/Listable.html +3 -3
  53. data/doc/NgrokAPI/Models/Ref.html +3 -3
  54. data/doc/NgrokAPI/Models/ReservedAddr.html +3 -3
  55. data/doc/NgrokAPI/Models/ReservedDomain.html +3 -3
  56. data/doc/NgrokAPI/Models/ReservedDomainCertJob.html +3 -3
  57. data/doc/NgrokAPI/Models/ReservedDomainCertPolicy.html +3 -3
  58. data/doc/NgrokAPI/Models/ReservedDomainCertStatus.html +3 -3
  59. data/doc/NgrokAPI/Models/SSHCertificateAuthority.html +3 -3
  60. data/doc/NgrokAPI/Models/SSHCredential.html +3 -3
  61. data/doc/NgrokAPI/Models/SSHHostCertificate.html +3 -3
  62. data/doc/NgrokAPI/Models/SSHUserCertificate.html +3 -3
  63. data/doc/NgrokAPI/Models/TLSCertificate.html +3 -3
  64. data/doc/NgrokAPI/Models/TLSCertificateSANs.html +3 -3
  65. data/doc/NgrokAPI/Models/Tunnel.html +3 -3
  66. data/doc/NgrokAPI/Models/TunnelSession.html +3 -3
  67. data/doc/NgrokAPI/Models.html +5 -5
  68. data/doc/NgrokAPI/PagedIterator.html +3 -3
  69. data/doc/NgrokAPI/Services/APIKeysClient.html +99 -149
  70. data/doc/NgrokAPI/Services/AbuseReportsClient.html +19 -33
  71. data/doc/NgrokAPI/Services/{IPWhitelistClient.html → AgentIngressesClient.html} +209 -265
  72. data/doc/NgrokAPI/Services/CertificateAuthoritiesClient.html +104 -156
  73. data/doc/NgrokAPI/Services/CredentialsClient.html +108 -164
  74. data/doc/NgrokAPI/Services/EndpointCircuitBreakerModuleClient.html +49 -77
  75. data/doc/NgrokAPI/Services/EndpointCompressionModuleClient.html +49 -77
  76. data/doc/NgrokAPI/Services/EndpointConfigurationsClient.html +137 -273
  77. data/doc/NgrokAPI/Services/EndpointIPPolicyModuleClient.html +49 -77
  78. data/doc/NgrokAPI/Services/EndpointLoggingModuleClient.html +49 -77
  79. data/doc/NgrokAPI/Services/EndpointMutualTLSModuleClient.html +49 -77
  80. data/doc/NgrokAPI/Services/EndpointOAuthModuleClient.html +49 -77
  81. data/doc/NgrokAPI/Services/EndpointOIDCModuleClient.html +49 -77
  82. data/doc/NgrokAPI/Services/EndpointRequestHeadersModuleClient.html +49 -77
  83. data/doc/NgrokAPI/Services/EndpointResponseHeadersModuleClient.html +49 -77
  84. data/doc/NgrokAPI/Services/EndpointSAMLModuleClient.html +49 -77
  85. data/doc/NgrokAPI/Services/EndpointTLSTerminationModuleClient.html +49 -77
  86. data/doc/NgrokAPI/Services/EndpointWebhookValidationModuleClient.html +49 -77
  87. data/doc/NgrokAPI/Services/EventDestinationsClient.html +116 -184
  88. data/doc/NgrokAPI/Services/EventSourcesClient.html +95 -157
  89. data/doc/NgrokAPI/Services/EventStreamsClient.html +119 -189
  90. data/doc/NgrokAPI/Services/EventSubscriptionsClient.html +113 -175
  91. data/doc/NgrokAPI/Services/IPPoliciesClient.html +104 -156
  92. data/doc/NgrokAPI/Services/IPPolicyRulesClient.html +111 -169
  93. data/doc/NgrokAPI/Services/IPRestrictionsClient.html +116 -180
  94. data/doc/NgrokAPI/Services/ReservedAddrsClient.html +132 -198
  95. data/doc/NgrokAPI/Services/ReservedDomainsClient.html +193 -303
  96. data/doc/NgrokAPI/Services/SSHCertificateAuthoritiesClient.html +110 -166
  97. data/doc/NgrokAPI/Services/SSHCredentialsClient.html +111 -169
  98. data/doc/NgrokAPI/Services/SSHHostCertificatesClient.html +111 -171
  99. data/doc/NgrokAPI/Services/SSHUserCertificatesClient.html +111 -175
  100. data/doc/NgrokAPI/Services/TLSCertificatesClient.html +107 -161
  101. data/doc/NgrokAPI/Services/TunnelSessionsClient.html +87 -135
  102. data/doc/NgrokAPI/Services/TunnelsClient.html +13 -25
  103. data/doc/NgrokAPI/Services.html +5 -5
  104. data/doc/NgrokAPI.html +4 -4
  105. data/doc/_index.html +18 -18
  106. data/doc/class_list.html +1 -1
  107. data/doc/file.README.html +3 -3
  108. data/doc/frames.html +1 -1
  109. data/doc/index.html +3 -3
  110. data/doc/method_list.html +574 -558
  111. data/doc/top-level-namespace.html +3 -3
  112. data/docs/NgrokAPI/Client.html +140 -172
  113. data/docs/NgrokAPI/Error.html +3 -3
  114. data/docs/NgrokAPI/Errors/NotFoundError.html +3 -3
  115. data/docs/NgrokAPI/Errors.html +3 -3
  116. data/docs/NgrokAPI/HttpClient.html +30 -36
  117. data/docs/NgrokAPI/Models/APIKey.html +3 -3
  118. data/docs/NgrokAPI/Models/AWSAuth.html +3 -3
  119. data/docs/NgrokAPI/Models/AWSCredentials.html +3 -3
  120. data/docs/NgrokAPI/Models/AWSRole.html +3 -3
  121. data/docs/NgrokAPI/Models/AbuseReport.html +3 -3
  122. data/docs/NgrokAPI/Models/AbuseReportHostname.html +3 -3
  123. data/docs/NgrokAPI/Models/{IPWhitelistEntry.html → AgentIngress.html} +216 -68
  124. data/docs/NgrokAPI/Models/CertificateAuthority.html +3 -3
  125. data/docs/NgrokAPI/Models/Credential.html +3 -3
  126. data/docs/NgrokAPI/Models/EndpointCircuitBreaker.html +3 -3
  127. data/docs/NgrokAPI/Models/EndpointCompression.html +3 -3
  128. data/docs/NgrokAPI/Models/EndpointConfiguration.html +3 -3
  129. data/docs/NgrokAPI/Models/EndpointIPPolicy.html +3 -3
  130. data/docs/NgrokAPI/Models/EndpointIPPolicyMutate.html +3 -3
  131. data/docs/NgrokAPI/Models/EndpointLogging.html +3 -3
  132. data/docs/NgrokAPI/Models/EndpointLoggingMutate.html +3 -3
  133. data/docs/NgrokAPI/Models/EndpointMutualTLS.html +3 -3
  134. data/docs/NgrokAPI/Models/EndpointMutualTLSMutate.html +3 -3
  135. data/docs/NgrokAPI/Models/EndpointOAuth.html +3 -3
  136. data/docs/NgrokAPI/Models/EndpointOAuthFacebook.html +3 -3
  137. data/docs/NgrokAPI/Models/EndpointOAuthGitHub.html +3 -3
  138. data/docs/NgrokAPI/Models/EndpointOAuthGoogle.html +3 -3
  139. data/docs/NgrokAPI/Models/EndpointOAuthMicrosoft.html +3 -3
  140. data/docs/NgrokAPI/Models/EndpointOAuthProvider.html +3 -3
  141. data/docs/NgrokAPI/Models/EndpointOIDC.html +3 -3
  142. data/docs/NgrokAPI/Models/EndpointRequestHeaders.html +3 -3
  143. data/docs/NgrokAPI/Models/EndpointResponseHeaders.html +3 -3
  144. data/docs/NgrokAPI/Models/EndpointSAML.html +3 -3
  145. data/docs/NgrokAPI/Models/EndpointSAMLMutate.html +3 -3
  146. data/docs/NgrokAPI/Models/EndpointTLSTermination.html +3 -3
  147. data/docs/NgrokAPI/Models/EndpointWebhookValidation.html +3 -3
  148. data/docs/NgrokAPI/Models/EventDestination.html +3 -3
  149. data/docs/NgrokAPI/Models/EventSource.html +3 -3
  150. data/docs/NgrokAPI/Models/EventSourceList.html +3 -3
  151. data/docs/NgrokAPI/Models/EventSourceReplace.html +3 -3
  152. data/docs/NgrokAPI/Models/EventStream.html +3 -3
  153. data/docs/NgrokAPI/Models/EventSubscription.html +3 -3
  154. data/docs/NgrokAPI/Models/EventTarget.html +3 -3
  155. data/docs/NgrokAPI/Models/EventTargetCloudwatchLogs.html +3 -3
  156. data/docs/NgrokAPI/Models/EventTargetFirehose.html +3 -3
  157. data/docs/NgrokAPI/Models/EventTargetKinesis.html +3 -3
  158. data/docs/NgrokAPI/Models/IPPolicy.html +3 -3
  159. data/docs/NgrokAPI/Models/IPPolicyRule.html +3 -3
  160. data/docs/NgrokAPI/Models/IPRestriction.html +3 -3
  161. data/docs/NgrokAPI/Models/Listable.html +3 -3
  162. data/docs/NgrokAPI/Models/Ref.html +3 -3
  163. data/docs/NgrokAPI/Models/ReservedAddr.html +3 -3
  164. data/docs/NgrokAPI/Models/ReservedDomain.html +3 -3
  165. data/docs/NgrokAPI/Models/ReservedDomainCertJob.html +3 -3
  166. data/docs/NgrokAPI/Models/ReservedDomainCertPolicy.html +3 -3
  167. data/docs/NgrokAPI/Models/ReservedDomainCertStatus.html +3 -3
  168. data/docs/NgrokAPI/Models/SSHCertificateAuthority.html +3 -3
  169. data/docs/NgrokAPI/Models/SSHCredential.html +3 -3
  170. data/docs/NgrokAPI/Models/SSHHostCertificate.html +3 -3
  171. data/docs/NgrokAPI/Models/SSHUserCertificate.html +3 -3
  172. data/docs/NgrokAPI/Models/TLSCertificate.html +3 -3
  173. data/docs/NgrokAPI/Models/TLSCertificateSANs.html +3 -3
  174. data/docs/NgrokAPI/Models/Tunnel.html +3 -3
  175. data/docs/NgrokAPI/Models/TunnelSession.html +3 -3
  176. data/docs/NgrokAPI/Models.html +5 -5
  177. data/docs/NgrokAPI/PagedIterator.html +3 -3
  178. data/docs/NgrokAPI/Services/APIKeysClient.html +99 -149
  179. data/docs/NgrokAPI/Services/AbuseReportsClient.html +19 -33
  180. data/docs/NgrokAPI/Services/{IPWhitelistClient.html → AgentIngressesClient.html} +209 -265
  181. data/docs/NgrokAPI/Services/CertificateAuthoritiesClient.html +104 -156
  182. data/docs/NgrokAPI/Services/CredentialsClient.html +108 -164
  183. data/docs/NgrokAPI/Services/EndpointCircuitBreakerModuleClient.html +49 -77
  184. data/docs/NgrokAPI/Services/EndpointCompressionModuleClient.html +49 -77
  185. data/docs/NgrokAPI/Services/EndpointConfigurationsClient.html +137 -273
  186. data/docs/NgrokAPI/Services/EndpointIPPolicyModuleClient.html +49 -77
  187. data/docs/NgrokAPI/Services/EndpointLoggingModuleClient.html +49 -77
  188. data/docs/NgrokAPI/Services/EndpointMutualTLSModuleClient.html +49 -77
  189. data/docs/NgrokAPI/Services/EndpointOAuthModuleClient.html +49 -77
  190. data/docs/NgrokAPI/Services/EndpointOIDCModuleClient.html +49 -77
  191. data/docs/NgrokAPI/Services/EndpointRequestHeadersModuleClient.html +49 -77
  192. data/docs/NgrokAPI/Services/EndpointResponseHeadersModuleClient.html +49 -77
  193. data/docs/NgrokAPI/Services/EndpointSAMLModuleClient.html +49 -77
  194. data/docs/NgrokAPI/Services/EndpointTLSTerminationModuleClient.html +49 -77
  195. data/docs/NgrokAPI/Services/EndpointWebhookValidationModuleClient.html +49 -77
  196. data/docs/NgrokAPI/Services/EventDestinationsClient.html +116 -184
  197. data/docs/NgrokAPI/Services/EventSourcesClient.html +95 -157
  198. data/docs/NgrokAPI/Services/EventStreamsClient.html +119 -189
  199. data/docs/NgrokAPI/Services/EventSubscriptionsClient.html +113 -175
  200. data/docs/NgrokAPI/Services/IPPoliciesClient.html +104 -156
  201. data/docs/NgrokAPI/Services/IPPolicyRulesClient.html +111 -169
  202. data/docs/NgrokAPI/Services/IPRestrictionsClient.html +116 -180
  203. data/docs/NgrokAPI/Services/ReservedAddrsClient.html +132 -198
  204. data/docs/NgrokAPI/Services/ReservedDomainsClient.html +193 -303
  205. data/docs/NgrokAPI/Services/SSHCertificateAuthoritiesClient.html +110 -166
  206. data/docs/NgrokAPI/Services/SSHCredentialsClient.html +111 -169
  207. data/docs/NgrokAPI/Services/SSHHostCertificatesClient.html +111 -171
  208. data/docs/NgrokAPI/Services/SSHUserCertificatesClient.html +111 -175
  209. data/docs/NgrokAPI/Services/TLSCertificatesClient.html +107 -161
  210. data/docs/NgrokAPI/Services/TunnelSessionsClient.html +87 -135
  211. data/docs/NgrokAPI/Services/TunnelsClient.html +13 -25
  212. data/docs/NgrokAPI/Services.html +5 -5
  213. data/docs/NgrokAPI.html +4 -4
  214. data/docs/_index.html +18 -18
  215. data/docs/class_list.html +1 -1
  216. data/docs/file.README.html +3 -3
  217. data/docs/frames.html +1 -1
  218. data/docs/index.html +3 -3
  219. data/docs/method_list.html +574 -558
  220. data/docs/top-level-namespace.html +3 -3
  221. data/lib/ngrokapi/client.rb +5 -13
  222. data/lib/ngrokapi/http_client.rb +1 -4
  223. data/lib/ngrokapi/models/{ip_whitelist_entry.rb → agent_ingress.rb} +13 -9
  224. data/lib/ngrokapi/services/abuse_reports_client.rb +3 -10
  225. data/lib/ngrokapi/services/{ip_whitelist_client.rb → agent_ingresses_client.rb} +65 -94
  226. data/lib/ngrokapi/services/api_keys_client.rb +11 -36
  227. data/lib/ngrokapi/services/certificate_authorities_client.rb +11 -37
  228. data/lib/ngrokapi/services/credentials_client.rb +11 -39
  229. data/lib/ngrokapi/services/endpoint_circuit_breaker_module_client.rb +6 -20
  230. data/lib/ngrokapi/services/endpoint_compression_module_client.rb +6 -20
  231. data/lib/ngrokapi/services/endpoint_configurations_client.rb +11 -79
  232. data/lib/ngrokapi/services/endpoint_ip_policy_module_client.rb +6 -20
  233. data/lib/ngrokapi/services/endpoint_logging_module_client.rb +6 -20
  234. data/lib/ngrokapi/services/endpoint_mutual_tls_module_client.rb +6 -20
  235. data/lib/ngrokapi/services/endpoint_o_auth_module_client.rb +6 -20
  236. data/lib/ngrokapi/services/endpoint_oidc_module_client.rb +6 -20
  237. data/lib/ngrokapi/services/endpoint_request_headers_module_client.rb +6 -20
  238. data/lib/ngrokapi/services/endpoint_response_headers_module_client.rb +6 -20
  239. data/lib/ngrokapi/services/endpoint_saml_module_client.rb +6 -20
  240. data/lib/ngrokapi/services/endpoint_tls_termination_module_client.rb +6 -20
  241. data/lib/ngrokapi/services/endpoint_webhook_validation_module_client.rb +6 -20
  242. data/lib/ngrokapi/services/event_destinations_client.rb +11 -45
  243. data/lib/ngrokapi/services/event_sources_client.rb +9 -40
  244. data/lib/ngrokapi/services/event_streams_client.rb +11 -46
  245. data/lib/ngrokapi/services/event_subscriptions_client.rb +11 -42
  246. data/lib/ngrokapi/services/ip_policies_client.rb +11 -37
  247. data/lib/ngrokapi/services/ip_policy_rules_client.rb +11 -40
  248. data/lib/ngrokapi/services/ip_restrictions_client.rb +11 -43
  249. data/lib/ngrokapi/services/reserved_addrs_client.rb +13 -46
  250. data/lib/ngrokapi/services/reserved_domains_client.rb +19 -74
  251. data/lib/ngrokapi/services/ssh_certificate_authorities_client.rb +11 -39
  252. data/lib/ngrokapi/services/ssh_credentials_client.rb +11 -40
  253. data/lib/ngrokapi/services/ssh_host_certificates_client.rb +11 -41
  254. data/lib/ngrokapi/services/ssh_user_certificates_client.rb +11 -43
  255. data/lib/ngrokapi/services/tls_certificates_client.rb +11 -38
  256. data/lib/ngrokapi/services/tunnel_sessions_client.rb +12 -36
  257. data/lib/ngrokapi/services/tunnels_client.rb +4 -10
  258. data/lib/ngrokapi/version.rb +1 -1
  259. data/lib/ngrokapi.rb +1 -1
  260. data/ngrok-api.gemspec +1 -1
  261. data/spec/ngrokapi/client_spec.rb +6 -6
  262. data/spec/ngrokapi/models/agent_ingress_spec.rb +42 -0
  263. data/spec/ngrokapi/services/{ip_whitelist_client_spec.rb → agent_ingresses_client_spec.rb} +49 -49
  264. data/spec/spec_helper.rb +1096 -1045
  265. metadata +10 -10
  266. data/spec/ngrokapi/models/ip_whitelist_entry_spec.rb +0 -42
@@ -29,14 +29,7 @@ module NgrokAPI
29
29
  # @return [NgrokAPI::Models::EventStream] result from the API request
30
30
  #
31
31
  # https://ngrok.com/docs/api#api-event-streams-create
32
- def create(
33
- metadata: "",
34
- description: "",
35
- fields: [],
36
- event_type: "",
37
- destination_ids: [],
38
- sampling_rate: 0
39
- )
32
+ def create(metadata: "", description: "", fields: [], event_type: "", destination_ids: [], sampling_rate: 0)
40
33
  path = '/event_streams'
41
34
  replacements = {
42
35
  }
@@ -58,9 +51,7 @@ module NgrokAPI
58
51
  # @return [NgrokAPI::Models::Empty] result from the API request
59
52
  #
60
53
  # https://ngrok.com/docs/api#api-event-streams-delete
61
- def delete(
62
- id: ""
63
- )
54
+ def delete(id: "")
64
55
  path = '/event_streams/%{id}'
65
56
  replacements = {
66
57
  id: id,
@@ -76,9 +67,7 @@ module NgrokAPI
76
67
  # @return [NgrokAPI::Models::Empty] result from the API request
77
68
  #
78
69
  # https://ngrok.com/docs/api#api-event-streams-delete
79
- def delete!(
80
- id: ""
81
- )
70
+ def delete!(id: "")
82
71
  path = '/event_streams/%{id}'
83
72
  replacements = {
84
73
  id: id,
@@ -93,9 +82,7 @@ module NgrokAPI
93
82
  # @return [NgrokAPI::Models::EventStream] result from the API request
94
83
  #
95
84
  # https://ngrok.com/docs/api#api-event-streams-get
96
- def get(
97
- id: ""
98
- )
85
+ def get(id: "")
99
86
  path = '/event_streams/%{id}'
100
87
  replacements = {
101
88
  id: id,
@@ -113,9 +100,7 @@ module NgrokAPI
113
100
  # @return [NgrokAPI::Models::EventStream] result from the API request
114
101
  #
115
102
  # https://ngrok.com/docs/api#api-event-streams-get
116
- def get!(
117
- id: ""
118
- )
103
+ def get!(id: "")
119
104
  path = '/event_streams/%{id}'
120
105
  replacements = {
121
106
  id: id,
@@ -134,11 +119,8 @@ module NgrokAPI
134
119
  # @return [NgrokAPI::Models::Listable] result from the API request
135
120
  #
136
121
  # https://ngrok.com/docs/api#api-event-streams-list
137
- def list(
138
- before_id: nil,
139
- limit: nil,
140
- url: nil
141
- )
122
+ def list(before_id: nil, limit: nil,
123
+ url: nil)
142
124
  result = @client.list(
143
125
  before_id: before_id,
144
126
  limit: limit,
@@ -164,11 +146,8 @@ module NgrokAPI
164
146
  # @return [NgrokAPI::Models::Listable] result from the API request
165
147
  #
166
148
  # https://ngrok.com/docs/api#api-event-streams-list
167
- def list!(
168
- before_id: nil,
169
- limit: nil,
170
- url: nil
171
- )
149
+ def list!(before_id: nil, limit: nil,
150
+ url: nil)
172
151
  result = @client.list(
173
152
  before_id: before_id,
174
153
  limit: limit,
@@ -198,14 +177,7 @@ module NgrokAPI
198
177
  # @return [NgrokAPI::Models::EventStream] result from the API request
199
178
  #
200
179
  # https://ngrok.com/docs/api#api-event-streams-update
201
- def update(
202
- id: "",
203
- metadata: nil,
204
- description: nil,
205
- fields: nil,
206
- destination_ids: nil,
207
- sampling_rate: nil
208
- )
180
+ def update(id: "", metadata: nil, description: nil, fields: nil, destination_ids: nil, sampling_rate: nil)
209
181
  path = '/event_streams/%{id}'
210
182
  replacements = {
211
183
  id: id,
@@ -233,14 +205,7 @@ module NgrokAPI
233
205
  # @return [NgrokAPI::Models::EventStream] result from the API request
234
206
  #
235
207
  # https://ngrok.com/docs/api#api-event-streams-update
236
- def update!(
237
- id: "",
238
- metadata: nil,
239
- description: nil,
240
- fields: nil,
241
- destination_ids: nil,
242
- sampling_rate: nil
243
- )
208
+ def update!(id: "", metadata: nil, description: nil, fields: nil, destination_ids: nil, sampling_rate: nil)
244
209
  path = '/event_streams/%{id}'
245
210
  replacements = {
246
211
  id: id,
@@ -26,12 +26,7 @@ module NgrokAPI
26
26
  # @return [NgrokAPI::Models::EventSubscription] result from the API request
27
27
  #
28
28
  # https://ngrok.com/docs/api#api-event-subscriptions-create
29
- def create(
30
- metadata: "",
31
- description: "",
32
- sources: [],
33
- destination_ids: []
34
- )
29
+ def create(metadata: "", description: "", sources: [], destination_ids: [])
35
30
  path = '/event_subscriptions'
36
31
  replacements = {
37
32
  }
@@ -51,9 +46,7 @@ module NgrokAPI
51
46
  # @return [NgrokAPI::Models::Empty] result from the API request
52
47
  #
53
48
  # https://ngrok.com/docs/api#api-event-subscriptions-delete
54
- def delete(
55
- id: ""
56
- )
49
+ def delete(id: "")
57
50
  path = '/event_subscriptions/%{id}'
58
51
  replacements = {
59
52
  id: id,
@@ -69,9 +62,7 @@ module NgrokAPI
69
62
  # @return [NgrokAPI::Models::Empty] result from the API request
70
63
  #
71
64
  # https://ngrok.com/docs/api#api-event-subscriptions-delete
72
- def delete!(
73
- id: ""
74
- )
65
+ def delete!(id: "")
75
66
  path = '/event_subscriptions/%{id}'
76
67
  replacements = {
77
68
  id: id,
@@ -86,9 +77,7 @@ module NgrokAPI
86
77
  # @return [NgrokAPI::Models::EventSubscription] result from the API request
87
78
  #
88
79
  # https://ngrok.com/docs/api#api-event-subscriptions-get
89
- def get(
90
- id: ""
91
- )
80
+ def get(id: "")
92
81
  path = '/event_subscriptions/%{id}'
93
82
  replacements = {
94
83
  id: id,
@@ -106,9 +95,7 @@ module NgrokAPI
106
95
  # @return [NgrokAPI::Models::EventSubscription] result from the API request
107
96
  #
108
97
  # https://ngrok.com/docs/api#api-event-subscriptions-get
109
- def get!(
110
- id: ""
111
- )
98
+ def get!(id: "")
112
99
  path = '/event_subscriptions/%{id}'
113
100
  replacements = {
114
101
  id: id,
@@ -127,11 +114,8 @@ module NgrokAPI
127
114
  # @return [NgrokAPI::Models::Listable] result from the API request
128
115
  #
129
116
  # https://ngrok.com/docs/api#api-event-subscriptions-list
130
- def list(
131
- before_id: nil,
132
- limit: nil,
133
- url: nil
134
- )
117
+ def list(before_id: nil, limit: nil,
118
+ url: nil)
135
119
  result = @client.list(
136
120
  before_id: before_id,
137
121
  limit: limit,
@@ -157,11 +141,8 @@ module NgrokAPI
157
141
  # @return [NgrokAPI::Models::Listable] result from the API request
158
142
  #
159
143
  # https://ngrok.com/docs/api#api-event-subscriptions-list
160
- def list!(
161
- before_id: nil,
162
- limit: nil,
163
- url: nil
164
- )
144
+ def list!(before_id: nil, limit: nil,
145
+ url: nil)
165
146
  result = @client.list(
166
147
  before_id: before_id,
167
148
  limit: limit,
@@ -190,13 +171,7 @@ module NgrokAPI
190
171
  # @return [NgrokAPI::Models::EventSubscription] result from the API request
191
172
  #
192
173
  # https://ngrok.com/docs/api#api-event-subscriptions-update
193
- def update(
194
- id: "",
195
- metadata: nil,
196
- description: nil,
197
- sources: nil,
198
- destination_ids: nil
199
- )
174
+ def update(id: "", metadata: nil, description: nil, sources: nil, destination_ids: nil)
200
175
  path = '/event_subscriptions/%{id}'
201
176
  replacements = {
202
177
  id: id,
@@ -222,13 +197,7 @@ module NgrokAPI
222
197
  # @return [NgrokAPI::Models::EventSubscription] result from the API request
223
198
  #
224
199
  # https://ngrok.com/docs/api#api-event-subscriptions-update
225
- def update!(
226
- id: "",
227
- metadata: nil,
228
- description: nil,
229
- sources: nil,
230
- destination_ids: nil
231
- )
200
+ def update!(id: "", metadata: nil, description: nil, sources: nil, destination_ids: nil)
232
201
  path = '/event_subscriptions/%{id}'
233
202
  replacements = {
234
203
  id: id,
@@ -31,11 +31,7 @@ module NgrokAPI
31
31
  # @return [NgrokAPI::Models::IPPolicy] result from the API request
32
32
  #
33
33
  # https://ngrok.com/docs/api#api-ip-policies-create
34
- def create(
35
- description: "",
36
- metadata: "",
37
- action:
38
- )
34
+ def create(description: "", metadata: "", action:)
39
35
  path = '/ip_policies'
40
36
  replacements = {
41
37
  }
@@ -56,9 +52,7 @@ module NgrokAPI
56
52
  # @return [NgrokAPI::Models::Empty] result from the API request
57
53
  #
58
54
  # https://ngrok.com/docs/api#api-ip-policies-delete
59
- def delete(
60
- id: ""
61
- )
55
+ def delete(id: "")
62
56
  path = '/ip_policies/%{id}'
63
57
  replacements = {
64
58
  id: id,
@@ -76,9 +70,7 @@ module NgrokAPI
76
70
  # @return [NgrokAPI::Models::Empty] result from the API request
77
71
  #
78
72
  # https://ngrok.com/docs/api#api-ip-policies-delete
79
- def delete!(
80
- id: ""
81
- )
73
+ def delete!(id: "")
82
74
  path = '/ip_policies/%{id}'
83
75
  replacements = {
84
76
  id: id,
@@ -93,9 +85,7 @@ module NgrokAPI
93
85
  # @return [NgrokAPI::Models::IPPolicy] result from the API request
94
86
  #
95
87
  # https://ngrok.com/docs/api#api-ip-policies-get
96
- def get(
97
- id: ""
98
- )
88
+ def get(id: "")
99
89
  path = '/ip_policies/%{id}'
100
90
  replacements = {
101
91
  id: id,
@@ -113,9 +103,7 @@ module NgrokAPI
113
103
  # @return [NgrokAPI::Models::IPPolicy] result from the API request
114
104
  #
115
105
  # https://ngrok.com/docs/api#api-ip-policies-get
116
- def get!(
117
- id: ""
118
- )
106
+ def get!(id: "")
119
107
  path = '/ip_policies/%{id}'
120
108
  replacements = {
121
109
  id: id,
@@ -134,11 +122,8 @@ module NgrokAPI
134
122
  # @return [NgrokAPI::Models::Listable] result from the API request
135
123
  #
136
124
  # https://ngrok.com/docs/api#api-ip-policies-list
137
- def list(
138
- before_id: nil,
139
- limit: nil,
140
- url: nil
141
- )
125
+ def list(before_id: nil, limit: nil,
126
+ url: nil)
142
127
  result = @client.list(
143
128
  before_id: before_id,
144
129
  limit: limit,
@@ -164,11 +149,8 @@ module NgrokAPI
164
149
  # @return [NgrokAPI::Models::Listable] result from the API request
165
150
  #
166
151
  # https://ngrok.com/docs/api#api-ip-policies-list
167
- def list!(
168
- before_id: nil,
169
- limit: nil,
170
- url: nil
171
- )
152
+ def list!(before_id: nil, limit: nil,
153
+ url: nil)
172
154
  result = @client.list(
173
155
  before_id: before_id,
174
156
  limit: limit,
@@ -195,11 +177,7 @@ module NgrokAPI
195
177
  # @return [NgrokAPI::Models::IPPolicy] result from the API request
196
178
  #
197
179
  # https://ngrok.com/docs/api#api-ip-policies-update
198
- def update(
199
- id: "",
200
- description: nil,
201
- metadata: nil
202
- )
180
+ def update(id: "", description: nil, metadata: nil)
203
181
  path = '/ip_policies/%{id}'
204
182
  replacements = {
205
183
  id: id,
@@ -221,11 +199,7 @@ module NgrokAPI
221
199
  # @return [NgrokAPI::Models::IPPolicy] result from the API request
222
200
  #
223
201
  # https://ngrok.com/docs/api#api-ip-policies-update
224
- def update!(
225
- id: "",
226
- description: nil,
227
- metadata: nil
228
- )
202
+ def update!(id: "", description: nil, metadata: nil)
229
203
  path = '/ip_policies/%{id}'
230
204
  replacements = {
231
205
  id: id,
@@ -29,12 +29,7 @@ module NgrokAPI
29
29
  # @return [NgrokAPI::Models::IPPolicyRule] result from the API request
30
30
  #
31
31
  # https://ngrok.com/docs/api#api-ip-policy-rules-create
32
- def create(
33
- description: "",
34
- metadata: "",
35
- cidr:,
36
- ip_policy_id:
37
- )
32
+ def create(description: "", metadata: "", cidr:, ip_policy_id:)
38
33
  path = '/ip_policy_rules'
39
34
  replacements = {
40
35
  }
@@ -54,9 +49,7 @@ module NgrokAPI
54
49
  # @return [NgrokAPI::Models::Empty] result from the API request
55
50
  #
56
51
  # https://ngrok.com/docs/api#api-ip-policy-rules-delete
57
- def delete(
58
- id: ""
59
- )
52
+ def delete(id: "")
60
53
  path = '/ip_policy_rules/%{id}'
61
54
  replacements = {
62
55
  id: id,
@@ -72,9 +65,7 @@ module NgrokAPI
72
65
  # @return [NgrokAPI::Models::Empty] result from the API request
73
66
  #
74
67
  # https://ngrok.com/docs/api#api-ip-policy-rules-delete
75
- def delete!(
76
- id: ""
77
- )
68
+ def delete!(id: "")
78
69
  path = '/ip_policy_rules/%{id}'
79
70
  replacements = {
80
71
  id: id,
@@ -89,9 +80,7 @@ module NgrokAPI
89
80
  # @return [NgrokAPI::Models::IPPolicyRule] result from the API request
90
81
  #
91
82
  # https://ngrok.com/docs/api#api-ip-policy-rules-get
92
- def get(
93
- id: ""
94
- )
83
+ def get(id: "")
95
84
  path = '/ip_policy_rules/%{id}'
96
85
  replacements = {
97
86
  id: id,
@@ -109,9 +98,7 @@ module NgrokAPI
109
98
  # @return [NgrokAPI::Models::IPPolicyRule] result from the API request
110
99
  #
111
100
  # https://ngrok.com/docs/api#api-ip-policy-rules-get
112
- def get!(
113
- id: ""
114
- )
101
+ def get!(id: "")
115
102
  path = '/ip_policy_rules/%{id}'
116
103
  replacements = {
117
104
  id: id,
@@ -130,11 +117,8 @@ module NgrokAPI
130
117
  # @return [NgrokAPI::Models::Listable] result from the API request
131
118
  #
132
119
  # https://ngrok.com/docs/api#api-ip-policy-rules-list
133
- def list(
134
- before_id: nil,
135
- limit: nil,
136
- url: nil
137
- )
120
+ def list(before_id: nil, limit: nil,
121
+ url: nil)
138
122
  result = @client.list(
139
123
  before_id: before_id,
140
124
  limit: limit,
@@ -160,11 +144,8 @@ module NgrokAPI
160
144
  # @return [NgrokAPI::Models::Listable] result from the API request
161
145
  #
162
146
  # https://ngrok.com/docs/api#api-ip-policy-rules-list
163
- def list!(
164
- before_id: nil,
165
- limit: nil,
166
- url: nil
167
- )
147
+ def list!(before_id: nil, limit: nil,
148
+ url: nil)
168
149
  result = @client.list(
169
150
  before_id: before_id,
170
151
  limit: limit,
@@ -192,12 +173,7 @@ module NgrokAPI
192
173
  # @return [NgrokAPI::Models::IPPolicyRule] result from the API request
193
174
  #
194
175
  # https://ngrok.com/docs/api#api-ip-policy-rules-update
195
- def update(
196
- id: "",
197
- description: nil,
198
- metadata: nil,
199
- cidr: nil
200
- )
176
+ def update(id: "", description: nil, metadata: nil, cidr: nil)
201
177
  path = '/ip_policy_rules/%{id}'
202
178
  replacements = {
203
179
  id: id,
@@ -221,12 +197,7 @@ module NgrokAPI
221
197
  # @return [NgrokAPI::Models::IPPolicyRule] result from the API request
222
198
  #
223
199
  # https://ngrok.com/docs/api#api-ip-policy-rules-update
224
- def update!(
225
- id: "",
226
- description: nil,
227
- metadata: nil,
228
- cidr: nil
229
- )
200
+ def update!(id: "", description: nil, metadata: nil, cidr: nil)
230
201
  path = '/ip_policy_rules/%{id}'
231
202
  replacements = {
232
203
  id: id,
@@ -34,13 +34,7 @@ module NgrokAPI
34
34
  # @return [NgrokAPI::Models::IPRestriction] result from the API request
35
35
  #
36
36
  # https://ngrok.com/docs/api#api-ip-restrictions-create
37
- def create(
38
- description: "",
39
- metadata: "",
40
- enforced: False,
41
- type:,
42
- ip_policy_ids:
43
- )
37
+ def create(description: "", metadata: "", enforced: False, type:, ip_policy_ids:)
44
38
  path = '/ip_restrictions'
45
39
  replacements = {
46
40
  }
@@ -61,9 +55,7 @@ module NgrokAPI
61
55
  # @return [NgrokAPI::Models::Empty] result from the API request
62
56
  #
63
57
  # https://ngrok.com/docs/api#api-ip-restrictions-delete
64
- def delete(
65
- id: ""
66
- )
58
+ def delete(id: "")
67
59
  path = '/ip_restrictions/%{id}'
68
60
  replacements = {
69
61
  id: id,
@@ -79,9 +71,7 @@ module NgrokAPI
79
71
  # @return [NgrokAPI::Models::Empty] result from the API request
80
72
  #
81
73
  # https://ngrok.com/docs/api#api-ip-restrictions-delete
82
- def delete!(
83
- id: ""
84
- )
74
+ def delete!(id: "")
85
75
  path = '/ip_restrictions/%{id}'
86
76
  replacements = {
87
77
  id: id,
@@ -96,9 +86,7 @@ module NgrokAPI
96
86
  # @return [NgrokAPI::Models::IPRestriction] result from the API request
97
87
  #
98
88
  # https://ngrok.com/docs/api#api-ip-restrictions-get
99
- def get(
100
- id: ""
101
- )
89
+ def get(id: "")
102
90
  path = '/ip_restrictions/%{id}'
103
91
  replacements = {
104
92
  id: id,
@@ -116,9 +104,7 @@ module NgrokAPI
116
104
  # @return [NgrokAPI::Models::IPRestriction] result from the API request
117
105
  #
118
106
  # https://ngrok.com/docs/api#api-ip-restrictions-get
119
- def get!(
120
- id: ""
121
- )
107
+ def get!(id: "")
122
108
  path = '/ip_restrictions/%{id}'
123
109
  replacements = {
124
110
  id: id,
@@ -137,11 +123,8 @@ module NgrokAPI
137
123
  # @return [NgrokAPI::Models::Listable] result from the API request
138
124
  #
139
125
  # https://ngrok.com/docs/api#api-ip-restrictions-list
140
- def list(
141
- before_id: nil,
142
- limit: nil,
143
- url: nil
144
- )
126
+ def list(before_id: nil, limit: nil,
127
+ url: nil)
145
128
  result = @client.list(
146
129
  before_id: before_id,
147
130
  limit: limit,
@@ -167,11 +150,8 @@ module NgrokAPI
167
150
  # @return [NgrokAPI::Models::Listable] result from the API request
168
151
  #
169
152
  # https://ngrok.com/docs/api#api-ip-restrictions-list
170
- def list!(
171
- before_id: nil,
172
- limit: nil,
173
- url: nil
174
- )
153
+ def list!(before_id: nil, limit: nil,
154
+ url: nil)
175
155
  result = @client.list(
176
156
  before_id: before_id,
177
157
  limit: limit,
@@ -200,13 +180,7 @@ module NgrokAPI
200
180
  # @return [NgrokAPI::Models::IPRestriction] result from the API request
201
181
  #
202
182
  # https://ngrok.com/docs/api#api-ip-restrictions-update
203
- def update(
204
- id: "",
205
- description: nil,
206
- metadata: nil,
207
- enforced: nil,
208
- ip_policy_ids: []
209
- )
183
+ def update(id: "", description: nil, metadata: nil, enforced: nil, ip_policy_ids: [])
210
184
  path = '/ip_restrictions/%{id}'
211
185
  replacements = {
212
186
  id: id,
@@ -232,13 +206,7 @@ module NgrokAPI
232
206
  # @return [NgrokAPI::Models::IPRestriction] result from the API request
233
207
  #
234
208
  # https://ngrok.com/docs/api#api-ip-restrictions-update
235
- def update!(
236
- id: "",
237
- description: nil,
238
- metadata: nil,
239
- enforced: nil,
240
- ip_policy_ids: []
241
- )
209
+ def update!(id: "", description: nil, metadata: nil, enforced: nil, ip_policy_ids: [])
242
210
  path = '/ip_restrictions/%{id}'
243
211
  replacements = {
244
212
  id: id,
@@ -30,12 +30,7 @@ module NgrokAPI
30
30
  # @return [NgrokAPI::Models::ReservedAddr] result from the API request
31
31
  #
32
32
  # https://ngrok.com/docs/api#api-reserved-addrs-create
33
- def create(
34
- description: "",
35
- metadata: "",
36
- region: "",
37
- endpoint_configuration_id: ""
38
- )
33
+ def create(description: "", metadata: "", region: "", endpoint_configuration_id: nil)
39
34
  path = '/reserved_addrs'
40
35
  replacements = {
41
36
  }
@@ -55,9 +50,7 @@ module NgrokAPI
55
50
  # @return [NgrokAPI::Models::Empty] result from the API request
56
51
  #
57
52
  # https://ngrok.com/docs/api#api-reserved-addrs-delete
58
- def delete(
59
- id: ""
60
- )
53
+ def delete(id: "")
61
54
  path = '/reserved_addrs/%{id}'
62
55
  replacements = {
63
56
  id: id,
@@ -73,9 +66,7 @@ module NgrokAPI
73
66
  # @return [NgrokAPI::Models::Empty] result from the API request
74
67
  #
75
68
  # https://ngrok.com/docs/api#api-reserved-addrs-delete
76
- def delete!(
77
- id: ""
78
- )
69
+ def delete!(id: "")
79
70
  path = '/reserved_addrs/%{id}'
80
71
  replacements = {
81
72
  id: id,
@@ -90,9 +81,7 @@ module NgrokAPI
90
81
  # @return [NgrokAPI::Models::ReservedAddr] result from the API request
91
82
  #
92
83
  # https://ngrok.com/docs/api#api-reserved-addrs-get
93
- def get(
94
- id: ""
95
- )
84
+ def get(id: "")
96
85
  path = '/reserved_addrs/%{id}'
97
86
  replacements = {
98
87
  id: id,
@@ -110,9 +99,7 @@ module NgrokAPI
110
99
  # @return [NgrokAPI::Models::ReservedAddr] result from the API request
111
100
  #
112
101
  # https://ngrok.com/docs/api#api-reserved-addrs-get
113
- def get!(
114
- id: ""
115
- )
102
+ def get!(id: "")
116
103
  path = '/reserved_addrs/%{id}'
117
104
  replacements = {
118
105
  id: id,
@@ -131,11 +118,8 @@ module NgrokAPI
131
118
  # @return [NgrokAPI::Models::Listable] result from the API request
132
119
  #
133
120
  # https://ngrok.com/docs/api#api-reserved-addrs-list
134
- def list(
135
- before_id: nil,
136
- limit: nil,
137
- url: nil
138
- )
121
+ def list(before_id: nil, limit: nil,
122
+ url: nil)
139
123
  result = @client.list(
140
124
  before_id: before_id,
141
125
  limit: limit,
@@ -161,11 +145,8 @@ module NgrokAPI
161
145
  # @return [NgrokAPI::Models::Listable] result from the API request
162
146
  #
163
147
  # https://ngrok.com/docs/api#api-reserved-addrs-list
164
- def list!(
165
- before_id: nil,
166
- limit: nil,
167
- url: nil
168
- )
148
+ def list!(before_id: nil, limit: nil,
149
+ url: nil)
169
150
  result = @client.list(
170
151
  before_id: before_id,
171
152
  limit: limit,
@@ -193,12 +174,7 @@ module NgrokAPI
193
174
  # @return [NgrokAPI::Models::ReservedAddr] result from the API request
194
175
  #
195
176
  # https://ngrok.com/docs/api#api-reserved-addrs-update
196
- def update(
197
- id: "",
198
- description: nil,
199
- metadata: nil,
200
- endpoint_configuration_id: nil
201
- )
177
+ def update(id: "", description: nil, metadata: nil, endpoint_configuration_id: nil)
202
178
  path = '/reserved_addrs/%{id}'
203
179
  replacements = {
204
180
  id: id,
@@ -222,12 +198,7 @@ module NgrokAPI
222
198
  # @return [NgrokAPI::Models::ReservedAddr] result from the API request
223
199
  #
224
200
  # https://ngrok.com/docs/api#api-reserved-addrs-update
225
- def update!(
226
- id: "",
227
- description: nil,
228
- metadata: nil,
229
- endpoint_configuration_id: nil
230
- )
201
+ def update!(id: "", description: nil, metadata: nil, endpoint_configuration_id: nil)
231
202
  path = '/reserved_addrs/%{id}'
232
203
  replacements = {
233
204
  id: id,
@@ -247,9 +218,7 @@ module NgrokAPI
247
218
  # @return [NgrokAPI::Models::Empty] result from the API request
248
219
  #
249
220
  # https://ngrok.com/docs/api#api-reserved-addrs-delete-endpoint-config
250
- def delete_endpoint_config(
251
- id: ""
252
- )
221
+ def delete_endpoint_config(id: "")
253
222
  path = '/reserved_addrs/%{id}/endpoint_configuration'
254
223
  replacements = {
255
224
  id: id,
@@ -265,9 +234,7 @@ module NgrokAPI
265
234
  # @return [NgrokAPI::Models::Empty] result from the API request
266
235
  #
267
236
  # https://ngrok.com/docs/api#api-reserved-addrs-delete-endpoint-config
268
- def delete_endpoint_config!(
269
- id: ""
270
- )
237
+ def delete_endpoint_config!(id: "")
271
238
  path = '/reserved_addrs/%{id}/endpoint_configuration'
272
239
  replacements = {
273
240
  id: id,