mirror of
https://github.com/zhigang1992/RestKit.git
synced 2026-04-03 22:49:50 +08:00
51 lines
932 B
Objective-C
51 lines
932 B
Objective-C
//
|
|
// RKTStatus.h
|
|
// RKTwitter
|
|
//
|
|
// Created by Blake Watters on 9/5/10.
|
|
// Copyright 2010 Two Toasters. All rights reserved.
|
|
//
|
|
|
|
#import <RestKit/RestKit.h>
|
|
#import <RestKit/CoreData.h>
|
|
|
|
@interface RKTStatus : NSManagedObject {
|
|
}
|
|
|
|
/**
|
|
* The unique ID of this Status
|
|
*/
|
|
@property (nonatomic, retain) NSNumber* statusID;
|
|
|
|
/**
|
|
* Timestamp the Status was sent
|
|
*/
|
|
@property (nonatomic, retain) NSDate* createdAt;
|
|
|
|
/**
|
|
* Text of the Status
|
|
*/
|
|
@property (nonatomic, retain) NSString* text;
|
|
|
|
/**
|
|
* String version of the URL associated with the Status
|
|
*/
|
|
@property (nonatomic, retain) NSString* urlString;
|
|
|
|
/**
|
|
* The screen name of the User this Status was in response to
|
|
*/
|
|
@property (nonatomic, retain) NSString* inReplyToScreenName;
|
|
|
|
/**
|
|
* Is this status a favorite?
|
|
*/
|
|
@property (nonatomic, assign) BOOL isFavorited;
|
|
|
|
/**
|
|
* The User who posted this status
|
|
*/
|
|
@property (nonatomic, retain) NSManagedObject* user;
|
|
|
|
@end
|