(obj: Any)
| 535 | |
| 536 | @staticmethod |
| 537 | def from_dict(obj: Any) -> 'AgentsDiscoverRequest': |
| 538 | assert isinstance(obj, dict) |
| 539 | exclude_host_agents = from_union([from_bool, from_none], obj.get("excludeHostAgents")) |
| 540 | project_paths = from_union([lambda x: from_list(from_str, x), from_none], obj.get("projectPaths")) |
| 541 | return AgentsDiscoverRequest(exclude_host_agents, project_paths) |
| 542 | |
| 543 | def to_dict(self) -> dict: |
| 544 | result: dict = {} |
nothing calls this directly
no test coverage detected