Files
RestKit/Examples/RKTwitterCoreData/Classes/RKTStatus.h
2012-10-25 10:07:15 -04:00

50 lines
908 B
Objective-C

//
// RKTStatus.h
// RKTwitter
//
// Created by Blake Watters on 9/5/10.
// Copyright (c) 2009-2012 RestKit. All rights reserved.
//
#import <RestKit/RestKit.h>
#import <RestKit/CoreData.h>
@interface RKTStatus : NSManagedObject
/**
The unique ID of this Status
*/
@property (nonatomic, copy) NSNumber *statusID;
/**
Timestamp the Status was sent
*/
@property (nonatomic, copy) NSDate *createdAt;
/**
Text of the Status
*/
@property (nonatomic, copy) NSString *text;
/**
String version of the URL associated with the Status
*/
@property (nonatomic, copy) NSString *urlString;
/**
The screen name of the User this Status was in response to
*/
@property (nonatomic, copy) NSString *inReplyToScreenName;
/**
Is this status a favorite?
*/
@property (nonatomic, assign) BOOL isFavorited;
/**
The User who posted this status
*/
@property (nonatomic, strong) NSManagedObject *user;
@end