/Pods/Headers/Private/FlickrKit/FKFlickrPhotosPeopleEditCoords.h

https://gitlab.com/vicrius/flickrVisualizer · C Header · 64 lines · 29 code · 13 blank · 22 comment · 0 complexity · 55d6e023a43cb7717eaed74de9f826b9 MD5 · raw file

  1. //
  2. // FKFlickrPhotosPeopleEditCoords.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, FKFlickrPhotosPeopleEditCoordsError) {
  11. FKFlickrPhotosPeopleEditCoordsError_PersonNotFound = 1, /* The NSID passed was not a valid user id. */
  12. FKFlickrPhotosPeopleEditCoordsError_PhotoNotFound = 2, /* The photo id passed was not a valid photo id. */
  13. FKFlickrPhotosPeopleEditCoordsError_UserCannotEditThatPersonInThatPhoto = 3, /* The calling user did not originally add this person to the photo, and is not the person in question. */
  14. FKFlickrPhotosPeopleEditCoordsError_SomeCoordinateParamtersWereBlank = 4, /* Not all of the co-ordinate parameters (person_x, person_y, person_w, person_h) were passed with valid values. */
  15. FKFlickrPhotosPeopleEditCoordsError_NoCoordinatesGiven = 5, /* None of the co-ordinate parameters were valid. */
  16. FKFlickrPhotosPeopleEditCoordsError_SSLIsRequired = 95, /* SSL is required to access the Flickr API. */
  17. FKFlickrPhotosPeopleEditCoordsError_InvalidSignature = 96, /* The passed signature was invalid. */
  18. FKFlickrPhotosPeopleEditCoordsError_MissingSignature = 97, /* The call required signing but no signature was sent. */
  19. FKFlickrPhotosPeopleEditCoordsError_LoginFailedOrInvalidAuthToken = 98, /* The login details or auth token passed were invalid. */
  20. FKFlickrPhotosPeopleEditCoordsError_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. */
  21. FKFlickrPhotosPeopleEditCoordsError_InvalidAPIKey = 100, /* The API key passed was not valid or has expired. */
  22. FKFlickrPhotosPeopleEditCoordsError_ServiceCurrentlyUnavailable = 105, /* The requested service is temporarily unavailable. */
  23. FKFlickrPhotosPeopleEditCoordsError_WriteOperationFailed = 106, /* The requested operation failed due to a temporary issue. */
  24. FKFlickrPhotosPeopleEditCoordsError_FormatXXXNotFound = 111, /* The requested response format was not found. */
  25. FKFlickrPhotosPeopleEditCoordsError_MethodXXXNotFound = 112, /* The requested method was not found. */
  26. FKFlickrPhotosPeopleEditCoordsError_InvalidSOAPEnvelope = 114, /* The SOAP envelope send in the request could not be parsed. */
  27. FKFlickrPhotosPeopleEditCoordsError_InvalidXMLRPCMethodCall = 115, /* The XML-RPC request document could not be parsed. */
  28. FKFlickrPhotosPeopleEditCoordsError_BadURLFound = 116, /* One or more arguments contained a URL that has been used for abuse on Flickr. */
  29. };
  30. /*
  31. Edit the bounding box of an existing person on a photo.
  32. */
  33. @interface FKFlickrPhotosPeopleEditCoords : NSObject <FKFlickrAPIMethod>
  34. /* The id of the photo to edit a person in. */
  35. @property (nonatomic, copy) NSString *photo_id; /* (Required) */
  36. /* The NSID of the person to edit in a photo. */
  37. @property (nonatomic, copy) NSString *user_id; /* (Required) */
  38. /* The left-most pixel co-ordinate of the box around the person. */
  39. @property (nonatomic, copy) NSString *person_x; /* (Required) */
  40. /* The top-most pixel co-ordinate of the box around the person. */
  41. @property (nonatomic, copy) NSString *person_y; /* (Required) */
  42. /* The width (in pixels) of the box around the person. */
  43. @property (nonatomic, copy) NSString *person_w; /* (Required) */
  44. /* The height (in pixels) of the box around the person. */
  45. @property (nonatomic, copy) NSString *person_h; /* (Required) */
  46. @end