/NSRTMResponse.m

http://rtm2cocoa.googlecode.com/ · Objective C · 108 lines · 72 code · 16 blank · 20 comment · 0 complexity · 2c185b963017226470bc5761a4611917 MD5 · raw file

  1. /*
  2. * NSRTMResponse.m
  3. * RTMApiTest
  4. *
  5. * Created by kkillian on 17/11/09.
  6. * Copyright 2009 shufflecodebox. All rights reserved.
  7. * This program is free software; you can redistribute it and/or modify
  8. * it under the terms of the GNU General Public License as published by
  9. * the Free Software Foundation; either version 2 of the License, or
  10. * (at your option) any later version.
  11. *
  12. * This program is distributed in the hope that it will be useful,
  13. * but WITHOUT ANY WARRANTY; without even the implied warranty of
  14. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  15. * GNU General Public License for more details.
  16. *
  17. * You should have received a copy of the GNU General Public License
  18. * along with this program; if not, write to the Free Software
  19. * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
  20. */
  21. #import "NSRTMResponse.h"
  22. @implementation NSRTMResponse
  23. -(NSString *)getApi_key {
  24. return api_key;
  25. }
  26. -(NSString *)getStat{
  27. return stat;
  28. }
  29. -(NSString *)getFrob{
  30. return frob;
  31. }
  32. -(void)setStat:(NSString *)statv {
  33. stat = statv;
  34. }
  35. -(void)setApi_key:(NSString *)apikey {
  36. api_key = apikey;
  37. }
  38. -(NSMutableArray *)getLists {
  39. return lists;
  40. }
  41. -(NSMutableArray *)getListsTasks {
  42. return listsTasks;
  43. }
  44. -(NSMutableArray *)getContacts {
  45. return contacts;
  46. }
  47. -(NSMutableArray *)getTimezones {
  48. return timezones;
  49. }
  50. -(NSMutableArray *)getLocations {
  51. return locations;
  52. }
  53. -(NSMutableArray *)getNotes {
  54. return notes;
  55. }
  56. -(NSRTMNote *)getNote {
  57. return note;
  58. }
  59. -(NSRTMSettings *)getSettings {
  60. return settings;
  61. }
  62. -(NSRTMError *)getError {
  63. return error;
  64. }
  65. -(NSRTMAuth *)getAuth{
  66. return auth;
  67. }
  68. -(NSRTMList *)getList {
  69. return list;
  70. }
  71. -(NSRTMTimeline *)getTimeline {
  72. return timeline;
  73. }
  74. -(NSRTMTransaction *)getTransaction {
  75. return transaction;
  76. }
  77. -(NSRTMContact *)getContact {
  78. return contact;
  79. }
  80. -(void)dealloc {
  81. [error release];
  82. [auth release];
  83. [user release];
  84. [timeline release];
  85. [transaction release];
  86. [contact release];
  87. [list release];
  88. [lists release];
  89. [contacts release];
  90. [super dealloc];
  91. }
  92. @end