ngrok-api 0.18.0 → 0.19.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (499) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +28 -1
  3. data/doc/NgrokAPI/Client.html +1 -1
  4. data/doc/NgrokAPI/Error.html +1 -1
  5. data/doc/NgrokAPI/Errors/NotFoundError.html +1 -1
  6. data/doc/NgrokAPI/Errors.html +1 -1
  7. data/doc/NgrokAPI/HttpClient.html +146 -3
  8. data/doc/NgrokAPI/Models/APIKey.html +119 -67
  9. data/doc/NgrokAPI/Models/AWSAuth.html +82 -30
  10. data/doc/NgrokAPI/Models/AWSCredentials.html +89 -37
  11. data/doc/NgrokAPI/Models/AWSRole.html +74 -22
  12. data/doc/NgrokAPI/Models/AbuseReport.html +108 -56
  13. data/doc/NgrokAPI/Models/AbuseReportHostname.html +82 -30
  14. data/doc/NgrokAPI/Models/AgentIngress.html +141 -89
  15. data/doc/NgrokAPI/Models/CertificateAuthority.html +148 -96
  16. data/doc/NgrokAPI/Models/Credential.html +120 -68
  17. data/doc/NgrokAPI/Models/Endpoint.html +138 -86
  18. data/doc/NgrokAPI/Models/EndpointBackend.html +89 -37
  19. data/doc/NgrokAPI/Models/EndpointBackendMutate.html +89 -37
  20. data/doc/NgrokAPI/Models/EndpointCircuitBreaker.html +100 -48
  21. data/doc/NgrokAPI/Models/EndpointCompression.html +81 -29
  22. data/doc/NgrokAPI/Models/EndpointIPPolicy.html +89 -37
  23. data/doc/NgrokAPI/Models/EndpointIPPolicyMutate.html +89 -37
  24. data/doc/NgrokAPI/Models/EndpointMutualTLS.html +89 -37
  25. data/doc/NgrokAPI/Models/EndpointMutualTLSMutate.html +89 -37
  26. data/doc/NgrokAPI/Models/EndpointOAuth.html +123 -71
  27. data/doc/NgrokAPI/Models/EndpointOAuthFacebook.html +106 -54
  28. data/doc/NgrokAPI/Models/EndpointOAuthGitHub.html +115 -63
  29. data/doc/NgrokAPI/Models/EndpointOAuthGoogle.html +106 -54
  30. data/doc/NgrokAPI/Models/EndpointOAuthMicrosoft.html +106 -54
  31. data/doc/NgrokAPI/Models/EndpointOAuthProvider.html +105 -53
  32. data/doc/NgrokAPI/Models/EndpointOIDC.html +132 -80
  33. data/doc/NgrokAPI/Models/EndpointRequestHeaders.html +90 -38
  34. data/doc/NgrokAPI/Models/EndpointResponseHeaders.html +90 -38
  35. data/doc/NgrokAPI/Models/EndpointSAML.html +147 -95
  36. data/doc/NgrokAPI/Models/EndpointSAMLMutate.html +132 -80
  37. data/doc/NgrokAPI/Models/EndpointTLSTermination.html +90 -38
  38. data/doc/NgrokAPI/Models/EndpointTLSTerminationAtEdge.html +89 -37
  39. data/doc/NgrokAPI/Models/EndpointWebhookValidation.html +90 -38
  40. data/doc/NgrokAPI/Models/EndpointWebsocketTCPConverter.html +81 -29
  41. data/doc/NgrokAPI/Models/EventDestination.html +121 -69
  42. data/doc/NgrokAPI/Models/EventSource.html +91 -39
  43. data/doc/NgrokAPI/Models/EventSourceList.html +75 -23
  44. data/doc/NgrokAPI/Models/EventSourceReplace.html +90 -38
  45. data/doc/NgrokAPI/Models/EventSubscription.html +121 -69
  46. data/doc/NgrokAPI/Models/EventTarget.html +105 -53
  47. data/doc/NgrokAPI/Models/EventTargetCloudwatchLogs.html +89 -37
  48. data/doc/NgrokAPI/Models/EventTargetFirehose.html +89 -37
  49. data/doc/NgrokAPI/Models/EventTargetKinesis.html +82 -30
  50. data/doc/NgrokAPI/Models/FailoverBackend.html +127 -75
  51. data/doc/NgrokAPI/Models/HTTPResponseBackend.html +135 -83
  52. data/doc/NgrokAPI/Models/HTTPSEdge.html +136 -84
  53. data/doc/NgrokAPI/Models/HTTPSEdgeRoute.html +163 -111
  54. data/doc/NgrokAPI/Models/IPPolicy.html +119 -67
  55. data/doc/NgrokAPI/Models/IPPolicyRule.html +135 -83
  56. data/doc/NgrokAPI/Models/IPRestriction.html +129 -77
  57. data/doc/NgrokAPI/Models/Listable.html +60 -60
  58. data/doc/NgrokAPI/Models/Ref.html +82 -30
  59. data/doc/NgrokAPI/Models/ReservedAddr.html +129 -77
  60. data/doc/NgrokAPI/Models/ReservedDomain.html +150 -98
  61. data/doc/NgrokAPI/Models/ReservedDomainCertJob.html +91 -39
  62. data/doc/NgrokAPI/Models/ReservedDomainCertPolicy.html +89 -37
  63. data/doc/NgrokAPI/Models/ReservedDomainCertStatus.html +89 -37
  64. data/doc/NgrokAPI/Models/SSHCertificateAuthority.html +134 -82
  65. data/doc/NgrokAPI/Models/SSHCredential.html +127 -75
  66. data/doc/NgrokAPI/Models/SSHHostCertificate.html +147 -95
  67. data/doc/NgrokAPI/Models/SSHUserCertificate.html +153 -101
  68. data/doc/NgrokAPI/Models/TCPEdge.html +141 -89
  69. data/doc/NgrokAPI/Models/TLSCertificate.html +164 -112
  70. data/doc/NgrokAPI/Models/TLSCertificateSANs.html +89 -37
  71. data/doc/NgrokAPI/Models/TLSEdge.html +145 -93
  72. data/doc/NgrokAPI/Models/Tunnel.html +136 -84
  73. data/doc/NgrokAPI/Models/TunnelGroupBackend.html +128 -76
  74. data/doc/NgrokAPI/Models/TunnelSession.html +125 -73
  75. data/doc/NgrokAPI/Models/WeightedBackend.html +127 -75
  76. data/doc/NgrokAPI/Models.html +1 -1
  77. data/doc/NgrokAPI/PagedIterator.html +2 -2
  78. data/doc/NgrokAPI/Services/APIKeysClient.html +243 -108
  79. data/doc/NgrokAPI/Services/AbuseReportsClient.html +161 -24
  80. data/doc/NgrokAPI/Services/AgentIngressesClient.html +261 -108
  81. data/doc/NgrokAPI/Services/CertificateAuthoritiesClient.html +261 -108
  82. data/doc/NgrokAPI/Services/CredentialsClient.html +265 -110
  83. data/doc/NgrokAPI/Services/EdgeRouteBackendModuleClient.html +27 -31
  84. data/doc/NgrokAPI/Services/EdgeRouteCircuitBreakerModuleClient.html +27 -31
  85. data/doc/NgrokAPI/Services/EdgeRouteCompressionModuleClient.html +27 -31
  86. data/doc/NgrokAPI/Services/EdgeRouteIPRestrictionModuleClient.html +27 -31
  87. data/doc/NgrokAPI/Services/EdgeRouteOAuthModuleClient.html +27 -31
  88. data/doc/NgrokAPI/Services/EdgeRouteOIDCModuleClient.html +27 -31
  89. data/doc/NgrokAPI/Services/EdgeRouteRequestHeadersModuleClient.html +27 -31
  90. data/doc/NgrokAPI/Services/EdgeRouteResponseHeadersModuleClient.html +27 -31
  91. data/doc/NgrokAPI/Services/EdgeRouteSAMLModuleClient.html +27 -31
  92. data/doc/NgrokAPI/Services/EdgeRouteWebhookVerificationModuleClient.html +27 -31
  93. data/doc/NgrokAPI/Services/EdgeRouteWebsocketTCPConverterModuleClient.html +27 -31
  94. data/doc/NgrokAPI/Services/EdgesHTTPSClient.html +304 -114
  95. data/doc/NgrokAPI/Services/EdgesHTTPSRoutesClient.html +513 -98
  96. data/doc/NgrokAPI/Services/EdgesTCPClient.html +304 -114
  97. data/doc/NgrokAPI/Services/EdgesTLSClient.html +338 -118
  98. data/doc/NgrokAPI/Services/EndpointsClient.html +19 -23
  99. data/doc/NgrokAPI/Services/EventDestinationsClient.html +287 -112
  100. data/doc/NgrokAPI/Services/EventSourcesClient.html +226 -87
  101. data/doc/NgrokAPI/Services/EventSubscriptionsClient.html +287 -112
  102. data/doc/NgrokAPI/Services/FailoverBackendsClient.html +267 -112
  103. data/doc/NgrokAPI/Services/HTTPResponseBackendsClient.html +307 -114
  104. data/doc/NgrokAPI/Services/HTTPSEdgeMutualTLSModuleClient.html +27 -31
  105. data/doc/NgrokAPI/Services/HTTPSEdgeTLSTerminationModuleClient.html +27 -31
  106. data/doc/NgrokAPI/Services/IPPoliciesClient.html +243 -108
  107. data/doc/NgrokAPI/Services/IPPolicyRulesClient.html +301 -110
  108. data/doc/NgrokAPI/Services/IPRestrictionsClient.html +303 -112
  109. data/doc/NgrokAPI/Services/ReservedAddrsClient.html +263 -108
  110. data/doc/NgrokAPI/Services/ReservedDomainsClient.html +357 -144
  111. data/doc/NgrokAPI/Services/SSHCertificateAuthoritiesClient.html +303 -108
  112. data/doc/NgrokAPI/Services/SSHCredentialsClient.html +283 -110
  113. data/doc/NgrokAPI/Services/SSHHostCertificatesClient.html +339 -108
  114. data/doc/NgrokAPI/Services/SSHUserCertificatesClient.html +380 -109
  115. data/doc/NgrokAPI/Services/TCPEdgeBackendModuleClient.html +27 -31
  116. data/doc/NgrokAPI/Services/TCPEdgeIPRestrictionModuleClient.html +27 -31
  117. data/doc/NgrokAPI/Services/TLSCertificatesClient.html +279 -108
  118. data/doc/NgrokAPI/Services/TLSEdgeBackendModuleClient.html +27 -31
  119. data/doc/NgrokAPI/Services/TLSEdgeIPRestrictionModuleClient.html +27 -31
  120. data/doc/NgrokAPI/Services/TLSEdgeMutualTLSModuleClient.html +27 -31
  121. data/doc/NgrokAPI/Services/TLSEdgeTLSTerminationModuleClient.html +27 -31
  122. data/doc/NgrokAPI/Services/TunnelGroupBackendsClient.html +267 -112
  123. data/doc/NgrokAPI/Services/TunnelSessionsClient.html +43 -47
  124. data/doc/NgrokAPI/Services/TunnelsClient.html +19 -23
  125. data/doc/NgrokAPI/Services/WeightedBackendsClient.html +270 -115
  126. data/doc/NgrokAPI/Services.html +1 -1
  127. data/doc/NgrokAPI.html +1 -1
  128. data/doc/_index.html +1 -1
  129. data/doc/file.README.html +54 -54
  130. data/doc/index.html +54 -54
  131. data/doc/method_list.html +1089 -337
  132. data/doc/top-level-namespace.html +1 -1
  133. data/docs/NgrokAPI/Client.html +1 -1
  134. data/docs/NgrokAPI/Error.html +1 -1
  135. data/docs/NgrokAPI/Errors/NotFoundError.html +1 -1
  136. data/docs/NgrokAPI/Errors.html +1 -1
  137. data/docs/NgrokAPI/HttpClient.html +146 -3
  138. data/docs/NgrokAPI/Models/APIKey.html +119 -67
  139. data/docs/NgrokAPI/Models/AWSAuth.html +82 -30
  140. data/docs/NgrokAPI/Models/AWSCredentials.html +89 -37
  141. data/docs/NgrokAPI/Models/AWSRole.html +74 -22
  142. data/docs/NgrokAPI/Models/AbuseReport.html +108 -56
  143. data/docs/NgrokAPI/Models/AbuseReportHostname.html +82 -30
  144. data/docs/NgrokAPI/Models/AgentIngress.html +141 -89
  145. data/docs/NgrokAPI/Models/CertificateAuthority.html +148 -96
  146. data/docs/NgrokAPI/Models/Credential.html +120 -68
  147. data/docs/NgrokAPI/Models/Endpoint.html +138 -86
  148. data/docs/NgrokAPI/Models/EndpointBackend.html +89 -37
  149. data/docs/NgrokAPI/Models/EndpointBackendMutate.html +89 -37
  150. data/docs/NgrokAPI/Models/EndpointCircuitBreaker.html +100 -48
  151. data/docs/NgrokAPI/Models/EndpointCompression.html +81 -29
  152. data/docs/NgrokAPI/Models/EndpointIPPolicy.html +89 -37
  153. data/docs/NgrokAPI/Models/EndpointIPPolicyMutate.html +89 -37
  154. data/docs/NgrokAPI/Models/EndpointMutualTLS.html +89 -37
  155. data/docs/NgrokAPI/Models/EndpointMutualTLSMutate.html +89 -37
  156. data/docs/NgrokAPI/Models/EndpointOAuth.html +123 -71
  157. data/docs/NgrokAPI/Models/EndpointOAuthFacebook.html +106 -54
  158. data/docs/NgrokAPI/Models/EndpointOAuthGitHub.html +115 -63
  159. data/docs/NgrokAPI/Models/EndpointOAuthGoogle.html +106 -54
  160. data/docs/NgrokAPI/Models/EndpointOAuthMicrosoft.html +106 -54
  161. data/docs/NgrokAPI/Models/EndpointOAuthProvider.html +105 -53
  162. data/docs/NgrokAPI/Models/EndpointOIDC.html +132 -80
  163. data/docs/NgrokAPI/Models/EndpointRequestHeaders.html +90 -38
  164. data/docs/NgrokAPI/Models/EndpointResponseHeaders.html +90 -38
  165. data/docs/NgrokAPI/Models/EndpointSAML.html +147 -95
  166. data/docs/NgrokAPI/Models/EndpointSAMLMutate.html +132 -80
  167. data/docs/NgrokAPI/Models/EndpointTLSTermination.html +90 -38
  168. data/docs/NgrokAPI/Models/EndpointTLSTerminationAtEdge.html +89 -37
  169. data/docs/NgrokAPI/Models/EndpointWebhookValidation.html +90 -38
  170. data/docs/NgrokAPI/Models/EndpointWebsocketTCPConverter.html +81 -29
  171. data/docs/NgrokAPI/Models/EventDestination.html +121 -69
  172. data/docs/NgrokAPI/Models/EventSource.html +91 -39
  173. data/docs/NgrokAPI/Models/EventSourceList.html +75 -23
  174. data/docs/NgrokAPI/Models/EventSourceReplace.html +90 -38
  175. data/docs/NgrokAPI/Models/EventSubscription.html +121 -69
  176. data/docs/NgrokAPI/Models/EventTarget.html +105 -53
  177. data/docs/NgrokAPI/Models/EventTargetCloudwatchLogs.html +89 -37
  178. data/docs/NgrokAPI/Models/EventTargetFirehose.html +89 -37
  179. data/docs/NgrokAPI/Models/EventTargetKinesis.html +82 -30
  180. data/docs/NgrokAPI/Models/FailoverBackend.html +127 -75
  181. data/docs/NgrokAPI/Models/HTTPResponseBackend.html +135 -83
  182. data/docs/NgrokAPI/Models/HTTPSEdge.html +136 -84
  183. data/docs/NgrokAPI/Models/HTTPSEdgeRoute.html +163 -111
  184. data/docs/NgrokAPI/Models/IPPolicy.html +119 -67
  185. data/docs/NgrokAPI/Models/IPPolicyRule.html +135 -83
  186. data/docs/NgrokAPI/Models/IPRestriction.html +129 -77
  187. data/docs/NgrokAPI/Models/Listable.html +60 -60
  188. data/docs/NgrokAPI/Models/Ref.html +82 -30
  189. data/docs/NgrokAPI/Models/ReservedAddr.html +129 -77
  190. data/docs/NgrokAPI/Models/ReservedDomain.html +150 -98
  191. data/docs/NgrokAPI/Models/ReservedDomainCertJob.html +91 -39
  192. data/docs/NgrokAPI/Models/ReservedDomainCertPolicy.html +89 -37
  193. data/docs/NgrokAPI/Models/ReservedDomainCertStatus.html +89 -37
  194. data/docs/NgrokAPI/Models/SSHCertificateAuthority.html +134 -82
  195. data/docs/NgrokAPI/Models/SSHCredential.html +127 -75
  196. data/docs/NgrokAPI/Models/SSHHostCertificate.html +147 -95
  197. data/docs/NgrokAPI/Models/SSHUserCertificate.html +153 -101
  198. data/docs/NgrokAPI/Models/TCPEdge.html +141 -89
  199. data/docs/NgrokAPI/Models/TLSCertificate.html +164 -112
  200. data/docs/NgrokAPI/Models/TLSCertificateSANs.html +89 -37
  201. data/docs/NgrokAPI/Models/TLSEdge.html +145 -93
  202. data/docs/NgrokAPI/Models/Tunnel.html +136 -84
  203. data/docs/NgrokAPI/Models/TunnelGroupBackend.html +128 -76
  204. data/docs/NgrokAPI/Models/TunnelSession.html +125 -73
  205. data/docs/NgrokAPI/Models/WeightedBackend.html +127 -75
  206. data/docs/NgrokAPI/Models.html +1 -1
  207. data/docs/NgrokAPI/PagedIterator.html +2 -2
  208. data/docs/NgrokAPI/Services/APIKeysClient.html +243 -108
  209. data/docs/NgrokAPI/Services/AbuseReportsClient.html +161 -24
  210. data/docs/NgrokAPI/Services/AgentIngressesClient.html +261 -108
  211. data/docs/NgrokAPI/Services/CertificateAuthoritiesClient.html +261 -108
  212. data/docs/NgrokAPI/Services/CredentialsClient.html +265 -110
  213. data/docs/NgrokAPI/Services/EdgeRouteBackendModuleClient.html +27 -31
  214. data/docs/NgrokAPI/Services/EdgeRouteCircuitBreakerModuleClient.html +27 -31
  215. data/docs/NgrokAPI/Services/EdgeRouteCompressionModuleClient.html +27 -31
  216. data/docs/NgrokAPI/Services/EdgeRouteIPRestrictionModuleClient.html +27 -31
  217. data/docs/NgrokAPI/Services/EdgeRouteOAuthModuleClient.html +27 -31
  218. data/docs/NgrokAPI/Services/EdgeRouteOIDCModuleClient.html +27 -31
  219. data/docs/NgrokAPI/Services/EdgeRouteRequestHeadersModuleClient.html +27 -31
  220. data/docs/NgrokAPI/Services/EdgeRouteResponseHeadersModuleClient.html +27 -31
  221. data/docs/NgrokAPI/Services/EdgeRouteSAMLModuleClient.html +27 -31
  222. data/docs/NgrokAPI/Services/EdgeRouteWebhookVerificationModuleClient.html +27 -31
  223. data/docs/NgrokAPI/Services/EdgeRouteWebsocketTCPConverterModuleClient.html +27 -31
  224. data/docs/NgrokAPI/Services/EdgesHTTPSClient.html +304 -114
  225. data/docs/NgrokAPI/Services/EdgesHTTPSRoutesClient.html +513 -98
  226. data/docs/NgrokAPI/Services/EdgesTCPClient.html +304 -114
  227. data/docs/NgrokAPI/Services/EdgesTLSClient.html +338 -118
  228. data/docs/NgrokAPI/Services/EndpointsClient.html +19 -23
  229. data/docs/NgrokAPI/Services/EventDestinationsClient.html +287 -112
  230. data/docs/NgrokAPI/Services/EventSourcesClient.html +226 -87
  231. data/docs/NgrokAPI/Services/EventSubscriptionsClient.html +287 -112
  232. data/docs/NgrokAPI/Services/FailoverBackendsClient.html +267 -112
  233. data/docs/NgrokAPI/Services/HTTPResponseBackendsClient.html +307 -114
  234. data/docs/NgrokAPI/Services/HTTPSEdgeMutualTLSModuleClient.html +27 -31
  235. data/docs/NgrokAPI/Services/HTTPSEdgeTLSTerminationModuleClient.html +27 -31
  236. data/docs/NgrokAPI/Services/IPPoliciesClient.html +243 -108
  237. data/docs/NgrokAPI/Services/IPPolicyRulesClient.html +301 -110
  238. data/docs/NgrokAPI/Services/IPRestrictionsClient.html +303 -112
  239. data/docs/NgrokAPI/Services/ReservedAddrsClient.html +263 -108
  240. data/docs/NgrokAPI/Services/ReservedDomainsClient.html +357 -144
  241. data/docs/NgrokAPI/Services/SSHCertificateAuthoritiesClient.html +303 -108
  242. data/docs/NgrokAPI/Services/SSHCredentialsClient.html +283 -110
  243. data/docs/NgrokAPI/Services/SSHHostCertificatesClient.html +339 -108
  244. data/docs/NgrokAPI/Services/SSHUserCertificatesClient.html +380 -109
  245. data/docs/NgrokAPI/Services/TCPEdgeBackendModuleClient.html +27 -31
  246. data/docs/NgrokAPI/Services/TCPEdgeIPRestrictionModuleClient.html +27 -31
  247. data/docs/NgrokAPI/Services/TLSCertificatesClient.html +279 -108
  248. data/docs/NgrokAPI/Services/TLSEdgeBackendModuleClient.html +27 -31
  249. data/docs/NgrokAPI/Services/TLSEdgeIPRestrictionModuleClient.html +27 -31
  250. data/docs/NgrokAPI/Services/TLSEdgeMutualTLSModuleClient.html +27 -31
  251. data/docs/NgrokAPI/Services/TLSEdgeTLSTerminationModuleClient.html +27 -31
  252. data/docs/NgrokAPI/Services/TunnelGroupBackendsClient.html +267 -112
  253. data/docs/NgrokAPI/Services/TunnelSessionsClient.html +43 -47
  254. data/docs/NgrokAPI/Services/TunnelsClient.html +19 -23
  255. data/docs/NgrokAPI/Services/WeightedBackendsClient.html +270 -115
  256. data/docs/NgrokAPI/Services.html +1 -1
  257. data/docs/NgrokAPI.html +1 -1
  258. data/docs/_index.html +1 -1
  259. data/docs/file.README.html +54 -54
  260. data/docs/index.html +54 -54
  261. data/docs/method_list.html +1089 -337
  262. data/docs/top-level-namespace.html +1 -1
  263. data/lib/ngrokapi/http_client.rb +21 -2
  264. data/lib/ngrokapi/models/abuse_report.rb +16 -12
  265. data/lib/ngrokapi/models/abuse_report_hostname.rb +11 -7
  266. data/lib/ngrokapi/models/agent_ingress.rb +17 -13
  267. data/lib/ngrokapi/models/api_key.rb +15 -11
  268. data/lib/ngrokapi/models/aws_auth.rb +11 -7
  269. data/lib/ngrokapi/models/aws_credentials.rb +11 -7
  270. data/lib/ngrokapi/models/aws_role.rb +10 -6
  271. data/lib/ngrokapi/models/certificate_authority.rb +20 -16
  272. data/lib/ngrokapi/models/credential.rb +16 -12
  273. data/lib/ngrokapi/models/endpoint.rb +22 -18
  274. data/lib/ngrokapi/models/endpoint_backend.rb +11 -7
  275. data/lib/ngrokapi/models/endpoint_backend_mutate.rb +11 -7
  276. data/lib/ngrokapi/models/endpoint_circuit_breaker.rb +15 -11
  277. data/lib/ngrokapi/models/endpoint_compression.rb +10 -6
  278. data/lib/ngrokapi/models/endpoint_ip_policy.rb +11 -7
  279. data/lib/ngrokapi/models/endpoint_ip_policy_mutate.rb +11 -7
  280. data/lib/ngrokapi/models/endpoint_mutual_tls.rb +11 -7
  281. data/lib/ngrokapi/models/endpoint_mutual_tls_mutate.rb +11 -7
  282. data/lib/ngrokapi/models/endpoint_o_auth.rb +16 -12
  283. data/lib/ngrokapi/models/endpoint_o_auth_facebook.rb +14 -10
  284. data/lib/ngrokapi/models/endpoint_o_auth_git_hub.rb +16 -12
  285. data/lib/ngrokapi/models/endpoint_o_auth_google.rb +14 -10
  286. data/lib/ngrokapi/models/endpoint_o_auth_microsoft.rb +14 -10
  287. data/lib/ngrokapi/models/endpoint_o_auth_provider.rb +13 -9
  288. data/lib/ngrokapi/models/endpoint_oidc.rb +18 -14
  289. data/lib/ngrokapi/models/endpoint_request_headers.rb +12 -8
  290. data/lib/ngrokapi/models/endpoint_response_headers.rb +12 -8
  291. data/lib/ngrokapi/models/endpoint_saml.rb +25 -21
  292. data/lib/ngrokapi/models/endpoint_saml_mutate.rb +20 -16
  293. data/lib/ngrokapi/models/endpoint_tls_termination.rb +12 -8
  294. data/lib/ngrokapi/models/endpoint_tls_termination_at_edge.rb +11 -7
  295. data/lib/ngrokapi/models/endpoint_webhook_validation.rb +12 -8
  296. data/lib/ngrokapi/models/endpoint_websocket_tcp_converter.rb +10 -6
  297. data/lib/ngrokapi/models/event_destination.rb +16 -12
  298. data/lib/ngrokapi/models/event_source.rb +13 -9
  299. data/lib/ngrokapi/models/event_source_list.rb +11 -7
  300. data/lib/ngrokapi/models/event_source_replace.rb +12 -8
  301. data/lib/ngrokapi/models/event_subscription.rb +16 -12
  302. data/lib/ngrokapi/models/event_target.rb +13 -9
  303. data/lib/ngrokapi/models/event_target_cloudwatch_logs.rb +11 -7
  304. data/lib/ngrokapi/models/event_target_firehose.rb +11 -7
  305. data/lib/ngrokapi/models/event_target_kinesis.rb +11 -7
  306. data/lib/ngrokapi/models/failover_backend.rb +16 -12
  307. data/lib/ngrokapi/models/http_response_backend.rb +17 -13
  308. data/lib/ngrokapi/models/https_edge.rb +18 -14
  309. data/lib/ngrokapi/models/https_edge_route.rb +28 -24
  310. data/lib/ngrokapi/models/ip_policy.rb +15 -11
  311. data/lib/ngrokapi/models/ip_policy_rule.rb +17 -13
  312. data/lib/ngrokapi/models/ip_restriction.rb +17 -13
  313. data/lib/ngrokapi/models/listable.rb +9 -9
  314. data/lib/ngrokapi/models/ref.rb +11 -7
  315. data/lib/ngrokapi/models/reserved_addr.rb +17 -13
  316. data/lib/ngrokapi/models/reserved_domain.rb +23 -19
  317. data/lib/ngrokapi/models/reserved_domain_cert_job.rb +13 -9
  318. data/lib/ngrokapi/models/reserved_domain_cert_policy.rb +11 -7
  319. data/lib/ngrokapi/models/reserved_domain_cert_status.rb +11 -7
  320. data/lib/ngrokapi/models/ssh_certificate_authority.rb +16 -12
  321. data/lib/ngrokapi/models/ssh_credential.rb +16 -12
  322. data/lib/ngrokapi/models/ssh_host_certificate.rb +21 -17
  323. data/lib/ngrokapi/models/ssh_user_certificate.rb +23 -19
  324. data/lib/ngrokapi/models/tcp_edge.rb +17 -13
  325. data/lib/ngrokapi/models/tls_certificate.rb +30 -26
  326. data/lib/ngrokapi/models/tls_certificate_sa_ns.rb +11 -7
  327. data/lib/ngrokapi/models/tls_edge.rb +19 -15
  328. data/lib/ngrokapi/models/tunnel.rb +20 -16
  329. data/lib/ngrokapi/models/tunnel_group_backend.rb +17 -13
  330. data/lib/ngrokapi/models/tunnel_session.rb +19 -15
  331. data/lib/ngrokapi/models/weighted_backend.rb +16 -12
  332. data/lib/ngrokapi/paged_iterator.rb +1 -1
  333. data/lib/ngrokapi/services/abuse_reports_client.rb +25 -3
  334. data/lib/ngrokapi/services/agent_ingresses_client.rb +32 -11
  335. data/lib/ngrokapi/services/api_keys_client.rb +30 -11
  336. data/lib/ngrokapi/services/certificate_authorities_client.rb +31 -11
  337. data/lib/ngrokapi/services/credentials_client.rb +34 -11
  338. data/lib/ngrokapi/services/edge_route_backend_module_client.rb +6 -8
  339. data/lib/ngrokapi/services/edge_route_circuit_breaker_module_client.rb +6 -8
  340. data/lib/ngrokapi/services/edge_route_compression_module_client.rb +6 -8
  341. data/lib/ngrokapi/services/edge_route_ip_restriction_module_client.rb +6 -8
  342. data/lib/ngrokapi/services/edge_route_o_auth_module_client.rb +6 -8
  343. data/lib/ngrokapi/services/edge_route_oidc_module_client.rb +6 -8
  344. data/lib/ngrokapi/services/edge_route_request_headers_module_client.rb +6 -8
  345. data/lib/ngrokapi/services/edge_route_response_headers_module_client.rb +6 -8
  346. data/lib/ngrokapi/services/edge_route_saml_module_client.rb +6 -8
  347. data/lib/ngrokapi/services/edge_route_webhook_verification_module_client.rb +6 -8
  348. data/lib/ngrokapi/services/edge_route_websocket_tcp_converter_module_client.rb +6 -8
  349. data/lib/ngrokapi/services/edges_https_client.rb +35 -11
  350. data/lib/ngrokapi/services/edges_https_routes_client.rb +53 -5
  351. data/lib/ngrokapi/services/edges_tcp_client.rb +35 -11
  352. data/lib/ngrokapi/services/edges_tls_client.rb +39 -11
  353. data/lib/ngrokapi/services/endpoints_client.rb +6 -8
  354. data/lib/ngrokapi/services/event_destinations_client.rb +35 -11
  355. data/lib/ngrokapi/services/event_sources_client.rb +27 -7
  356. data/lib/ngrokapi/services/event_subscriptions_client.rb +33 -11
  357. data/lib/ngrokapi/services/failover_backends_client.rb +33 -13
  358. data/lib/ngrokapi/services/http_response_backends_client.rb +32 -11
  359. data/lib/ngrokapi/services/https_edge_mutual_tls_module_client.rb +6 -8
  360. data/lib/ngrokapi/services/https_edge_tls_termination_module_client.rb +6 -8
  361. data/lib/ngrokapi/services/ip_policies_client.rb +30 -11
  362. data/lib/ngrokapi/services/ip_policy_rules_client.rb +35 -11
  363. data/lib/ngrokapi/services/ip_restrictions_client.rb +35 -11
  364. data/lib/ngrokapi/services/reserved_addrs_client.rb +31 -11
  365. data/lib/ngrokapi/services/reserved_domains_client.rb +37 -11
  366. data/lib/ngrokapi/services/ssh_certificate_authorities_client.rb +35 -11
  367. data/lib/ngrokapi/services/ssh_credentials_client.rb +34 -11
  368. data/lib/ngrokapi/services/ssh_host_certificates_client.rb +39 -11
  369. data/lib/ngrokapi/services/ssh_user_certificates_client.rb +44 -12
  370. data/lib/ngrokapi/services/tcp_edge_backend_module_client.rb +6 -8
  371. data/lib/ngrokapi/services/tcp_edge_ip_restriction_module_client.rb +6 -8
  372. data/lib/ngrokapi/services/tls_certificates_client.rb +33 -11
  373. data/lib/ngrokapi/services/tls_edge_backend_module_client.rb +6 -8
  374. data/lib/ngrokapi/services/tls_edge_ip_restriction_module_client.rb +6 -8
  375. data/lib/ngrokapi/services/tls_edge_mutual_tls_module_client.rb +6 -8
  376. data/lib/ngrokapi/services/tls_edge_tls_termination_module_client.rb +6 -8
  377. data/lib/ngrokapi/services/tunnel_group_backends_client.rb +33 -13
  378. data/lib/ngrokapi/services/tunnel_sessions_client.rb +6 -8
  379. data/lib/ngrokapi/services/tunnels_client.rb +6 -8
  380. data/lib/ngrokapi/services/weighted_backends_client.rb +36 -16
  381. data/lib/ngrokapi/version.rb +1 -1
  382. data/lib/ngrokapi.rb +1 -1
  383. data/spec/ngrokapi/models/abuse_report_hostname_spec.rb +2 -2
  384. data/spec/ngrokapi/models/abuse_report_spec.rb +2 -2
  385. data/spec/ngrokapi/models/agent_ingress_spec.rb +2 -2
  386. data/spec/ngrokapi/models/api_key_spec.rb +2 -2
  387. data/spec/ngrokapi/models/aws_auth_spec.rb +2 -2
  388. data/spec/ngrokapi/models/aws_credentials_spec.rb +2 -2
  389. data/spec/ngrokapi/models/aws_role_spec.rb +2 -2
  390. data/spec/ngrokapi/models/certificate_authority_spec.rb +2 -2
  391. data/spec/ngrokapi/models/credential_spec.rb +2 -2
  392. data/spec/ngrokapi/models/endpoint_backend_mutate_spec.rb +2 -2
  393. data/spec/ngrokapi/models/endpoint_backend_spec.rb +2 -2
  394. data/spec/ngrokapi/models/endpoint_circuit_breaker_spec.rb +2 -2
  395. data/spec/ngrokapi/models/endpoint_compression_spec.rb +2 -2
  396. data/spec/ngrokapi/models/endpoint_ip_policy_mutate_spec.rb +2 -2
  397. data/spec/ngrokapi/models/endpoint_ip_policy_spec.rb +2 -2
  398. data/spec/ngrokapi/models/endpoint_mutual_tls_mutate_spec.rb +2 -2
  399. data/spec/ngrokapi/models/endpoint_mutual_tls_spec.rb +2 -2
  400. data/spec/ngrokapi/models/endpoint_o_auth_facebook_spec.rb +2 -2
  401. data/spec/ngrokapi/models/endpoint_o_auth_git_hub_spec.rb +2 -2
  402. data/spec/ngrokapi/models/endpoint_o_auth_google_spec.rb +2 -2
  403. data/spec/ngrokapi/models/endpoint_o_auth_microsoft_spec.rb +2 -2
  404. data/spec/ngrokapi/models/endpoint_o_auth_provider_spec.rb +2 -2
  405. data/spec/ngrokapi/models/endpoint_o_auth_spec.rb +2 -2
  406. data/spec/ngrokapi/models/endpoint_oidc_spec.rb +2 -2
  407. data/spec/ngrokapi/models/endpoint_request_headers_spec.rb +2 -2
  408. data/spec/ngrokapi/models/endpoint_response_headers_spec.rb +2 -2
  409. data/spec/ngrokapi/models/endpoint_saml_mutate_spec.rb +2 -2
  410. data/spec/ngrokapi/models/endpoint_saml_spec.rb +2 -2
  411. data/spec/ngrokapi/models/endpoint_spec.rb +2 -2
  412. data/spec/ngrokapi/models/endpoint_tls_termination_at_edge_spec.rb +2 -2
  413. data/spec/ngrokapi/models/endpoint_tls_termination_spec.rb +2 -2
  414. data/spec/ngrokapi/models/endpoint_webhook_validation_spec.rb +2 -2
  415. data/spec/ngrokapi/models/endpoint_websocket_tcp_converter_spec.rb +2 -2
  416. data/spec/ngrokapi/models/event_destination_spec.rb +2 -2
  417. data/spec/ngrokapi/models/event_source_list_spec.rb +2 -2
  418. data/spec/ngrokapi/models/event_source_replace_spec.rb +2 -2
  419. data/spec/ngrokapi/models/event_source_spec.rb +2 -2
  420. data/spec/ngrokapi/models/event_subscription_spec.rb +2 -2
  421. data/spec/ngrokapi/models/event_target_cloudwatch_logs_spec.rb +2 -2
  422. data/spec/ngrokapi/models/event_target_firehose_spec.rb +2 -2
  423. data/spec/ngrokapi/models/event_target_kinesis_spec.rb +2 -2
  424. data/spec/ngrokapi/models/event_target_spec.rb +2 -2
  425. data/spec/ngrokapi/models/failover_backend_spec.rb +2 -2
  426. data/spec/ngrokapi/models/http_response_backend_spec.rb +2 -2
  427. data/spec/ngrokapi/models/https_edge_route_spec.rb +2 -2
  428. data/spec/ngrokapi/models/https_edge_spec.rb +2 -2
  429. data/spec/ngrokapi/models/ip_policy_rule_spec.rb +2 -2
  430. data/spec/ngrokapi/models/ip_policy_spec.rb +2 -2
  431. data/spec/ngrokapi/models/ip_restriction_spec.rb +2 -2
  432. data/spec/ngrokapi/models/listable_spec.rb +2 -2
  433. data/spec/ngrokapi/models/ref_spec.rb +2 -2
  434. data/spec/ngrokapi/models/reserved_addr_spec.rb +2 -2
  435. data/spec/ngrokapi/models/reserved_domain_cert_job_spec.rb +2 -2
  436. data/spec/ngrokapi/models/reserved_domain_cert_policy_spec.rb +2 -2
  437. data/spec/ngrokapi/models/reserved_domain_cert_status_spec.rb +2 -2
  438. data/spec/ngrokapi/models/reserved_domain_spec.rb +2 -2
  439. data/spec/ngrokapi/models/ssh_certificate_authority_spec.rb +2 -2
  440. data/spec/ngrokapi/models/ssh_credential_spec.rb +2 -2
  441. data/spec/ngrokapi/models/ssh_host_certificate_spec.rb +2 -2
  442. data/spec/ngrokapi/models/ssh_user_certificate_spec.rb +2 -2
  443. data/spec/ngrokapi/models/tcp_edge_spec.rb +2 -2
  444. data/spec/ngrokapi/models/tls_certificate_sa_ns_spec.rb +2 -2
  445. data/spec/ngrokapi/models/tls_certificate_spec.rb +2 -2
  446. data/spec/ngrokapi/models/tls_edge_spec.rb +2 -2
  447. data/spec/ngrokapi/models/tunnel_group_backend_spec.rb +2 -2
  448. data/spec/ngrokapi/models/tunnel_session_spec.rb +2 -2
  449. data/spec/ngrokapi/models/tunnel_spec.rb +2 -2
  450. data/spec/ngrokapi/models/weighted_backend_spec.rb +2 -2
  451. data/spec/ngrokapi/paged_iterator_spec.rb +5 -5
  452. data/spec/ngrokapi/services/abuse_reports_client_spec.rb +19 -0
  453. data/spec/ngrokapi/services/agent_ingresses_client_spec.rb +21 -0
  454. data/spec/ngrokapi/services/api_keys_client_spec.rb +19 -0
  455. data/spec/ngrokapi/services/certificate_authorities_client_spec.rb +21 -0
  456. data/spec/ngrokapi/services/credentials_client_spec.rb +21 -0
  457. data/spec/ngrokapi/services/edge_route_backend_module_client_spec.rb +2 -4
  458. data/spec/ngrokapi/services/edge_route_circuit_breaker_module_client_spec.rb +2 -4
  459. data/spec/ngrokapi/services/edge_route_compression_module_client_spec.rb +2 -4
  460. data/spec/ngrokapi/services/edge_route_ip_restriction_module_client_spec.rb +2 -4
  461. data/spec/ngrokapi/services/edge_route_o_auth_module_client_spec.rb +2 -4
  462. data/spec/ngrokapi/services/edge_route_oidc_module_client_spec.rb +2 -4
  463. data/spec/ngrokapi/services/edge_route_request_headers_module_client_spec.rb +2 -4
  464. data/spec/ngrokapi/services/edge_route_response_headers_module_client_spec.rb +2 -4
  465. data/spec/ngrokapi/services/edge_route_saml_module_client_spec.rb +2 -4
  466. data/spec/ngrokapi/services/edge_route_webhook_verification_module_client_spec.rb +2 -4
  467. data/spec/ngrokapi/services/edge_route_websocket_tcp_converter_module_client_spec.rb +2 -4
  468. data/spec/ngrokapi/services/edges_https_client_spec.rb +25 -0
  469. data/spec/ngrokapi/services/edges_https_routes_client_spec.rb +47 -0
  470. data/spec/ngrokapi/services/edges_tcp_client_spec.rb +25 -0
  471. data/spec/ngrokapi/services/edges_tls_client_spec.rb +29 -0
  472. data/spec/ngrokapi/services/event_destinations_client_spec.rb +24 -0
  473. data/spec/ngrokapi/services/event_sources_client_spec.rb +21 -0
  474. data/spec/ngrokapi/services/event_subscriptions_client_spec.rb +23 -0
  475. data/spec/ngrokapi/services/failover_backends_client_spec.rb +21 -0
  476. data/spec/ngrokapi/services/http_response_backends_client_spec.rb +25 -0
  477. data/spec/ngrokapi/services/https_edge_mutual_tls_module_client_spec.rb +2 -4
  478. data/spec/ngrokapi/services/https_edge_tls_termination_module_client_spec.rb +2 -4
  479. data/spec/ngrokapi/services/ip_policies_client_spec.rb +20 -0
  480. data/spec/ngrokapi/services/ip_policy_rules_client_spec.rb +25 -0
  481. data/spec/ngrokapi/services/ip_restrictions_client_spec.rb +25 -0
  482. data/spec/ngrokapi/services/reserved_addrs_client_spec.rb +22 -0
  483. data/spec/ngrokapi/services/reserved_domains_client_spec.rb +29 -0
  484. data/spec/ngrokapi/services/ssh_certificate_authorities_client_spec.rb +25 -0
  485. data/spec/ngrokapi/services/ssh_credentials_client_spec.rb +23 -0
  486. data/spec/ngrokapi/services/ssh_host_certificates_client_spec.rb +29 -0
  487. data/spec/ngrokapi/services/ssh_user_certificates_client_spec.rb +33 -0
  488. data/spec/ngrokapi/services/tcp_edge_backend_module_client_spec.rb +2 -4
  489. data/spec/ngrokapi/services/tcp_edge_ip_restriction_module_client_spec.rb +2 -4
  490. data/spec/ngrokapi/services/tls_certificates_client_spec.rb +23 -0
  491. data/spec/ngrokapi/services/tls_edge_backend_module_client_spec.rb +2 -4
  492. data/spec/ngrokapi/services/tls_edge_ip_restriction_module_client_spec.rb +2 -4
  493. data/spec/ngrokapi/services/tls_edge_mutual_tls_module_client_spec.rb +2 -4
  494. data/spec/ngrokapi/services/tls_edge_tls_termination_module_client_spec.rb +2 -4
  495. data/spec/ngrokapi/services/tunnel_group_backends_client_spec.rb +21 -0
  496. data/spec/ngrokapi/services/weighted_backends_client_spec.rb +21 -0
  497. metadata +1 -3
  498. data/doc/README +0 -94
  499. data/docs/README +0 -94
@@ -225,6 +225,30 @@
225
225
  <p>Create a new Weighted backend.</p>
226
226
  </div></span>
227
227
 
228
+ </li>
229
+
230
+
231
+ <li class="public ">
232
+ <span class="summary_signature">
233
+
234
+ <a href="#create!-instance_method" title="#create! (instance method)">#<strong>create!</strong>(description: &quot;&quot;, metadata: &quot;&quot;, backends: {}) &#x21d2; NgrokAPI::Models::WeightedBackend </a>
235
+
236
+
237
+
238
+ </span>
239
+
240
+
241
+
242
+
243
+
244
+
245
+
246
+
247
+
248
+ <span class="summary_desc"><div class='inline'>
249
+ <p>Create a new Weighted backend Throws an exception if API error.</p>
250
+ </div></span>
251
+
228
252
  </li>
229
253
 
230
254
 
@@ -620,7 +644,7 @@
620
644
 
621
645
  &mdash;
622
646
  <div class='inline'>
623
- <p>the ids of the child backends to their weights (0-10000)</p>
647
+ <p>the ids of the child backends to their weights [0-10000]</p>
624
648
  </div>
625
649
 
626
650
  </li>
@@ -676,7 +700,142 @@
676
700
  <span class='id identifier rubyid_data'>data</span><span class='lbracket'>[</span><span class='symbol'>:metadata</span><span class='rbracket'>]</span> <span class='op'>=</span> <span class='id identifier rubyid_metadata'>metadata</span> <span class='kw'>if</span> <span class='id identifier rubyid_metadata'>metadata</span>
677
701
  <span class='id identifier rubyid_data'>data</span><span class='lbracket'>[</span><span class='symbol'>:backends</span><span class='rbracket'>]</span> <span class='op'>=</span> <span class='id identifier rubyid_backends'>backends</span> <span class='kw'>if</span> <span class='id identifier rubyid_backends'>backends</span>
678
702
  <span class='id identifier rubyid_result'>result</span> <span class='op'>=</span> <span class='ivar'>@client</span><span class='period'>.</span><span class='id identifier rubyid_post'>post</span><span class='lparen'>(</span><span class='id identifier rubyid_path'>path</span> <span class='op'>%</span> <span class='id identifier rubyid_replacements'>replacements</span><span class='comma'>,</span> <span class='label'>data:</span> <span class='id identifier rubyid_data'>data</span><span class='rparen'>)</span>
679
- <span class='const'><span class='object_link'><a href="../../NgrokAPI.html" title="NgrokAPI (module)">NgrokAPI</a></span></span><span class='op'>::</span><span class='const'><span class='object_link'><a href="../Models.html" title="NgrokAPI::Models (module)">Models</a></span></span><span class='op'>::</span><span class='const'><span class='object_link'><a href="../Models/WeightedBackend.html" title="NgrokAPI::Models::WeightedBackend (class)">WeightedBackend</a></span></span><span class='period'>.</span><span class='id identifier rubyid_new'><span class='object_link'><a href="../Models/WeightedBackend.html#initialize-instance_method" title="NgrokAPI::Models::WeightedBackend#initialize (method)">new</a></span></span><span class='lparen'>(</span><span class='label'>client:</span> <span class='kw'>self</span><span class='comma'>,</span> <span class='label'>result:</span> <span class='id identifier rubyid_result'>result</span><span class='rparen'>)</span>
703
+ <span class='const'><span class='object_link'><a href="../../NgrokAPI.html" title="NgrokAPI (module)">NgrokAPI</a></span></span><span class='op'>::</span><span class='const'><span class='object_link'><a href="../Models.html" title="NgrokAPI::Models (module)">Models</a></span></span><span class='op'>::</span><span class='const'><span class='object_link'><a href="../Models/WeightedBackend.html" title="NgrokAPI::Models::WeightedBackend (class)">WeightedBackend</a></span></span><span class='period'>.</span><span class='id identifier rubyid_new'><span class='object_link'><a href="../Models/WeightedBackend.html#initialize-instance_method" title="NgrokAPI::Models::WeightedBackend#initialize (method)">new</a></span></span><span class='lparen'>(</span><span class='label'>client:</span> <span class='kw'>self</span><span class='comma'>,</span> <span class='label'>attrs:</span> <span class='id identifier rubyid_result'>result</span><span class='rparen'>)</span>
704
+ <span class='kw'>end</span></pre>
705
+ </td>
706
+ </tr>
707
+ </table>
708
+ </div>
709
+
710
+ <div class="method_details ">
711
+ <h3 class="signature " id="create!-instance_method">
712
+
713
+ #<strong>create!</strong>(description: &quot;&quot;, metadata: &quot;&quot;, backends: {}) &#x21d2; <tt><span class='object_link'><a href="../Models/WeightedBackend.html" title="NgrokAPI::Models::WeightedBackend (class)">NgrokAPI::Models::WeightedBackend</a></span></tt>
714
+
715
+
716
+
717
+
718
+
719
+ </h3><div class="docstring">
720
+ <div class="discussion">
721
+
722
+ <p>Create a new Weighted backend Throws an exception if API error.</p>
723
+
724
+ <p><a href="https://ngrok.com/docs/api#api-weighted-backends-create">ngrok.com/docs/api#api-weighted-backends-create</a></p>
725
+
726
+
727
+ </div>
728
+ </div>
729
+ <div class="tags">
730
+ <p class="tag_title">Parameters:</p>
731
+ <ul class="param">
732
+
733
+ <li>
734
+
735
+ <span class='name'>description</span>
736
+
737
+
738
+ <span class='type'>(<tt>string</tt>)</span>
739
+
740
+
741
+ <em class="default">(defaults to: <tt>&quot;&quot;</tt>)</em>
742
+
743
+
744
+ &mdash;
745
+ <div class='inline'>
746
+ <p>human-readable description of this backend. Optional</p>
747
+ </div>
748
+
749
+ </li>
750
+
751
+ <li>
752
+
753
+ <span class='name'>metadata</span>
754
+
755
+
756
+ <span class='type'>(<tt>string</tt>)</span>
757
+
758
+
759
+ <em class="default">(defaults to: <tt>&quot;&quot;</tt>)</em>
760
+
761
+
762
+ &mdash;
763
+ <div class='inline'>
764
+ <p>arbitrary user-defined machine-readable data of this backend. Optional</p>
765
+ </div>
766
+
767
+ </li>
768
+
769
+ <li>
770
+
771
+ <span class='name'>backends</span>
772
+
773
+
774
+ <span class='type'>(<tt>Map&lt;string, int64&gt;</tt>)</span>
775
+
776
+
777
+ <em class="default">(defaults to: <tt>{}</tt>)</em>
778
+
779
+
780
+ &mdash;
781
+ <div class='inline'>
782
+ <p>the ids of the child backends to their weights [0-10000]</p>
783
+ </div>
784
+
785
+ </li>
786
+
787
+ </ul>
788
+
789
+ <p class="tag_title">Returns:</p>
790
+ <ul class="return">
791
+
792
+ <li>
793
+
794
+
795
+ <span class='type'>(<tt><span class='object_link'><a href="../Models/WeightedBackend.html" title="NgrokAPI::Models::WeightedBackend (class)">NgrokAPI::Models::WeightedBackend</a></span></tt>)</span>
796
+
797
+
798
+
799
+ &mdash;
800
+ <div class='inline'>
801
+ <p>result from the API request</p>
802
+ </div>
803
+
804
+ </li>
805
+
806
+ </ul>
807
+
808
+ </div><table class="source_code">
809
+ <tr>
810
+ <td>
811
+ <pre class="lines">
812
+
813
+
814
+ 55
815
+ 56
816
+ 57
817
+ 58
818
+ 59
819
+ 60
820
+ 61
821
+ 62
822
+ 63
823
+ 64
824
+ 65</pre>
825
+ </td>
826
+ <td>
827
+ <pre class="code"><span class="info file"># File 'lib/ngrokapi/services/weighted_backends_client.rb', line 55</span>
828
+
829
+ <span class='kw'>def</span> <span class='id identifier rubyid_create!'>create!</span><span class='lparen'>(</span><span class='label'>description:</span> <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_end'>&quot;</span></span><span class='comma'>,</span> <span class='label'>metadata:</span> <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_end'>&quot;</span></span><span class='comma'>,</span> <span class='label'>backends:</span> <span class='lbrace'>{</span><span class='rbrace'>}</span><span class='rparen'>)</span>
830
+ <span class='id identifier rubyid_path'>path</span> <span class='op'>=</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>/backends/weighted</span><span class='tstring_end'>&#39;</span></span>
831
+ <span class='id identifier rubyid_replacements'>replacements</span> <span class='op'>=</span> <span class='lbrace'>{</span>
832
+ <span class='rbrace'>}</span>
833
+ <span class='id identifier rubyid_data'>data</span> <span class='op'>=</span> <span class='lbrace'>{</span><span class='rbrace'>}</span>
834
+ <span class='id identifier rubyid_data'>data</span><span class='lbracket'>[</span><span class='symbol'>:description</span><span class='rbracket'>]</span> <span class='op'>=</span> <span class='id identifier rubyid_description'>description</span> <span class='kw'>if</span> <span class='id identifier rubyid_description'>description</span>
835
+ <span class='id identifier rubyid_data'>data</span><span class='lbracket'>[</span><span class='symbol'>:metadata</span><span class='rbracket'>]</span> <span class='op'>=</span> <span class='id identifier rubyid_metadata'>metadata</span> <span class='kw'>if</span> <span class='id identifier rubyid_metadata'>metadata</span>
836
+ <span class='id identifier rubyid_data'>data</span><span class='lbracket'>[</span><span class='symbol'>:backends</span><span class='rbracket'>]</span> <span class='op'>=</span> <span class='id identifier rubyid_backends'>backends</span> <span class='kw'>if</span> <span class='id identifier rubyid_backends'>backends</span>
837
+ <span class='id identifier rubyid_result'>result</span> <span class='op'>=</span> <span class='ivar'>@client</span><span class='period'>.</span><span class='id identifier rubyid_post'>post</span><span class='lparen'>(</span><span class='id identifier rubyid_path'>path</span> <span class='op'>%</span> <span class='id identifier rubyid_replacements'>replacements</span><span class='comma'>,</span> <span class='label'>data:</span> <span class='id identifier rubyid_data'>data</span><span class='comma'>,</span> <span class='label'>danger:</span> <span class='kw'>true</span><span class='rparen'>)</span>
838
+ <span class='const'><span class='object_link'><a href="../../NgrokAPI.html" title="NgrokAPI (module)">NgrokAPI</a></span></span><span class='op'>::</span><span class='const'><span class='object_link'><a href="../Models.html" title="NgrokAPI::Models (module)">Models</a></span></span><span class='op'>::</span><span class='const'><span class='object_link'><a href="../Models/WeightedBackend.html" title="NgrokAPI::Models::WeightedBackend (class)">WeightedBackend</a></span></span><span class='period'>.</span><span class='id identifier rubyid_new'><span class='object_link'><a href="../Models/WeightedBackend.html#initialize-instance_method" title="NgrokAPI::Models::WeightedBackend#initialize (method)">new</a></span></span><span class='lparen'>(</span><span class='label'>client:</span> <span class='kw'>self</span><span class='comma'>,</span> <span class='label'>attrs:</span> <span class='id identifier rubyid_result'>result</span><span class='rparen'>)</span>
680
839
  <span class='kw'>end</span></pre>
681
840
  </td>
682
841
  </tr>
@@ -695,7 +854,7 @@
695
854
  </h3><div class="docstring">
696
855
  <div class="discussion">
697
856
 
698
- <p>Delete a Weighted backend by ID. TODO what if used?</p>
857
+ <p>Delete a Weighted backend by ID.</p>
699
858
 
700
859
  <p><a href="https://ngrok.com/docs/api#api-weighted-backends-delete">ngrok.com/docs/api#api-weighted-backends-delete</a></p>
701
860
 
@@ -751,16 +910,16 @@
751
910
  <pre class="lines">
752
911
 
753
912
 
754
- 52
755
- 53
756
- 54
757
- 55
758
- 56
759
- 57
760
- 58</pre>
913
+ 74
914
+ 75
915
+ 76
916
+ 77
917
+ 78
918
+ 79
919
+ 80</pre>
761
920
  </td>
762
921
  <td>
763
- <pre class="code"><span class="info file"># File 'lib/ngrokapi/services/weighted_backends_client.rb', line 52</span>
922
+ <pre class="code"><span class="info file"># File 'lib/ngrokapi/services/weighted_backends_client.rb', line 74</span>
764
923
 
765
924
  <span class='kw'>def</span> <span class='id identifier rubyid_delete'>delete</span><span class='lparen'>(</span><span class='label'>id:</span> <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_end'>&quot;</span></span><span class='rparen'>)</span>
766
925
  <span class='id identifier rubyid_path'>path</span> <span class='op'>=</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>/backends/weighted/%{id}</span><span class='tstring_end'>&#39;</span></span>
@@ -786,7 +945,7 @@
786
945
  </h3><div class="docstring">
787
946
  <div class="discussion">
788
947
 
789
- <p>Delete a Weighted backend by ID. TODO what if used? Throws an exception if API error.</p>
948
+ <p>Delete a Weighted backend by ID. Throws an exception if API error.</p>
790
949
 
791
950
  <p><a href="https://ngrok.com/docs/api#api-weighted-backends-delete">ngrok.com/docs/api#api-weighted-backends-delete</a></p>
792
951
 
@@ -842,16 +1001,16 @@
842
1001
  <pre class="lines">
843
1002
 
844
1003
 
845
- 68
846
- 69
847
- 70
848
- 71
849
- 72
850
- 73
851
- 74</pre>
1004
+ 90
1005
+ 91
1006
+ 92
1007
+ 93
1008
+ 94
1009
+ 95
1010
+ 96</pre>
852
1011
  </td>
853
1012
  <td>
854
- <pre class="code"><span class="info file"># File 'lib/ngrokapi/services/weighted_backends_client.rb', line 68</span>
1013
+ <pre class="code"><span class="info file"># File 'lib/ngrokapi/services/weighted_backends_client.rb', line 90</span>
855
1014
 
856
1015
  <span class='kw'>def</span> <span class='id identifier rubyid_delete!'>delete!</span><span class='lparen'>(</span><span class='label'>id:</span> <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_end'>&quot;</span></span><span class='rparen'>)</span>
857
1016
  <span class='id identifier rubyid_path'>path</span> <span class='op'>=</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>/backends/weighted/%{id}</span><span class='tstring_end'>&#39;</span></span>
@@ -933,18 +1092,18 @@
933
1092
  <pre class="lines">
934
1093
 
935
1094
 
936
- 83
937
- 84
938
- 85
939
- 86
940
- 87
941
- 88
942
- 89
943
- 90
944
- 91</pre>
1095
+ 105
1096
+ 106
1097
+ 107
1098
+ 108
1099
+ 109
1100
+ 110
1101
+ 111
1102
+ 112
1103
+ 113</pre>
945
1104
  </td>
946
1105
  <td>
947
- <pre class="code"><span class="info file"># File 'lib/ngrokapi/services/weighted_backends_client.rb', line 83</span>
1106
+ <pre class="code"><span class="info file"># File 'lib/ngrokapi/services/weighted_backends_client.rb', line 105</span>
948
1107
 
949
1108
  <span class='kw'>def</span> <span class='id identifier rubyid_get'>get</span><span class='lparen'>(</span><span class='label'>id:</span> <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_end'>&quot;</span></span><span class='rparen'>)</span>
950
1109
  <span class='id identifier rubyid_path'>path</span> <span class='op'>=</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>/backends/weighted/%{id}</span><span class='tstring_end'>&#39;</span></span>
@@ -953,7 +1112,7 @@
953
1112
  <span class='rbrace'>}</span>
954
1113
  <span class='id identifier rubyid_data'>data</span> <span class='op'>=</span> <span class='lbrace'>{</span><span class='rbrace'>}</span>
955
1114
  <span class='id identifier rubyid_result'>result</span> <span class='op'>=</span> <span class='ivar'>@client</span><span class='period'>.</span><span class='id identifier rubyid_get'>get</span><span class='lparen'>(</span><span class='id identifier rubyid_path'>path</span> <span class='op'>%</span> <span class='id identifier rubyid_replacements'>replacements</span><span class='comma'>,</span> <span class='label'>data:</span> <span class='id identifier rubyid_data'>data</span><span class='rparen'>)</span>
956
- <span class='const'><span class='object_link'><a href="../../NgrokAPI.html" title="NgrokAPI (module)">NgrokAPI</a></span></span><span class='op'>::</span><span class='const'><span class='object_link'><a href="../Models.html" title="NgrokAPI::Models (module)">Models</a></span></span><span class='op'>::</span><span class='const'><span class='object_link'><a href="../Models/WeightedBackend.html" title="NgrokAPI::Models::WeightedBackend (class)">WeightedBackend</a></span></span><span class='period'>.</span><span class='id identifier rubyid_new'><span class='object_link'><a href="../Models/WeightedBackend.html#initialize-instance_method" title="NgrokAPI::Models::WeightedBackend#initialize (method)">new</a></span></span><span class='lparen'>(</span><span class='label'>client:</span> <span class='kw'>self</span><span class='comma'>,</span> <span class='label'>result:</span> <span class='id identifier rubyid_result'>result</span><span class='rparen'>)</span>
1115
+ <span class='const'><span class='object_link'><a href="../../NgrokAPI.html" title="NgrokAPI (module)">NgrokAPI</a></span></span><span class='op'>::</span><span class='const'><span class='object_link'><a href="../Models.html" title="NgrokAPI::Models (module)">Models</a></span></span><span class='op'>::</span><span class='const'><span class='object_link'><a href="../Models/WeightedBackend.html" title="NgrokAPI::Models::WeightedBackend (class)">WeightedBackend</a></span></span><span class='period'>.</span><span class='id identifier rubyid_new'><span class='object_link'><a href="../Models/WeightedBackend.html#initialize-instance_method" title="NgrokAPI::Models::WeightedBackend#initialize (method)">new</a></span></span><span class='lparen'>(</span><span class='label'>client:</span> <span class='kw'>self</span><span class='comma'>,</span> <span class='label'>attrs:</span> <span class='id identifier rubyid_result'>result</span><span class='rparen'>)</span>
957
1116
  <span class='kw'>end</span></pre>
958
1117
  </td>
959
1118
  </tr>
@@ -1028,18 +1187,18 @@
1028
1187
  <pre class="lines">
1029
1188
 
1030
1189
 
1031
- 101
1032
- 102
1033
- 103
1034
- 104
1035
- 105
1036
- 106
1037
- 107
1038
- 108
1039
- 109</pre>
1190
+ 123
1191
+ 124
1192
+ 125
1193
+ 126
1194
+ 127
1195
+ 128
1196
+ 129
1197
+ 130
1198
+ 131</pre>
1040
1199
  </td>
1041
1200
  <td>
1042
- <pre class="code"><span class="info file"># File 'lib/ngrokapi/services/weighted_backends_client.rb', line 101</span>
1201
+ <pre class="code"><span class="info file"># File 'lib/ngrokapi/services/weighted_backends_client.rb', line 123</span>
1043
1202
 
1044
1203
  <span class='kw'>def</span> <span class='id identifier rubyid_get!'>get!</span><span class='lparen'>(</span><span class='label'>id:</span> <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_end'>&quot;</span></span><span class='rparen'>)</span>
1045
1204
  <span class='id identifier rubyid_path'>path</span> <span class='op'>=</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>/backends/weighted/%{id}</span><span class='tstring_end'>&#39;</span></span>
@@ -1048,7 +1207,7 @@
1048
1207
  <span class='rbrace'>}</span>
1049
1208
  <span class='id identifier rubyid_data'>data</span> <span class='op'>=</span> <span class='lbrace'>{</span><span class='rbrace'>}</span>
1050
1209
  <span class='id identifier rubyid_result'>result</span> <span class='op'>=</span> <span class='ivar'>@client</span><span class='period'>.</span><span class='id identifier rubyid_get'>get</span><span class='lparen'>(</span><span class='id identifier rubyid_path'>path</span> <span class='op'>%</span> <span class='id identifier rubyid_replacements'>replacements</span><span class='comma'>,</span> <span class='label'>data:</span> <span class='id identifier rubyid_data'>data</span><span class='comma'>,</span> <span class='label'>danger:</span> <span class='kw'>true</span><span class='rparen'>)</span>
1051
- <span class='const'><span class='object_link'><a href="../../NgrokAPI.html" title="NgrokAPI (module)">NgrokAPI</a></span></span><span class='op'>::</span><span class='const'><span class='object_link'><a href="../Models.html" title="NgrokAPI::Models (module)">Models</a></span></span><span class='op'>::</span><span class='const'><span class='object_link'><a href="../Models/WeightedBackend.html" title="NgrokAPI::Models::WeightedBackend (class)">WeightedBackend</a></span></span><span class='period'>.</span><span class='id identifier rubyid_new'><span class='object_link'><a href="../Models/WeightedBackend.html#initialize-instance_method" title="NgrokAPI::Models::WeightedBackend#initialize (method)">new</a></span></span><span class='lparen'>(</span><span class='label'>client:</span> <span class='kw'>self</span><span class='comma'>,</span> <span class='label'>result:</span> <span class='id identifier rubyid_result'>result</span><span class='rparen'>)</span>
1210
+ <span class='const'><span class='object_link'><a href="../../NgrokAPI.html" title="NgrokAPI (module)">NgrokAPI</a></span></span><span class='op'>::</span><span class='const'><span class='object_link'><a href="../Models.html" title="NgrokAPI::Models (module)">Models</a></span></span><span class='op'>::</span><span class='const'><span class='object_link'><a href="../Models/WeightedBackend.html" title="NgrokAPI::Models::WeightedBackend (class)">WeightedBackend</a></span></span><span class='period'>.</span><span class='id identifier rubyid_new'><span class='object_link'><a href="../Models/WeightedBackend.html#initialize-instance_method" title="NgrokAPI::Models::WeightedBackend#initialize (method)">new</a></span></span><span class='lparen'>(</span><span class='label'>client:</span> <span class='kw'>self</span><span class='comma'>,</span> <span class='label'>attrs:</span> <span class='id identifier rubyid_result'>result</span><span class='rparen'>)</span>
1052
1211
  <span class='kw'>end</span></pre>
1053
1212
  </td>
1054
1213
  </tr>
@@ -1149,28 +1308,26 @@
1149
1308
  <pre class="lines">
1150
1309
 
1151
1310
 
1152
- 120
1153
- 121
1154
- 122
1155
- 123
1156
- 124
1157
- 125
1158
- 126
1159
- 127
1160
- 128
1161
- 129
1162
- 130
1163
- 131
1164
- 132
1165
- 133
1166
- 134
1167
- 135</pre>
1311
+ 142
1312
+ 143
1313
+ 144
1314
+ 145
1315
+ 146
1316
+ 147
1317
+ 148
1318
+ 149
1319
+ 150
1320
+ 151
1321
+ 152
1322
+ 153
1323
+ 154
1324
+ 155
1325
+ 156</pre>
1168
1326
  </td>
1169
1327
  <td>
1170
- <pre class="code"><span class="info file"># File 'lib/ngrokapi/services/weighted_backends_client.rb', line 120</span>
1328
+ <pre class="code"><span class="info file"># File 'lib/ngrokapi/services/weighted_backends_client.rb', line 142</span>
1171
1329
 
1172
- <span class='kw'>def</span> <span class='id identifier rubyid_list'>list</span><span class='lparen'>(</span><span class='label'>before_id:</span> <span class='kw'>nil</span><span class='comma'>,</span> <span class='label'>limit:</span> <span class='kw'>nil</span><span class='comma'>,</span>
1173
- <span class='label'>url:</span> <span class='kw'>nil</span><span class='rparen'>)</span>
1330
+ <span class='kw'>def</span> <span class='id identifier rubyid_list'>list</span><span class='lparen'>(</span><span class='label'>before_id:</span> <span class='kw'>nil</span><span class='comma'>,</span> <span class='label'>limit:</span> <span class='kw'>nil</span><span class='comma'>,</span> <span class='label'>url:</span> <span class='kw'>nil</span><span class='rparen'>)</span>
1174
1331
  <span class='id identifier rubyid_result'>result</span> <span class='op'>=</span> <span class='ivar'>@client</span><span class='period'>.</span><span class='id identifier rubyid_list'>list</span><span class='lparen'>(</span>
1175
1332
  <span class='label'>before_id:</span> <span class='id identifier rubyid_before_id'>before_id</span><span class='comma'>,</span>
1176
1333
  <span class='label'>limit:</span> <span class='id identifier rubyid_limit'>limit</span><span class='comma'>,</span>
@@ -1180,7 +1337,7 @@
1180
1337
 
1181
1338
  <span class='const'><span class='object_link'><a href="../../NgrokAPI.html" title="NgrokAPI (module)">NgrokAPI</a></span></span><span class='op'>::</span><span class='const'><span class='object_link'><a href="../Models.html" title="NgrokAPI::Models (module)">Models</a></span></span><span class='op'>::</span><span class='const'><span class='object_link'><a href="../Models/Listable.html" title="NgrokAPI::Models::Listable (class)">Listable</a></span></span><span class='period'>.</span><span class='id identifier rubyid_new'><span class='object_link'><a href="../Models/Listable.html#initialize-instance_method" title="NgrokAPI::Models::Listable#initialize (method)">new</a></span></span><span class='lparen'>(</span>
1182
1339
  <span class='label'>client:</span> <span class='kw'>self</span><span class='comma'>,</span>
1183
- <span class='label'>result:</span> <span class='id identifier rubyid_result'>result</span><span class='comma'>,</span>
1340
+ <span class='label'>attrs:</span> <span class='id identifier rubyid_result'>result</span><span class='comma'>,</span>
1184
1341
  <span class='label'>list_property:</span> <span class='const'><span class='object_link'><a href="#LIST_PROPERTY-constant" title="NgrokAPI::Services::WeightedBackendsClient::LIST_PROPERTY (constant)">LIST_PROPERTY</a></span></span><span class='comma'>,</span>
1185
1342
  <span class='label'>klass:</span> <span class='const'><span class='object_link'><a href="../../NgrokAPI.html" title="NgrokAPI (module)">NgrokAPI</a></span></span><span class='op'>::</span><span class='const'><span class='object_link'><a href="../Models.html" title="NgrokAPI::Models (module)">Models</a></span></span><span class='op'>::</span><span class='const'><span class='object_link'><a href="../Models/WeightedBackend.html" title="NgrokAPI::Models::WeightedBackend (class)">WeightedBackend</a></span></span>
1186
1343
  <span class='rparen'>)</span>
@@ -1284,30 +1441,28 @@
1284
1441
  <pre class="lines">
1285
1442
 
1286
1443
 
1287
- 147
1288
- 148
1289
- 149
1290
- 150
1291
- 151
1292
- 152
1293
- 153
1294
- 154
1295
- 155
1296
- 156
1297
- 157
1298
- 158
1299
- 159
1300
- 160
1301
- 161
1302
- 162
1303
- 163
1304
- 164</pre>
1444
+ 168
1445
+ 169
1446
+ 170
1447
+ 171
1448
+ 172
1449
+ 173
1450
+ 174
1451
+ 175
1452
+ 176
1453
+ 177
1454
+ 178
1455
+ 179
1456
+ 180
1457
+ 181
1458
+ 182
1459
+ 183
1460
+ 184</pre>
1305
1461
  </td>
1306
1462
  <td>
1307
- <pre class="code"><span class="info file"># File 'lib/ngrokapi/services/weighted_backends_client.rb', line 147</span>
1463
+ <pre class="code"><span class="info file"># File 'lib/ngrokapi/services/weighted_backends_client.rb', line 168</span>
1308
1464
 
1309
- <span class='kw'>def</span> <span class='id identifier rubyid_list!'>list!</span><span class='lparen'>(</span><span class='label'>before_id:</span> <span class='kw'>nil</span><span class='comma'>,</span> <span class='label'>limit:</span> <span class='kw'>nil</span><span class='comma'>,</span>
1310
- <span class='label'>url:</span> <span class='kw'>nil</span><span class='rparen'>)</span>
1465
+ <span class='kw'>def</span> <span class='id identifier rubyid_list!'>list!</span><span class='lparen'>(</span><span class='label'>before_id:</span> <span class='kw'>nil</span><span class='comma'>,</span> <span class='label'>limit:</span> <span class='kw'>nil</span><span class='comma'>,</span> <span class='label'>url:</span> <span class='kw'>nil</span><span class='rparen'>)</span>
1311
1466
  <span class='id identifier rubyid_result'>result</span> <span class='op'>=</span> <span class='ivar'>@client</span><span class='period'>.</span><span class='id identifier rubyid_list'>list</span><span class='lparen'>(</span>
1312
1467
  <span class='label'>before_id:</span> <span class='id identifier rubyid_before_id'>before_id</span><span class='comma'>,</span>
1313
1468
  <span class='label'>limit:</span> <span class='id identifier rubyid_limit'>limit</span><span class='comma'>,</span>
@@ -1318,7 +1473,7 @@
1318
1473
 
1319
1474
  <span class='const'><span class='object_link'><a href="../../NgrokAPI.html" title="NgrokAPI (module)">NgrokAPI</a></span></span><span class='op'>::</span><span class='const'><span class='object_link'><a href="../Models.html" title="NgrokAPI::Models (module)">Models</a></span></span><span class='op'>::</span><span class='const'><span class='object_link'><a href="../Models/Listable.html" title="NgrokAPI::Models::Listable (class)">Listable</a></span></span><span class='period'>.</span><span class='id identifier rubyid_new'><span class='object_link'><a href="../Models/Listable.html#initialize-instance_method" title="NgrokAPI::Models::Listable#initialize (method)">new</a></span></span><span class='lparen'>(</span>
1320
1475
  <span class='label'>client:</span> <span class='kw'>self</span><span class='comma'>,</span>
1321
- <span class='label'>result:</span> <span class='id identifier rubyid_result'>result</span><span class='comma'>,</span>
1476
+ <span class='label'>attrs:</span> <span class='id identifier rubyid_result'>result</span><span class='comma'>,</span>
1322
1477
  <span class='label'>list_property:</span> <span class='const'><span class='object_link'><a href="#LIST_PROPERTY-constant" title="NgrokAPI::Services::WeightedBackendsClient::LIST_PROPERTY (constant)">LIST_PROPERTY</a></span></span><span class='comma'>,</span>
1323
1478
  <span class='label'>klass:</span> <span class='const'><span class='object_link'><a href="../../NgrokAPI.html" title="NgrokAPI (module)">NgrokAPI</a></span></span><span class='op'>::</span><span class='const'><span class='object_link'><a href="../Models.html" title="NgrokAPI::Models (module)">Models</a></span></span><span class='op'>::</span><span class='const'><span class='object_link'><a href="../Models/WeightedBackend.html" title="NgrokAPI::Models::WeightedBackend (class)">WeightedBackend</a></span></span><span class='comma'>,</span>
1324
1479
  <span class='label'>danger:</span> <span class='kw'>true</span>
@@ -1414,7 +1569,7 @@
1414
1569
 
1415
1570
  &mdash;
1416
1571
  <div class='inline'>
1417
- <p>the ids of the child backends to their weights (0-10000)</p>
1572
+ <p>the ids of the child backends to their weights [0-10000]</p>
1418
1573
  </div>
1419
1574
 
1420
1575
  </li>
@@ -1446,21 +1601,21 @@
1446
1601
  <pre class="lines">
1447
1602
 
1448
1603
 
1449
- 176
1450
- 177
1451
- 178
1452
- 179
1453
- 180
1454
- 181
1455
- 182
1456
- 183
1457
- 184
1458
- 185
1459
- 186
1460
- 187</pre>
1604
+ 196
1605
+ 197
1606
+ 198
1607
+ 199
1608
+ 200
1609
+ 201
1610
+ 202
1611
+ 203
1612
+ 204
1613
+ 205
1614
+ 206
1615
+ 207</pre>
1461
1616
  </td>
1462
1617
  <td>
1463
- <pre class="code"><span class="info file"># File 'lib/ngrokapi/services/weighted_backends_client.rb', line 176</span>
1618
+ <pre class="code"><span class="info file"># File 'lib/ngrokapi/services/weighted_backends_client.rb', line 196</span>
1464
1619
 
1465
1620
  <span class='kw'>def</span> <span class='id identifier rubyid_update'>update</span><span class='lparen'>(</span><span class='label'>id:</span> <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_end'>&quot;</span></span><span class='comma'>,</span> <span class='label'>description:</span> <span class='kw'>nil</span><span class='comma'>,</span> <span class='label'>metadata:</span> <span class='kw'>nil</span><span class='comma'>,</span> <span class='label'>backends:</span> <span class='lbrace'>{</span><span class='rbrace'>}</span><span class='rparen'>)</span>
1466
1621
  <span class='id identifier rubyid_path'>path</span> <span class='op'>=</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>/backends/weighted/%{id}</span><span class='tstring_end'>&#39;</span></span>
@@ -1472,7 +1627,7 @@
1472
1627
  <span class='id identifier rubyid_data'>data</span><span class='lbracket'>[</span><span class='symbol'>:metadata</span><span class='rbracket'>]</span> <span class='op'>=</span> <span class='id identifier rubyid_metadata'>metadata</span> <span class='kw'>if</span> <span class='id identifier rubyid_metadata'>metadata</span>
1473
1628
  <span class='id identifier rubyid_data'>data</span><span class='lbracket'>[</span><span class='symbol'>:backends</span><span class='rbracket'>]</span> <span class='op'>=</span> <span class='id identifier rubyid_backends'>backends</span> <span class='kw'>if</span> <span class='id identifier rubyid_backends'>backends</span>
1474
1629
  <span class='id identifier rubyid_result'>result</span> <span class='op'>=</span> <span class='ivar'>@client</span><span class='period'>.</span><span class='id identifier rubyid_patch'>patch</span><span class='lparen'>(</span><span class='id identifier rubyid_path'>path</span> <span class='op'>%</span> <span class='id identifier rubyid_replacements'>replacements</span><span class='comma'>,</span> <span class='label'>data:</span> <span class='id identifier rubyid_data'>data</span><span class='rparen'>)</span>
1475
- <span class='const'><span class='object_link'><a href="../../NgrokAPI.html" title="NgrokAPI (module)">NgrokAPI</a></span></span><span class='op'>::</span><span class='const'><span class='object_link'><a href="../Models.html" title="NgrokAPI::Models (module)">Models</a></span></span><span class='op'>::</span><span class='const'><span class='object_link'><a href="../Models/WeightedBackend.html" title="NgrokAPI::Models::WeightedBackend (class)">WeightedBackend</a></span></span><span class='period'>.</span><span class='id identifier rubyid_new'><span class='object_link'><a href="../Models/WeightedBackend.html#initialize-instance_method" title="NgrokAPI::Models::WeightedBackend#initialize (method)">new</a></span></span><span class='lparen'>(</span><span class='label'>client:</span> <span class='kw'>self</span><span class='comma'>,</span> <span class='label'>result:</span> <span class='id identifier rubyid_result'>result</span><span class='rparen'>)</span>
1630
+ <span class='const'><span class='object_link'><a href="../../NgrokAPI.html" title="NgrokAPI (module)">NgrokAPI</a></span></span><span class='op'>::</span><span class='const'><span class='object_link'><a href="../Models.html" title="NgrokAPI::Models (module)">Models</a></span></span><span class='op'>::</span><span class='const'><span class='object_link'><a href="../Models/WeightedBackend.html" title="NgrokAPI::Models::WeightedBackend (class)">WeightedBackend</a></span></span><span class='period'>.</span><span class='id identifier rubyid_new'><span class='object_link'><a href="../Models/WeightedBackend.html#initialize-instance_method" title="NgrokAPI::Models::WeightedBackend#initialize (method)">new</a></span></span><span class='lparen'>(</span><span class='label'>client:</span> <span class='kw'>self</span><span class='comma'>,</span> <span class='label'>attrs:</span> <span class='id identifier rubyid_result'>result</span><span class='rparen'>)</span>
1476
1631
  <span class='kw'>end</span></pre>
1477
1632
  </td>
1478
1633
  </tr>
@@ -1564,7 +1719,7 @@
1564
1719
 
1565
1720
  &mdash;
1566
1721
  <div class='inline'>
1567
- <p>the ids of the child backends to their weights (0-10000)</p>
1722
+ <p>the ids of the child backends to their weights [0-10000]</p>
1568
1723
  </div>
1569
1724
 
1570
1725
  </li>
@@ -1596,21 +1751,21 @@
1596
1751
  <pre class="lines">
1597
1752
 
1598
1753
 
1599
- 200
1600
- 201
1601
- 202
1602
- 203
1603
- 204
1604
- 205
1605
- 206
1606
- 207
1607
- 208
1608
- 209
1609
- 210
1610
- 211</pre>
1754
+ 220
1755
+ 221
1756
+ 222
1757
+ 223
1758
+ 224
1759
+ 225
1760
+ 226
1761
+ 227
1762
+ 228
1763
+ 229
1764
+ 230
1765
+ 231</pre>
1611
1766
  </td>
1612
1767
  <td>
1613
- <pre class="code"><span class="info file"># File 'lib/ngrokapi/services/weighted_backends_client.rb', line 200</span>
1768
+ <pre class="code"><span class="info file"># File 'lib/ngrokapi/services/weighted_backends_client.rb', line 220</span>
1614
1769
 
1615
1770
  <span class='kw'>def</span> <span class='id identifier rubyid_update!'>update!</span><span class='lparen'>(</span><span class='label'>id:</span> <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_end'>&quot;</span></span><span class='comma'>,</span> <span class='label'>description:</span> <span class='kw'>nil</span><span class='comma'>,</span> <span class='label'>metadata:</span> <span class='kw'>nil</span><span class='comma'>,</span> <span class='label'>backends:</span> <span class='lbrace'>{</span><span class='rbrace'>}</span><span class='rparen'>)</span>
1616
1771
  <span class='id identifier rubyid_path'>path</span> <span class='op'>=</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>/backends/weighted/%{id}</span><span class='tstring_end'>&#39;</span></span>
@@ -1622,7 +1777,7 @@
1622
1777
  <span class='id identifier rubyid_data'>data</span><span class='lbracket'>[</span><span class='symbol'>:metadata</span><span class='rbracket'>]</span> <span class='op'>=</span> <span class='id identifier rubyid_metadata'>metadata</span> <span class='kw'>if</span> <span class='id identifier rubyid_metadata'>metadata</span>
1623
1778
  <span class='id identifier rubyid_data'>data</span><span class='lbracket'>[</span><span class='symbol'>:backends</span><span class='rbracket'>]</span> <span class='op'>=</span> <span class='id identifier rubyid_backends'>backends</span> <span class='kw'>if</span> <span class='id identifier rubyid_backends'>backends</span>
1624
1779
  <span class='id identifier rubyid_result'>result</span> <span class='op'>=</span> <span class='ivar'>@client</span><span class='period'>.</span><span class='id identifier rubyid_patch'>patch</span><span class='lparen'>(</span><span class='id identifier rubyid_path'>path</span> <span class='op'>%</span> <span class='id identifier rubyid_replacements'>replacements</span><span class='comma'>,</span> <span class='label'>data:</span> <span class='id identifier rubyid_data'>data</span><span class='comma'>,</span> <span class='label'>danger:</span> <span class='kw'>true</span><span class='rparen'>)</span>
1625
- <span class='const'><span class='object_link'><a href="../../NgrokAPI.html" title="NgrokAPI (module)">NgrokAPI</a></span></span><span class='op'>::</span><span class='const'><span class='object_link'><a href="../Models.html" title="NgrokAPI::Models (module)">Models</a></span></span><span class='op'>::</span><span class='const'><span class='object_link'><a href="../Models/WeightedBackend.html" title="NgrokAPI::Models::WeightedBackend (class)">WeightedBackend</a></span></span><span class='period'>.</span><span class='id identifier rubyid_new'><span class='object_link'><a href="../Models/WeightedBackend.html#initialize-instance_method" title="NgrokAPI::Models::WeightedBackend#initialize (method)">new</a></span></span><span class='lparen'>(</span><span class='label'>client:</span> <span class='kw'>self</span><span class='comma'>,</span> <span class='label'>result:</span> <span class='id identifier rubyid_result'>result</span><span class='rparen'>)</span>
1780
+ <span class='const'><span class='object_link'><a href="../../NgrokAPI.html" title="NgrokAPI (module)">NgrokAPI</a></span></span><span class='op'>::</span><span class='const'><span class='object_link'><a href="../Models.html" title="NgrokAPI::Models (module)">Models</a></span></span><span class='op'>::</span><span class='const'><span class='object_link'><a href="../Models/WeightedBackend.html" title="NgrokAPI::Models::WeightedBackend (class)">WeightedBackend</a></span></span><span class='period'>.</span><span class='id identifier rubyid_new'><span class='object_link'><a href="../Models/WeightedBackend.html#initialize-instance_method" title="NgrokAPI::Models::WeightedBackend#initialize (method)">new</a></span></span><span class='lparen'>(</span><span class='label'>client:</span> <span class='kw'>self</span><span class='comma'>,</span> <span class='label'>attrs:</span> <span class='id identifier rubyid_result'>result</span><span class='rparen'>)</span>
1626
1781
  <span class='kw'>end</span></pre>
1627
1782
  </td>
1628
1783
  </tr>
@@ -1634,7 +1789,7 @@
1634
1789
  </div>
1635
1790
 
1636
1791
  <div id="footer">
1637
- Generated on Thu Mar 10 16:54:46 2022 by
1792
+ Generated on Mon Apr 11 19:33:03 2022 by
1638
1793
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
1639
1794
  0.9.27 (ruby-2.7.5).
1640
1795
  </div>
@@ -107,7 +107,7 @@
107
107
  </div>
108
108
 
109
109
  <div id="footer">
110
- Generated on Thu Mar 10 16:54:38 2022 by
110
+ Generated on Mon Apr 11 19:32:55 2022 by
111
111
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
112
112
  0.9.27 (ruby-2.7.5).
113
113
  </div>
data/docs/NgrokAPI.html CHANGED
@@ -147,7 +147,7 @@
147
147
  </div>
148
148
 
149
149
  <div id="footer">
150
- Generated on Thu Mar 10 16:54:38 2022 by
150
+ Generated on Mon Apr 11 19:32:55 2022 by
151
151
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
152
152
  0.9.27 (ruby-2.7.5).
153
153
  </div>