SHFeedObject Class Reference
Inherits from | NSObject |
---|---|
Declared in | SHFeedObject.h |
feed_id
A unique identifier for the feed item.
@property (nonatomic, strong) NSString *feed_id
Declared In
SHFeedObject.h
message
Message of this feed.
@property (nonatomic, strong) NSString *message
Declared In
SHFeedObject.h
campaign
Campaign this feed belongs to.
@property (nonatomic, strong) NSString *campaign
Declared In
SHFeedObject.h
content
Json content, parse to NSObject.
@property (nonatomic, strong) id content
Declared In
SHFeedObject.h
activates
A timestamp when the item activates (it will not be visible to clients before). It’s possible to be nil.
@property (nonatomic, strong) NSDate *activates
Declared In
SHFeedObject.h
expires
A timestamp when the item expires (it will not be visible to clients after). It’s possible to be nil.
@property (nonatomic, strong) NSDate *expires
Declared In
SHFeedObject.h
created
When the Feed item has been created.
@property (nonatomic, strong) NSDate *created
Declared In
SHFeedObject.h
modified
When the Feed item was modified the last time.
@property (nonatomic, strong) NSDate *modified
Declared In
SHFeedObject.h
deleted
When the Feed item was deleted.
@property (nonatomic, strong) NSDate *deleted
Declared In
SHFeedObject.h
+ createFromDictionary:
Create from dictionary with filled properties.
+ (SHFeedObject *)createFromDictionary:(NSDictionary *)dict
Declared In
SHFeedObject.h
– serializeToDictionary
Serialize self into a dictionary.
- (NSDictionary *)serializeToDictionary
Return Value
A dictionary with the feed information.
Declared In
SHFeedObject.h