GravityItemRecommendation Class Reference

Inherits from NSObject
Declared in GravityItemRecommendation.h
GravityItemRecommendation.m

Overview

The list of items recommended to a user

Other Methods

  Id

The Id is generated by the recommendation engine

@property NSString *Id

Discussion

The Id is generated by the recommendation engine

Declared In

GravityItemRecommendation.h

  items

The list of items

@property NSArray *items

Discussion

The list of items

Declared In

GravityItemRecommendation.h

  itemIds

The identifiers of the recommended items

@property NSArray *itemIds

Discussion

The identifiers of the recommended items

Declared In

GravityItemRecommendation.h

  predictionValues

The list of prediction values for the items

@property NSArray *predictionValues

Discussion

The list of prediction values for the items

Declared In

GravityItemRecommendation.h

– initWithDictionary:

Initializes a GravityItemRecommendation object with a dictionary

- (id)initWithDictionary:(NSDictionary *)dict

Parameters

dict

the dictionary representing the object

Return Value

an initialized GravityItemRecommendation object

Discussion

Initializes a GravityItemRecommendation object with a dictionary

Declared In

GravityItemRecommendation.h

– initWithJSON:

Initializes a GravityItemRecommendation object with JSON data

- (id)initWithJSON:(NSData *)jsonData

Parameters

jsonData

the JSON data representing the object

Return Value

an initialized GravityItemRecommendation object

Discussion

Initializes a GravityItemRecommendation object with JSON data

Declared In

GravityItemRecommendation.h

Other Methods

– description

- (NSString *)description