1616
1717from pydantic import (
1818 Field ,
19+ StrictBool ,
1920 StrictFloat ,
2021 StrictInt ,
2122 StrictStr ,
@@ -1971,6 +1972,30 @@ def get_logs(
19711972 ),
19721973 ] = None ,
19731974 sort_order : Optional [StrictStr ] = None ,
1975+ data_center_region : Annotated [
1976+ Optional [StrictStr ],
1977+ Field (
1978+ description = "Filters by the CDN data center region that served the request. Can be combined with other filters "
1979+ ),
1980+ ] = None ,
1981+ request_country_code : Annotated [
1982+ Optional [StrictStr ],
1983+ Field (
1984+ description = "Filters by the originating country of the user request. Can be combined with other filters "
1985+ ),
1986+ ] = None ,
1987+ status_code : Annotated [
1988+ Optional [StrictInt ],
1989+ Field (
1990+ description = "Filters by the HTTP status code returned to the client. Can be combined with other filters "
1991+ ),
1992+ ] = None ,
1993+ cache_hit : Annotated [
1994+ Optional [StrictBool ],
1995+ Field (
1996+ description = "Filters based on whether the request was served from the CDN cache. Can be combined with other filters "
1997+ ),
1998+ ] = None ,
19741999 _request_timeout : Union [
19752000 None ,
19762001 Annotated [StrictFloat , Field (gt = 0 )],
@@ -2000,6 +2025,14 @@ def get_logs(
20002025 :type sort_by: str
20012026 :param sort_order:
20022027 :type sort_order: str
2028+ :param data_center_region: Filters by the CDN data center region that served the request. Can be combined with other filters
2029+ :type data_center_region: str
2030+ :param request_country_code: Filters by the originating country of the user request. Can be combined with other filters
2031+ :type request_country_code: str
2032+ :param status_code: Filters by the HTTP status code returned to the client. Can be combined with other filters
2033+ :type status_code: int
2034+ :param cache_hit: Filters based on whether the request was served from the CDN cache. Can be combined with other filters
2035+ :type cache_hit: bool
20032036 :param _request_timeout: timeout setting for this request. If one
20042037 number provided, it will be total request
20052038 timeout. It can also be a pair (tuple) of
@@ -2031,6 +2064,10 @@ def get_logs(
20312064 page_identifier = page_identifier ,
20322065 sort_by = sort_by ,
20332066 sort_order = sort_order ,
2067+ data_center_region = data_center_region ,
2068+ request_country_code = request_country_code ,
2069+ status_code = status_code ,
2070+ cache_hit = cache_hit ,
20342071 _request_auth = _request_auth ,
20352072 _content_type = _content_type ,
20362073 _headers = _headers ,
@@ -2083,6 +2120,30 @@ def get_logs_with_http_info(
20832120 ),
20842121 ] = None ,
20852122 sort_order : Optional [StrictStr ] = None ,
2123+ data_center_region : Annotated [
2124+ Optional [StrictStr ],
2125+ Field (
2126+ description = "Filters by the CDN data center region that served the request. Can be combined with other filters "
2127+ ),
2128+ ] = None ,
2129+ request_country_code : Annotated [
2130+ Optional [StrictStr ],
2131+ Field (
2132+ description = "Filters by the originating country of the user request. Can be combined with other filters "
2133+ ),
2134+ ] = None ,
2135+ status_code : Annotated [
2136+ Optional [StrictInt ],
2137+ Field (
2138+ description = "Filters by the HTTP status code returned to the client. Can be combined with other filters "
2139+ ),
2140+ ] = None ,
2141+ cache_hit : Annotated [
2142+ Optional [StrictBool ],
2143+ Field (
2144+ description = "Filters based on whether the request was served from the CDN cache. Can be combined with other filters "
2145+ ),
2146+ ] = None ,
20862147 _request_timeout : Union [
20872148 None ,
20882149 Annotated [StrictFloat , Field (gt = 0 )],
@@ -2112,6 +2173,14 @@ def get_logs_with_http_info(
21122173 :type sort_by: str
21132174 :param sort_order:
21142175 :type sort_order: str
2176+ :param data_center_region: Filters by the CDN data center region that served the request. Can be combined with other filters
2177+ :type data_center_region: str
2178+ :param request_country_code: Filters by the originating country of the user request. Can be combined with other filters
2179+ :type request_country_code: str
2180+ :param status_code: Filters by the HTTP status code returned to the client. Can be combined with other filters
2181+ :type status_code: int
2182+ :param cache_hit: Filters based on whether the request was served from the CDN cache. Can be combined with other filters
2183+ :type cache_hit: bool
21152184 :param _request_timeout: timeout setting for this request. If one
21162185 number provided, it will be total request
21172186 timeout. It can also be a pair (tuple) of
@@ -2143,6 +2212,10 @@ def get_logs_with_http_info(
21432212 page_identifier = page_identifier ,
21442213 sort_by = sort_by ,
21452214 sort_order = sort_order ,
2215+ data_center_region = data_center_region ,
2216+ request_country_code = request_country_code ,
2217+ status_code = status_code ,
2218+ cache_hit = cache_hit ,
21462219 _request_auth = _request_auth ,
21472220 _content_type = _content_type ,
21482221 _headers = _headers ,
@@ -2195,6 +2268,30 @@ def get_logs_without_preload_content(
21952268 ),
21962269 ] = None ,
21972270 sort_order : Optional [StrictStr ] = None ,
2271+ data_center_region : Annotated [
2272+ Optional [StrictStr ],
2273+ Field (
2274+ description = "Filters by the CDN data center region that served the request. Can be combined with other filters "
2275+ ),
2276+ ] = None ,
2277+ request_country_code : Annotated [
2278+ Optional [StrictStr ],
2279+ Field (
2280+ description = "Filters by the originating country of the user request. Can be combined with other filters "
2281+ ),
2282+ ] = None ,
2283+ status_code : Annotated [
2284+ Optional [StrictInt ],
2285+ Field (
2286+ description = "Filters by the HTTP status code returned to the client. Can be combined with other filters "
2287+ ),
2288+ ] = None ,
2289+ cache_hit : Annotated [
2290+ Optional [StrictBool ],
2291+ Field (
2292+ description = "Filters based on whether the request was served from the CDN cache. Can be combined with other filters "
2293+ ),
2294+ ] = None ,
21982295 _request_timeout : Union [
21992296 None ,
22002297 Annotated [StrictFloat , Field (gt = 0 )],
@@ -2224,6 +2321,14 @@ def get_logs_without_preload_content(
22242321 :type sort_by: str
22252322 :param sort_order:
22262323 :type sort_order: str
2324+ :param data_center_region: Filters by the CDN data center region that served the request. Can be combined with other filters
2325+ :type data_center_region: str
2326+ :param request_country_code: Filters by the originating country of the user request. Can be combined with other filters
2327+ :type request_country_code: str
2328+ :param status_code: Filters by the HTTP status code returned to the client. Can be combined with other filters
2329+ :type status_code: int
2330+ :param cache_hit: Filters based on whether the request was served from the CDN cache. Can be combined with other filters
2331+ :type cache_hit: bool
22272332 :param _request_timeout: timeout setting for this request. If one
22282333 number provided, it will be total request
22292334 timeout. It can also be a pair (tuple) of
@@ -2255,6 +2360,10 @@ def get_logs_without_preload_content(
22552360 page_identifier = page_identifier ,
22562361 sort_by = sort_by ,
22572362 sort_order = sort_order ,
2363+ data_center_region = data_center_region ,
2364+ request_country_code = request_country_code ,
2365+ status_code = status_code ,
2366+ cache_hit = cache_hit ,
22582367 _request_auth = _request_auth ,
22592368 _content_type = _content_type ,
22602369 _headers = _headers ,
@@ -2280,6 +2389,10 @@ def _get_logs_serialize(
22802389 page_identifier ,
22812390 sort_by ,
22822391 sort_order ,
2392+ data_center_region ,
2393+ request_country_code ,
2394+ status_code ,
2395+ cache_hit ,
22832396 _request_auth ,
22842397 _content_type ,
22852398 _headers ,
@@ -2331,6 +2444,22 @@ def _get_logs_serialize(
23312444
23322445 _query_params .append (("sortOrder" , sort_order ))
23332446
2447+ if data_center_region is not None :
2448+
2449+ _query_params .append (("dataCenterRegion" , data_center_region ))
2450+
2451+ if request_country_code is not None :
2452+
2453+ _query_params .append (("requestCountryCode" , request_country_code ))
2454+
2455+ if status_code is not None :
2456+
2457+ _query_params .append (("statusCode" , status_code ))
2458+
2459+ if cache_hit is not None :
2460+
2461+ _query_params .append (("cacheHit" , cache_hit ))
2462+
23342463 # process the header parameters
23352464 # process the form parameters
23362465 # process the body parameter
0 commit comments