mirror of
https://github.com/EvolutionAPI/adk-python.git
synced 2025-07-14 01:41:25 -06:00
Added filterClause in Update and Delete Request
PiperOrigin-RevId: 757013222
This commit is contained in:
parent
4c191ba6b9
commit
9a8c77e04a
@ -580,6 +580,7 @@ class ConnectionsClient:
|
|||||||
"serviceName": {"$ref": "#/components/schemas/serviceName"},
|
"serviceName": {"$ref": "#/components/schemas/serviceName"},
|
||||||
"host": {"$ref": "#/components/schemas/host"},
|
"host": {"$ref": "#/components/schemas/host"},
|
||||||
"entity": {"$ref": "#/components/schemas/entity"},
|
"entity": {"$ref": "#/components/schemas/entity"},
|
||||||
|
"filterClause": {"$ref": "#/components/schemas/filterClause"},
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -624,6 +625,7 @@ class ConnectionsClient:
|
|||||||
"serviceName": {"$ref": "#/components/schemas/serviceName"},
|
"serviceName": {"$ref": "#/components/schemas/serviceName"},
|
||||||
"host": {"$ref": "#/components/schemas/host"},
|
"host": {"$ref": "#/components/schemas/host"},
|
||||||
"entity": {"$ref": "#/components/schemas/entity"},
|
"entity": {"$ref": "#/components/schemas/entity"},
|
||||||
|
"filterClause": {"$ref": "#/components/schemas/filterClause"},
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -463,6 +463,7 @@ class TestConnectionsClient:
|
|||||||
assert schema["type"] == "object"
|
assert schema["type"] == "object"
|
||||||
assert "properties" in schema
|
assert "properties" in schema
|
||||||
assert "entityId" in schema["properties"]
|
assert "entityId" in schema["properties"]
|
||||||
|
assert "filterClause" in schema["properties"]
|
||||||
|
|
||||||
def test_get_operation_request_static(self):
|
def test_get_operation_request_static(self):
|
||||||
schema = ConnectionsClient.get_operation_request()
|
schema = ConnectionsClient.get_operation_request()
|
||||||
@ -477,6 +478,7 @@ class TestConnectionsClient:
|
|||||||
assert schema["type"] == "object"
|
assert schema["type"] == "object"
|
||||||
assert "properties" in schema
|
assert "properties" in schema
|
||||||
assert "entityId" in schema["properties"]
|
assert "entityId" in schema["properties"]
|
||||||
|
assert "filterClause" in schema["properties"]
|
||||||
|
|
||||||
def test_list_operation_request(self):
|
def test_list_operation_request(self):
|
||||||
schema = ConnectionsClient.list_operation_request()
|
schema = ConnectionsClient.list_operation_request()
|
||||||
|
Loading…
Reference in New Issue
Block a user