Source

BSSAXTweetParserDemo / BSTweet.h

//
//  BSTweet.h
//  BSSAXTweetParserDemo
//
//  Created by Brent Simmons on 6/3/10.
//  Copyright 2010 NewsGator Technologies, Inc. All rights reserved.
//

#import <Cocoa/Cocoa.h>


@class BSUser;

@interface BSTweet : NSObject {
@private
	NSString *createdAt;
	NSString *statusID;
	NSString *text;
	NSString *source;
	NSString *inReplyToStatusID;
	NSString *inReplyToUserID;
	NSString *inReplyToScreenName;
	BSUser *user;
}


@property (nonatomic, retain) NSString *createdAt;
@property (nonatomic, retain) NSString *statusID;
@property (nonatomic, retain) NSString *text;
@property (nonatomic, retain) NSString *source;
@property (nonatomic, retain) NSString *inReplyToStatusID; //These shouldn't be strings -- save memory. Conversion left as exercise.
@property (nonatomic, retain) NSString *inReplyToUserID;
@property (nonatomic, retain) NSString *inReplyToScreenName;
@property (nonatomic, retain) BSUser *user;


- (NSDictionary *)dictionaryRepresentationForDebuggingOnly;


@end