def from_serializable(serializable)
      super(serializable)
      @start = serializable['start']
      @end = serializable['end']
      @size = serializable['size']
      @available = serializable['available']
      if serializable['links'].nil?
        @next = nil
        @previous = nil
      else
        @next = serializable['links'].find { |link| link['description'] == 'next' }
        @previous = serializable['links'].find { |link| link['description'] == 'previous' }
      end
      @resources = serializable[plural_name].map do |resource_serializable|
        resource = @type.new
        resource.from_serializable(resource_serializable)
        resource
      end
    end
def from_serializable(serializable)
      super(serializable)
      @start = serializable['start']
      @end = serializable['end']
      @size = serializable['size']
      @available = serializable['available']
      if serializable['links'].nil?
        @next = nil
        @previous = nil
      else
        @next = serializable['links'].find { |link| link['description'] == 'next' }
        @previous = serializable['links'].find { |link| link['description'] == 'previous' }
      end
      @resources = serializable[plural_name].map do |resource_serializable|
        resource = @type.new
        resource.from_serializable(resource_serializable)
        resource
      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.
 * start:: The start index.
 * end:: The end index.
 * size:: The size.
 * available:: The resources available.
 * links:: Links as hashes with the keys:
   * description:: May be 'next' or 'previous'.
   * href:: The URI of the referenced page.
 * @plural_name:: Items mapped to the plural name of the @type.