Indicates whether the operation succeeded and reports the post-mutation state.
| 580 | # Experimental: this type is part of an experimental API and may change or be removed. |
| 581 | @dataclass |
| 582 | class AllowAllPermissionSetResult: |
| 583 | """Indicates whether the operation succeeded and reports the post-mutation state.""" |
| 584 | |
| 585 | enabled: bool |
| 586 | """Authoritative allow-all state after the mutation""" |
| 587 | |
| 588 | success: bool |
| 589 | """Whether the operation succeeded""" |
| 590 | |
| 591 | @staticmethod |
| 592 | def from_dict(obj: Any) -> 'AllowAllPermissionSetResult': |
| 593 | assert isinstance(obj, dict) |
| 594 | enabled = from_bool(obj.get("enabled")) |
| 595 | success = from_bool(obj.get("success")) |
| 596 | return AllowAllPermissionSetResult(enabled, success) |
| 597 | |
| 598 | def to_dict(self) -> dict: |
| 599 | result: dict = {} |
| 600 | result["enabled"] = from_bool(self.enabled) |
| 601 | result["success"] = from_bool(self.success) |
| 602 | return result |
| 603 | |
| 604 | # Experimental: this type is part of an experimental API and may change or be removed. |
| 605 | @dataclass |
no outgoing calls
no test coverage detected
searching dependent graphs…