//
//  BBASearchServiceResult.h
//  BBBAPI
//
//  Created by Owen Worley on 12/01/2015.
//  Copyright (c) 2015 Blinkbox Entertainment Ltd. All rights reserved.
//

#import <Foundation/Foundation.h>
@class FEMObjectMapping;
/**
 *  Represents data provided from the search service when searching for books
 */
@interface BBASearchServiceResult : NSObject

@property (nonatomic, copy) NSString *type;
@property (nonatomic, copy) NSString *identifier;
/**
 *  Array of `BBALibraryItemLink` objects
 */
@property (nonatomic, copy) NSArray *links;
@property (nonatomic, assign) NSInteger numberOfResults;
@property (nonatomic, copy) NSArray *books;

/**
 *  Object mapping to convert server search result to `BBASearchServiceResult`
 */
+ (FEMObjectMapping *) searchServiceResultMapping;
@end

//
//  BBASearchServiceResult.h
//  BBBAPI
//
//  Created by Owen Worley on 12/01/2015.
//  Copyright (c) 2015 Blinkbox Entertainment Ltd. All rights reserved.
//

#import <Foundation/Foundation.h>
@class FEMObjectMapping;
/**
 *  Represents data provided from the search service when searching for books
 */
@interface BBASearchServiceResult : NSObject

@property (nonatomic, copy) NSString *type;
@property (nonatomic, copy) NSString *identifier;
@property (nonatomic, copy) NSArray *links;
@property (nonatomic, assign) NSInteger numberOfResults;
@property (nonatomic, copy) NSArray *books;

/**
 *  Object mapping to convert server search result to `BBASearchServiceResult`
 */
+ (FEMObjectMapping *) searchServiceResultMapping;
@end

--- 
+++ 
@@ -15,6 +15,9 @@
 
 @property (nonatomic, copy) NSString *type;
 @property (nonatomic, copy) NSString *identifier;
+/**
+ *  Array of `BBALibraryItemLink` objects
+ */
 @property (nonatomic, copy) NSArray *links;
 @property (nonatomic, assign) NSInteger numberOfResults;
 @property (nonatomic, copy) NSArray *books;
Document contents of Links array
