Inherits from NSObject
Declared in TPEventAPIResponse.h

Tasks

Properties

duplicate

@property (nonatomic) BOOL duplicate
Discussion

A BOOL indicating if this particular event has already been added to Connect

Declared In

TPEventAPIResponse.h

event

@property (nullable, nonatomic, strong) TPEvent *event
Discussion

The event that this response belongs to

Declared In

TPEventAPIResponse.h

message

@property (nullable, nonatomic, strong) NSString *message
Discussion

A message outlining why a request was unnsuccessfull. Will be nil if the event was succesfully added.

Declared In

TPEventAPIResponse.h

success

@property (nonatomic) BOOL success
Discussion

A BOOL indicating if this particular request was persisted in Connect

Declared In

TPEventAPIResponse.h

Class Methods

eventAPIResponseFromJSON:forEvent:

+ (TPEventAPIResponse *)eventAPIResponseFromJSON:(NSDictionary *)json forEvent:(TPEvent *)event

Instance Methods

initWithEvent:success:duplicate:message:

- (instancetype)initWithEvent:(TPEvent *__nullable)event success:(BOOL)success duplicate:(BOOL)duplicate message:(NSString *__nullable)message