@@ -273,6 +273,11 @@ def __init__(self, api_client=None):
273273 "attribute" : "offset" ,
274274 "location" : "query" ,
275275 },
276+ "is_deleted" : {
277+ "openapi_types" : (bool ,),
278+ "attribute" : "is_deleted" ,
279+ "location" : "query" ,
280+ },
276281 },
277282 headers_map = {
278283 "accept" : ["application/json" ],
@@ -524,6 +529,7 @@ def list_slos(
524529 metrics_query : Union [str , UnsetType ] = unset ,
525530 limit : Union [int , UnsetType ] = unset ,
526531 offset : Union [int , UnsetType ] = unset ,
532+ is_deleted : Union [bool , UnsetType ] = unset ,
527533 ) -> SLOListResponse :
528534 """Get all SLOs.
529535
@@ -541,6 +547,8 @@ def list_slos(
541547 :type limit: int, optional
542548 :param offset: The specific offset to use as the beginning of the returned response.
543549 :type offset: int, optional
550+ :param is_deleted: Whether to return only deleted service level objective objects.
551+ :type is_deleted: bool, optional
544552 :rtype: SLOListResponse
545553 """
546554 kwargs : Dict [str , Any ] = {}
@@ -562,6 +570,9 @@ def list_slos(
562570 if offset is not unset :
563571 kwargs ["offset" ] = offset
564572
573+ if is_deleted is not unset :
574+ kwargs ["is_deleted" ] = is_deleted
575+
565576 return self ._list_slos_endpoint .call_with_http_info (** kwargs )
566577
567578 def list_slos_with_pagination (
@@ -573,6 +584,7 @@ def list_slos_with_pagination(
573584 metrics_query : Union [str , UnsetType ] = unset ,
574585 limit : Union [int , UnsetType ] = unset ,
575586 offset : Union [int , UnsetType ] = unset ,
587+ is_deleted : Union [bool , UnsetType ] = unset ,
576588 ) -> collections .abc .Iterable [ServiceLevelObjective ]:
577589 """Get all SLOs.
578590
@@ -590,6 +602,8 @@ def list_slos_with_pagination(
590602 :type limit: int, optional
591603 :param offset: The specific offset to use as the beginning of the returned response.
592604 :type offset: int, optional
605+ :param is_deleted: Whether to return only deleted service level objective objects.
606+ :type is_deleted: bool, optional
593607
594608 :return: A generator of paginated results.
595609 :rtype: collections.abc.Iterable[ServiceLevelObjective]
@@ -613,6 +627,9 @@ def list_slos_with_pagination(
613627 if offset is not unset :
614628 kwargs ["offset" ] = offset
615629
630+ if is_deleted is not unset :
631+ kwargs ["is_deleted" ] = is_deleted
632+
616633 local_page_size = get_attribute_from_path (kwargs , "limit" , 1000 )
617634 endpoint = self ._list_slos_endpoint
618635 set_attribute_from_path (kwargs , "limit" , local_page_size , endpoint .params_map )
0 commit comments