mirror of
https://github.com/zhigang1992/RestKit.git
synced 2026-04-17 12:20:20 +08:00
52 lines
953 B
Objective-C
52 lines
953 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 "RKTUser.h"
|
|
#import <RestKit/CoreData/CoreData.h>
|
|
|
|
@interface RKTStatus : RKManagedObject {
|
|
}
|
|
|
|
/**
|
|
* 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) RKTUser* user;
|
|
|
|
@end
|