ConstantContact iOS SDK
All Classes Namespaces Files Functions Properties Macros
Instance Methods | Class Methods | Properties | List of all members
Activity Class Reference

#import <Activity.h>

Inheritance diagram for Activity:

Instance Methods

(id) - initWithDictionary:
 
(id) - proxyForJson
 

Class Methods

(Activity *) + activityWithDictionary:
 

Properties

NSString * activityId
 
NSString * type
 
NSString * status
 
NSString * startDate
 
NSString * finishDate
 
NSString * fileName
 
NSString * createdDate
 
NSString * errorCount
 
NSString * contactCount
 
NSMutableArray * errors
 
NSMutableArray * warnings
 

Detailed Description

Represents a single Activity in Constant Contact

Method Documentation

+ (Activity *) activityWithDictionary: (NSDictionary *)  dictionary
- (id) initWithDictionary: (NSDictionary *)  dictionary

Factory method to create an Activity object from an dictionary

Parameters
NSDictionary*dictionary - dictionary with propertyes to set
Returns
Activity
- (id) proxyForJson

Create jsonDict used for a POST/PUT request, also handles removing attributes that will cause errors if sent

Returns
NSMutableDictionary - dictionary that can be used to create json, or can be added in another json string

Property Documentation

- (NSString*) activityId
readnonatomicstrong
- (NSString*) contactCount
readwritenonatomicstrong
- (NSString*) createdDate
readwritenonatomicstrong
- (NSString*) errorCount
readwritenonatomicstrong
- (NSMutableArray*) errors
readwritenonatomicstrong
- (NSString*) fileName
readwritenonatomicstrong
- (NSString*) finishDate
readwritenonatomicstrong
- (NSString*) startDate
readwritenonatomicstrong
- (NSString*) status
readwritenonatomicstrong
- (NSString*) type
readwritenonatomicstrong
- (NSMutableArray*) warnings
readwritenonatomicstrong

The documentation for this class was generated from the following files: