PageRenderTime 53ms CodeModel.GetById 26ms RepoModel.GetById 1ms app.codeStats 0ms

/FlickrKit-master/Classes/Model/Generated/Stats/FKFlickrStatsGetCollectionStats.h

https://gitlab.com/vicrius/flickrVisualizer
C Header | 55 lines | 24 code | 9 blank | 22 comment | 0 complexity | 1b2642cfc01fa00e38761d5845354e0e MD5 | raw file
  1. //
  2. // FKFlickrStatsGetCollectionStats.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, FKFlickrStatsGetCollectionStatsError) {
  11. FKFlickrStatsGetCollectionStatsError_UserDoesNotHaveStats = 1, /* The user you have requested stats has not enabled stats on their account. */
  12. FKFlickrStatsGetCollectionStatsError_NoStatsForThatDate = 2, /* No stats are available for the date requested. Flickr only keeps stats data for the last 28 days. */
  13. FKFlickrStatsGetCollectionStatsError_InvalidDate = 3, /* The date provided could not be parsed */
  14. FKFlickrStatsGetCollectionStatsError_CollectionNotFound = 4, /* The collection id was either invalid or was for a collection not owned by the calling user. */
  15. FKFlickrStatsGetCollectionStatsError_SSLIsRequired = 95, /* SSL is required to access the Flickr API. */
  16. FKFlickrStatsGetCollectionStatsError_InvalidSignature = 96, /* The passed signature was invalid. */
  17. FKFlickrStatsGetCollectionStatsError_MissingSignature = 97, /* The call required signing but no signature was sent. */
  18. FKFlickrStatsGetCollectionStatsError_LoginFailedOrInvalidAuthToken = 98, /* The login details or auth token passed were invalid. */
  19. FKFlickrStatsGetCollectionStatsError_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. */
  20. FKFlickrStatsGetCollectionStatsError_InvalidAPIKey = 100, /* The API key passed was not valid or has expired. */
  21. FKFlickrStatsGetCollectionStatsError_ServiceCurrentlyUnavailable = 105, /* The requested service is temporarily unavailable. */
  22. FKFlickrStatsGetCollectionStatsError_WriteOperationFailed = 106, /* The requested operation failed due to a temporary issue. */
  23. FKFlickrStatsGetCollectionStatsError_FormatXXXNotFound = 111, /* The requested response format was not found. */
  24. FKFlickrStatsGetCollectionStatsError_MethodXXXNotFound = 112, /* The requested method was not found. */
  25. FKFlickrStatsGetCollectionStatsError_InvalidSOAPEnvelope = 114, /* The SOAP envelope send in the request could not be parsed. */
  26. FKFlickrStatsGetCollectionStatsError_InvalidXMLRPCMethodCall = 115, /* The XML-RPC request document could not be parsed. */
  27. FKFlickrStatsGetCollectionStatsError_BadURLFound = 116, /* One or more arguments contained a URL that has been used for abuse on Flickr. */
  28. };
  29. /*
  30. Get the number of views on a collection for a given date.
  31. Response:
  32. <stats views="24" />
  33. */
  34. @interface FKFlickrStatsGetCollectionStats : NSObject <FKFlickrAPIMethod>
  35. /* Stats will be returned for this date. This should be in either be in YYYY-MM-DD or unix timestamp format.
  36. A day according to Flickr Stats starts at midnight GMT for all users, and timestamps will automatically be rounded down to the start of the day. */
  37. @property (nonatomic, copy) NSString *date; /* (Required) */
  38. /* The id of the collection to get stats for. */
  39. @property (nonatomic, copy) NSString *collection_id; /* (Required) */
  40. @end