(self, attributes: dict[str, Any])
| 115 | return self._url.value |
| 116 | |
| 117 | def _useAttributes(self, attributes: dict[str, Any]) -> None: |
| 118 | if "action" in attributes: # pragma no branch |
| 119 | self._action = self._makeStringAttribute(attributes["action"]) |
| 120 | if "delivered_at" in attributes: # pragma no branch |
| 121 | self._delivered_at = self._makeDatetimeAttribute(attributes["delivered_at"]) |
| 122 | if "duration" in attributes: # pragma no branch |
| 123 | self._duration = self._makeFloatAttribute(attributes["duration"]) |
| 124 | if "event" in attributes: # pragma no branch |
| 125 | self._event = self._makeStringAttribute(attributes["event"]) |
| 126 | if "guid" in attributes: # pragma no branch |
| 127 | self._guid = self._makeStringAttribute(attributes["guid"]) |
| 128 | if "id" in attributes: # pragma no branch |
| 129 | self._id = self._makeIntAttribute(attributes["id"]) |
| 130 | if "installation_id" in attributes: # pragma no branch |
| 131 | self._installation_id = self._makeIntAttribute(attributes["installation_id"]) |
| 132 | if "redelivery" in attributes: # pragma no branch |
| 133 | self._redelivery = self._makeBoolAttribute(attributes["redelivery"]) |
| 134 | if "repository_id" in attributes: # pragma no branch |
| 135 | self._repository_id = self._makeIntAttribute(attributes["repository_id"]) |
| 136 | if "status" in attributes: # pragma no branch |
| 137 | self._status = self._makeStringAttribute(attributes["status"]) |
| 138 | if "status_code" in attributes: # pragma no branch |
| 139 | self._status_code = self._makeIntAttribute(attributes["status_code"]) |
| 140 | if "throttled_at" in attributes: # pragma no branch |
| 141 | self._throttled_at = self._makeDatetimeAttribute(attributes["throttled_at"]) |
| 142 | if "url" in attributes: # pragma no branch |
| 143 | self._url = self._makeStringAttribute(attributes["url"]) |
| 144 | |
| 145 | |
| 146 | class HookDeliveryRequest(NonCompletableGithubObject): |
nothing calls this directly
no test coverage detected