Current full allow-all permission state.
| 604 | # Experimental: this type is part of an experimental API and may change or be removed. |
| 605 | @dataclass |
| 606 | class AllowAllPermissionState: |
| 607 | """Current full allow-all permission state.""" |
| 608 | |
| 609 | enabled: bool |
| 610 | """Whether full allow-all permissions are currently active""" |
| 611 | |
| 612 | @staticmethod |
| 613 | def from_dict(obj: Any) -> 'AllowAllPermissionState': |
| 614 | assert isinstance(obj, dict) |
| 615 | enabled = from_bool(obj.get("enabled")) |
| 616 | return AllowAllPermissionState(enabled) |
| 617 | |
| 618 | def to_dict(self) -> dict: |
| 619 | result: dict = {} |
| 620 | result["enabled"] = from_bool(self.enabled) |
| 621 | return result |
| 622 | |
| 623 | class APIKeyAuthInfoType(Enum): |
| 624 | API_KEY = "api-key" |
no outgoing calls
no test coverage detected
searching dependent graphs…