def from_serializable(serializable)
      # for some reason, the serializable is wrapped another level
      serializable = serializable.values[0]
      super(serializable)
      @subscription = nil
      unless serializable['subscription'].nil?
        @subscription = Subscription.new
        @subscription.from_serializable(serializable['subscription'])
      end
      @comment = serializable['comment']
      @location = serializable['entrylocation']
      @duration = serializable['entryduration']
      @privacy_level = serializable['publicvisible']
      @date_created = nil
      unless serializable['datecreated'].nil?
        @date_created = Time.at(serializable['datecreated']).to_datetime
      end
      @date_modified = nil
      unless serializable['datemodified'].nil?
        @date_modified = Time.at(serializable['datemodified']).to_datetime
      end
    end
def from_serializable(serializable)
      # for some reason, the serializable is wrapped another level
      serializable = serializable.values[0]
      super(serializable)
      @subscription = nil
      unless serializable['subscription'].nil?
        @subscription = Subscription.new
        @subscription.from_serializable(serializable['subscription'])
      end
      @comment = serializable['comment']
      @location = serializable['entrylocation']
      @duration = serializable['entryduration']
      @privacy_level = serializable['publicvisible']
      @date_created = nil
      unless serializable['datecreated'].nil?
        @date_created = Time.at(serializable['datecreated']).to_datetime
      end
      @date_modified = nil
      unless serializable['datemodified'].nil?
        @date_modified = Time.at(serializable['datemodified']).to_datetime
      end
    end
:category: Serialization

 Creates itself from a serializable representation, which only contains
 simple data types.
 serializable:: A hash with a single key named like "entry#{@sport.name}" with another hash as value with the keys:
 * uri:: The URI.
 * id:: The identifier.
 * subscription:: A Subscription serializable.
 * comment:: A comment.
 * entrylocation:: A description of the location.
 * entryduration:: The duration. Nobody knows its unit (seconds/minutes).
 * publicvisible:: The privacy level, see PrivacyLevel constants.
 * datecreated:: The date it was created.
 * datemodified:: The date it was modified the last time.