(self, attributes: dict[str, Any])
| 129 | return self._user.value |
| 130 | |
| 131 | def _useAttributes(self, attributes: dict[str, Any]) -> None: |
| 132 | if "direct_membership" in attributes: # pragma no branch |
| 133 | self._direct_membership = self._makeBoolAttribute(attributes["direct_membership"]) |
| 134 | if "enterprise_teams_providing_indirect_membership" in attributes: # pragma no branch |
| 135 | self._enterprise_teams_providing_indirect_membership = self._makeListOfStringsAttribute( |
| 136 | attributes["enterprise_teams_providing_indirect_membership"] |
| 137 | ) |
| 138 | if "organization" in attributes: # pragma no branch |
| 139 | self._organization = self._makeClassAttribute(github.Organization.Organization, attributes["organization"]) |
| 140 | if "organization_url" in attributes: # pragma no branch |
| 141 | self._organization_url = self._makeStringAttribute(attributes["organization_url"]) |
| 142 | if "permissions" in attributes: # pragma no branch |
| 143 | self._permissions = self._makeDictAttribute(attributes["permissions"]) |
| 144 | if "role" in attributes: # pragma no branch |
| 145 | self._role = self._makeStringAttribute(attributes["role"]) |
| 146 | if "state" in attributes: # pragma no branch |
| 147 | self._state = self._makeStringAttribute(attributes["state"]) |
| 148 | if "url" in attributes: # pragma no branch |
| 149 | self._url = self._makeStringAttribute(attributes["url"]) |
| 150 | if "user" in attributes: # pragma no branch |
| 151 | self._user = self._makeClassAttribute(github.NamedUser.NamedUser, attributes["user"]) |
nothing calls this directly
no test coverage detected