def from_serializable(serializable)
      super(serializable)
      @subscriber = nil
      unless serializable['user'].nil?
        @subscriber = User.new
        @subscriber.from_serializable(serializable['user'])
      end
      unless serializable['partnership'].nil?
        @subscriber = Partnership.new
        @subscriber.from_serializable(serializable['partnership'])
      end
      @sport = nil
      unless serializable['sport'].nil?
        @sport = Sport.new
        @sport.from_serializable(serializable['sport'])
      end
      @entries = []
      unless serializable['entries'].nil?
        @entries = serializable['entries'].map do |entry_serializable|
          entry = Entry.new
          entry.from_serializable(entry_serializable)
          entry
        end
      end
      @privacy_level = serializable['publicvisible']
      @date_created = nil
      unless serializable['datesubscribed'].nil?
        @date_created = Time.at(serializable['datesubscribed']).to_datetime
      end
    end
def from_serializable(serializable)
      super(serializable)
      @subscriber = nil
      unless serializable['user'].nil?
        @subscriber = User.new
        @subscriber.from_serializable(serializable['user'])
      end
      unless serializable['partnership'].nil?
        @subscriber = Partnership.new
        @subscriber.from_serializable(serializable['partnership'])
      end
      @sport = nil
      unless serializable['sport'].nil?
        @sport = Sport.new
        @sport.from_serializable(serializable['sport'])
      end
      @entries = []
      unless serializable['entries'].nil?
        @entries = serializable['entries'].map do |entry_serializable|
          entry = Entry.new
          entry.from_serializable(entry_serializable)
          entry
        end
      end
      @privacy_level = serializable['publicvisible']
      @date_created = nil
      unless serializable['datesubscribed'].nil?
        @date_created = Time.at(serializable['datesubscribed']).to_datetime
      end
    end
:category: Serialization

 Creates itself from a serializable representation, which only contains
 simple data types.
 serializable:: A hash with the keys:
 * uri:: The URI.
 * id:: The identifier.
 * user|partnership:: A User or Partnership serializable of the subscriber.
 * sport:: A Sport serializable.
 * entries:: Entry serializables.
 * publicvisible:: The privacy level, see PrivacyLevel constants.
 * datesubscribed:: The date it was created.