PageRenderTime 42ms CodeModel.GetById 10ms RepoModel.GetById 0ms app.codeStats 0ms

/FlickrKit-master/Classes/Model/Generated/Groups/FKFlickrGroupsBrowse.h

https://gitlab.com/vicrius/flickrVisualizer
C Header | 58 lines | 20 code | 8 blank | 30 comment | 0 complexity | 79be8fb9605e940e0d4312b1296a3e9b MD5 | raw file
  1. //
  2. // FKFlickrGroupsBrowse.h
  3. // FlickrKit
  4. //
  5. // Generated by FKAPIBuilder.
  6. // Copyright (c) 2013 DevedUp Ltd. All rights reserved. http://www.devedup.com
  7. //
  8. // DO NOT MODIFY THIS FILE - IT IS MACHINE GENERATED
  9. #import "FKFlickrAPIMethod.h"
  10. typedef NS_ENUM(NSInteger, FKFlickrGroupsBrowseError) {
  11. FKFlickrGroupsBrowseError_CategoryNotFound = 1, /* The value passed for cat_id was not a valid category id. */
  12. FKFlickrGroupsBrowseError_SSLIsRequired = 95, /* SSL is required to access the Flickr API. */
  13. FKFlickrGroupsBrowseError_InvalidSignature = 96, /* The passed signature was invalid. */
  14. FKFlickrGroupsBrowseError_MissingSignature = 97, /* The call required signing but no signature was sent. */
  15. FKFlickrGroupsBrowseError_LoginFailedOrInvalidAuthToken = 98, /* The login details or auth token passed were invalid. */
  16. FKFlickrGroupsBrowseError_UserNotLoggedInOrInsufficientPermissions = 99, /* The method requires user authentication but the user was not logged in, or the authenticated method call did not have the required permissions. */
  17. FKFlickrGroupsBrowseError_InvalidAPIKey = 100, /* The API key passed was not valid or has expired. */
  18. FKFlickrGroupsBrowseError_ServiceCurrentlyUnavailable = 105, /* The requested service is temporarily unavailable. */
  19. FKFlickrGroupsBrowseError_WriteOperationFailed = 106, /* The requested operation failed due to a temporary issue. */
  20. FKFlickrGroupsBrowseError_FormatXXXNotFound = 111, /* The requested response format was not found. */
  21. FKFlickrGroupsBrowseError_MethodXXXNotFound = 112, /* The requested method was not found. */
  22. FKFlickrGroupsBrowseError_InvalidSOAPEnvelope = 114, /* The SOAP envelope send in the request could not be parsed. */
  23. FKFlickrGroupsBrowseError_InvalidXMLRPCMethodCall = 115, /* The XML-RPC request document could not be parsed. */
  24. FKFlickrGroupsBrowseError_BadURLFound = 116, /* One or more arguments contained a URL that has been used for abuse on Flickr. */
  25. };
  26. /*
  27. Browse the group category tree, finding groups and sub-categories.
  28. <p>The <code>count</code> attribute of the <code>subcat</code> element gives the number of groups inside the subcat.</p>
  29. <p>The <code>members</code> attribute of the <code>group</code> element gives the total number of members in the group. The <code>online</code> attribute gives a count of the members who are currently online. The <code>inchat</code> attribute gives a count of the number of people in the group's chat, regardless of whether they are members of the group.</p>
  30. Response:
  31. <category name="Alt" path="/Alt" pathids="/63">
  32. <subcat id="80" name="18+" count="0" />
  33. <subcat id="82" name="Absurd" count="4" />
  34. <group nsid="34955637532@N01" name="Cal's Public Test Group"
  35. members="13" online="1" chatnsid="34955637533@N01" inchat="0" />
  36. <group nsid="34158032587@N01" name="Eric's Alt Group Test"
  37. members="3" online="0" chatnsid="34158032588@N01" inchat="0" />
  38. </category>
  39. */
  40. @interface FKFlickrGroupsBrowse : NSObject <FKFlickrAPIMethod>
  41. /* The category id to fetch a list of groups and sub-categories for. If not specified, it defaults to zero, the root of the category tree. */
  42. @property (nonatomic, copy) NSString *cat_id;
  43. @end