@@ -5,202 +5,202 @@ def api_v4(self):
55
66 # The API commands for /user/
77 setattr (self , "user" ,
8- self ._client_with_auth (self .base , "user" ))
8+ self .add_with_auth (self .base , "user" ))
99 user = getattr (self , "user" )
1010 setattr (user , "billing" ,
11- self ._unused (self .base , "user/billing" ))
11+ self .add_unused (self .base , "user/billing" ))
1212 user_billing = getattr (user , "billing" )
1313 setattr (user_billing , "history" ,
14- self ._client_with_auth (self .base , "user/billing/history" ))
14+ self .add_with_auth (self .base , "user/billing/history" ))
1515 setattr (user_billing , "profile" ,
16- self ._client_with_auth (self .base , "user/billing/profile" ))
16+ self .add_with_auth (self .base , "user/billing/profile" ))
1717 setattr (user_billing , "subscriptions" ,
18- self ._unused (self .base , "user/billing/subscriptions" ))
18+ self .add_unused (self .base , "user/billing/subscriptions" ))
1919 user_billing_subscriptions = getattr (user_billing , "subscriptions" )
2020 setattr (user_billing_subscriptions , "apps" ,
21- self ._client_with_auth (self .base , "user/billing/subscriptions/apps" ))
21+ self .add_with_auth (self .base , "user/billing/subscriptions/apps" ))
2222 setattr (user_billing_subscriptions , "zones" ,
23- self ._client_with_auth (self .base , "user/billing/subscriptions/zones" ))
23+ self .add_with_auth (self .base , "user/billing/subscriptions/zones" ))
2424 setattr (user , "firewall" ,
25- self ._unused (self .base , "user/firewall" ))
25+ self .add_unused (self .base , "user/firewall" ))
2626 user_firewall = getattr (user , "firewall" )
2727 setattr (user_firewall , "access_rules" ,
28- self ._unused (self .base , "user/firewall/access_rules" ))
28+ self .add_unused (self .base , "user/firewall/access_rules" ))
2929 user_firewall_access_rules = getattr (user_firewall , "access_rules" )
3030 setattr (user_firewall_access_rules , "rules" ,
31- self ._client_with_auth (self .base , "user/firewall/access_rules/rules" ))
31+ self .add_with_auth (self .base , "user/firewall/access_rules/rules" ))
3232 setattr (user , "organizations" ,
33- self ._client_with_auth (self .base , "user/organizations" ))
33+ self .add_with_auth (self .base , "user/organizations" ))
3434 setattr (user , "invites" ,
35- self ._client_with_auth (self .base , "user/invites" ))
35+ self .add_with_auth (self .base , "user/invites" ))
3636 setattr (user , "virtual_dns" ,
37- self ._client_with_auth (self .base , "user/virtual_dns" ))
37+ self .add_with_auth (self .base , "user/virtual_dns" ))
3838
3939 # The API commands for /zones/
4040 setattr (self , "zones" ,
41- self ._client_with_auth (self .base , "zones" ))
41+ self .add_with_auth (self .base , "zones" ))
4242 zones = getattr (self , "zones" )
4343 setattr (zones , "activation_check" ,
44- self ._client_with_auth (self .base , "zones" , "activation_check" ))
44+ self .add_with_auth (self .base , "zones" , "activation_check" ))
4545 setattr (zones , "available_plans" ,
46- self ._client_with_auth (self .base , "zones" , "available_plans" ))
46+ self .add_with_auth (self .base , "zones" , "available_plans" ))
4747 setattr (zones , "custom_certificates" ,
48- self ._client_with_auth (self .base , "zones" , "custom_certificates" ))
48+ self .add_with_auth (self .base , "zones" , "custom_certificates" ))
4949 zones_custom_certificates = getattr (zones , "custom_certificates" )
5050 setattr (zones_custom_certificates , "prioritize" ,
51- self ._client_with_auth (self .base , "zones" , "custom_certificates/prioritize" ))
51+ self .add_with_auth (self .base , "zones" , "custom_certificates/prioritize" ))
5252 setattr (zones , "custom_pages" ,
53- self ._client_with_auth (self .base , "zones" , "custom_pages" ))
53+ self .add_with_auth (self .base , "zones" , "custom_pages" ))
5454 setattr (zones , "dns_records" ,
55- self ._client_with_auth (self .base , "zones" , "dns_records" ))
55+ self .add_with_auth (self .base , "zones" , "dns_records" ))
5656 setattr (zones , "keyless_certificates" ,
57- self ._client_with_auth (self .base , "zones" , "keyless_certificates" ))
57+ self .add_with_auth (self .base , "zones" , "keyless_certificates" ))
5858 setattr (zones , "pagerules" ,
59- self ._client_with_auth (self .base , "zones" , "pagerules" ))
59+ self .add_with_auth (self .base , "zones" , "pagerules" ))
6060 setattr (zones , "purge_cache" ,
61- self ._client_with_auth (self .base , "zones" , "purge_cache" ))
61+ self .add_with_auth (self .base , "zones" , "purge_cache" ))
6262 setattr (zones , "railguns" ,
63- self ._client_with_auth (self .base , "zones" , "railguns" ))
63+ self .add_with_auth (self .base , "zones" , "railguns" ))
6464 zones_railguns = getattr (zones , "railguns" )
6565 setattr (zones_railguns , "diagnose" ,
66- self ._client_with_auth (self .base , "zones" , "railguns" , "diagnose" ))
66+ self .add_with_auth (self .base , "zones" , "railguns" , "diagnose" ))
6767 setattr (zones , "settings" ,
68- self ._client_with_auth (self .base , "zones" , "settings" ))
68+ self .add_with_auth (self .base , "zones" , "settings" ))
6969 zones_settings = getattr (zones , "settings" )
7070 setattr (zones_settings , "advanced_ddos" ,
71- self ._client_with_auth (self .base , "zones" , "settings/advanced_ddos" ))
71+ self .add_with_auth (self .base , "zones" , "settings/advanced_ddos" ))
7272 setattr (zones_settings , "always_online" ,
73- self ._client_with_auth (self .base , "zones" , "settings/always_online" ))
73+ self .add_with_auth (self .base , "zones" , "settings/always_online" ))
7474 setattr (zones_settings , "browser_cache_ttl" ,
75- self ._client_with_auth (self .base , "zones" , "settings/browser_cache_ttl" ))
75+ self .add_with_auth (self .base , "zones" , "settings/browser_cache_ttl" ))
7676 setattr (zones_settings , "browser_check" ,
77- self ._client_with_auth (self .base , "zones" , "settings/browser_check" ))
77+ self .add_with_auth (self .base , "zones" , "settings/browser_check" ))
7878 setattr (zones_settings , "cache_level" ,
79- self ._client_with_auth (self .base , "zones" , "settings/cache_level" ))
79+ self .add_with_auth (self .base , "zones" , "settings/cache_level" ))
8080 setattr (zones_settings , "challenge_ttl" ,
81- self ._client_with_auth (self .base , "zones" , "settings/challenge_ttl" ))
81+ self .add_with_auth (self .base , "zones" , "settings/challenge_ttl" ))
8282 setattr (zones_settings , "development_mode" ,
83- self ._client_with_auth (self .base , "zones" , "settings/development_mode" ))
83+ self .add_with_auth (self .base , "zones" , "settings/development_mode" ))
8484 setattr (zones_settings , "email_obfuscation" ,
85- self ._client_with_auth (self .base , "zones" , "settings/email_obfuscation" ))
85+ self .add_with_auth (self .base , "zones" , "settings/email_obfuscation" ))
8686 setattr (zones_settings , "hotlink_protection" ,
87- self ._client_with_auth (self .base , "zones" , "settings/hotlink_protection" ))
87+ self .add_with_auth (self .base , "zones" , "settings/hotlink_protection" ))
8888 setattr (zones_settings , "ip_geolocation" ,
89- self ._client_with_auth (self .base , "zones" , "settings/ip_geolocation" ))
89+ self .add_with_auth (self .base , "zones" , "settings/ip_geolocation" ))
9090 setattr (zones_settings , "ipv6" ,
91- self ._client_with_auth (self .base , "zones" , "settings/ipv6" ))
91+ self .add_with_auth (self .base , "zones" , "settings/ipv6" ))
9292 setattr (zones_settings , "minify" ,
93- self ._client_with_auth (self .base , "zones" , "settings/minify" ))
93+ self .add_with_auth (self .base , "zones" , "settings/minify" ))
9494 setattr (zones_settings , "mirage" ,
95- self ._client_with_auth (self .base , "zones" , "settings/mirage" ))
95+ self .add_with_auth (self .base , "zones" , "settings/mirage" ))
9696 setattr (zones_settings , "mobile_redirect" ,
97- self ._client_with_auth (self .base , "zones" , "settings/mobile_redirect" ))
97+ self .add_with_auth (self .base , "zones" , "settings/mobile_redirect" ))
9898 setattr (zones_settings , "origin_error_page_pass_thru" ,
99- self ._client_with_auth (self .base , "zones" , "settings/origin_error_page_pass_thru" ))
99+ self .add_with_auth (self .base , "zones" , "settings/origin_error_page_pass_thru" ))
100100 setattr (zones_settings , "polish" ,
101- self ._client_with_auth (self .base , "zones" , "settings/polish" ))
101+ self .add_with_auth (self .base , "zones" , "settings/polish" ))
102102 setattr (zones_settings , "prefetch_preload" ,
103- self ._client_with_auth (self .base , "zones" , "settings/prefetch_preload" ))
103+ self .add_with_auth (self .base , "zones" , "settings/prefetch_preload" ))
104104 setattr (zones_settings , "response_buffering" ,
105- self ._client_with_auth (self .base , "zones" , "settings/response_buffering" ))
105+ self .add_with_auth (self .base , "zones" , "settings/response_buffering" ))
106106 setattr (zones_settings , "rocket_loader" ,
107- self ._client_with_auth (self .base , "zones" , "settings/rocket_loader" ))
107+ self .add_with_auth (self .base , "zones" , "settings/rocket_loader" ))
108108 setattr (zones_settings , "security_header" ,
109- self ._client_with_auth (self .base , "zones" , "settings/security_header" ))
109+ self .add_with_auth (self .base , "zones" , "settings/security_header" ))
110110 setattr (zones_settings , "security_level" ,
111- self ._client_with_auth (self .base , "zones" , "settings/security_level" ))
111+ self .add_with_auth (self .base , "zones" , "settings/security_level" ))
112112 setattr (zones_settings , "server_side_exclude" ,
113- self ._client_with_auth (self .base , "zones" , "settings/server_side_exclude" ))
113+ self .add_with_auth (self .base , "zones" , "settings/server_side_exclude" ))
114114 setattr (zones_settings , "sort_query_string_for_cache" ,
115- self ._client_with_auth (self .base , "zones" , "settings/sort_query_string_for_cache" ))
115+ self .add_with_auth (self .base , "zones" , "settings/sort_query_string_for_cache" ))
116116 setattr (zones_settings , "ssl" ,
117- self ._client_with_auth (self .base , "zones" , "settings/ssl" ))
117+ self .add_with_auth (self .base , "zones" , "settings/ssl" ))
118118 setattr (zones_settings , "tls_1_2_only" ,
119- self ._client_with_auth (self .base , "zones" , "settings/tls_1_2_only" ))
120- setattr (zones_settings , "tls_client_auth " ,
121- self ._client_with_auth (self .base , "zones" , "settings/tls_client_auth " ))
122- setattr (zones_settings , "true_client_ip_header " ,
123- self ._client_with_auth (self .base , "zones" , "settings/true_client_ip_header " ))
119+ self .add_with_auth (self .base , "zones" , "settings/tls_1_2_only" ))
120+ setattr (zones_settings , "tlsadd_auth " ,
121+ self .add_with_auth (self .base , "zones" , "settings/tlsadd_auth " ))
122+ setattr (zones_settings , "trueadd_ip_header " ,
123+ self .add_with_auth (self .base , "zones" , "settings/trueadd_ip_header " ))
124124 setattr (zones_settings , "waf" ,
125- self ._client_with_auth (self .base , "zones" , "settings/waf" ))
125+ self .add_with_auth (self .base , "zones" , "settings/waf" ))
126126 setattr (zones , "analytics" ,
127- self ._unused (self .base , "zones" , "analytics" ))
127+ self .add_unused (self .base , "zones" , "analytics" ))
128128 zones_analytics = getattr (zones , "analytics" )
129129 setattr (zones_analytics , "colos" ,
130- self ._client_with_auth (self .base , "zones" , "analytics/colos" ))
130+ self .add_with_auth (self .base , "zones" , "analytics/colos" ))
131131 setattr (zones_analytics , "dashboard" ,
132- self ._client_with_auth (self .base , "zones" , "analytics/dashboard" ))
132+ self .add_with_auth (self .base , "zones" , "analytics/dashboard" ))
133133 setattr (zones , "firewall" ,
134- self ._unused (self .base , "zones" , "firewall" ))
134+ self .add_unused (self .base , "zones" , "firewall" ))
135135 zones_firewall = getattr (zones , "firewall" )
136136 setattr (zones_firewall , "access_rules" ,
137- self ._unused (self .base , "zones" , "firewall/access_rules" ))
137+ self .add_unused (self .base , "zones" , "firewall/access_rules" ))
138138 setattr (zones_firewall , "waf" ,
139- self ._unused (self .base , "zones" , "firewall/waf" ))
139+ self .add_unused (self .base , "zones" , "firewall/waf" ))
140140 zones_firewall_waf = getattr (zones_firewall , "waf" )
141141 setattr (zones_firewall_waf , "packages" ,
142- self ._client_with_auth (self .base , "zones" , "firewall/waf/packages" ))
142+ self .add_with_auth (self .base , "zones" , "firewall/waf/packages" ))
143143 zones_firewall_waf_packages = getattr (zones_firewall_waf , "packages" )
144144 setattr (zones_firewall_waf_packages , "groups" ,
145- self ._client_with_auth (self .base , "zones" , "firewall/waf/packages" , "groups" ))
145+ self .add_with_auth (self .base , "zones" , "firewall/waf/packages" , "groups" ))
146146 setattr (zones_firewall_waf_packages , "rules" ,
147- self ._client_with_auth (self .base , "zones" , "firewall/waf/packages" , "rules" ))
147+ self .add_with_auth (self .base , "zones" , "firewall/waf/packages" , "rules" ))
148148 zones_firewall_access_rules = getattr (zones_firewall , "access_rules" )
149149 setattr (zones_firewall_access_rules , "rules" ,
150- self ._client_with_auth (self .base , "zones" , "firewall/access_rules/rules" ))
150+ self .add_with_auth (self .base , "zones" , "firewall/access_rules/rules" ))
151151
152152 # The API commands for /railguns/
153153 setattr (self , "railguns" ,
154- self ._client_with_auth (self .base , "railguns" ))
154+ self .add_with_auth (self .base , "railguns" ))
155155 railguns = getattr (self , "railguns" )
156156 setattr (railguns , "zones" ,
157- self ._client_with_auth (self .base , "railguns" , "zones" ))
157+ self .add_with_auth (self .base , "railguns" , "zones" ))
158158
159159 # The API commands for /organizations/
160160 setattr (self , "organizations" ,
161- self ._client_with_auth (self .base , "organizations" ))
161+ self .add_with_auth (self .base , "organizations" ))
162162 organizations = getattr (self , "organizations" )
163163 setattr (organizations , "members" ,
164- self ._client_with_auth (self .base , "organizations" , "members" ))
164+ self .add_with_auth (self .base , "organizations" , "members" ))
165165 setattr (organizations , "invite" ,
166- self ._client_with_auth (self .base , "organizations" , "invite" ))
166+ self .add_with_auth (self .base , "organizations" , "invite" ))
167167 setattr (organizations , "invites" ,
168- self ._client_with_auth (self .base , "organizations" , "invites" ))
168+ self .add_with_auth (self .base , "organizations" , "invites" ))
169169 setattr (organizations , "railguns" ,
170- self ._client_with_auth (self .base , "organizations" , "railguns" ))
170+ self .add_with_auth (self .base , "organizations" , "railguns" ))
171171 organizations_railguns = getattr (organizations , "railguns" )
172172 setattr (organizations_railguns , "zones" ,
173- self ._client_with_auth (self .base , "organizations" , "railguns" , "zones" ))
173+ self .add_with_auth (self .base , "organizations" , "railguns" , "zones" ))
174174 setattr (organizations , "roles" ,
175- self ._client_with_auth (self .base , "organizations" , "roles" ))
175+ self .add_with_auth (self .base , "organizations" , "roles" ))
176176 setattr (organizations , "firewall" ,
177- self ._unused (self .base , "organizations" , "firewall" ))
177+ self .add_unused (self .base , "organizations" , "firewall" ))
178178 organizations_firewall = getattr (organizations , "firewall" )
179179 setattr (organizations_firewall , "access_rules" ,
180- self ._unused (self .base , "organizations" , "firewall/access_rules" ))
180+ self .add_unused (self .base , "organizations" , "firewall/access_rules" ))
181181 organizations_firewall_access_rules = getattr (organizations_firewall , "access_rules" )
182182 setattr (organizations_firewall_access_rules , "rules" ,
183- self ._client_with_auth (self .base , "organizations" , "firewall/access_rules/rules" ))
183+ self .add_with_auth (self .base , "organizations" , "firewall/access_rules/rules" ))
184184 setattr (organizations , "virtual_dns" ,
185- self ._client_with_auth (self .base , "organizations" , "virtual_dns" ))
185+ self .add_with_auth (self .base , "organizations" , "virtual_dns" ))
186186
187187 # The API commands for /certificates/
188188 setattr (self , "certificates" ,
189- self ._client_with_cert_auth (self .base , "certificates" ))
189+ self .add_with_cert_auth (self .base , "certificates" ))
190190
191191 # The API commands for /ips/
192192 setattr (self , "ips" ,
193- self ._client_noauth (self .base , "ips" ))
193+ self .add_noauth (self .base , "ips" ))
194194
195195 # The DNSSEC commands
196196 setattr (zones , "dnssec" ,
197- self ._client_with_auth (self .base , "zones" , "dnssec" ))
197+ self .add_with_auth (self .base , "zones" , "dnssec" ))
198198
199199 # EXTRAS
200200 # /zones/:zone_id/ssl/certificate_packs
201201 setattr (zones , "ssl" ,
202- self ._unused (self .base , "zones" , "ssl" ))
202+ self .add_unused (self .base , "zones" , "ssl" ))
203203 zones_ssl = getattr (zones , "ssl" )
204204 setattr (zones_ssl , "certificate_packs" ,
205- self ._client_with_auth (self .base , "zones" , "ssl/certificate_packs" ))
205+ self .add_with_auth (self .base , "zones" , "ssl/certificate_packs" ))
206206
0 commit comments