Exemplo n.º 1
0
    def created_at(self) -> datetime.datetime:
        """
        The date and time when the repository was created.
        """

        created_at = self.data["createdAt"]
        return utils.iso_to_datetime(created_at)
Exemplo n.º 2
0
    def created_at(self):
        """
        The date and time at which the reaction was added.
        """

        created_at = self.data["createdAt"]
        return utils.iso_to_datetime(created_at)
Exemplo n.º 3
0
    def reset_at(self) -> datetime.datetime:
        """
        The date and time at which the current rate limit window resets in UTC.
        """

        reset_at = self.data["resetAt"]
        return utils.iso_to_datetime(reset_at)
Exemplo n.º 4
0
    def created_at(self) -> datetime.datetime:
        """
        The date and time at which the label was created.
        """

        created_at = self.data["createdAt"]
        return utils.iso_to_datetime(created_at)
Exemplo n.º 5
0
    def created_at(self):
        """
        The date and time the sponsor listing was created.

        :type: :class:`~datetime.datetime`
        """

        return utils.iso_to_datetime(self.data["createdAt"])
Exemplo n.º 6
0
    def updated_at(self) -> typing.Optional[datetime.datetime]:
        """
        The date and time the mannequin was last updated.
        """

        updated_at = self.data["updatedAt"]
        if updated_at:
            return utils.iso_to_datetime(updated_at)
Exemplo n.º 7
0
    def updated_at(self) -> typing.Optional[datetime.datetime]:
        """
        The date and time when the repository was last updated.
        """

        updated_at = self.data["updatedAt"]
        if updated_at:
            return utils.iso_to_datetime(updated_at)
Exemplo n.º 8
0
    def pushed_at(self) -> typing.Optional[datetime.datetime]:
        """
        The date and time when the repository was last pushed to.
        """

        pushed_at = self.data["pushedAt"]
        if pushed_at:
            return utils.iso_to_datetime(pushed_at)
Exemplo n.º 9
0
    def updated_at(self) -> typing.Optional[datetime.datetime]:
        """
        The date and time at which the label was updated.
        """

        updated_at = self.data["updatedAt"]
        if updated_at:
            return utils.iso_to_datetime(updated_at)
Exemplo n.º 10
0
    def created_at(self):
        """
        The date and time the user was created.

        :type: :class:`~datetime.datetime`
        """

        created_at = self.data["createdAt"]
        return utils.iso_to_datetime(created_at)
Exemplo n.º 11
0
    def closed_at(self):
        """
        When the closable was last closed.

        :type: :class:`~datetime.datetime`
        """

        closed_at = self.data["closedAt"]
        return utils.iso_to_datetime(closed_at)
Exemplo n.º 12
0
    def reset_at(self):
        """
        When the current rate limit window resets.

        :type: :class:`~datetime.datetime`
        """

        reset_at = self.data["resetAt"]
        return utils.iso_to_datetime(reset_at)
Exemplo n.º 13
0
    def published_at(self):
        """
        When the comment was published.

        :type: :class:`~datetime.datetime`
        """

        published_at = self.data["publishedAt"]
        return utils.iso_to_datetime(published_at)
Exemplo n.º 14
0
    def edited_at(self):
        """
        When the comment was last edited.

        :type: :class:`~datetime.datetime`
        """

        edited_at = self.data["lastEditedAt"]
        return utils.iso_to_datetime(edited_at)
Exemplo n.º 15
0
    def updated_at(self):
        """
        The date and time the sponsor tier was last updated.

        :type: :class:`~datetime.datetime`
        """

        updated_at = self.data["updatedAt"]
        return utils.iso_to_datetime(updated_at)
Exemplo n.º 16
0
    def updated_at(self):
        """
        When the label was last updated.

        :type: :class:`~datetime.datetime`
        """

        updated_at = self.data["updatedAt"]
        return utils.iso_to_datetime(updated_at)
Exemplo n.º 17
0
    def updated_at(self):
        """
        When the bot was last updated.

        :type: Optional[:class:`~datetime.datetime`]
        """

        updated_at = self.data["updatedAt"]
        return utils.iso_to_datetime(updated_at)
Exemplo n.º 18
0
    def closed_at(self) -> typing.Optional[datetime.datetime]:
        """
        The date and time at which the closable was closed.
        """

        closed_at = self.data["closedAt"]

        if closed_at:
            return utils.iso_to_datetime(closed_at)
Exemplo n.º 19
0
    def updated_at(self):
        """
        The date and time when the repository was last updated.

        :type: :class:`~datetime.datetime`
        """

        updated_at = self.data["updatedAt"]
        return utils.iso_to_datetime(updated_at)
Exemplo n.º 20
0
    def expires_at(self):
        """
        When the status will expire.

        :type: Optional[:class:`~datetime.datetime`]
        """

        expires_at = self.data["expiresAt"]
        return utils.iso_to_datetime(expires_at)
Exemplo n.º 21
0
    def created_at(self):
        """
        When the repository was created.

        :type: :class:`~datetime.datetime`
        """

        created_at = self.data["createdAt"]
        return utils.iso_to_datetime(created_at)
Exemplo n.º 22
0
    def pushed_at(self):
        """
        When the repository was last pushed to.

        :type: :class:`~datetime.datetime`
        """

        pushed_at = self.data["pushedAt"]
        return utils.iso_to_datetime(pushed_at)
Exemplo n.º 23
0
    def created_at(self) -> datetime.datetime:
        """
        The date and time the mannequin was created.
        """

        return utils.iso_to_datetime(self.data["createdAt"])