Create a new Shake instance from a JSON dict.

        Args:
            data (dict): JSON dictionary representing a Shake.

        Returns:
            A Shake instance.

def NewFromJSON(data):
        """
        Create a new Shake instance from a JSON dict.

        Args:
            data (dict): JSON dictionary representing a Shake.

        Returns:
            A Shake instance.
        """
        s = Shake(
            id=data.get('id', None),
            name=data.get('name', None),
            url=data.get('url', None),
            thumbnail_url=data.get('thumbnail_url', None),
            description=data.get('description', None),
            type=data.get('type', None),
            created_at=data.get('created_at', None),
            updated_at=data.get('updated_at', None)
        )
        if data.get('owner', None):
            s.owner = User.NewFromJSON(data.get('owner', None))
        return s