Skip to content
This repository has been archived by the owner on Nov 21, 2024. It is now read-only.

GET Monitoring Security Policy Device List #45

Merged
merged 20 commits into from
Apr 26, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Update security_policy.py
rtmooy authored Apr 24, 2024

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
commit 2e9da0da36b6daf4c63948bc91af9b97e901cfaa
15 changes: 7 additions & 8 deletions catalystwan/models/monitoring/security_policy.py
Original file line number Diff line number Diff line change
@@ -8,25 +8,24 @@ class DeviceListResponse(BaseModel):

def get_amp_down(self) -> list:
return self.data["amp_down"]
# amp_down: list = Field(..., alias="amp_down")

def get_amp_up(self) -> list:
return self.data["amp_up"]
# amp_up: list = Field(..., alias="amp_up")

def get_ips_down(self) -> list:
return self.data["ips_down"]
# ips_down: list = Field(..., alias="ips_down")

def get_ips_up(self) -> list:
return self.data["ips_up"]
# ips_up: list = Field(..., alias="ips_up")

def get_urlf_down(self) -> list:
return self.data["urlf_down"]
# urlf_down: list = Field(..., alias="urlf_down")

def get_urlf_up(self) -> list:
return self.data["urlf_up"]
# urlf_up: list = Field(..., alias="urlf_up")

def get_zbfw_down(self) -> list:
return self.data["zbfw_down"]
# zbfw_down: list = Field(..., serialization_alias="zbfw_down", validation_alias="zbfw_down")

def get_zbfw_up(self) -> list:
return self.data["zbfw_up"]
# zbfw_up: list = Field(..., serialization_alias="zbfw_up", validation_alias="zbfw_up")