'2d') or hours ('4h'). The default behavoir is to return changes since the beginning of the previous user session. */
@property (nonatomic, strong) NSString *timeframe;
/* Number of items to return per page. If this argument is omitted, it defaults to 10. The maximum allowed value is 50. */
@property (nonatomic, strong) NSString *per_page;
/* The page of results to return. If this argument is omitted, it defaults to 1. */
@property (nonatomic, strong) NSString *page;
@end
================================================
FILE: Pods/FlickrKit/Classes/Model/Generated/Activity/FKFlickrActivityUserPhotos.m
================================================
//
// FKFlickrActivityUserPhotos.m
// FlickrKit
//
// Generated by FKAPIBuilder on 12 Jun, 2013 at 17:19.
// Copyright (c) 2013 DevedUp Ltd. All rights reserved. http://www.devedup.com
//
// DO NOT MODIFY THIS FILE - IT IS MACHINE GENERATED
#import "FKFlickrActivityUserPhotos.h"
@implementation FKFlickrActivityUserPhotos
- (BOOL) needsLogin {
return YES;
}
- (BOOL) needsSigning {
return YES;
}
- (FKPermission) requiredPerms {
return 0;
}
- (NSString *) name {
return @"flickr.activity.userPhotos";
}
- (BOOL) isValid:(NSError **)error {
BOOL valid = YES;
NSMutableString *errorDescription = [[NSMutableString alloc] initWithString:@"You are missing required params: "];
if(error != NULL) {
if(!valid) {
NSDictionary *userInfo = @{NSLocalizedDescriptionKey: errorDescription};
*error = [NSError errorWithDomain:FKFlickrKitErrorDomain code:FKErrorInvalidArgs userInfo:userInfo];
}
}
return valid;
}
- (NSDictionary *) args {
NSMutableDictionary *args = [NSMutableDictionary dictionary];
if(self.timeframe) {
[args setValue:self.timeframe forKey:@"timeframe"];
}
if(self.per_page) {
[args setValue:self.per_page forKey:@"per_page"];
}
if(self.page) {
[args setValue:self.page forKey:@"page"];
}
return [args copy];
}
- (NSString *) descriptionForError:(NSInteger)error {
switch(error) {
case FKFlickrActivityUserPhotosError_InvalidSignature:
return @"Invalid signature";
case FKFlickrActivityUserPhotosError_MissingSignature:
return @"Missing signature";
case FKFlickrActivityUserPhotosError_LoginFailedOrInvalidAuthToken:
return @"Login failed / Invalid auth token";
case FKFlickrActivityUserPhotosError_UserNotLoggedInOrInsufficientPermissions:
return @"User not logged in / Insufficient permissions";
case FKFlickrActivityUserPhotosError_InvalidAPIKey:
return @"Invalid API Key";
case FKFlickrActivityUserPhotosError_ServiceCurrentlyUnavailable:
return @"Service currently unavailable";
case FKFlickrActivityUserPhotosError_FormatXXXNotFound:
return @"Format \"xxx\" not found";
case FKFlickrActivityUserPhotosError_MethodXXXNotFound:
return @"Method \"xxx\" not found";
case FKFlickrActivityUserPhotosError_InvalidSOAPEnvelope:
return @"Invalid SOAP envelope";
case FKFlickrActivityUserPhotosError_InvalidXMLRPCMethodCall:
return @"Invalid XML-RPC Method Call";
case FKFlickrActivityUserPhotosError_BadURLFound:
return @"Bad URL found";
default:
return @"Unknown error code";
}
}
@end
================================================
FILE: Pods/FlickrKit/Classes/Model/Generated/Auth/FKFlickrAuthCheckToken.h
================================================
//
// FKFlickrAuthCheckToken.h
// FlickrKit
//
// Generated by FKAPIBuilder on 12 Jun, 2013 at 17:19.
// Copyright (c) 2013 DevedUp Ltd. All rights reserved. http://www.devedup.com
//
// DO NOT MODIFY THIS FILE - IT IS MACHINE GENERATED
#import "FKFlickrAPIMethod.h"
typedef enum {
FKFlickrAuthCheckTokenError_LoginFailedOrInvalidAuthToken = 98, /* The login details or auth token passed were invalid. */
FKFlickrAuthCheckTokenError_InvalidAPIKey = 100, /* The API key passed was not valid or has expired. */
FKFlickrAuthCheckTokenError_ServiceCurrentlyUnavailable = 105, /* The requested service is temporarily unavailable. */
FKFlickrAuthCheckTokenError_FormatXXXNotFound = 111, /* The requested response format was not found. */
FKFlickrAuthCheckTokenError_MethodXXXNotFound = 112, /* The requested method was not found. */
FKFlickrAuthCheckTokenError_InvalidSOAPEnvelope = 114, /* The SOAP envelope send in the request could not be parsed. */
FKFlickrAuthCheckTokenError_InvalidXMLRPCMethodCall = 115, /* The XML-RPC request document could not be parsed. */
FKFlickrAuthCheckTokenError_BadURLFound = 116, /* One or more arguments contained a URL that has been used for abuse on Flickr. */
} FKFlickrAuthCheckTokenError;
/*
Returns the credentials attached to an authentication token. This call must be signed, and is deprecated in favour of OAuth.
perms can have values of none, read, write or delete. For more information, see the Auth API spec.
perms can have values of none, read, write or delete. For more information, see the Auth API spec.
perms can have values of none, read, write or delete. For more information, see the Auth API spec.
The needspassword attribute indicates whether a call to flickr.blogs.postPhoto for this blog will require a password to be sent. When flickr has a password already stored, needspassword is 0
friendsfamilybothneitherSee flickr.contacts.getList for an explanation of the response.
Response:description, license, date_upload, date_taken, owner_name, icon_server, original_format, last_update, geo, tags, machine_tags, o_dims, views, media, path_alias, url_sq, url_t, url_s, url_q, url_m, url_n, url_z, url_c, url_l, url_o */
@property (nonatomic, strong) NSString *extras;
/* Number of photos to return per page. If this argument is omitted, it defaults to 100. The maximum allowed value is 500. */
@property (nonatomic, strong) NSString *per_page;
/* The page of results to return. If this argument is omitted, it defaults to 1. */
@property (nonatomic, strong) NSString *page;
@end
================================================
FILE: Pods/FlickrKit/Classes/Model/Generated/Favorites/FKFlickrFavoritesGetList.m
================================================
//
// FKFlickrFavoritesGetList.m
// FlickrKit
//
// Generated by FKAPIBuilder on 12 Jun, 2013 at 17:19.
// Copyright (c) 2013 DevedUp Ltd. All rights reserved. http://www.devedup.com
//
// DO NOT MODIFY THIS FILE - IT IS MACHINE GENERATED
#import "FKFlickrFavoritesGetList.h"
@implementation FKFlickrFavoritesGetList
- (BOOL) needsLogin {
return YES;
}
- (BOOL) needsSigning {
return YES;
}
- (FKPermission) requiredPerms {
return 0;
}
- (NSString *) name {
return @"flickr.favorites.getList";
}
- (BOOL) isValid:(NSError **)error {
BOOL valid = YES;
NSMutableString *errorDescription = [[NSMutableString alloc] initWithString:@"You are missing required params: "];
if(error != NULL) {
if(!valid) {
NSDictionary *userInfo = @{NSLocalizedDescriptionKey: errorDescription};
*error = [NSError errorWithDomain:FKFlickrKitErrorDomain code:FKErrorInvalidArgs userInfo:userInfo];
}
}
return valid;
}
- (NSDictionary *) args {
NSMutableDictionary *args = [NSMutableDictionary dictionary];
if(self.user_id) {
[args setValue:self.user_id forKey:@"user_id"];
}
if(self.jump_to) {
[args setValue:self.jump_to forKey:@"jump_to"];
}
if(self.min_fave_date) {
[args setValue:self.min_fave_date forKey:@"min_fave_date"];
}
if(self.max_fave_date) {
[args setValue:self.max_fave_date forKey:@"max_fave_date"];
}
if(self.extras) {
[args setValue:self.extras forKey:@"extras"];
}
if(self.per_page) {
[args setValue:self.per_page forKey:@"per_page"];
}
if(self.page) {
[args setValue:self.page forKey:@"page"];
}
return [args copy];
}
- (NSString *) descriptionForError:(NSInteger)error {
switch(error) {
case FKFlickrFavoritesGetListError_UserNotFound:
return @"User not found";
case FKFlickrFavoritesGetListError_InvalidSignature:
return @"Invalid signature";
case FKFlickrFavoritesGetListError_MissingSignature:
return @"Missing signature";
case FKFlickrFavoritesGetListError_LoginFailedOrInvalidAuthToken:
return @"Login failed / Invalid auth token";
case FKFlickrFavoritesGetListError_UserNotLoggedInOrInsufficientPermissions:
return @"User not logged in / Insufficient permissions";
case FKFlickrFavoritesGetListError_InvalidAPIKey:
return @"Invalid API Key";
case FKFlickrFavoritesGetListError_ServiceCurrentlyUnavailable:
return @"Service currently unavailable";
case FKFlickrFavoritesGetListError_FormatXXXNotFound:
return @"Format \"xxx\" not found";
case FKFlickrFavoritesGetListError_MethodXXXNotFound:
return @"Method \"xxx\" not found";
case FKFlickrFavoritesGetListError_InvalidSOAPEnvelope:
return @"Invalid SOAP envelope";
case FKFlickrFavoritesGetListError_InvalidXMLRPCMethodCall:
return @"Invalid XML-RPC Method Call";
case FKFlickrFavoritesGetListError_BadURLFound:
return @"Bad URL found";
default:
return @"Unknown error code";
}
}
@end
================================================
FILE: Pods/FlickrKit/Classes/Model/Generated/Favorites/FKFlickrFavoritesGetPublicList.h
================================================
//
// FKFlickrFavoritesGetPublicList.h
// FlickrKit
//
// Generated by FKAPIBuilder on 12 Jun, 2013 at 17:19.
// Copyright (c) 2013 DevedUp Ltd. All rights reserved. http://www.devedup.com
//
// DO NOT MODIFY THIS FILE - IT IS MACHINE GENERATED
#import "FKFlickrAPIMethod.h"
typedef enum {
FKFlickrFavoritesGetPublicListError_UserNotFound = 1, /* The specified user NSID was not a valid flickr user. */
FKFlickrFavoritesGetPublicListError_InvalidAPIKey = 100, /* The API key passed was not valid or has expired. */
FKFlickrFavoritesGetPublicListError_ServiceCurrentlyUnavailable = 105, /* The requested service is temporarily unavailable. */
FKFlickrFavoritesGetPublicListError_FormatXXXNotFound = 111, /* The requested response format was not found. */
FKFlickrFavoritesGetPublicListError_MethodXXXNotFound = 112, /* The requested method was not found. */
FKFlickrFavoritesGetPublicListError_InvalidSOAPEnvelope = 114, /* The SOAP envelope send in the request could not be parsed. */
FKFlickrFavoritesGetPublicListError_InvalidXMLRPCMethodCall = 115, /* The XML-RPC request document could not be parsed. */
FKFlickrFavoritesGetPublicListError_BadURLFound = 116, /* One or more arguments contained a URL that has been used for abuse on Flickr. */
} FKFlickrFavoritesGetPublicListError;
/*
Returns a list of favorite public photos for the given user.
*/
@interface FKFlickrFavoritesGetPublicList : NSObject description, license, date_upload, date_taken, owner_name, icon_server, original_format, last_update, geo, tags, machine_tags, o_dims, views, media, path_alias, url_sq, url_t, url_s, url_q, url_m, url_n, url_z, url_c, url_l, url_o */
@property (nonatomic, strong) NSString *extras;
/* Number of photos to return per page. If this argument is omitted, it defaults to 100. The maximum allowed value is 500. */
@property (nonatomic, strong) NSString *per_page;
/* The page of results to return. If this argument is omitted, it defaults to 1. */
@property (nonatomic, strong) NSString *page;
@end
================================================
FILE: Pods/FlickrKit/Classes/Model/Generated/Favorites/FKFlickrFavoritesGetPublicList.m
================================================
//
// FKFlickrFavoritesGetPublicList.m
// FlickrKit
//
// Generated by FKAPIBuilder on 12 Jun, 2013 at 17:19.
// Copyright (c) 2013 DevedUp Ltd. All rights reserved. http://www.devedup.com
//
// DO NOT MODIFY THIS FILE - IT IS MACHINE GENERATED
#import "FKFlickrFavoritesGetPublicList.h"
@implementation FKFlickrFavoritesGetPublicList
- (BOOL) needsLogin {
return NO;
}
- (BOOL) needsSigning {
return NO;
}
- (FKPermission) requiredPerms {
return -1;
}
- (NSString *) name {
return @"flickr.favorites.getPublicList";
}
- (BOOL) isValid:(NSError **)error {
BOOL valid = YES;
NSMutableString *errorDescription = [[NSMutableString alloc] initWithString:@"You are missing required params: "];
if(!self.user_id) {
valid = NO;
[errorDescription appendString:@"'user_id', "];
}
if(error != NULL) {
if(!valid) {
NSDictionary *userInfo = @{NSLocalizedDescriptionKey: errorDescription};
*error = [NSError errorWithDomain:FKFlickrKitErrorDomain code:FKErrorInvalidArgs userInfo:userInfo];
}
}
return valid;
}
- (NSDictionary *) args {
NSMutableDictionary *args = [NSMutableDictionary dictionary];
if(self.user_id) {
[args setValue:self.user_id forKey:@"user_id"];
}
if(self.jump_to) {
[args setValue:self.jump_to forKey:@"jump_to"];
}
if(self.min_fave_date) {
[args setValue:self.min_fave_date forKey:@"min_fave_date"];
}
if(self.max_fave_date) {
[args setValue:self.max_fave_date forKey:@"max_fave_date"];
}
if(self.extras) {
[args setValue:self.extras forKey:@"extras"];
}
if(self.per_page) {
[args setValue:self.per_page forKey:@"per_page"];
}
if(self.page) {
[args setValue:self.page forKey:@"page"];
}
return [args copy];
}
- (NSString *) descriptionForError:(NSInteger)error {
switch(error) {
case FKFlickrFavoritesGetPublicListError_UserNotFound:
return @"User not found";
case FKFlickrFavoritesGetPublicListError_InvalidAPIKey:
return @"Invalid API Key";
case FKFlickrFavoritesGetPublicListError_ServiceCurrentlyUnavailable:
return @"Service currently unavailable";
case FKFlickrFavoritesGetPublicListError_FormatXXXNotFound:
return @"Format \"xxx\" not found";
case FKFlickrFavoritesGetPublicListError_MethodXXXNotFound:
return @"Method \"xxx\" not found";
case FKFlickrFavoritesGetPublicListError_InvalidSOAPEnvelope:
return @"Invalid SOAP envelope";
case FKFlickrFavoritesGetPublicListError_InvalidXMLRPCMethodCall:
return @"Invalid XML-RPC Method Call";
case FKFlickrFavoritesGetPublicListError_BadURLFound:
return @"Bad URL found";
default:
return @"Unknown error code";
}
}
@end
================================================
FILE: Pods/FlickrKit/Classes/Model/Generated/Favorites/FKFlickrFavoritesRemove.h
================================================
//
// FKFlickrFavoritesRemove.h
// FlickrKit
//
// Generated by FKAPIBuilder on 12 Jun, 2013 at 17:19.
// Copyright (c) 2013 DevedUp Ltd. All rights reserved. http://www.devedup.com
//
// DO NOT MODIFY THIS FILE - IT IS MACHINE GENERATED
#import "FKFlickrAPIMethod.h"
typedef enum {
FKFlickrFavoritesRemoveError_PhotoNotInFavorites = 1, /* The photo id passed was not in the user's favorites. */
FKFlickrFavoritesRemoveError_CannotRemovePhotoFromThatUsersFavorites = 2, /* user_id was passed as an argument, but photo_id is not owned by the authenticated user. */
FKFlickrFavoritesRemoveError_UserNotFound = 3, /* Invalid user_id argument. */
FKFlickrFavoritesRemoveError_InvalidSignature = 96, /* The passed signature was invalid. */
FKFlickrFavoritesRemoveError_MissingSignature = 97, /* The call required signing but no signature was sent. */
FKFlickrFavoritesRemoveError_LoginFailedOrInvalidAuthToken = 98, /* The login details or auth token passed were invalid. */
FKFlickrFavoritesRemoveError_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. */
FKFlickrFavoritesRemoveError_InvalidAPIKey = 100, /* The API key passed was not valid or has expired. */
FKFlickrFavoritesRemoveError_ServiceCurrentlyUnavailable = 105, /* The requested service is temporarily unavailable. */
FKFlickrFavoritesRemoveError_FormatXXXNotFound = 111, /* The requested response format was not found. */
FKFlickrFavoritesRemoveError_MethodXXXNotFound = 112, /* The requested method was not found. */
FKFlickrFavoritesRemoveError_InvalidSOAPEnvelope = 114, /* The SOAP envelope send in the request could not be parsed. */
FKFlickrFavoritesRemoveError_InvalidXMLRPCMethodCall = 115, /* The XML-RPC request document could not be parsed. */
FKFlickrFavoritesRemoveError_BadURLFound = 116, /* One or more arguments contained a URL that has been used for abuse on Flickr. */
} FKFlickrFavoritesRemoveError;
/*
Removes a photo from a user's favorites list.
*/
@interface FKFlickrFavoritesRemove : NSObject description, license, date_upload, date_taken, owner_name, icon_server, original_format, last_update, geo, tags, machine_tags, o_dims, views, media, path_alias, url_sq, url_t, url_s, url_q, url_m, url_n, url_z, url_c, url_l, url_o */
@property (nonatomic, strong) NSString *extras;
/* Number of photos to return per page. If this argument is omitted, it defaults to 100. The maximum allowed value is 500. */
@property (nonatomic, strong) NSString *per_page;
/* The page of results to return. If this argument is omitted, it defaults to 1. */
@property (nonatomic, strong) NSString *page;
@end
================================================
FILE: Pods/FlickrKit/Classes/Model/Generated/Galleries/FKFlickrGalleriesGetPhotos.m
================================================
//
// FKFlickrGalleriesGetPhotos.m
// FlickrKit
//
// Generated by FKAPIBuilder on 12 Jun, 2013 at 17:19.
// Copyright (c) 2013 DevedUp Ltd. All rights reserved. http://www.devedup.com
//
// DO NOT MODIFY THIS FILE - IT IS MACHINE GENERATED
#import "FKFlickrGalleriesGetPhotos.h"
@implementation FKFlickrGalleriesGetPhotos
- (BOOL) needsLogin {
return NO;
}
- (BOOL) needsSigning {
return NO;
}
- (FKPermission) requiredPerms {
return -1;
}
- (NSString *) name {
return @"flickr.galleries.getPhotos";
}
- (BOOL) isValid:(NSError **)error {
BOOL valid = YES;
NSMutableString *errorDescription = [[NSMutableString alloc] initWithString:@"You are missing required params: "];
if(!self.gallery_id) {
valid = NO;
[errorDescription appendString:@"'gallery_id', "];
}
if(error != NULL) {
if(!valid) {
NSDictionary *userInfo = @{NSLocalizedDescriptionKey: errorDescription};
*error = [NSError errorWithDomain:FKFlickrKitErrorDomain code:FKErrorInvalidArgs userInfo:userInfo];
}
}
return valid;
}
- (NSDictionary *) args {
NSMutableDictionary *args = [NSMutableDictionary dictionary];
if(self.gallery_id) {
[args setValue:self.gallery_id forKey:@"gallery_id"];
}
if(self.extras) {
[args setValue:self.extras forKey:@"extras"];
}
if(self.per_page) {
[args setValue:self.per_page forKey:@"per_page"];
}
if(self.page) {
[args setValue:self.page forKey:@"page"];
}
return [args copy];
}
- (NSString *) descriptionForError:(NSInteger)error {
switch(error) {
case FKFlickrGalleriesGetPhotosError_InvalidAPIKey:
return @"Invalid API Key";
case FKFlickrGalleriesGetPhotosError_ServiceCurrentlyUnavailable:
return @"Service currently unavailable";
case FKFlickrGalleriesGetPhotosError_FormatXXXNotFound:
return @"Format \"xxx\" not found";
case FKFlickrGalleriesGetPhotosError_MethodXXXNotFound:
return @"Method \"xxx\" not found";
case FKFlickrGalleriesGetPhotosError_InvalidSOAPEnvelope:
return @"Invalid SOAP envelope";
case FKFlickrGalleriesGetPhotosError_InvalidXMLRPCMethodCall:
return @"Invalid XML-RPC Method Call";
case FKFlickrGalleriesGetPhotosError_BadURLFound:
return @"Bad URL found";
default:
return @"Unknown error code";
}
}
@end
================================================
FILE: Pods/FlickrKit/Classes/Model/Generated/Groups/Discuss/Replies/FKFlickrGroupsDiscussRepliesAdd.h
================================================
//
// FKFlickrGroupsDiscussRepliesAdd.h
// FlickrKit
//
// Generated by FKAPIBuilder on 12 Jun, 2013 at 17:19.
// Copyright (c) 2013 DevedUp Ltd. All rights reserved. http://www.devedup.com
//
// DO NOT MODIFY THIS FILE - IT IS MACHINE GENERATED
#import "FKFlickrAPIMethod.h"
typedef enum {
FKFlickrGroupsDiscussRepliesAddError_TopicNotFound = 1, /* The topic_id is invalid. */
FKFlickrGroupsDiscussRepliesAddError_CannotPostToGroup = 2, /* Either this account is not a member of the group, or discussion in this group is disabled.
*/
FKFlickrGroupsDiscussRepliesAddError_MissingRequiredArguments = 3, /* The topic_id and message are required. */
FKFlickrGroupsDiscussRepliesAddError_InvalidSignature = 96, /* The passed signature was invalid. */
FKFlickrGroupsDiscussRepliesAddError_MissingSignature = 97, /* The call required signing but no signature was sent. */
FKFlickrGroupsDiscussRepliesAddError_LoginFailedOrInvalidAuthToken = 98, /* The login details or auth token passed were invalid. */
FKFlickrGroupsDiscussRepliesAddError_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. */
FKFlickrGroupsDiscussRepliesAddError_InvalidAPIKey = 100, /* The API key passed was not valid or has expired. */
FKFlickrGroupsDiscussRepliesAddError_ServiceCurrentlyUnavailable = 105, /* The requested service is temporarily unavailable. */
FKFlickrGroupsDiscussRepliesAddError_FormatXXXNotFound = 111, /* The requested response format was not found. */
FKFlickrGroupsDiscussRepliesAddError_MethodXXXNotFound = 112, /* The requested method was not found. */
FKFlickrGroupsDiscussRepliesAddError_InvalidSOAPEnvelope = 114, /* The SOAP envelope send in the request could not be parsed. */
FKFlickrGroupsDiscussRepliesAddError_InvalidXMLRPCMethodCall = 115, /* The XML-RPC request document could not be parsed. */
FKFlickrGroupsDiscussRepliesAddError_BadURLFound = 116, /* One or more arguments contained a URL that has been used for abuse on Flickr. */
} FKFlickrGroupsDiscussRepliesAddError;
/*
Post a new reply to a group discussion topic.
*/
@interface FKFlickrGroupsDiscussRepliesAdd : NSObject The count attribute of the subcat element gives the number of groups inside the subcat.
The members attribute of the group element gives the total number of members in the group. The online attribute gives a count of the members who are currently online. The inchat attribute gives a count of the number of people in the group's chat, regardless of whether they are members of the group.
The privacy attribute is 1 for private groups, 2 for invite-only public groups and 3 for open public groups.
description, license, date_upload, date_taken, owner_name, icon_server, original_format, last_update, geo, tags, machine_tags, o_dims, views, media, path_alias, url_sq, url_t, url_s, url_q, url_m, url_n, url_z, url_c, url_l, url_o */
@property (nonatomic, strong) NSString *extras;
/* Number of photos to return per page. If this argument is omitted, it defaults to 100. The maximum allowed value is 500. */
@property (nonatomic, strong) NSString *per_page;
/* The page of results to return. If this argument is omitted, it defaults to 1. */
@property (nonatomic, strong) NSString *page;
@end
================================================
FILE: Pods/FlickrKit/Classes/Model/Generated/Groups/Pools/FKFlickrGroupsPoolsGetPhotos.m
================================================
//
// FKFlickrGroupsPoolsGetPhotos.m
// FlickrKit
//
// Generated by FKAPIBuilder on 12 Jun, 2013 at 17:19.
// Copyright (c) 2013 DevedUp Ltd. All rights reserved. http://www.devedup.com
//
// DO NOT MODIFY THIS FILE - IT IS MACHINE GENERATED
#import "FKFlickrGroupsPoolsGetPhotos.h"
@implementation FKFlickrGroupsPoolsGetPhotos
- (BOOL) needsLogin {
return NO;
}
- (BOOL) needsSigning {
return NO;
}
- (FKPermission) requiredPerms {
return -1;
}
- (NSString *) name {
return @"flickr.groups.pools.getPhotos";
}
- (BOOL) isValid:(NSError **)error {
BOOL valid = YES;
NSMutableString *errorDescription = [[NSMutableString alloc] initWithString:@"You are missing required params: "];
if(!self.group_id) {
valid = NO;
[errorDescription appendString:@"'group_id', "];
}
if(error != NULL) {
if(!valid) {
NSDictionary *userInfo = @{NSLocalizedDescriptionKey: errorDescription};
*error = [NSError errorWithDomain:FKFlickrKitErrorDomain code:FKErrorInvalidArgs userInfo:userInfo];
}
}
return valid;
}
- (NSDictionary *) args {
NSMutableDictionary *args = [NSMutableDictionary dictionary];
if(self.group_id) {
[args setValue:self.group_id forKey:@"group_id"];
}
if(self.tags) {
[args setValue:self.tags forKey:@"tags"];
}
if(self.user_id) {
[args setValue:self.user_id forKey:@"user_id"];
}
if(self.jump_to) {
[args setValue:self.jump_to forKey:@"jump_to"];
}
if(self.extras) {
[args setValue:self.extras forKey:@"extras"];
}
if(self.per_page) {
[args setValue:self.per_page forKey:@"per_page"];
}
if(self.page) {
[args setValue:self.page forKey:@"page"];
}
return [args copy];
}
- (NSString *) descriptionForError:(NSInteger)error {
switch(error) {
case FKFlickrGroupsPoolsGetPhotosError_GroupNotFound:
return @"Group not found";
case FKFlickrGroupsPoolsGetPhotosError_YouDontHavePermissionToViewThisPool:
return @"You don't have permission to view this pool";
case FKFlickrGroupsPoolsGetPhotosError_UnknownUser:
return @"Unknown user";
case FKFlickrGroupsPoolsGetPhotosError_InvalidAPIKey:
return @"Invalid API Key";
case FKFlickrGroupsPoolsGetPhotosError_ServiceCurrentlyUnavailable:
return @"Service currently unavailable";
case FKFlickrGroupsPoolsGetPhotosError_FormatXXXNotFound:
return @"Format \"xxx\" not found";
case FKFlickrGroupsPoolsGetPhotosError_MethodXXXNotFound:
return @"Method \"xxx\" not found";
case FKFlickrGroupsPoolsGetPhotosError_InvalidSOAPEnvelope:
return @"Invalid SOAP envelope";
case FKFlickrGroupsPoolsGetPhotosError_InvalidXMLRPCMethodCall:
return @"Invalid XML-RPC Method Call";
case FKFlickrGroupsPoolsGetPhotosError_BadURLFound:
return @"Bad URL found";
default:
return @"Unknown error code";
}
}
@end
================================================
FILE: Pods/FlickrKit/Classes/Model/Generated/Groups/Pools/FKFlickrGroupsPoolsRemove.h
================================================
//
// FKFlickrGroupsPoolsRemove.h
// FlickrKit
//
// Generated by FKAPIBuilder on 12 Jun, 2013 at 17:19.
// Copyright (c) 2013 DevedUp Ltd. All rights reserved. http://www.devedup.com
//
// DO NOT MODIFY THIS FILE - IT IS MACHINE GENERATED
#import "FKFlickrAPIMethod.h"
typedef enum {
FKFlickrGroupsPoolsRemoveError_GroupNotFound = 1, /* The group_id passed did not refer to a valid group. */
FKFlickrGroupsPoolsRemoveError_PhotoNotInPool = 2, /* The photo_id passed was not a valid id of a photo in the group pool. */
FKFlickrGroupsPoolsRemoveError_InsufficientPermissionToRemovePhoto = 3, /* The calling user doesn't own the photo and is not an administrator of the group, so may not remove the photo from the pool. */
FKFlickrGroupsPoolsRemoveError_InvalidSignature = 96, /* The passed signature was invalid. */
FKFlickrGroupsPoolsRemoveError_MissingSignature = 97, /* The call required signing but no signature was sent. */
FKFlickrGroupsPoolsRemoveError_LoginFailedOrInvalidAuthToken = 98, /* The login details or auth token passed were invalid. */
FKFlickrGroupsPoolsRemoveError_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. */
FKFlickrGroupsPoolsRemoveError_InvalidAPIKey = 100, /* The API key passed was not valid or has expired. */
FKFlickrGroupsPoolsRemoveError_ServiceCurrentlyUnavailable = 105, /* The requested service is temporarily unavailable. */
FKFlickrGroupsPoolsRemoveError_FormatXXXNotFound = 111, /* The requested response format was not found. */
FKFlickrGroupsPoolsRemoveError_MethodXXXNotFound = 112, /* The requested method was not found. */
FKFlickrGroupsPoolsRemoveError_InvalidSOAPEnvelope = 114, /* The SOAP envelope send in the request could not be parsed. */
FKFlickrGroupsPoolsRemoveError_InvalidXMLRPCMethodCall = 115, /* The XML-RPC request document could not be parsed. */
FKFlickrGroupsPoolsRemoveError_BadURLFound = 116, /* One or more arguments contained a URL that has been used for abuse on Flickr. */
} FKFlickrGroupsPoolsRemoveError;
/*
Remove a photo from a group pool.
*/
@interface FKFlickrGroupsPoolsRemove : NSObject description, license, date_upload, date_taken, owner_name, icon_server, original_format, last_update, geo, tags, machine_tags, o_dims, views, media, path_alias, url_sq, url_t, url_s, url_q, url_m, url_n, url_z, url_c, url_l, url_o */
@property (nonatomic, strong) NSString *extras;
/* Number of photos to return per page. If this argument is omitted, it defaults to 100. The maximum allowed value is 500. */
@property (nonatomic, strong) NSString *per_page;
/* The page of results to return. If this argument is omitted, it defaults to 1. */
@property (nonatomic, strong) NSString *page;
@end
================================================
FILE: Pods/FlickrKit/Classes/Model/Generated/Interestingness/FKFlickrInterestingnessGetList.m
================================================
//
// FKFlickrInterestingnessGetList.m
// FlickrKit
//
// Generated by FKAPIBuilder on 12 Jun, 2013 at 17:19.
// Copyright (c) 2013 DevedUp Ltd. All rights reserved. http://www.devedup.com
//
// DO NOT MODIFY THIS FILE - IT IS MACHINE GENERATED
#import "FKFlickrInterestingnessGetList.h"
@implementation FKFlickrInterestingnessGetList
- (BOOL) needsLogin {
return NO;
}
- (BOOL) needsSigning {
return NO;
}
- (FKPermission) requiredPerms {
return -1;
}
- (NSString *) name {
return @"flickr.interestingness.getList";
}
- (BOOL) isValid:(NSError **)error {
BOOL valid = YES;
NSMutableString *errorDescription = [[NSMutableString alloc] initWithString:@"You are missing required params: "];
if(error != NULL) {
if(!valid) {
NSDictionary *userInfo = @{NSLocalizedDescriptionKey: errorDescription};
*error = [NSError errorWithDomain:FKFlickrKitErrorDomain code:FKErrorInvalidArgs userInfo:userInfo];
}
}
return valid;
}
- (NSDictionary *) args {
NSMutableDictionary *args = [NSMutableDictionary dictionary];
if(self.date) {
[args setValue:self.date forKey:@"date"];
}
if(self.use_panda) {
[args setValue:self.use_panda forKey:@"use_panda"];
}
if(self.extras) {
[args setValue:self.extras forKey:@"extras"];
}
if(self.per_page) {
[args setValue:self.per_page forKey:@"per_page"];
}
if(self.page) {
[args setValue:self.page forKey:@"page"];
}
return [args copy];
}
- (NSString *) descriptionForError:(NSInteger)error {
switch(error) {
case FKFlickrInterestingnessGetListError_NotAValidDateString:
return @"Not a valid date string.";
case FKFlickrInterestingnessGetListError_InvalidAPIKey:
return @"Invalid API Key";
case FKFlickrInterestingnessGetListError_ServiceCurrentlyUnavailable:
return @"Service currently unavailable";
case FKFlickrInterestingnessGetListError_FormatXXXNotFound:
return @"Format \"xxx\" not found";
case FKFlickrInterestingnessGetListError_MethodXXXNotFound:
return @"Method \"xxx\" not found";
case FKFlickrInterestingnessGetListError_InvalidSOAPEnvelope:
return @"Invalid SOAP envelope";
case FKFlickrInterestingnessGetListError_InvalidXMLRPCMethodCall:
return @"Invalid XML-RPC Method Call";
case FKFlickrInterestingnessGetListError_BadURLFound:
return @"Bad URL found";
default:
return @"Unknown error code";
}
}
@end
================================================
FILE: Pods/FlickrKit/Classes/Model/Generated/Machinetags/FKFlickrMachinetagsGetNamespaces.h
================================================
//
// FKFlickrMachinetagsGetNamespaces.h
// FlickrKit
//
// Generated by FKAPIBuilder on 12 Jun, 2013 at 17:19.
// Copyright (c) 2013 DevedUp Ltd. All rights reserved. http://www.devedup.com
//
// DO NOT MODIFY THIS FILE - IT IS MACHINE GENERATED
#import "FKFlickrAPIMethod.h"
typedef enum {
FKFlickrMachinetagsGetNamespacesError_NotAValidPredicate = 1, /* Missing or invalid predicate argument. */
FKFlickrMachinetagsGetNamespacesError_InvalidAPIKey = 100, /* The API key passed was not valid or has expired. */
FKFlickrMachinetagsGetNamespacesError_ServiceCurrentlyUnavailable = 105, /* The requested service is temporarily unavailable. */
FKFlickrMachinetagsGetNamespacesError_FormatXXXNotFound = 111, /* The requested response format was not found. */
FKFlickrMachinetagsGetNamespacesError_MethodXXXNotFound = 112, /* The requested method was not found. */
FKFlickrMachinetagsGetNamespacesError_InvalidSOAPEnvelope = 114, /* The SOAP envelope send in the request could not be parsed. */
FKFlickrMachinetagsGetNamespacesError_InvalidXMLRPCMethodCall = 115, /* The XML-RPC request document could not be parsed. */
FKFlickrMachinetagsGetNamespacesError_BadURLFound = 116, /* One or more arguments contained a URL that has been used for abuse on Flickr. */
} FKFlickrMachinetagsGetNamespacesError;
/*
Return a list of unique namespaces, optionally limited by a given predicate, in alphabetical order.
"Usage" gives you roughly how popular a machine tags, while "predicates" is the count of distinct predicates a namespace has.
Response:
description, license, date_upload, date_taken, owner_name, icon_server, original_format, last_update, geo, tags, machine_tags, o_dims, views, media, path_alias, url_sq, url_t, url_s, url_q, url_m, url_n, url_z, url_c, url_l, url_o */
@property (nonatomic, strong) NSString *extras;
/* Number of photos to return per page. If this argument is omitted, it defaults to 100. The maximum allowed value is 500. */
@property (nonatomic, strong) NSString *per_page;
/* The page of results to return. If this argument is omitted, it defaults to 1. */
@property (nonatomic, strong) NSString *page;
@end
================================================
FILE: Pods/FlickrKit/Classes/Model/Generated/Panda/FKFlickrPandaGetPhotos.m
================================================
//
// FKFlickrPandaGetPhotos.m
// FlickrKit
//
// Generated by FKAPIBuilder on 12 Jun, 2013 at 17:19.
// Copyright (c) 2013 DevedUp Ltd. All rights reserved. http://www.devedup.com
//
// DO NOT MODIFY THIS FILE - IT IS MACHINE GENERATED
#import "FKFlickrPandaGetPhotos.h"
@implementation FKFlickrPandaGetPhotos
- (BOOL) needsLogin {
return NO;
}
- (BOOL) needsSigning {
return NO;
}
- (FKPermission) requiredPerms {
return -1;
}
- (NSString *) name {
return @"flickr.panda.getPhotos";
}
- (BOOL) isValid:(NSError **)error {
BOOL valid = YES;
NSMutableString *errorDescription = [[NSMutableString alloc] initWithString:@"You are missing required params: "];
if(!self.panda_name) {
valid = NO;
[errorDescription appendString:@"'panda_name', "];
}
if(error != NULL) {
if(!valid) {
NSDictionary *userInfo = @{NSLocalizedDescriptionKey: errorDescription};
*error = [NSError errorWithDomain:FKFlickrKitErrorDomain code:FKErrorInvalidArgs userInfo:userInfo];
}
}
return valid;
}
- (NSDictionary *) args {
NSMutableDictionary *args = [NSMutableDictionary dictionary];
if(self.panda_name) {
[args setValue:self.panda_name forKey:@"panda_name"];
}
if(self.extras) {
[args setValue:self.extras forKey:@"extras"];
}
if(self.per_page) {
[args setValue:self.per_page forKey:@"per_page"];
}
if(self.page) {
[args setValue:self.page forKey:@"page"];
}
return [args copy];
}
- (NSString *) descriptionForError:(NSInteger)error {
switch(error) {
case FKFlickrPandaGetPhotosError_RequiredParameterMissing:
return @"Required parameter missing.";
case FKFlickrPandaGetPhotosError_UnknownPanda:
return @"Unknown panda";
case FKFlickrPandaGetPhotosError_InvalidAPIKey:
return @"Invalid API Key";
case FKFlickrPandaGetPhotosError_ServiceCurrentlyUnavailable:
return @"Service currently unavailable";
case FKFlickrPandaGetPhotosError_FormatXXXNotFound:
return @"Format \"xxx\" not found";
case FKFlickrPandaGetPhotosError_MethodXXXNotFound:
return @"Method \"xxx\" not found";
case FKFlickrPandaGetPhotosError_InvalidSOAPEnvelope:
return @"Invalid SOAP envelope";
case FKFlickrPandaGetPhotosError_InvalidXMLRPCMethodCall:
return @"Invalid XML-RPC Method Call";
case FKFlickrPandaGetPhotosError_BadURLFound:
return @"Bad URL found";
default:
return @"Unknown error code";
}
}
@end
================================================
FILE: Pods/FlickrKit/Classes/Model/Generated/People/FKFlickrPeopleFindByEmail.h
================================================
//
// FKFlickrPeopleFindByEmail.h
// FlickrKit
//
// Generated by FKAPIBuilder on 12 Jun, 2013 at 17:19.
// Copyright (c) 2013 DevedUp Ltd. All rights reserved. http://www.devedup.com
//
// DO NOT MODIFY THIS FILE - IT IS MACHINE GENERATED
#import "FKFlickrAPIMethod.h"
typedef enum {
FKFlickrPeopleFindByEmailError_UserNotFound = 1, /* No user with the supplied email address was found. */
FKFlickrPeopleFindByEmailError_InvalidAPIKey = 100, /* The API key passed was not valid or has expired. */
FKFlickrPeopleFindByEmailError_ServiceCurrentlyUnavailable = 105, /* The requested service is temporarily unavailable. */
FKFlickrPeopleFindByEmailError_FormatXXXNotFound = 111, /* The requested response format was not found. */
FKFlickrPeopleFindByEmailError_MethodXXXNotFound = 112, /* The requested method was not found. */
FKFlickrPeopleFindByEmailError_InvalidSOAPEnvelope = 114, /* The SOAP envelope send in the request could not be parsed. */
FKFlickrPeopleFindByEmailError_InvalidXMLRPCMethodCall = 115, /* The XML-RPC request document could not be parsed. */
FKFlickrPeopleFindByEmailError_BadURLFound = 116, /* One or more arguments contained a URL that has been used for abuse on Flickr. */
} FKFlickrPeopleFindByEmailError;
/*
Return a user's NSID, given their email address
Response:
privacy, throttle, restrictions */
@property (nonatomic, strong) NSString *extras;
@end
================================================
FILE: Pods/FlickrKit/Classes/Model/Generated/People/FKFlickrPeopleGetGroups.m
================================================
//
// FKFlickrPeopleGetGroups.m
// FlickrKit
//
// Generated by FKAPIBuilder on 12 Jun, 2013 at 17:19.
// Copyright (c) 2013 DevedUp Ltd. All rights reserved. http://www.devedup.com
//
// DO NOT MODIFY THIS FILE - IT IS MACHINE GENERATED
#import "FKFlickrPeopleGetGroups.h"
@implementation FKFlickrPeopleGetGroups
- (BOOL) needsLogin {
return YES;
}
- (BOOL) needsSigning {
return YES;
}
- (FKPermission) requiredPerms {
return 0;
}
- (NSString *) name {
return @"flickr.people.getGroups";
}
- (BOOL) isValid:(NSError **)error {
BOOL valid = YES;
NSMutableString *errorDescription = [[NSMutableString alloc] initWithString:@"You are missing required params: "];
if(!self.user_id) {
valid = NO;
[errorDescription appendString:@"'user_id', "];
}
if(error != NULL) {
if(!valid) {
NSDictionary *userInfo = @{NSLocalizedDescriptionKey: errorDescription};
*error = [NSError errorWithDomain:FKFlickrKitErrorDomain code:FKErrorInvalidArgs userInfo:userInfo];
}
}
return valid;
}
- (NSDictionary *) args {
NSMutableDictionary *args = [NSMutableDictionary dictionary];
if(self.user_id) {
[args setValue:self.user_id forKey:@"user_id"];
}
if(self.extras) {
[args setValue:self.extras forKey:@"extras"];
}
return [args copy];
}
- (NSString *) descriptionForError:(NSInteger)error {
switch(error) {
case FKFlickrPeopleGetGroupsError_UserNotFound:
return @"User not found";
case FKFlickrPeopleGetGroupsError_InvalidSignature:
return @"Invalid signature";
case FKFlickrPeopleGetGroupsError_MissingSignature:
return @"Missing signature";
case FKFlickrPeopleGetGroupsError_LoginFailedOrInvalidAuthToken:
return @"Login failed / Invalid auth token";
case FKFlickrPeopleGetGroupsError_UserNotLoggedInOrInsufficientPermissions:
return @"User not logged in / Insufficient permissions";
case FKFlickrPeopleGetGroupsError_InvalidAPIKey:
return @"Invalid API Key";
case FKFlickrPeopleGetGroupsError_ServiceCurrentlyUnavailable:
return @"Service currently unavailable";
case FKFlickrPeopleGetGroupsError_FormatXXXNotFound:
return @"Format \"xxx\" not found";
case FKFlickrPeopleGetGroupsError_MethodXXXNotFound:
return @"Method \"xxx\" not found";
case FKFlickrPeopleGetGroupsError_InvalidSOAPEnvelope:
return @"Invalid SOAP envelope";
case FKFlickrPeopleGetGroupsError_InvalidXMLRPCMethodCall:
return @"Invalid XML-RPC Method Call";
case FKFlickrPeopleGetGroupsError_BadURLFound:
return @"Bad URL found";
default:
return @"Unknown error code";
}
}
@end
================================================
FILE: Pods/FlickrKit/Classes/Model/Generated/People/FKFlickrPeopleGetInfo.h
================================================
//
// FKFlickrPeopleGetInfo.h
// FlickrKit
//
// Generated by FKAPIBuilder on 12 Jun, 2013 at 17:19.
// Copyright (c) 2013 DevedUp Ltd. All rights reserved. http://www.devedup.com
//
// DO NOT MODIFY THIS FILE - IT IS MACHINE GENERATED
#import "FKFlickrAPIMethod.h"
typedef enum {
FKFlickrPeopleGetInfoError_UserNotFound = 1, /* The user id passed did not match a Flickr user. */
FKFlickrPeopleGetInfoError_InvalidAPIKey = 100, /* The API key passed was not valid or has expired. */
FKFlickrPeopleGetInfoError_ServiceCurrentlyUnavailable = 105, /* The requested service is temporarily unavailable. */
FKFlickrPeopleGetInfoError_FormatXXXNotFound = 111, /* The requested response format was not found. */
FKFlickrPeopleGetInfoError_MethodXXXNotFound = 112, /* The requested method was not found. */
FKFlickrPeopleGetInfoError_InvalidSOAPEnvelope = 114, /* The SOAP envelope send in the request could not be parsed. */
FKFlickrPeopleGetInfoError_InvalidXMLRPCMethodCall = 115, /* The XML-RPC request document could not be parsed. */
FKFlickrPeopleGetInfoError_BadURLFound = 116, /* One or more arguments contained a URL that has been used for abuse on Flickr. */
} FKFlickrPeopleGetInfoError;
/*
Get information about a user.
The firstdate element contains the unix timestamp of the first photo uploaded by the user. The firstdatetaken element contains the mysql datetime of the first photo taken by the user.
The iconserver element is used to build the url to the users' buddyicon - for more information please read the buddyicon guide.
If the API call is authenticated contact information will also be returned as attributes on the person element. contact, friend, and family are boolean flags describing the relationship between the authenticated user, and the person currently being inspected. revcontact, revfriend, and revfamily is the reciprocal relationship.
For more details, see the documentation about limits.
Response:description, license, date_upload, date_taken, owner_name, icon_server, original_format, last_update, geo, tags, machine_tags, o_dims, views, media, path_alias, url_sq, url_t, url_s, url_q, url_m, url_n, url_z, url_c, url_l, url_o */
@property (nonatomic, strong) NSString *extras;
/* Number of photos to return per page. If this argument is omitted, it defaults to 100. The maximum allowed value is 500. */
@property (nonatomic, strong) NSString *per_page;
/* The page of results to return. If this argument is omitted, it defaults to 1. */
@property (nonatomic, strong) NSString *page;
@end
================================================
FILE: Pods/FlickrKit/Classes/Model/Generated/People/FKFlickrPeopleGetPhotos.m
================================================
//
// FKFlickrPeopleGetPhotos.m
// FlickrKit
//
// Generated by FKAPIBuilder on 12 Jun, 2013 at 17:19.
// Copyright (c) 2013 DevedUp Ltd. All rights reserved. http://www.devedup.com
//
// DO NOT MODIFY THIS FILE - IT IS MACHINE GENERATED
#import "FKFlickrPeopleGetPhotos.h"
@implementation FKFlickrPeopleGetPhotos
- (BOOL) needsLogin {
return YES;
}
- (BOOL) needsSigning {
return YES;
}
- (FKPermission) requiredPerms {
return 0;
}
- (NSString *) name {
return @"flickr.people.getPhotos";
}
- (BOOL) isValid:(NSError **)error {
BOOL valid = YES;
NSMutableString *errorDescription = [[NSMutableString alloc] initWithString:@"You are missing required params: "];
if(!self.user_id) {
valid = NO;
[errorDescription appendString:@"'user_id', "];
}
if(error != NULL) {
if(!valid) {
NSDictionary *userInfo = @{NSLocalizedDescriptionKey: errorDescription};
*error = [NSError errorWithDomain:FKFlickrKitErrorDomain code:FKErrorInvalidArgs userInfo:userInfo];
}
}
return valid;
}
- (NSDictionary *) args {
NSMutableDictionary *args = [NSMutableDictionary dictionary];
if(self.user_id) {
[args setValue:self.user_id forKey:@"user_id"];
}
if(self.safe_search) {
[args setValue:self.safe_search forKey:@"safe_search"];
}
if(self.min_upload_date) {
[args setValue:self.min_upload_date forKey:@"min_upload_date"];
}
if(self.max_upload_date) {
[args setValue:self.max_upload_date forKey:@"max_upload_date"];
}
if(self.min_taken_date) {
[args setValue:self.min_taken_date forKey:@"min_taken_date"];
}
if(self.max_taken_date) {
[args setValue:self.max_taken_date forKey:@"max_taken_date"];
}
if(self.content_type) {
[args setValue:self.content_type forKey:@"content_type"];
}
if(self.privacy_filter) {
[args setValue:self.privacy_filter forKey:@"privacy_filter"];
}
if(self.extras) {
[args setValue:self.extras forKey:@"extras"];
}
if(self.per_page) {
[args setValue:self.per_page forKey:@"per_page"];
}
if(self.page) {
[args setValue:self.page forKey:@"page"];
}
return [args copy];
}
- (NSString *) descriptionForError:(NSInteger)error {
switch(error) {
case FKFlickrPeopleGetPhotosError_RequiredArgumentsMissing:
return @"Required arguments missing";
case FKFlickrPeopleGetPhotosError_UnknownUser:
return @"Unknown user";
case FKFlickrPeopleGetPhotosError_InvalidSignature:
return @"Invalid signature";
case FKFlickrPeopleGetPhotosError_MissingSignature:
return @"Missing signature";
case FKFlickrPeopleGetPhotosError_LoginFailedOrInvalidAuthToken:
return @"Login failed / Invalid auth token";
case FKFlickrPeopleGetPhotosError_UserNotLoggedInOrInsufficientPermissions:
return @"User not logged in / Insufficient permissions";
case FKFlickrPeopleGetPhotosError_InvalidAPIKey:
return @"Invalid API Key";
case FKFlickrPeopleGetPhotosError_ServiceCurrentlyUnavailable:
return @"Service currently unavailable";
case FKFlickrPeopleGetPhotosError_FormatXXXNotFound:
return @"Format \"xxx\" not found";
case FKFlickrPeopleGetPhotosError_MethodXXXNotFound:
return @"Method \"xxx\" not found";
case FKFlickrPeopleGetPhotosError_InvalidSOAPEnvelope:
return @"Invalid SOAP envelope";
case FKFlickrPeopleGetPhotosError_InvalidXMLRPCMethodCall:
return @"Invalid XML-RPC Method Call";
case FKFlickrPeopleGetPhotosError_BadURLFound:
return @"Bad URL found";
default:
return @"Unknown error code";
}
}
@end
================================================
FILE: Pods/FlickrKit/Classes/Model/Generated/People/FKFlickrPeopleGetPhotosOf.h
================================================
//
// FKFlickrPeopleGetPhotosOf.h
// FlickrKit
//
// Generated by FKAPIBuilder on 12 Jun, 2013 at 17:19.
// Copyright (c) 2013 DevedUp Ltd. All rights reserved. http://www.devedup.com
//
// DO NOT MODIFY THIS FILE - IT IS MACHINE GENERATED
#import "FKFlickrAPIMethod.h"
typedef enum {
FKFlickrPeopleGetPhotosOfError_UserNotFound = 1, /* A user_id was passed which did not match a valid flickr user. */
FKFlickrPeopleGetPhotosOfError_InvalidAPIKey = 100, /* The API key passed was not valid or has expired. */
FKFlickrPeopleGetPhotosOfError_ServiceCurrentlyUnavailable = 105, /* The requested service is temporarily unavailable. */
FKFlickrPeopleGetPhotosOfError_FormatXXXNotFound = 111, /* The requested response format was not found. */
FKFlickrPeopleGetPhotosOfError_MethodXXXNotFound = 112, /* The requested method was not found. */
FKFlickrPeopleGetPhotosOfError_InvalidSOAPEnvelope = 114, /* The SOAP envelope send in the request could not be parsed. */
FKFlickrPeopleGetPhotosOfError_InvalidXMLRPCMethodCall = 115, /* The XML-RPC request document could not be parsed. */
FKFlickrPeopleGetPhotosOfError_BadURLFound = 116, /* One or more arguments contained a URL that has been used for abuse on Flickr. */
} FKFlickrPeopleGetPhotosOfError;
/*
Returns a list of photos containing a particular Flickr member.
This method returns a variant of the standard photo list xml.
For queries about a member other than the currently authenticated one, pagination data ("total" and "pages" attributes) will not be available.
Instead, the
description, license, date_upload, date_taken, date_person_added, owner_name, icon_server, original_format, last_update, geo, tags, machine_tags, o_dims, views, media, path_alias, url_sq, url_t, url_s, url_q, url_m, url_n, url_z, url_c, url_l, url_o */
@property (nonatomic, strong) NSString *extras;
/* Number of photos to return per page. If this argument is omitted, it defaults to 100. The maximum allowed value is 500. */
@property (nonatomic, strong) NSString *per_page;
/* The page of results to return. If this argument is omitted, it defaults to 1. */
@property (nonatomic, strong) NSString *page;
@end
================================================
FILE: Pods/FlickrKit/Classes/Model/Generated/People/FKFlickrPeopleGetPhotosOf.m
================================================
//
// FKFlickrPeopleGetPhotosOf.m
// FlickrKit
//
// Generated by FKAPIBuilder on 12 Jun, 2013 at 17:19.
// Copyright (c) 2013 DevedUp Ltd. All rights reserved. http://www.devedup.com
//
// DO NOT MODIFY THIS FILE - IT IS MACHINE GENERATED
#import "FKFlickrPeopleGetPhotosOf.h"
@implementation FKFlickrPeopleGetPhotosOf
- (BOOL) needsLogin {
return NO;
}
- (BOOL) needsSigning {
return NO;
}
- (FKPermission) requiredPerms {
return -1;
}
- (NSString *) name {
return @"flickr.people.getPhotosOf";
}
- (BOOL) isValid:(NSError **)error {
BOOL valid = YES;
NSMutableString *errorDescription = [[NSMutableString alloc] initWithString:@"You are missing required params: "];
if(!self.user_id) {
valid = NO;
[errorDescription appendString:@"'user_id', "];
}
if(error != NULL) {
if(!valid) {
NSDictionary *userInfo = @{NSLocalizedDescriptionKey: errorDescription};
*error = [NSError errorWithDomain:FKFlickrKitErrorDomain code:FKErrorInvalidArgs userInfo:userInfo];
}
}
return valid;
}
- (NSDictionary *) args {
NSMutableDictionary *args = [NSMutableDictionary dictionary];
if(self.user_id) {
[args setValue:self.user_id forKey:@"user_id"];
}
if(self.owner_id) {
[args setValue:self.owner_id forKey:@"owner_id"];
}
if(self.extras) {
[args setValue:self.extras forKey:@"extras"];
}
if(self.per_page) {
[args setValue:self.per_page forKey:@"per_page"];
}
if(self.page) {
[args setValue:self.page forKey:@"page"];
}
return [args copy];
}
- (NSString *) descriptionForError:(NSInteger)error {
switch(error) {
case FKFlickrPeopleGetPhotosOfError_UserNotFound:
return @"User not found.";
case FKFlickrPeopleGetPhotosOfError_InvalidAPIKey:
return @"Invalid API Key";
case FKFlickrPeopleGetPhotosOfError_ServiceCurrentlyUnavailable:
return @"Service currently unavailable";
case FKFlickrPeopleGetPhotosOfError_FormatXXXNotFound:
return @"Format \"xxx\" not found";
case FKFlickrPeopleGetPhotosOfError_MethodXXXNotFound:
return @"Method \"xxx\" not found";
case FKFlickrPeopleGetPhotosOfError_InvalidSOAPEnvelope:
return @"Invalid SOAP envelope";
case FKFlickrPeopleGetPhotosOfError_InvalidXMLRPCMethodCall:
return @"Invalid XML-RPC Method Call";
case FKFlickrPeopleGetPhotosOfError_BadURLFound:
return @"Bad URL found";
default:
return @"Unknown error code";
}
}
@end
================================================
FILE: Pods/FlickrKit/Classes/Model/Generated/People/FKFlickrPeopleGetPublicGroups.h
================================================
//
// FKFlickrPeopleGetPublicGroups.h
// FlickrKit
//
// Generated by FKAPIBuilder on 12 Jun, 2013 at 17:19.
// Copyright (c) 2013 DevedUp Ltd. All rights reserved. http://www.devedup.com
//
// DO NOT MODIFY THIS FILE - IT IS MACHINE GENERATED
#import "FKFlickrAPIMethod.h"
typedef enum {
FKFlickrPeopleGetPublicGroupsError_UserNotFound = 1, /* The user id passed did not match a Flickr user. */
FKFlickrPeopleGetPublicGroupsError_InvalidAPIKey = 100, /* The API key passed was not valid or has expired. */
FKFlickrPeopleGetPublicGroupsError_ServiceCurrentlyUnavailable = 105, /* The requested service is temporarily unavailable. */
FKFlickrPeopleGetPublicGroupsError_FormatXXXNotFound = 111, /* The requested response format was not found. */
FKFlickrPeopleGetPublicGroupsError_MethodXXXNotFound = 112, /* The requested method was not found. */
FKFlickrPeopleGetPublicGroupsError_InvalidSOAPEnvelope = 114, /* The SOAP envelope send in the request could not be parsed. */
FKFlickrPeopleGetPublicGroupsError_InvalidXMLRPCMethodCall = 115, /* The XML-RPC request document could not be parsed. */
FKFlickrPeopleGetPublicGroupsError_BadURLFound = 116, /* One or more arguments contained a URL that has been used for abuse on Flickr. */
} FKFlickrPeopleGetPublicGroupsError;
/*
Returns the list of public groups a user is a member of.
The admin attribute indicates whether the user is an administrator of the group. The eighteenplus attribute indicates if the group is visible to members over 18 only. The invite_only attribute indicates whether a user can join the group without administrator approval.
description, license, date_upload, date_taken, owner_name, icon_server, original_format, last_update, geo, tags, machine_tags, o_dims, views, media, path_alias, url_sq, url_t, url_s, url_q, url_m, url_n, url_z, url_c, url_l, url_o */
@property (nonatomic, strong) NSString *extras;
/* Number of photos to return per page. If this argument is omitted, it defaults to 100. The maximum allowed value is 500. */
@property (nonatomic, strong) NSString *per_page;
/* The page of results to return. If this argument is omitted, it defaults to 1. */
@property (nonatomic, strong) NSString *page;
@end
================================================
FILE: Pods/FlickrKit/Classes/Model/Generated/People/FKFlickrPeopleGetPublicPhotos.m
================================================
//
// FKFlickrPeopleGetPublicPhotos.m
// FlickrKit
//
// Generated by FKAPIBuilder on 12 Jun, 2013 at 17:19.
// Copyright (c) 2013 DevedUp Ltd. All rights reserved. http://www.devedup.com
//
// DO NOT MODIFY THIS FILE - IT IS MACHINE GENERATED
#import "FKFlickrPeopleGetPublicPhotos.h"
@implementation FKFlickrPeopleGetPublicPhotos
- (BOOL) needsLogin {
return NO;
}
- (BOOL) needsSigning {
return NO;
}
- (FKPermission) requiredPerms {
return -1;
}
- (NSString *) name {
return @"flickr.people.getPublicPhotos";
}
- (BOOL) isValid:(NSError **)error {
BOOL valid = YES;
NSMutableString *errorDescription = [[NSMutableString alloc] initWithString:@"You are missing required params: "];
if(!self.user_id) {
valid = NO;
[errorDescription appendString:@"'user_id', "];
}
if(error != NULL) {
if(!valid) {
NSDictionary *userInfo = @{NSLocalizedDescriptionKey: errorDescription};
*error = [NSError errorWithDomain:FKFlickrKitErrorDomain code:FKErrorInvalidArgs userInfo:userInfo];
}
}
return valid;
}
- (NSDictionary *) args {
NSMutableDictionary *args = [NSMutableDictionary dictionary];
if(self.user_id) {
[args setValue:self.user_id forKey:@"user_id"];
}
if(self.safe_search) {
[args setValue:self.safe_search forKey:@"safe_search"];
}
if(self.extras) {
[args setValue:self.extras forKey:@"extras"];
}
if(self.per_page) {
[args setValue:self.per_page forKey:@"per_page"];
}
if(self.page) {
[args setValue:self.page forKey:@"page"];
}
return [args copy];
}
- (NSString *) descriptionForError:(NSInteger)error {
switch(error) {
case FKFlickrPeopleGetPublicPhotosError_UserNotFound:
return @"User not found";
case FKFlickrPeopleGetPublicPhotosError_InvalidAPIKey:
return @"Invalid API Key";
case FKFlickrPeopleGetPublicPhotosError_ServiceCurrentlyUnavailable:
return @"Service currently unavailable";
case FKFlickrPeopleGetPublicPhotosError_FormatXXXNotFound:
return @"Format \"xxx\" not found";
case FKFlickrPeopleGetPublicPhotosError_MethodXXXNotFound:
return @"Method \"xxx\" not found";
case FKFlickrPeopleGetPublicPhotosError_InvalidSOAPEnvelope:
return @"Invalid SOAP envelope";
case FKFlickrPeopleGetPublicPhotosError_InvalidXMLRPCMethodCall:
return @"Invalid XML-RPC Method Call";
case FKFlickrPeopleGetPublicPhotosError_BadURLFound:
return @"Bad URL found";
default:
return @"Unknown error code";
}
}
@end
================================================
FILE: Pods/FlickrKit/Classes/Model/Generated/People/FKFlickrPeopleGetUploadStatus.h
================================================
//
// FKFlickrPeopleGetUploadStatus.h
// FlickrKit
//
// Generated by FKAPIBuilder on 12 Jun, 2013 at 17:19.
// Copyright (c) 2013 DevedUp Ltd. All rights reserved. http://www.devedup.com
//
// DO NOT MODIFY THIS FILE - IT IS MACHINE GENERATED
#import "FKFlickrAPIMethod.h"
typedef enum {
FKFlickrPeopleGetUploadStatusError_InvalidSignature = 96, /* The passed signature was invalid. */
FKFlickrPeopleGetUploadStatusError_MissingSignature = 97, /* The call required signing but no signature was sent. */
FKFlickrPeopleGetUploadStatusError_LoginFailedOrInvalidAuthToken = 98, /* The login details or auth token passed were invalid. */
FKFlickrPeopleGetUploadStatusError_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. */
FKFlickrPeopleGetUploadStatusError_InvalidAPIKey = 100, /* The API key passed was not valid or has expired. */
FKFlickrPeopleGetUploadStatusError_ServiceCurrentlyUnavailable = 105, /* The requested service is temporarily unavailable. */
FKFlickrPeopleGetUploadStatusError_FormatXXXNotFound = 111, /* The requested response format was not found. */
FKFlickrPeopleGetUploadStatusError_MethodXXXNotFound = 112, /* The requested method was not found. */
FKFlickrPeopleGetUploadStatusError_InvalidSOAPEnvelope = 114, /* The SOAP envelope send in the request could not be parsed. */
FKFlickrPeopleGetUploadStatusError_InvalidXMLRPCMethodCall = 115, /* The XML-RPC request document could not be parsed. */
FKFlickrPeopleGetUploadStatusError_BadURLFound = 116, /* One or more arguments contained a URL that has been used for abuse on Flickr. */
} FKFlickrPeopleGetUploadStatusError;
/*
Returns information for the calling user related to photo uploads.
Bandwidth and filesize numbers are provided in bytes and kilobytes. If you're using 32bit numbers, stick to using the kilobyte values - they shouldn't ever exceed 2/4 billion, while the byte values will.
Bandwidth is specified in bytes/kb per month.
All accounts display "lots" for the number of remaining sets, but remains in the response for backwards compatibility.
Pro accounts display "lots" for the number of remaining videos, while free users will display 0, 1, or 2.
Response:description, license, date_upload, date_taken, owner_name, icon_server, original_format, last_update, geo, tags, machine_tags, o_dims, views, media, path_alias, url_sq, url_t, url_s, url_q, url_m, url_n, url_z, url_c, url_l, url_o */
@property (nonatomic, strong) NSString *extras;
/* Number of photos to return per page. If this argument is omitted, it defaults to 100. The maximum allowed value is 500. */
@property (nonatomic, strong) NSString *per_page;
/* The page of results to return. If this argument is omitted, it defaults to 1. */
@property (nonatomic, strong) NSString *page;
@end
================================================
FILE: Pods/FlickrKit/Classes/Model/Generated/Photos/Comments/FKFlickrPhotosCommentsGetRecentForContacts.m
================================================
//
// FKFlickrPhotosCommentsGetRecentForContacts.m
// FlickrKit
//
// Generated by FKAPIBuilder on 12 Jun, 2013 at 17:19.
// Copyright (c) 2013 DevedUp Ltd. All rights reserved. http://www.devedup.com
//
// DO NOT MODIFY THIS FILE - IT IS MACHINE GENERATED
#import "FKFlickrPhotosCommentsGetRecentForContacts.h"
@implementation FKFlickrPhotosCommentsGetRecentForContacts
- (BOOL) needsLogin {
return YES;
}
- (BOOL) needsSigning {
return YES;
}
- (FKPermission) requiredPerms {
return 0;
}
- (NSString *) name {
return @"flickr.photos.comments.getRecentForContacts";
}
- (BOOL) isValid:(NSError **)error {
BOOL valid = YES;
NSMutableString *errorDescription = [[NSMutableString alloc] initWithString:@"You are missing required params: "];
if(error != NULL) {
if(!valid) {
NSDictionary *userInfo = @{NSLocalizedDescriptionKey: errorDescription};
*error = [NSError errorWithDomain:FKFlickrKitErrorDomain code:FKErrorInvalidArgs userInfo:userInfo];
}
}
return valid;
}
- (NSDictionary *) args {
NSMutableDictionary *args = [NSMutableDictionary dictionary];
if(self.date_lastcomment) {
[args setValue:self.date_lastcomment forKey:@"date_lastcomment"];
}
if(self.contacts_filter) {
[args setValue:self.contacts_filter forKey:@"contacts_filter"];
}
if(self.extras) {
[args setValue:self.extras forKey:@"extras"];
}
if(self.per_page) {
[args setValue:self.per_page forKey:@"per_page"];
}
if(self.page) {
[args setValue:self.page forKey:@"page"];
}
return [args copy];
}
- (NSString *) descriptionForError:(NSInteger)error {
switch(error) {
case FKFlickrPhotosCommentsGetRecentForContactsError_InvalidSignature:
return @"Invalid signature";
case FKFlickrPhotosCommentsGetRecentForContactsError_MissingSignature:
return @"Missing signature";
case FKFlickrPhotosCommentsGetRecentForContactsError_LoginFailedOrInvalidAuthToken:
return @"Login failed / Invalid auth token";
case FKFlickrPhotosCommentsGetRecentForContactsError_UserNotLoggedInOrInsufficientPermissions:
return @"User not logged in / Insufficient permissions";
case FKFlickrPhotosCommentsGetRecentForContactsError_InvalidAPIKey:
return @"Invalid API Key";
case FKFlickrPhotosCommentsGetRecentForContactsError_ServiceCurrentlyUnavailable:
return @"Service currently unavailable";
case FKFlickrPhotosCommentsGetRecentForContactsError_FormatXXXNotFound:
return @"Format \"xxx\" not found";
case FKFlickrPhotosCommentsGetRecentForContactsError_MethodXXXNotFound:
return @"Method \"xxx\" not found";
case FKFlickrPhotosCommentsGetRecentForContactsError_InvalidSOAPEnvelope:
return @"Invalid SOAP envelope";
case FKFlickrPhotosCommentsGetRecentForContactsError_InvalidXMLRPCMethodCall:
return @"Invalid XML-RPC Method Call";
case FKFlickrPhotosCommentsGetRecentForContactsError_BadURLFound:
return @"Bad URL found";
default:
return @"Unknown error code";
}
}
@end
================================================
FILE: Pods/FlickrKit/Classes/Model/Generated/Photos/FKFlickrPhotosAddTags.h
================================================
//
// FKFlickrPhotosAddTags.h
// FlickrKit
//
// Generated by FKAPIBuilder on 12 Jun, 2013 at 17:19.
// Copyright (c) 2013 DevedUp Ltd. All rights reserved. http://www.devedup.com
//
// DO NOT MODIFY THIS FILE - IT IS MACHINE GENERATED
#import "FKFlickrAPIMethod.h"
typedef enum {
FKFlickrPhotosAddTagsError_PhotoNotFound = 1, /* The photo id passed was not the id of a photo that the calling user can add tags to. It could be an invalid id, or the user may not have permission to add tags to it. */
FKFlickrPhotosAddTagsError_MaximumNumberOfTagsReached = 2, /* The maximum number of tags for the photo has been reached - no more tags can be added. If the current count is less than the maximum, but adding all of the tags for this request would go over the limit, the whole request is ignored. I.E. when you get this message, none of the requested tags have been added. */
FKFlickrPhotosAddTagsError_InvalidSignature = 96, /* The passed signature was invalid. */
FKFlickrPhotosAddTagsError_MissingSignature = 97, /* The call required signing but no signature was sent. */
FKFlickrPhotosAddTagsError_LoginFailedOrInvalidAuthToken = 98, /* The login details or auth token passed were invalid. */
FKFlickrPhotosAddTagsError_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. */
FKFlickrPhotosAddTagsError_InvalidAPIKey = 100, /* The API key passed was not valid or has expired. */
FKFlickrPhotosAddTagsError_ServiceCurrentlyUnavailable = 105, /* The requested service is temporarily unavailable. */
FKFlickrPhotosAddTagsError_FormatXXXNotFound = 111, /* The requested response format was not found. */
FKFlickrPhotosAddTagsError_MethodXXXNotFound = 112, /* The requested method was not found. */
FKFlickrPhotosAddTagsError_InvalidSOAPEnvelope = 114, /* The SOAP envelope send in the request could not be parsed. */
FKFlickrPhotosAddTagsError_InvalidXMLRPCMethodCall = 115, /* The XML-RPC request document could not be parsed. */
FKFlickrPhotosAddTagsError_BadURLFound = 116, /* One or more arguments contained a URL that has been used for abuse on Flickr. */
} FKFlickrPhotosAddTagsError;
/*
Add tags to a photo.
*/
@interface FKFlickrPhotosAddTags : NSObject single_photo is not passed. */
@property (nonatomic, strong) NSString *count;
/* set as 1 to only show photos from friends and family (excluding regular contacts). */
@property (nonatomic, strong) NSString *just_friends;
/* Only fetch one photo (the latest) per contact, instead of all photos in chronological order. */
@property (nonatomic, strong) NSString *single_photo;
/* Set to 1 to include photos from the calling user. */
@property (nonatomic, strong) NSString *include_self;
/* A comma-delimited list of extra information to fetch for each returned record. Currently supported fields include: license, date_upload, date_taken, owner_name, icon_server, original_format, last_update. For more information see extras under flickr.photos.search. */
@property (nonatomic, strong) NSString *extras;
@end
================================================
FILE: Pods/FlickrKit/Classes/Model/Generated/Photos/FKFlickrPhotosGetContactsPhotos.m
================================================
//
// FKFlickrPhotosGetContactsPhotos.m
// FlickrKit
//
// Generated by FKAPIBuilder on 12 Jun, 2013 at 17:19.
// Copyright (c) 2013 DevedUp Ltd. All rights reserved. http://www.devedup.com
//
// DO NOT MODIFY THIS FILE - IT IS MACHINE GENERATED
#import "FKFlickrPhotosGetContactsPhotos.h"
@implementation FKFlickrPhotosGetContactsPhotos
- (BOOL) needsLogin {
return YES;
}
- (BOOL) needsSigning {
return YES;
}
- (FKPermission) requiredPerms {
return 0;
}
- (NSString *) name {
return @"flickr.photos.getContactsPhotos";
}
- (BOOL) isValid:(NSError **)error {
BOOL valid = YES;
NSMutableString *errorDescription = [[NSMutableString alloc] initWithString:@"You are missing required params: "];
if(error != NULL) {
if(!valid) {
NSDictionary *userInfo = @{NSLocalizedDescriptionKey: errorDescription};
*error = [NSError errorWithDomain:FKFlickrKitErrorDomain code:FKErrorInvalidArgs userInfo:userInfo];
}
}
return valid;
}
- (NSDictionary *) args {
NSMutableDictionary *args = [NSMutableDictionary dictionary];
if(self.count) {
[args setValue:self.count forKey:@"count"];
}
if(self.just_friends) {
[args setValue:self.just_friends forKey:@"just_friends"];
}
if(self.single_photo) {
[args setValue:self.single_photo forKey:@"single_photo"];
}
if(self.include_self) {
[args setValue:self.include_self forKey:@"include_self"];
}
if(self.extras) {
[args setValue:self.extras forKey:@"extras"];
}
return [args copy];
}
- (NSString *) descriptionForError:(NSInteger)error {
switch(error) {
case FKFlickrPhotosGetContactsPhotosError_InvalidSignature:
return @"Invalid signature";
case FKFlickrPhotosGetContactsPhotosError_MissingSignature:
return @"Missing signature";
case FKFlickrPhotosGetContactsPhotosError_LoginFailedOrInvalidAuthToken:
return @"Login failed / Invalid auth token";
case FKFlickrPhotosGetContactsPhotosError_UserNotLoggedInOrInsufficientPermissions:
return @"User not logged in / Insufficient permissions";
case FKFlickrPhotosGetContactsPhotosError_InvalidAPIKey:
return @"Invalid API Key";
case FKFlickrPhotosGetContactsPhotosError_ServiceCurrentlyUnavailable:
return @"Service currently unavailable";
case FKFlickrPhotosGetContactsPhotosError_FormatXXXNotFound:
return @"Format \"xxx\" not found";
case FKFlickrPhotosGetContactsPhotosError_MethodXXXNotFound:
return @"Method \"xxx\" not found";
case FKFlickrPhotosGetContactsPhotosError_InvalidSOAPEnvelope:
return @"Invalid SOAP envelope";
case FKFlickrPhotosGetContactsPhotosError_InvalidXMLRPCMethodCall:
return @"Invalid XML-RPC Method Call";
case FKFlickrPhotosGetContactsPhotosError_BadURLFound:
return @"Bad URL found";
default:
return @"Unknown error code";
}
}
@end
================================================
FILE: Pods/FlickrKit/Classes/Model/Generated/Photos/FKFlickrPhotosGetContactsPublicPhotos.h
================================================
//
// FKFlickrPhotosGetContactsPublicPhotos.h
// FlickrKit
//
// Generated by FKAPIBuilder on 12 Jun, 2013 at 17:19.
// Copyright (c) 2013 DevedUp Ltd. All rights reserved. http://www.devedup.com
//
// DO NOT MODIFY THIS FILE - IT IS MACHINE GENERATED
#import "FKFlickrAPIMethod.h"
typedef enum {
FKFlickrPhotosGetContactsPublicPhotosError_UserNotFound = 1, /* The user NSID passed was not a valid user NSID. */
FKFlickrPhotosGetContactsPublicPhotosError_InvalidAPIKey = 100, /* The API key passed was not valid or has expired. */
FKFlickrPhotosGetContactsPublicPhotosError_ServiceCurrentlyUnavailable = 105, /* The requested service is temporarily unavailable. */
FKFlickrPhotosGetContactsPublicPhotosError_FormatXXXNotFound = 111, /* The requested response format was not found. */
FKFlickrPhotosGetContactsPublicPhotosError_MethodXXXNotFound = 112, /* The requested method was not found. */
FKFlickrPhotosGetContactsPublicPhotosError_InvalidSOAPEnvelope = 114, /* The SOAP envelope send in the request could not be parsed. */
FKFlickrPhotosGetContactsPublicPhotosError_InvalidXMLRPCMethodCall = 115, /* The XML-RPC request document could not be parsed. */
FKFlickrPhotosGetContactsPublicPhotosError_BadURLFound = 116, /* One or more arguments contained a URL that has been used for abuse on Flickr. */
} FKFlickrPhotosGetContactsPublicPhotosError;
/*
Fetch a list of recent public photos from a users' contacts.
Response:
single_photo is not passed. */
@property (nonatomic, strong) NSString *count;
/* set as 1 to only show photos from friends and family (excluding regular contacts). */
@property (nonatomic, strong) NSString *just_friends;
/* Only fetch one photo (the latest) per contact, instead of all photos in chronological order. */
@property (nonatomic, strong) NSString *single_photo;
/* Set to 1 to include photos from the user specified by user_id. */
@property (nonatomic, strong) NSString *include_self;
/* A comma-delimited list of extra information to fetch for each returned record. Currently supported fields are: license, date_upload, date_taken, owner_name, icon_server, original_format, last_update. */
@property (nonatomic, strong) NSString *extras;
@end
================================================
FILE: Pods/FlickrKit/Classes/Model/Generated/Photos/FKFlickrPhotosGetContactsPublicPhotos.m
================================================
//
// FKFlickrPhotosGetContactsPublicPhotos.m
// FlickrKit
//
// Generated by FKAPIBuilder on 12 Jun, 2013 at 17:19.
// Copyright (c) 2013 DevedUp Ltd. All rights reserved. http://www.devedup.com
//
// DO NOT MODIFY THIS FILE - IT IS MACHINE GENERATED
#import "FKFlickrPhotosGetContactsPublicPhotos.h"
@implementation FKFlickrPhotosGetContactsPublicPhotos
- (BOOL) needsLogin {
return NO;
}
- (BOOL) needsSigning {
return NO;
}
- (FKPermission) requiredPerms {
return -1;
}
- (NSString *) name {
return @"flickr.photos.getContactsPublicPhotos";
}
- (BOOL) isValid:(NSError **)error {
BOOL valid = YES;
NSMutableString *errorDescription = [[NSMutableString alloc] initWithString:@"You are missing required params: "];
if(!self.user_id) {
valid = NO;
[errorDescription appendString:@"'user_id', "];
}
if(error != NULL) {
if(!valid) {
NSDictionary *userInfo = @{NSLocalizedDescriptionKey: errorDescription};
*error = [NSError errorWithDomain:FKFlickrKitErrorDomain code:FKErrorInvalidArgs userInfo:userInfo];
}
}
return valid;
}
- (NSDictionary *) args {
NSMutableDictionary *args = [NSMutableDictionary dictionary];
if(self.user_id) {
[args setValue:self.user_id forKey:@"user_id"];
}
if(self.count) {
[args setValue:self.count forKey:@"count"];
}
if(self.just_friends) {
[args setValue:self.just_friends forKey:@"just_friends"];
}
if(self.single_photo) {
[args setValue:self.single_photo forKey:@"single_photo"];
}
if(self.include_self) {
[args setValue:self.include_self forKey:@"include_self"];
}
if(self.extras) {
[args setValue:self.extras forKey:@"extras"];
}
return [args copy];
}
- (NSString *) descriptionForError:(NSInteger)error {
switch(error) {
case FKFlickrPhotosGetContactsPublicPhotosError_UserNotFound:
return @"User not found";
case FKFlickrPhotosGetContactsPublicPhotosError_InvalidAPIKey:
return @"Invalid API Key";
case FKFlickrPhotosGetContactsPublicPhotosError_ServiceCurrentlyUnavailable:
return @"Service currently unavailable";
case FKFlickrPhotosGetContactsPublicPhotosError_FormatXXXNotFound:
return @"Format \"xxx\" not found";
case FKFlickrPhotosGetContactsPublicPhotosError_MethodXXXNotFound:
return @"Method \"xxx\" not found";
case FKFlickrPhotosGetContactsPublicPhotosError_InvalidSOAPEnvelope:
return @"Invalid SOAP envelope";
case FKFlickrPhotosGetContactsPublicPhotosError_InvalidXMLRPCMethodCall:
return @"Invalid XML-RPC Method Call";
case FKFlickrPhotosGetContactsPublicPhotosError_BadURLFound:
return @"Bad URL found";
default:
return @"Unknown error code";
}
}
@end
================================================
FILE: Pods/FlickrKit/Classes/Model/Generated/Photos/FKFlickrPhotosGetContext.h
================================================
//
// FKFlickrPhotosGetContext.h
// FlickrKit
//
// Generated by FKAPIBuilder on 12 Jun, 2013 at 17:19.
// Copyright (c) 2013 DevedUp Ltd. All rights reserved. http://www.devedup.com
//
// DO NOT MODIFY THIS FILE - IT IS MACHINE GENERATED
#import "FKFlickrAPIMethod.h"
typedef enum {
FKFlickrPhotosGetContextError_PhotoNotFound = 1, /* The photo id passed was not a valid photo id, or was the id of a photo that the calling user does not have permission to view. */
FKFlickrPhotosGetContextError_InvalidAPIKey = 100, /* The API key passed was not valid or has expired. */
FKFlickrPhotosGetContextError_ServiceCurrentlyUnavailable = 105, /* The requested service is temporarily unavailable. */
FKFlickrPhotosGetContextError_FormatXXXNotFound = 111, /* The requested response format was not found. */
FKFlickrPhotosGetContextError_MethodXXXNotFound = 112, /* The requested method was not found. */
FKFlickrPhotosGetContextError_InvalidSOAPEnvelope = 114, /* The SOAP envelope send in the request could not be parsed. */
FKFlickrPhotosGetContextError_InvalidXMLRPCMethodCall = 115, /* The XML-RPC request document could not be parsed. */
FKFlickrPhotosGetContextError_BadURLFound = 116, /* One or more arguments contained a URL that has been used for abuse on Flickr. */
} FKFlickrPhotosGetContextError;
/*
Returns next and previous photos for a photo in a photostream.
When either the previous of next photo is unavailable, the element is still returned, but contains id="0"
description, license, date_upload, date_taken, owner_name, icon_server, original_format, last_update, geo, tags, machine_tags, o_dims, views, media, path_alias, url_sq, url_t, url_s, url_m, url_z, url_l, url_o */
@property (nonatomic, strong) NSString *extras;
/* Accepts datetaken or dateposted and returns results in the proper order. */
@property (nonatomic, strong) NSString *order_by;
@end
================================================
FILE: Pods/FlickrKit/Classes/Model/Generated/Photos/FKFlickrPhotosGetContext.m
================================================
//
// FKFlickrPhotosGetContext.m
// FlickrKit
//
// Generated by FKAPIBuilder on 12 Jun, 2013 at 17:19.
// Copyright (c) 2013 DevedUp Ltd. All rights reserved. http://www.devedup.com
//
// DO NOT MODIFY THIS FILE - IT IS MACHINE GENERATED
#import "FKFlickrPhotosGetContext.h"
@implementation FKFlickrPhotosGetContext
- (BOOL) needsLogin {
return NO;
}
- (BOOL) needsSigning {
return NO;
}
- (FKPermission) requiredPerms {
return -1;
}
- (NSString *) name {
return @"flickr.photos.getContext";
}
- (BOOL) isValid:(NSError **)error {
BOOL valid = YES;
NSMutableString *errorDescription = [[NSMutableString alloc] initWithString:@"You are missing required params: "];
if(!self.photo_id) {
valid = NO;
[errorDescription appendString:@"'photo_id', "];
}
if(error != NULL) {
if(!valid) {
NSDictionary *userInfo = @{NSLocalizedDescriptionKey: errorDescription};
*error = [NSError errorWithDomain:FKFlickrKitErrorDomain code:FKErrorInvalidArgs userInfo:userInfo];
}
}
return valid;
}
- (NSDictionary *) args {
NSMutableDictionary *args = [NSMutableDictionary dictionary];
if(self.photo_id) {
[args setValue:self.photo_id forKey:@"photo_id"];
}
if(self.num_prev) {
[args setValue:self.num_prev forKey:@"num_prev"];
}
if(self.num_next) {
[args setValue:self.num_next forKey:@"num_next"];
}
if(self.extras) {
[args setValue:self.extras forKey:@"extras"];
}
if(self.order_by) {
[args setValue:self.order_by forKey:@"order_by"];
}
return [args copy];
}
- (NSString *) descriptionForError:(NSInteger)error {
switch(error) {
case FKFlickrPhotosGetContextError_PhotoNotFound:
return @"Photo not found";
case FKFlickrPhotosGetContextError_InvalidAPIKey:
return @"Invalid API Key";
case FKFlickrPhotosGetContextError_ServiceCurrentlyUnavailable:
return @"Service currently unavailable";
case FKFlickrPhotosGetContextError_FormatXXXNotFound:
return @"Format \"xxx\" not found";
case FKFlickrPhotosGetContextError_MethodXXXNotFound:
return @"Method \"xxx\" not found";
case FKFlickrPhotosGetContextError_InvalidSOAPEnvelope:
return @"Invalid SOAP envelope";
case FKFlickrPhotosGetContextError_InvalidXMLRPCMethodCall:
return @"Invalid XML-RPC Method Call";
case FKFlickrPhotosGetContextError_BadURLFound:
return @"Bad URL found";
default:
return @"Unknown error code";
}
}
@end
================================================
FILE: Pods/FlickrKit/Classes/Model/Generated/Photos/FKFlickrPhotosGetCounts.h
================================================
//
// FKFlickrPhotosGetCounts.h
// FlickrKit
//
// Generated by FKAPIBuilder on 12 Jun, 2013 at 17:19.
// Copyright (c) 2013 DevedUp Ltd. All rights reserved. http://www.devedup.com
//
// DO NOT MODIFY THIS FILE - IT IS MACHINE GENERATED
#import "FKFlickrAPIMethod.h"
typedef enum {
FKFlickrPhotosGetCountsError_NoDatesSpecified = 1, /* Neither dates nor taken_dates were specified. */
FKFlickrPhotosGetCountsError_InvalidSignature = 96, /* The passed signature was invalid. */
FKFlickrPhotosGetCountsError_MissingSignature = 97, /* The call required signing but no signature was sent. */
FKFlickrPhotosGetCountsError_LoginFailedOrInvalidAuthToken = 98, /* The login details or auth token passed were invalid. */
FKFlickrPhotosGetCountsError_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. */
FKFlickrPhotosGetCountsError_InvalidAPIKey = 100, /* The API key passed was not valid or has expired. */
FKFlickrPhotosGetCountsError_ServiceCurrentlyUnavailable = 105, /* The requested service is temporarily unavailable. */
FKFlickrPhotosGetCountsError_FormatXXXNotFound = 111, /* The requested response format was not found. */
FKFlickrPhotosGetCountsError_MethodXXXNotFound = 112, /* The requested method was not found. */
FKFlickrPhotosGetCountsError_InvalidSOAPEnvelope = 114, /* The SOAP envelope send in the request could not be parsed. */
FKFlickrPhotosGetCountsError_InvalidXMLRPCMethodCall = 115, /* The XML-RPC request document could not be parsed. */
FKFlickrPhotosGetCountsError_BadURLFound = 116, /* One or more arguments contained a URL that has been used for abuse on Flickr. */
} FKFlickrPhotosGetCountsError;
/*
Gets a list of photo counts for the given date ranges for the calling user.
Response:
The <clean> element contains a pretty-formatted version of the tag where availabale.
The <permissions> element is only returned for photos owned by the calling user. The isfavorite attribute only makes sense for logged in users who don't own the photo. The rotation attribute is the current clockwise rotation, in degrees, by which the smaller image sizes differ from the original image.
The <date> element's lastupdate attribute is a Unix timestamp indicating the last time the photo, or any of its metadata (tags, comments, etc.) was modified.
all (default), photos or videos */
@property (nonatomic, strong) NSString *media;
/* Minimum upload date. Photos with an upload date greater than or equal to this value will be returned. The date can be in the form of a unix timestamp or mysql datetime. */
@property (nonatomic, strong) NSString *min_upload_date;
/* A comma-delimited list of extra information to fetch for each returned record. Currently supported fields are: description, license, date_upload, date_taken, owner_name, icon_server, original_format, last_update, geo, tags, machine_tags, o_dims, views, media, path_alias, url_sq, url_t, url_s, url_q, url_m, url_n, url_z, url_c, url_l, url_o */
@property (nonatomic, strong) NSString *extras;
/* Number of photos to return per page. If this argument is omitted, it defaults to 100. The maximum allowed value is 500. */
@property (nonatomic, strong) NSString *per_page;
/* The page of results to return. If this argument is omitted, it defaults to 1. */
@property (nonatomic, strong) NSString *page;
@end
================================================
FILE: Pods/FlickrKit/Classes/Model/Generated/Photos/FKFlickrPhotosGetNotInSet.m
================================================
//
// FKFlickrPhotosGetNotInSet.m
// FlickrKit
//
// Generated by FKAPIBuilder on 12 Jun, 2013 at 17:19.
// Copyright (c) 2013 DevedUp Ltd. All rights reserved. http://www.devedup.com
//
// DO NOT MODIFY THIS FILE - IT IS MACHINE GENERATED
#import "FKFlickrPhotosGetNotInSet.h"
@implementation FKFlickrPhotosGetNotInSet
- (BOOL) needsLogin {
return YES;
}
- (BOOL) needsSigning {
return YES;
}
- (FKPermission) requiredPerms {
return 0;
}
- (NSString *) name {
return @"flickr.photos.getNotInSet";
}
- (BOOL) isValid:(NSError **)error {
BOOL valid = YES;
NSMutableString *errorDescription = [[NSMutableString alloc] initWithString:@"You are missing required params: "];
if(error != NULL) {
if(!valid) {
NSDictionary *userInfo = @{NSLocalizedDescriptionKey: errorDescription};
*error = [NSError errorWithDomain:FKFlickrKitErrorDomain code:FKErrorInvalidArgs userInfo:userInfo];
}
}
return valid;
}
- (NSDictionary *) args {
NSMutableDictionary *args = [NSMutableDictionary dictionary];
if(self.max_upload_date) {
[args setValue:self.max_upload_date forKey:@"max_upload_date"];
}
if(self.min_taken_date) {
[args setValue:self.min_taken_date forKey:@"min_taken_date"];
}
if(self.max_taken_date) {
[args setValue:self.max_taken_date forKey:@"max_taken_date"];
}
if(self.privacy_filter) {
[args setValue:self.privacy_filter forKey:@"privacy_filter"];
}
if(self.media) {
[args setValue:self.media forKey:@"media"];
}
if(self.min_upload_date) {
[args setValue:self.min_upload_date forKey:@"min_upload_date"];
}
if(self.extras) {
[args setValue:self.extras forKey:@"extras"];
}
if(self.per_page) {
[args setValue:self.per_page forKey:@"per_page"];
}
if(self.page) {
[args setValue:self.page forKey:@"page"];
}
return [args copy];
}
- (NSString *) descriptionForError:(NSInteger)error {
switch(error) {
case FKFlickrPhotosGetNotInSetError_InvalidSignature:
return @"Invalid signature";
case FKFlickrPhotosGetNotInSetError_MissingSignature:
return @"Missing signature";
case FKFlickrPhotosGetNotInSetError_LoginFailedOrInvalidAuthToken:
return @"Login failed / Invalid auth token";
case FKFlickrPhotosGetNotInSetError_UserNotLoggedInOrInsufficientPermissions:
return @"User not logged in / Insufficient permissions";
case FKFlickrPhotosGetNotInSetError_InvalidAPIKey:
return @"Invalid API Key";
case FKFlickrPhotosGetNotInSetError_ServiceCurrentlyUnavailable:
return @"Service currently unavailable";
case FKFlickrPhotosGetNotInSetError_FormatXXXNotFound:
return @"Format \"xxx\" not found";
case FKFlickrPhotosGetNotInSetError_MethodXXXNotFound:
return @"Method \"xxx\" not found";
case FKFlickrPhotosGetNotInSetError_InvalidSOAPEnvelope:
return @"Invalid SOAP envelope";
case FKFlickrPhotosGetNotInSetError_InvalidXMLRPCMethodCall:
return @"Invalid XML-RPC Method Call";
case FKFlickrPhotosGetNotInSetError_BadURLFound:
return @"Bad URL found";
default:
return @"Unknown error code";
}
}
@end
================================================
FILE: Pods/FlickrKit/Classes/Model/Generated/Photos/FKFlickrPhotosGetPerms.h
================================================
//
// FKFlickrPhotosGetPerms.h
// FlickrKit
//
// Generated by FKAPIBuilder on 12 Jun, 2013 at 17:19.
// Copyright (c) 2013 DevedUp Ltd. All rights reserved. http://www.devedup.com
//
// DO NOT MODIFY THIS FILE - IT IS MACHINE GENERATED
#import "FKFlickrAPIMethod.h"
typedef enum {
FKFlickrPhotosGetPermsError_PhotoNotFound = 1, /* The photo id passed was not a valid photo id of a photo belonging to the calling user. */
FKFlickrPhotosGetPermsError_InvalidSignature = 96, /* The passed signature was invalid. */
FKFlickrPhotosGetPermsError_MissingSignature = 97, /* The call required signing but no signature was sent. */
FKFlickrPhotosGetPermsError_LoginFailedOrInvalidAuthToken = 98, /* The login details or auth token passed were invalid. */
FKFlickrPhotosGetPermsError_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. */
FKFlickrPhotosGetPermsError_InvalidAPIKey = 100, /* The API key passed was not valid or has expired. */
FKFlickrPhotosGetPermsError_ServiceCurrentlyUnavailable = 105, /* The requested service is temporarily unavailable. */
FKFlickrPhotosGetPermsError_FormatXXXNotFound = 111, /* The requested response format was not found. */
FKFlickrPhotosGetPermsError_MethodXXXNotFound = 112, /* The requested method was not found. */
FKFlickrPhotosGetPermsError_InvalidSOAPEnvelope = 114, /* The SOAP envelope send in the request could not be parsed. */
FKFlickrPhotosGetPermsError_InvalidXMLRPCMethodCall = 115, /* The XML-RPC request document could not be parsed. */
FKFlickrPhotosGetPermsError_BadURLFound = 116, /* One or more arguments contained a URL that has been used for abuse on Flickr. */
} FKFlickrPhotosGetPermsError;
/*
Get permissions for a photo.
Response:
description, license, date_upload, date_taken, owner_name, icon_server, original_format, last_update, geo, tags, machine_tags, o_dims, views, media, path_alias, url_sq, url_t, url_s, url_q, url_m, url_n, url_z, url_c, url_l, url_o */
@property (nonatomic, strong) NSString *extras;
/* Number of photos to return per page. If this argument is omitted, it defaults to 100. The maximum allowed value is 500. */
@property (nonatomic, strong) NSString *per_page;
/* The page of results to return. If this argument is omitted, it defaults to 1. */
@property (nonatomic, strong) NSString *page;
@end
================================================
FILE: Pods/FlickrKit/Classes/Model/Generated/Photos/FKFlickrPhotosGetRecent.m
================================================
//
// FKFlickrPhotosGetRecent.m
// FlickrKit
//
// Generated by FKAPIBuilder on 12 Jun, 2013 at 17:19.
// Copyright (c) 2013 DevedUp Ltd. All rights reserved. http://www.devedup.com
//
// DO NOT MODIFY THIS FILE - IT IS MACHINE GENERATED
#import "FKFlickrPhotosGetRecent.h"
@implementation FKFlickrPhotosGetRecent
- (BOOL) needsLogin {
return NO;
}
- (BOOL) needsSigning {
return NO;
}
- (FKPermission) requiredPerms {
return -1;
}
- (NSString *) name {
return @"flickr.photos.getRecent";
}
- (BOOL) isValid:(NSError **)error {
BOOL valid = YES;
NSMutableString *errorDescription = [[NSMutableString alloc] initWithString:@"You are missing required params: "];
if(error != NULL) {
if(!valid) {
NSDictionary *userInfo = @{NSLocalizedDescriptionKey: errorDescription};
*error = [NSError errorWithDomain:FKFlickrKitErrorDomain code:FKErrorInvalidArgs userInfo:userInfo];
}
}
return valid;
}
- (NSDictionary *) args {
NSMutableDictionary *args = [NSMutableDictionary dictionary];
if(self.jump_to) {
[args setValue:self.jump_to forKey:@"jump_to"];
}
if(self.extras) {
[args setValue:self.extras forKey:@"extras"];
}
if(self.per_page) {
[args setValue:self.per_page forKey:@"per_page"];
}
if(self.page) {
[args setValue:self.page forKey:@"page"];
}
return [args copy];
}
- (NSString *) descriptionForError:(NSInteger)error {
switch(error) {
case FKFlickrPhotosGetRecentError_BadValueForJump_toMustBeValidPhotoId:
return @"bad value for jump_to, must be valid photo id.";
case FKFlickrPhotosGetRecentError_InvalidAPIKey:
return @"Invalid API Key";
case FKFlickrPhotosGetRecentError_ServiceCurrentlyUnavailable:
return @"Service currently unavailable";
case FKFlickrPhotosGetRecentError_FormatXXXNotFound:
return @"Format \"xxx\" not found";
case FKFlickrPhotosGetRecentError_MethodXXXNotFound:
return @"Method \"xxx\" not found";
case FKFlickrPhotosGetRecentError_InvalidSOAPEnvelope:
return @"Invalid SOAP envelope";
case FKFlickrPhotosGetRecentError_InvalidXMLRPCMethodCall:
return @"Invalid XML-RPC Method Call";
case FKFlickrPhotosGetRecentError_BadURLFound:
return @"Bad URL found";
default:
return @"Unknown error code";
}
}
@end
================================================
FILE: Pods/FlickrKit/Classes/Model/Generated/Photos/FKFlickrPhotosGetSizes.h
================================================
//
// FKFlickrPhotosGetSizes.h
// FlickrKit
//
// Generated by FKAPIBuilder on 12 Jun, 2013 at 17:19.
// Copyright (c) 2013 DevedUp Ltd. All rights reserved. http://www.devedup.com
//
// DO NOT MODIFY THIS FILE - IT IS MACHINE GENERATED
#import "FKFlickrAPIMethod.h"
typedef enum {
FKFlickrPhotosGetSizesError_PhotoNotFound = 1, /* The photo id passed was not a valid photo id. */
FKFlickrPhotosGetSizesError_PermissionDenied = 2, /* The calling user does not have permission to view the photo. */
FKFlickrPhotosGetSizesError_InvalidAPIKey = 100, /* The API key passed was not valid or has expired. */
FKFlickrPhotosGetSizesError_ServiceCurrentlyUnavailable = 105, /* The requested service is temporarily unavailable. */
FKFlickrPhotosGetSizesError_FormatXXXNotFound = 111, /* The requested response format was not found. */
FKFlickrPhotosGetSizesError_MethodXXXNotFound = 112, /* The requested method was not found. */
FKFlickrPhotosGetSizesError_InvalidSOAPEnvelope = 114, /* The SOAP envelope send in the request could not be parsed. */
FKFlickrPhotosGetSizesError_InvalidXMLRPCMethodCall = 115, /* The XML-RPC request document could not be parsed. */
FKFlickrPhotosGetSizesError_BadURLFound = 116, /* One or more arguments contained a URL that has been used for abuse on Flickr. */
} FKFlickrPhotosGetSizesError;
/*
Returns the available sizes for a photo. The calling user must have permission to view the photo.
Response:
all (default), photos or videos */
@property (nonatomic, strong) NSString *media;
/* A comma-delimited list of extra information to fetch for each returned record. Currently supported fields are: description, license, date_upload, date_taken, owner_name, icon_server, original_format, last_update, geo, tags, machine_tags, o_dims, views, media, path_alias, url_sq, url_t, url_s, url_q, url_m, url_n, url_z, url_c, url_l, url_o */
@property (nonatomic, strong) NSString *extras;
/* Number of photos to return per page. If this argument is omitted, it defaults to 100. The maximum allowed value is 500. */
@property (nonatomic, strong) NSString *per_page;
/* The page of results to return. If this argument is omitted, it defaults to 1. */
@property (nonatomic, strong) NSString *page;
@end
================================================
FILE: Pods/FlickrKit/Classes/Model/Generated/Photos/FKFlickrPhotosGetUntagged.m
================================================
//
// FKFlickrPhotosGetUntagged.m
// FlickrKit
//
// Generated by FKAPIBuilder on 12 Jun, 2013 at 17:19.
// Copyright (c) 2013 DevedUp Ltd. All rights reserved. http://www.devedup.com
//
// DO NOT MODIFY THIS FILE - IT IS MACHINE GENERATED
#import "FKFlickrPhotosGetUntagged.h"
@implementation FKFlickrPhotosGetUntagged
- (BOOL) needsLogin {
return YES;
}
- (BOOL) needsSigning {
return YES;
}
- (FKPermission) requiredPerms {
return 0;
}
- (NSString *) name {
return @"flickr.photos.getUntagged";
}
- (BOOL) isValid:(NSError **)error {
BOOL valid = YES;
NSMutableString *errorDescription = [[NSMutableString alloc] initWithString:@"You are missing required params: "];
if(error != NULL) {
if(!valid) {
NSDictionary *userInfo = @{NSLocalizedDescriptionKey: errorDescription};
*error = [NSError errorWithDomain:FKFlickrKitErrorDomain code:FKErrorInvalidArgs userInfo:userInfo];
}
}
return valid;
}
- (NSDictionary *) args {
NSMutableDictionary *args = [NSMutableDictionary dictionary];
if(self.min_upload_date) {
[args setValue:self.min_upload_date forKey:@"min_upload_date"];
}
if(self.max_upload_date) {
[args setValue:self.max_upload_date forKey:@"max_upload_date"];
}
if(self.min_taken_date) {
[args setValue:self.min_taken_date forKey:@"min_taken_date"];
}
if(self.max_taken_date) {
[args setValue:self.max_taken_date forKey:@"max_taken_date"];
}
if(self.privacy_filter) {
[args setValue:self.privacy_filter forKey:@"privacy_filter"];
}
if(self.media) {
[args setValue:self.media forKey:@"media"];
}
if(self.extras) {
[args setValue:self.extras forKey:@"extras"];
}
if(self.per_page) {
[args setValue:self.per_page forKey:@"per_page"];
}
if(self.page) {
[args setValue:self.page forKey:@"page"];
}
return [args copy];
}
- (NSString *) descriptionForError:(NSInteger)error {
switch(error) {
case FKFlickrPhotosGetUntaggedError_InvalidSignature:
return @"Invalid signature";
case FKFlickrPhotosGetUntaggedError_MissingSignature:
return @"Missing signature";
case FKFlickrPhotosGetUntaggedError_LoginFailedOrInvalidAuthToken:
return @"Login failed / Invalid auth token";
case FKFlickrPhotosGetUntaggedError_UserNotLoggedInOrInsufficientPermissions:
return @"User not logged in / Insufficient permissions";
case FKFlickrPhotosGetUntaggedError_InvalidAPIKey:
return @"Invalid API Key";
case FKFlickrPhotosGetUntaggedError_ServiceCurrentlyUnavailable:
return @"Service currently unavailable";
case FKFlickrPhotosGetUntaggedError_FormatXXXNotFound:
return @"Format \"xxx\" not found";
case FKFlickrPhotosGetUntaggedError_MethodXXXNotFound:
return @"Method \"xxx\" not found";
case FKFlickrPhotosGetUntaggedError_InvalidSOAPEnvelope:
return @"Invalid SOAP envelope";
case FKFlickrPhotosGetUntaggedError_InvalidXMLRPCMethodCall:
return @"Invalid XML-RPC Method Call";
case FKFlickrPhotosGetUntaggedError_BadURLFound:
return @"Bad URL found";
default:
return @"Unknown error code";
}
}
@end
================================================
FILE: Pods/FlickrKit/Classes/Model/Generated/Photos/FKFlickrPhotosGetWithGeoData.h
================================================
//
// FKFlickrPhotosGetWithGeoData.h
// FlickrKit
//
// Generated by FKAPIBuilder on 12 Jun, 2013 at 17:19.
// Copyright (c) 2013 DevedUp Ltd. All rights reserved. http://www.devedup.com
//
// DO NOT MODIFY THIS FILE - IT IS MACHINE GENERATED
#import "FKFlickrAPIMethod.h"
typedef enum {
FKFlickrPhotosGetWithGeoDataError_InvalidSignature = 96, /* The passed signature was invalid. */
FKFlickrPhotosGetWithGeoDataError_MissingSignature = 97, /* The call required signing but no signature was sent. */
FKFlickrPhotosGetWithGeoDataError_LoginFailedOrInvalidAuthToken = 98, /* The login details or auth token passed were invalid. */
FKFlickrPhotosGetWithGeoDataError_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. */
FKFlickrPhotosGetWithGeoDataError_InvalidAPIKey = 100, /* The API key passed was not valid or has expired. */
FKFlickrPhotosGetWithGeoDataError_ServiceCurrentlyUnavailable = 105, /* The requested service is temporarily unavailable. */
FKFlickrPhotosGetWithGeoDataError_FormatXXXNotFound = 111, /* The requested response format was not found. */
FKFlickrPhotosGetWithGeoDataError_MethodXXXNotFound = 112, /* The requested method was not found. */
FKFlickrPhotosGetWithGeoDataError_InvalidSOAPEnvelope = 114, /* The SOAP envelope send in the request could not be parsed. */
FKFlickrPhotosGetWithGeoDataError_InvalidXMLRPCMethodCall = 115, /* The XML-RPC request document could not be parsed. */
FKFlickrPhotosGetWithGeoDataError_BadURLFound = 116, /* One or more arguments contained a URL that has been used for abuse on Flickr. */
} FKFlickrPhotosGetWithGeoDataError;
/*
Returns a list of your geo-tagged photos.
*/
@interface FKFlickrPhotosGetWithGeoData : NSObject all (default), photos or videos */
@property (nonatomic, strong) NSString *media;
/* A comma-delimited list of extra information to fetch for each returned record. Currently supported fields are: description, license, date_upload, date_taken, owner_name, icon_server, original_format, last_update, geo, tags, machine_tags, o_dims, views, media, path_alias, url_sq, url_t, url_s, url_q, url_m, url_n, url_z, url_c, url_l, url_o */
@property (nonatomic, strong) NSString *extras;
/* Number of photos to return per page. If this argument is omitted, it defaults to 100. The maximum allowed value is 500. */
@property (nonatomic, strong) NSString *per_page;
/* The page of results to return. If this argument is omitted, it defaults to 1. */
@property (nonatomic, strong) NSString *page;
@end
================================================
FILE: Pods/FlickrKit/Classes/Model/Generated/Photos/FKFlickrPhotosGetWithGeoData.m
================================================
//
// FKFlickrPhotosGetWithGeoData.m
// FlickrKit
//
// Generated by FKAPIBuilder on 12 Jun, 2013 at 17:19.
// Copyright (c) 2013 DevedUp Ltd. All rights reserved. http://www.devedup.com
//
// DO NOT MODIFY THIS FILE - IT IS MACHINE GENERATED
#import "FKFlickrPhotosGetWithGeoData.h"
@implementation FKFlickrPhotosGetWithGeoData
- (BOOL) needsLogin {
return YES;
}
- (BOOL) needsSigning {
return YES;
}
- (FKPermission) requiredPerms {
return 0;
}
- (NSString *) name {
return @"flickr.photos.getWithGeoData";
}
- (BOOL) isValid:(NSError **)error {
BOOL valid = YES;
NSMutableString *errorDescription = [[NSMutableString alloc] initWithString:@"You are missing required params: "];
if(error != NULL) {
if(!valid) {
NSDictionary *userInfo = @{NSLocalizedDescriptionKey: errorDescription};
*error = [NSError errorWithDomain:FKFlickrKitErrorDomain code:FKErrorInvalidArgs userInfo:userInfo];
}
}
return valid;
}
- (NSDictionary *) args {
NSMutableDictionary *args = [NSMutableDictionary dictionary];
if(self.min_upload_date) {
[args setValue:self.min_upload_date forKey:@"min_upload_date"];
}
if(self.max_upload_date) {
[args setValue:self.max_upload_date forKey:@"max_upload_date"];
}
if(self.min_taken_date) {
[args setValue:self.min_taken_date forKey:@"min_taken_date"];
}
if(self.max_taken_date) {
[args setValue:self.max_taken_date forKey:@"max_taken_date"];
}
if(self.privacy_filter) {
[args setValue:self.privacy_filter forKey:@"privacy_filter"];
}
if(self.sort) {
[args setValue:self.sort forKey:@"sort"];
}
if(self.media) {
[args setValue:self.media forKey:@"media"];
}
if(self.extras) {
[args setValue:self.extras forKey:@"extras"];
}
if(self.per_page) {
[args setValue:self.per_page forKey:@"per_page"];
}
if(self.page) {
[args setValue:self.page forKey:@"page"];
}
return [args copy];
}
- (NSString *) descriptionForError:(NSInteger)error {
switch(error) {
case FKFlickrPhotosGetWithGeoDataError_InvalidSignature:
return @"Invalid signature";
case FKFlickrPhotosGetWithGeoDataError_MissingSignature:
return @"Missing signature";
case FKFlickrPhotosGetWithGeoDataError_LoginFailedOrInvalidAuthToken:
return @"Login failed / Invalid auth token";
case FKFlickrPhotosGetWithGeoDataError_UserNotLoggedInOrInsufficientPermissions:
return @"User not logged in / Insufficient permissions";
case FKFlickrPhotosGetWithGeoDataError_InvalidAPIKey:
return @"Invalid API Key";
case FKFlickrPhotosGetWithGeoDataError_ServiceCurrentlyUnavailable:
return @"Service currently unavailable";
case FKFlickrPhotosGetWithGeoDataError_FormatXXXNotFound:
return @"Format \"xxx\" not found";
case FKFlickrPhotosGetWithGeoDataError_MethodXXXNotFound:
return @"Method \"xxx\" not found";
case FKFlickrPhotosGetWithGeoDataError_InvalidSOAPEnvelope:
return @"Invalid SOAP envelope";
case FKFlickrPhotosGetWithGeoDataError_InvalidXMLRPCMethodCall:
return @"Invalid XML-RPC Method Call";
case FKFlickrPhotosGetWithGeoDataError_BadURLFound:
return @"Bad URL found";
default:
return @"Unknown error code";
}
}
@end
================================================
FILE: Pods/FlickrKit/Classes/Model/Generated/Photos/FKFlickrPhotosGetWithoutGeoData.h
================================================
//
// FKFlickrPhotosGetWithoutGeoData.h
// FlickrKit
//
// Generated by FKAPIBuilder on 12 Jun, 2013 at 17:19.
// Copyright (c) 2013 DevedUp Ltd. All rights reserved. http://www.devedup.com
//
// DO NOT MODIFY THIS FILE - IT IS MACHINE GENERATED
#import "FKFlickrAPIMethod.h"
typedef enum {
FKFlickrPhotosGetWithoutGeoDataError_InvalidSignature = 96, /* The passed signature was invalid. */
FKFlickrPhotosGetWithoutGeoDataError_MissingSignature = 97, /* The call required signing but no signature was sent. */
FKFlickrPhotosGetWithoutGeoDataError_LoginFailedOrInvalidAuthToken = 98, /* The login details or auth token passed were invalid. */
FKFlickrPhotosGetWithoutGeoDataError_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. */
FKFlickrPhotosGetWithoutGeoDataError_InvalidAPIKey = 100, /* The API key passed was not valid or has expired. */
FKFlickrPhotosGetWithoutGeoDataError_ServiceCurrentlyUnavailable = 105, /* The requested service is temporarily unavailable. */
FKFlickrPhotosGetWithoutGeoDataError_FormatXXXNotFound = 111, /* The requested response format was not found. */
FKFlickrPhotosGetWithoutGeoDataError_MethodXXXNotFound = 112, /* The requested method was not found. */
FKFlickrPhotosGetWithoutGeoDataError_InvalidSOAPEnvelope = 114, /* The SOAP envelope send in the request could not be parsed. */
FKFlickrPhotosGetWithoutGeoDataError_InvalidXMLRPCMethodCall = 115, /* The XML-RPC request document could not be parsed. */
FKFlickrPhotosGetWithoutGeoDataError_BadURLFound = 116, /* One or more arguments contained a URL that has been used for abuse on Flickr. */
} FKFlickrPhotosGetWithoutGeoDataError;
/*
Returns a list of your photos which haven't been geo-tagged.
*/
@interface FKFlickrPhotosGetWithoutGeoData : NSObject all (default), photos or videos */
@property (nonatomic, strong) NSString *media;
/* Minimum upload date. Photos with an upload date greater than or equal to this value will be returned. The date can be in the form of a unix timestamp or mysql datetime. */
@property (nonatomic, strong) NSString *min_upload_date;
/* A comma-delimited list of extra information to fetch for each returned record. Currently supported fields are: description, license, date_upload, date_taken, owner_name, icon_server, original_format, last_update, geo, tags, machine_tags, o_dims, views, media, path_alias, url_sq, url_t, url_s, url_q, url_m, url_n, url_z, url_c, url_l, url_o */
@property (nonatomic, strong) NSString *extras;
/* Number of photos to return per page. If this argument is omitted, it defaults to 100. The maximum allowed value is 500. */
@property (nonatomic, strong) NSString *per_page;
/* The page of results to return. If this argument is omitted, it defaults to 1. */
@property (nonatomic, strong) NSString *page;
@end
================================================
FILE: Pods/FlickrKit/Classes/Model/Generated/Photos/FKFlickrPhotosGetWithoutGeoData.m
================================================
//
// FKFlickrPhotosGetWithoutGeoData.m
// FlickrKit
//
// Generated by FKAPIBuilder on 12 Jun, 2013 at 17:19.
// Copyright (c) 2013 DevedUp Ltd. All rights reserved. http://www.devedup.com
//
// DO NOT MODIFY THIS FILE - IT IS MACHINE GENERATED
#import "FKFlickrPhotosGetWithoutGeoData.h"
@implementation FKFlickrPhotosGetWithoutGeoData
- (BOOL) needsLogin {
return YES;
}
- (BOOL) needsSigning {
return YES;
}
- (FKPermission) requiredPerms {
return 0;
}
- (NSString *) name {
return @"flickr.photos.getWithoutGeoData";
}
- (BOOL) isValid:(NSError **)error {
BOOL valid = YES;
NSMutableString *errorDescription = [[NSMutableString alloc] initWithString:@"You are missing required params: "];
if(error != NULL) {
if(!valid) {
NSDictionary *userInfo = @{NSLocalizedDescriptionKey: errorDescription};
*error = [NSError errorWithDomain:FKFlickrKitErrorDomain code:FKErrorInvalidArgs userInfo:userInfo];
}
}
return valid;
}
- (NSDictionary *) args {
NSMutableDictionary *args = [NSMutableDictionary dictionary];
if(self.max_upload_date) {
[args setValue:self.max_upload_date forKey:@"max_upload_date"];
}
if(self.min_taken_date) {
[args setValue:self.min_taken_date forKey:@"min_taken_date"];
}
if(self.max_taken_date) {
[args setValue:self.max_taken_date forKey:@"max_taken_date"];
}
if(self.privacy_filter) {
[args setValue:self.privacy_filter forKey:@"privacy_filter"];
}
if(self.sort) {
[args setValue:self.sort forKey:@"sort"];
}
if(self.media) {
[args setValue:self.media forKey:@"media"];
}
if(self.min_upload_date) {
[args setValue:self.min_upload_date forKey:@"min_upload_date"];
}
if(self.extras) {
[args setValue:self.extras forKey:@"extras"];
}
if(self.per_page) {
[args setValue:self.per_page forKey:@"per_page"];
}
if(self.page) {
[args setValue:self.page forKey:@"page"];
}
return [args copy];
}
- (NSString *) descriptionForError:(NSInteger)error {
switch(error) {
case FKFlickrPhotosGetWithoutGeoDataError_InvalidSignature:
return @"Invalid signature";
case FKFlickrPhotosGetWithoutGeoDataError_MissingSignature:
return @"Missing signature";
case FKFlickrPhotosGetWithoutGeoDataError_LoginFailedOrInvalidAuthToken:
return @"Login failed / Invalid auth token";
case FKFlickrPhotosGetWithoutGeoDataError_UserNotLoggedInOrInsufficientPermissions:
return @"User not logged in / Insufficient permissions";
case FKFlickrPhotosGetWithoutGeoDataError_InvalidAPIKey:
return @"Invalid API Key";
case FKFlickrPhotosGetWithoutGeoDataError_ServiceCurrentlyUnavailable:
return @"Service currently unavailable";
case FKFlickrPhotosGetWithoutGeoDataError_FormatXXXNotFound:
return @"Format \"xxx\" not found";
case FKFlickrPhotosGetWithoutGeoDataError_MethodXXXNotFound:
return @"Method \"xxx\" not found";
case FKFlickrPhotosGetWithoutGeoDataError_InvalidSOAPEnvelope:
return @"Invalid SOAP envelope";
case FKFlickrPhotosGetWithoutGeoDataError_InvalidXMLRPCMethodCall:
return @"Invalid XML-RPC Method Call";
case FKFlickrPhotosGetWithoutGeoDataError_BadURLFound:
return @"Bad URL found";
default:
return @"Unknown error code";
}
}
@end
================================================
FILE: Pods/FlickrKit/Classes/Model/Generated/Photos/FKFlickrPhotosRecentlyUpdated.h
================================================
//
// FKFlickrPhotosRecentlyUpdated.h
// FlickrKit
//
// Generated by FKAPIBuilder on 12 Jun, 2013 at 17:19.
// Copyright (c) 2013 DevedUp Ltd. All rights reserved. http://www.devedup.com
//
// DO NOT MODIFY THIS FILE - IT IS MACHINE GENERATED
#import "FKFlickrAPIMethod.h"
typedef enum {
FKFlickrPhotosRecentlyUpdatedError_RequiredArgumentMissing = 1, /* Some or all of the required arguments were not supplied. */
FKFlickrPhotosRecentlyUpdatedError_NotAValidDate = 2, /* The date argument did not pass validation. */
FKFlickrPhotosRecentlyUpdatedError_InvalidSignature = 96, /* The passed signature was invalid. */
FKFlickrPhotosRecentlyUpdatedError_MissingSignature = 97, /* The call required signing but no signature was sent. */
FKFlickrPhotosRecentlyUpdatedError_LoginFailedOrInvalidAuthToken = 98, /* The login details or auth token passed were invalid. */
FKFlickrPhotosRecentlyUpdatedError_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. */
FKFlickrPhotosRecentlyUpdatedError_InvalidAPIKey = 100, /* The API key passed was not valid or has expired. */
FKFlickrPhotosRecentlyUpdatedError_ServiceCurrentlyUnavailable = 105, /* The requested service is temporarily unavailable. */
FKFlickrPhotosRecentlyUpdatedError_FormatXXXNotFound = 111, /* The requested response format was not found. */
FKFlickrPhotosRecentlyUpdatedError_MethodXXXNotFound = 112, /* The requested method was not found. */
FKFlickrPhotosRecentlyUpdatedError_InvalidSOAPEnvelope = 114, /* The SOAP envelope send in the request could not be parsed. */
FKFlickrPhotosRecentlyUpdatedError_InvalidXMLRPCMethodCall = 115, /* The XML-RPC request document could not be parsed. */
FKFlickrPhotosRecentlyUpdatedError_BadURLFound = 116, /* One or more arguments contained a URL that has been used for abuse on Flickr. */
} FKFlickrPhotosRecentlyUpdatedError;
/*
Return a list of your photos that have been recently created or which have been recently modified.
Recently modified may mean that the photo's metadata (title, description, tags) may have been changed or a comment has been added (or just modified somehow :-)
Photos are sorted by their date updated timestamp, in descending order.
Response:description, license, date_upload, date_taken, owner_name, icon_server, original_format, last_update, geo, tags, machine_tags, o_dims, views, media, path_alias, url_sq, url_t, url_s, url_q, url_m, url_n, url_z, url_c, url_l, url_o */
@property (nonatomic, strong) NSString *extras;
/* Number of photos to return per page. If this argument is omitted, it defaults to 100. The maximum allowed value is 500. */
@property (nonatomic, strong) NSString *per_page;
/* The page of results to return. If this argument is omitted, it defaults to 1. */
@property (nonatomic, strong) NSString *page;
@end
================================================
FILE: Pods/FlickrKit/Classes/Model/Generated/Photos/FKFlickrPhotosRecentlyUpdated.m
================================================
//
// FKFlickrPhotosRecentlyUpdated.m
// FlickrKit
//
// Generated by FKAPIBuilder on 12 Jun, 2013 at 17:19.
// Copyright (c) 2013 DevedUp Ltd. All rights reserved. http://www.devedup.com
//
// DO NOT MODIFY THIS FILE - IT IS MACHINE GENERATED
#import "FKFlickrPhotosRecentlyUpdated.h"
@implementation FKFlickrPhotosRecentlyUpdated
- (BOOL) needsLogin {
return YES;
}
- (BOOL) needsSigning {
return YES;
}
- (FKPermission) requiredPerms {
return 0;
}
- (NSString *) name {
return @"flickr.photos.recentlyUpdated";
}
- (BOOL) isValid:(NSError **)error {
BOOL valid = YES;
NSMutableString *errorDescription = [[NSMutableString alloc] initWithString:@"You are missing required params: "];
if(!self.min_date) {
valid = NO;
[errorDescription appendString:@"'min_date', "];
}
if(error != NULL) {
if(!valid) {
NSDictionary *userInfo = @{NSLocalizedDescriptionKey: errorDescription};
*error = [NSError errorWithDomain:FKFlickrKitErrorDomain code:FKErrorInvalidArgs userInfo:userInfo];
}
}
return valid;
}
- (NSDictionary *) args {
NSMutableDictionary *args = [NSMutableDictionary dictionary];
if(self.min_date) {
[args setValue:self.min_date forKey:@"min_date"];
}
if(self.extras) {
[args setValue:self.extras forKey:@"extras"];
}
if(self.per_page) {
[args setValue:self.per_page forKey:@"per_page"];
}
if(self.page) {
[args setValue:self.page forKey:@"page"];
}
return [args copy];
}
- (NSString *) descriptionForError:(NSInteger)error {
switch(error) {
case FKFlickrPhotosRecentlyUpdatedError_RequiredArgumentMissing:
return @"Required argument missing.";
case FKFlickrPhotosRecentlyUpdatedError_NotAValidDate:
return @"Not a valid date";
case FKFlickrPhotosRecentlyUpdatedError_InvalidSignature:
return @"Invalid signature";
case FKFlickrPhotosRecentlyUpdatedError_MissingSignature:
return @"Missing signature";
case FKFlickrPhotosRecentlyUpdatedError_LoginFailedOrInvalidAuthToken:
return @"Login failed / Invalid auth token";
case FKFlickrPhotosRecentlyUpdatedError_UserNotLoggedInOrInsufficientPermissions:
return @"User not logged in / Insufficient permissions";
case FKFlickrPhotosRecentlyUpdatedError_InvalidAPIKey:
return @"Invalid API Key";
case FKFlickrPhotosRecentlyUpdatedError_ServiceCurrentlyUnavailable:
return @"Service currently unavailable";
case FKFlickrPhotosRecentlyUpdatedError_FormatXXXNotFound:
return @"Format \"xxx\" not found";
case FKFlickrPhotosRecentlyUpdatedError_MethodXXXNotFound:
return @"Method \"xxx\" not found";
case FKFlickrPhotosRecentlyUpdatedError_InvalidSOAPEnvelope:
return @"Invalid SOAP envelope";
case FKFlickrPhotosRecentlyUpdatedError_InvalidXMLRPCMethodCall:
return @"Invalid XML-RPC Method Call";
case FKFlickrPhotosRecentlyUpdatedError_BadURLFound:
return @"Bad URL found";
default:
return @"Unknown error code";
}
}
@end
================================================
FILE: Pods/FlickrKit/Classes/Model/Generated/Photos/FKFlickrPhotosRemoveTag.h
================================================
//
// FKFlickrPhotosRemoveTag.h
// FlickrKit
//
// Generated by FKAPIBuilder on 12 Jun, 2013 at 17:19.
// Copyright (c) 2013 DevedUp Ltd. All rights reserved. http://www.devedup.com
//
// DO NOT MODIFY THIS FILE - IT IS MACHINE GENERATED
#import "FKFlickrAPIMethod.h"
typedef enum {
FKFlickrPhotosRemoveTagError_TagNotFound = 1, /* The calling user doesn't have permission to delete the specified tag. This could mean it belongs to someone else, or doesn't exist. */
FKFlickrPhotosRemoveTagError_InvalidSignature = 96, /* The passed signature was invalid. */
FKFlickrPhotosRemoveTagError_MissingSignature = 97, /* The call required signing but no signature was sent. */
FKFlickrPhotosRemoveTagError_LoginFailedOrInvalidAuthToken = 98, /* The login details or auth token passed were invalid. */
FKFlickrPhotosRemoveTagError_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. */
FKFlickrPhotosRemoveTagError_InvalidAPIKey = 100, /* The API key passed was not valid or has expired. */
FKFlickrPhotosRemoveTagError_ServiceCurrentlyUnavailable = 105, /* The requested service is temporarily unavailable. */
FKFlickrPhotosRemoveTagError_FormatXXXNotFound = 111, /* The requested response format was not found. */
FKFlickrPhotosRemoveTagError_MethodXXXNotFound = 112, /* The requested method was not found. */
FKFlickrPhotosRemoveTagError_InvalidSOAPEnvelope = 114, /* The SOAP envelope send in the request could not be parsed. */
FKFlickrPhotosRemoveTagError_InvalidXMLRPCMethodCall = 115, /* The XML-RPC request document could not be parsed. */
FKFlickrPhotosRemoveTagError_BadURLFound = 116, /* One or more arguments contained a URL that has been used for abuse on Flickr. */
} FKFlickrPhotosRemoveTagError;
/*
Remove a tag from a photo.
*/
@interface FKFlickrPhotosRemoveTag : NSObject "machine_tags" => "dc:""machine_tags" => "dc:title=""machine_tags" => "dc:title=\"mr. camera\""machine_tags" => "*:*=\"mr. camera\"""machine_tags" => "*:title=""machine_tags" => "*:title=\"mr. camera\"""machine_tags" => "dc:*=\"mr. camera\""all (default), photos or videos */
@property (nonatomic, strong) NSString *media;
/* Any photo that has been geotagged, or if the value is "0" any photo that has not been geotagged.
description, license, date_upload, date_taken, owner_name, icon_server, original_format, last_update, geo, tags, machine_tags, o_dims, views, media, path_alias, url_sq, url_t, url_s, url_q, url_m, url_n, url_z, url_c, url_l, url_o */
@property (nonatomic, strong) NSString *extras;
/* Number of photos to return per page. If this argument is omitted, it defaults to 100. The maximum allowed value is 500. */
@property (nonatomic, strong) NSString *per_page;
/* The page of results to return. If this argument is omitted, it defaults to 1. */
@property (nonatomic, strong) NSString *page;
@end
================================================
FILE: Pods/FlickrKit/Classes/Model/Generated/Photos/FKFlickrPhotosSearch.m
================================================
//
// FKFlickrPhotosSearch.m
// FlickrKit
//
// Generated by FKAPIBuilder on 12 Jun, 2013 at 17:19.
// Copyright (c) 2013 DevedUp Ltd. All rights reserved. http://www.devedup.com
//
// DO NOT MODIFY THIS FILE - IT IS MACHINE GENERATED
#import "FKFlickrPhotosSearch.h"
@implementation FKFlickrPhotosSearch
- (BOOL) needsLogin {
return NO;
}
- (BOOL) needsSigning {
return NO;
}
- (FKPermission) requiredPerms {
return -1;
}
- (NSString *) name {
return @"flickr.photos.search";
}
- (BOOL) isValid:(NSError **)error {
BOOL valid = YES;
NSMutableString *errorDescription = [[NSMutableString alloc] initWithString:@"You are missing required params: "];
if(error != NULL) {
if(!valid) {
NSDictionary *userInfo = @{NSLocalizedDescriptionKey: errorDescription};
*error = [NSError errorWithDomain:FKFlickrKitErrorDomain code:FKErrorInvalidArgs userInfo:userInfo];
}
}
return valid;
}
- (NSDictionary *) args {
NSMutableDictionary *args = [NSMutableDictionary dictionary];
if(self.user_id) {
[args setValue:self.user_id forKey:@"user_id"];
}
if(self.tags) {
[args setValue:self.tags forKey:@"tags"];
}
if(self.tag_mode) {
[args setValue:self.tag_mode forKey:@"tag_mode"];
}
if(self.text) {
[args setValue:self.text forKey:@"text"];
}
if(self.min_upload_date) {
[args setValue:self.min_upload_date forKey:@"min_upload_date"];
}
if(self.max_upload_date) {
[args setValue:self.max_upload_date forKey:@"max_upload_date"];
}
if(self.min_taken_date) {
[args setValue:self.min_taken_date forKey:@"min_taken_date"];
}
if(self.max_taken_date) {
[args setValue:self.max_taken_date forKey:@"max_taken_date"];
}
if(self.license) {
[args setValue:self.license forKey:@"license"];
}
if(self.sort) {
[args setValue:self.sort forKey:@"sort"];
}
if(self.privacy_filter) {
[args setValue:self.privacy_filter forKey:@"privacy_filter"];
}
if(self.bbox) {
[args setValue:self.bbox forKey:@"bbox"];
}
if(self.accuracy) {
[args setValue:self.accuracy forKey:@"accuracy"];
}
if(self.safe_search) {
[args setValue:self.safe_search forKey:@"safe_search"];
}
if(self.content_type) {
[args setValue:self.content_type forKey:@"content_type"];
}
if(self.machine_tags) {
[args setValue:self.machine_tags forKey:@"machine_tags"];
}
if(self.machine_tag_mode) {
[args setValue:self.machine_tag_mode forKey:@"machine_tag_mode"];
}
if(self.group_id) {
[args setValue:self.group_id forKey:@"group_id"];
}
if(self.faves) {
[args setValue:self.faves forKey:@"faves"];
}
if(self.camera) {
[args setValue:self.camera forKey:@"camera"];
}
if(self.jump_to) {
[args setValue:self.jump_to forKey:@"jump_to"];
}
if(self.contacts) {
[args setValue:self.contacts forKey:@"contacts"];
}
if(self.woe_id) {
[args setValue:self.woe_id forKey:@"woe_id"];
}
if(self.place_id) {
[args setValue:self.place_id forKey:@"place_id"];
}
if(self.media) {
[args setValue:self.media forKey:@"media"];
}
if(self.has_geo) {
[args setValue:self.has_geo forKey:@"has_geo"];
}
if(self.geo_context) {
[args setValue:self.geo_context forKey:@"geo_context"];
}
if(self.lat) {
[args setValue:self.lat forKey:@"lat"];
}
if(self.lon) {
[args setValue:self.lon forKey:@"lon"];
}
if(self.radius) {
[args setValue:self.radius forKey:@"radius"];
}
if(self.radius_units) {
[args setValue:self.radius_units forKey:@"radius_units"];
}
if(self.is_commons) {
[args setValue:self.is_commons forKey:@"is_commons"];
}
if(self.in_gallery) {
[args setValue:self.in_gallery forKey:@"in_gallery"];
}
if(self.person_id) {
[args setValue:self.person_id forKey:@"person_id"];
}
if(self.is_getty) {
[args setValue:self.is_getty forKey:@"is_getty"];
}
if(self.extras) {
[args setValue:self.extras forKey:@"extras"];
}
if(self.per_page) {
[args setValue:self.per_page forKey:@"per_page"];
}
if(self.page) {
[args setValue:self.page forKey:@"page"];
}
return [args copy];
}
- (NSString *) descriptionForError:(NSInteger)error {
switch(error) {
case FKFlickrPhotosSearchError_TooManyTagsInALLQuery:
return @"Too many tags in ALL query";
case FKFlickrPhotosSearchError_UnknownUser:
return @"Unknown user";
case FKFlickrPhotosSearchError_ParameterlessSearchesHaveBeenDisabled:
return @"Parameterless searches have been disabled";
case FKFlickrPhotosSearchError_YouDontHavePermissionToViewThisPool:
return @"You don't have permission to view this pool";
case FKFlickrPhotosSearchError_SorryTheFlickrSearchAPIIsNotCurrentlyAvailable:
return @"Sorry, the Flickr search API is not currently available.";
case FKFlickrPhotosSearchError_NoValidMachineTags:
return @"No valid machine tags";
case FKFlickrPhotosSearchError_ExceededMaximumAllowableMachineTags:
return @"Exceeded maximum allowable machine tags";
case FKFlickrPhotosSearchError_Jump_toNotAvaiableForThisQuery:
return @"jump_to not avaiable for this query";
case FKFlickrPhotosSearchError_BadValueForJump_to:
return @"Bad value for jump_to";
case FKFlickrPhotosSearchError_PhotoNotFound:
return @"Photo not found";
case FKFlickrPhotosSearchError_YouCanOnlySearchWithinYourOwnFavorites:
return @"You can only search within your own favorites";
case FKFlickrPhotosSearchError_YouCanOnlySearchWithinYourOwnContacts:
return @"You can only search within your own contacts";
case FKFlickrPhotosSearchError_IllogicalArguments:
return @"Illogical arguments";
case FKFlickrPhotosSearchError_ExcessivePhotoOffsetInSearch:
return @"Excessive photo offset in search";
case FKFlickrPhotosSearchError_InvalidAPIKey:
return @"Invalid API Key";
case FKFlickrPhotosSearchError_ServiceCurrentlyUnavailable:
return @"Service currently unavailable";
case FKFlickrPhotosSearchError_FormatXXXNotFound:
return @"Format \"xxx\" not found";
case FKFlickrPhotosSearchError_MethodXXXNotFound:
return @"Method \"xxx\" not found";
case FKFlickrPhotosSearchError_InvalidSOAPEnvelope:
return @"Invalid SOAP envelope";
case FKFlickrPhotosSearchError_InvalidXMLRPCMethodCall:
return @"Invalid XML-RPC Method Call";
case FKFlickrPhotosSearchError_BadURLFound:
return @"Bad URL found";
default:
return @"Unknown error code";
}
}
@end
================================================
FILE: Pods/FlickrKit/Classes/Model/Generated/Photos/FKFlickrPhotosSetContentType.h
================================================
//
// FKFlickrPhotosSetContentType.h
// FlickrKit
//
// Generated by FKAPIBuilder on 12 Jun, 2013 at 17:19.
// Copyright (c) 2013 DevedUp Ltd. All rights reserved. http://www.devedup.com
//
// DO NOT MODIFY THIS FILE - IT IS MACHINE GENERATED
#import "FKFlickrAPIMethod.h"
typedef enum {
FKFlickrPhotosSetContentTypeError_PhotoNotFound = 1, /* The photo id passed was not a valid photo id of a photo belonging to the calling user. */
FKFlickrPhotosSetContentTypeError_RequiredArgumentsMissing = 2, /* Some or all of the required arguments were not supplied. */
FKFlickrPhotosSetContentTypeError_ChangeNotAllowed = 3, /* Changing the content type of this photo is not allowed. */
FKFlickrPhotosSetContentTypeError_InvalidSignature = 96, /* The passed signature was invalid. */
FKFlickrPhotosSetContentTypeError_MissingSignature = 97, /* The call required signing but no signature was sent. */
FKFlickrPhotosSetContentTypeError_LoginFailedOrInvalidAuthToken = 98, /* The login details or auth token passed were invalid. */
FKFlickrPhotosSetContentTypeError_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. */
FKFlickrPhotosSetContentTypeError_InvalidAPIKey = 100, /* The API key passed was not valid or has expired. */
FKFlickrPhotosSetContentTypeError_ServiceCurrentlyUnavailable = 105, /* The requested service is temporarily unavailable. */
FKFlickrPhotosSetContentTypeError_FormatXXXNotFound = 111, /* The requested response format was not found. */
FKFlickrPhotosSetContentTypeError_MethodXXXNotFound = 112, /* The requested method was not found. */
FKFlickrPhotosSetContentTypeError_InvalidSOAPEnvelope = 114, /* The SOAP envelope send in the request could not be parsed. */
FKFlickrPhotosSetContentTypeError_InvalidXMLRPCMethodCall = 115, /* The XML-RPC request document could not be parsed. */
FKFlickrPhotosSetContentTypeError_BadURLFound = 116, /* One or more arguments contained a URL that has been used for abuse on Flickr. */
} FKFlickrPhotosSetContentTypeError;
/*
Set the content type of a photo.
Response:
0: nobody1: friends & family2: contacts3: everybody */
@property (nonatomic, strong) NSString *perm_comment; /* (Required) */
/* who can add notes and tags to the photo. one of:0: nobody / just the owner1: friends & family2: contacts3: everybody
*/
@property (nonatomic, strong) NSString *perm_addmeta; /* (Required) */
@end
================================================
FILE: Pods/FlickrKit/Classes/Model/Generated/Photos/FKFlickrPhotosSetPerms.m
================================================
//
// FKFlickrPhotosSetPerms.m
// FlickrKit
//
// Generated by FKAPIBuilder on 12 Jun, 2013 at 17:19.
// Copyright (c) 2013 DevedUp Ltd. All rights reserved. http://www.devedup.com
//
// DO NOT MODIFY THIS FILE - IT IS MACHINE GENERATED
#import "FKFlickrPhotosSetPerms.h"
@implementation FKFlickrPhotosSetPerms
- (BOOL) needsLogin {
return YES;
}
- (BOOL) needsSigning {
return YES;
}
- (FKPermission) requiredPerms {
return 1;
}
- (NSString *) name {
return @"flickr.photos.setPerms";
}
- (BOOL) isValid:(NSError **)error {
BOOL valid = YES;
NSMutableString *errorDescription = [[NSMutableString alloc] initWithString:@"You are missing required params: "];
if(!self.photo_id) {
valid = NO;
[errorDescription appendString:@"'photo_id', "];
}
if(!self.is_public) {
valid = NO;
[errorDescription appendString:@"'is_public', "];
}
if(!self.is_friend) {
valid = NO;
[errorDescription appendString:@"'is_friend', "];
}
if(!self.is_family) {
valid = NO;
[errorDescription appendString:@"'is_family', "];
}
if(!self.perm_comment) {
valid = NO;
[errorDescription appendString:@"'perm_comment', "];
}
if(!self.perm_addmeta) {
valid = NO;
[errorDescription appendString:@"'perm_addmeta', "];
}
if(error != NULL) {
if(!valid) {
NSDictionary *userInfo = @{NSLocalizedDescriptionKey: errorDescription};
*error = [NSError errorWithDomain:FKFlickrKitErrorDomain code:FKErrorInvalidArgs userInfo:userInfo];
}
}
return valid;
}
- (NSDictionary *) args {
NSMutableDictionary *args = [NSMutableDictionary dictionary];
if(self.photo_id) {
[args setValue:self.photo_id forKey:@"photo_id"];
}
if(self.is_public) {
[args setValue:self.is_public forKey:@"is_public"];
}
if(self.is_friend) {
[args setValue:self.is_friend forKey:@"is_friend"];
}
if(self.is_family) {
[args setValue:self.is_family forKey:@"is_family"];
}
if(self.perm_comment) {
[args setValue:self.perm_comment forKey:@"perm_comment"];
}
if(self.perm_addmeta) {
[args setValue:self.perm_addmeta forKey:@"perm_addmeta"];
}
return [args copy];
}
- (NSString *) descriptionForError:(NSInteger)error {
switch(error) {
case FKFlickrPhotosSetPermsError_PhotoNotFound:
return @"Photo not found";
case FKFlickrPhotosSetPermsError_RequiredArgumentsMissing:
return @"Required arguments missing";
case FKFlickrPhotosSetPermsError_InvalidSignature:
return @"Invalid signature";
case FKFlickrPhotosSetPermsError_MissingSignature:
return @"Missing signature";
case FKFlickrPhotosSetPermsError_LoginFailedOrInvalidAuthToken:
return @"Login failed / Invalid auth token";
case FKFlickrPhotosSetPermsError_UserNotLoggedInOrInsufficientPermissions:
return @"User not logged in / Insufficient permissions";
case FKFlickrPhotosSetPermsError_InvalidAPIKey:
return @"Invalid API Key";
case FKFlickrPhotosSetPermsError_ServiceCurrentlyUnavailable:
return @"Service currently unavailable";
case FKFlickrPhotosSetPermsError_FormatXXXNotFound:
return @"Format \"xxx\" not found";
case FKFlickrPhotosSetPermsError_MethodXXXNotFound:
return @"Method \"xxx\" not found";
case FKFlickrPhotosSetPermsError_InvalidSOAPEnvelope:
return @"Invalid SOAP envelope";
case FKFlickrPhotosSetPermsError_InvalidXMLRPCMethodCall:
return @"Invalid XML-RPC Method Call";
case FKFlickrPhotosSetPermsError_BadURLFound:
return @"Bad URL found";
default:
return @"Unknown error code";
}
}
@end
================================================
FILE: Pods/FlickrKit/Classes/Model/Generated/Photos/FKFlickrPhotosSetSafetyLevel.h
================================================
//
// FKFlickrPhotosSetSafetyLevel.h
// FlickrKit
//
// Generated by FKAPIBuilder on 12 Jun, 2013 at 17:19.
// Copyright (c) 2013 DevedUp Ltd. All rights reserved. http://www.devedup.com
//
// DO NOT MODIFY THIS FILE - IT IS MACHINE GENERATED
#import "FKFlickrAPIMethod.h"
typedef enum {
FKFlickrPhotosSetSafetyLevelError_PhotoNotFound = 1, /* The photo id passed was not a valid photo id of a photo belonging to the calling user. */
FKFlickrPhotosSetSafetyLevelError_InvalidOrMissingArguments = 2, /* Neither a valid safety level nor a hidden value were passed. */
FKFlickrPhotosSetSafetyLevelError_ChangeNotAllowed = 3, /* Changing the safety level of this photo is not allowed. */
FKFlickrPhotosSetSafetyLevelError_InvalidSignature = 96, /* The passed signature was invalid. */
FKFlickrPhotosSetSafetyLevelError_MissingSignature = 97, /* The call required signing but no signature was sent. */
FKFlickrPhotosSetSafetyLevelError_LoginFailedOrInvalidAuthToken = 98, /* The login details or auth token passed were invalid. */
FKFlickrPhotosSetSafetyLevelError_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. */
FKFlickrPhotosSetSafetyLevelError_InvalidAPIKey = 100, /* The API key passed was not valid or has expired. */
FKFlickrPhotosSetSafetyLevelError_ServiceCurrentlyUnavailable = 105, /* The requested service is temporarily unavailable. */
FKFlickrPhotosSetSafetyLevelError_FormatXXXNotFound = 111, /* The requested response format was not found. */
FKFlickrPhotosSetSafetyLevelError_MethodXXXNotFound = 112, /* The requested method was not found. */
FKFlickrPhotosSetSafetyLevelError_InvalidSOAPEnvelope = 114, /* The SOAP envelope send in the request could not be parsed. */
FKFlickrPhotosSetSafetyLevelError_InvalidXMLRPCMethodCall = 115, /* The XML-RPC request document could not be parsed. */
FKFlickrPhotosSetSafetyLevelError_BadURLFound = 116, /* One or more arguments contained a URL that has been used for abuse on Flickr. */
} FKFlickrPhotosSetSafetyLevelError;
/*
Set the safety level of a photo.
Response:
description, license, date_upload, date_taken, owner_name, icon_server, original_format, last_update, geo, tags, machine_tags, o_dims, views, media, path_alias, url_sq, url_t, url_s, url_q, url_m, url_n, url_z, url_c, url_l, url_o */
@property (nonatomic, strong) NSString *extras;
/* Number of photos to return per page. If this argument is omitted, it defaults to 100. The maximum allowed value is 500. */
@property (nonatomic, strong) NSString *per_page;
/* The page of results to return. If this argument is omitted, it defaults to 1. */
@property (nonatomic, strong) NSString *page;
@end
================================================
FILE: Pods/FlickrKit/Classes/Model/Generated/Photos/Geo/FKFlickrPhotosGeoPhotosForLocation.m
================================================
//
// FKFlickrPhotosGeoPhotosForLocation.m
// FlickrKit
//
// Generated by FKAPIBuilder on 12 Jun, 2013 at 17:19.
// Copyright (c) 2013 DevedUp Ltd. All rights reserved. http://www.devedup.com
//
// DO NOT MODIFY THIS FILE - IT IS MACHINE GENERATED
#import "FKFlickrPhotosGeoPhotosForLocation.h"
@implementation FKFlickrPhotosGeoPhotosForLocation
- (BOOL) needsLogin {
return YES;
}
- (BOOL) needsSigning {
return YES;
}
- (FKPermission) requiredPerms {
return 0;
}
- (NSString *) name {
return @"flickr.photos.geo.photosForLocation";
}
- (BOOL) isValid:(NSError **)error {
BOOL valid = YES;
NSMutableString *errorDescription = [[NSMutableString alloc] initWithString:@"You are missing required params: "];
if(!self.lat) {
valid = NO;
[errorDescription appendString:@"'lat', "];
}
if(!self.lon) {
valid = NO;
[errorDescription appendString:@"'lon', "];
}
if(error != NULL) {
if(!valid) {
NSDictionary *userInfo = @{NSLocalizedDescriptionKey: errorDescription};
*error = [NSError errorWithDomain:FKFlickrKitErrorDomain code:FKErrorInvalidArgs userInfo:userInfo];
}
}
return valid;
}
- (NSDictionary *) args {
NSMutableDictionary *args = [NSMutableDictionary dictionary];
if(self.lat) {
[args setValue:self.lat forKey:@"lat"];
}
if(self.lon) {
[args setValue:self.lon forKey:@"lon"];
}
if(self.accuracy) {
[args setValue:self.accuracy forKey:@"accuracy"];
}
if(self.extras) {
[args setValue:self.extras forKey:@"extras"];
}
if(self.per_page) {
[args setValue:self.per_page forKey:@"per_page"];
}
if(self.page) {
[args setValue:self.page forKey:@"page"];
}
return [args copy];
}
- (NSString *) descriptionForError:(NSInteger)error {
switch(error) {
case FKFlickrPhotosGeoPhotosForLocationError_RequiredArgumentsMissing:
return @"Required arguments missing";
case FKFlickrPhotosGeoPhotosForLocationError_NotAValidLatitude:
return @"Not a valid latitude";
case FKFlickrPhotosGeoPhotosForLocationError_NotAValidLongitude:
return @"Not a valid longitude";
case FKFlickrPhotosGeoPhotosForLocationError_NotAValidAccuracy:
return @"Not a valid accuracy";
case FKFlickrPhotosGeoPhotosForLocationError_InvalidSignature:
return @"Invalid signature";
case FKFlickrPhotosGeoPhotosForLocationError_MissingSignature:
return @"Missing signature";
case FKFlickrPhotosGeoPhotosForLocationError_LoginFailedOrInvalidAuthToken:
return @"Login failed / Invalid auth token";
case FKFlickrPhotosGeoPhotosForLocationError_UserNotLoggedInOrInsufficientPermissions:
return @"User not logged in / Insufficient permissions";
case FKFlickrPhotosGeoPhotosForLocationError_InvalidAPIKey:
return @"Invalid API Key";
case FKFlickrPhotosGeoPhotosForLocationError_ServiceCurrentlyUnavailable:
return @"Service currently unavailable";
case FKFlickrPhotosGeoPhotosForLocationError_FormatXXXNotFound:
return @"Format \"xxx\" not found";
case FKFlickrPhotosGeoPhotosForLocationError_MethodXXXNotFound:
return @"Method \"xxx\" not found";
case FKFlickrPhotosGeoPhotosForLocationError_InvalidSOAPEnvelope:
return @"Invalid SOAP envelope";
case FKFlickrPhotosGeoPhotosForLocationError_InvalidXMLRPCMethodCall:
return @"Invalid XML-RPC Method Call";
case FKFlickrPhotosGeoPhotosForLocationError_BadURLFound:
return @"Bad URL found";
default:
return @"Unknown error code";
}
}
@end
================================================
FILE: Pods/FlickrKit/Classes/Model/Generated/Photos/Geo/FKFlickrPhotosGeoRemoveLocation.h
================================================
//
// FKFlickrPhotosGeoRemoveLocation.h
// FlickrKit
//
// Generated by FKAPIBuilder on 12 Jun, 2013 at 17:19.
// Copyright (c) 2013 DevedUp Ltd. All rights reserved. http://www.devedup.com
//
// DO NOT MODIFY THIS FILE - IT IS MACHINE GENERATED
#import "FKFlickrAPIMethod.h"
typedef enum {
FKFlickrPhotosGeoRemoveLocationError_PhotoNotFound = 1, /* The photo id was either invalid or was for a photo not viewable by the calling user. */
FKFlickrPhotosGeoRemoveLocationError_PhotoHasNoLocationInformation = 2, /* The specified photo has not been geotagged - there is nothing to remove. */
FKFlickrPhotosGeoRemoveLocationError_InvalidSignature = 96, /* The passed signature was invalid. */
FKFlickrPhotosGeoRemoveLocationError_MissingSignature = 97, /* The call required signing but no signature was sent. */
FKFlickrPhotosGeoRemoveLocationError_LoginFailedOrInvalidAuthToken = 98, /* The login details or auth token passed were invalid. */
FKFlickrPhotosGeoRemoveLocationError_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. */
FKFlickrPhotosGeoRemoveLocationError_InvalidAPIKey = 100, /* The API key passed was not valid or has expired. */
FKFlickrPhotosGeoRemoveLocationError_ServiceCurrentlyUnavailable = 105, /* The requested service is temporarily unavailable. */
FKFlickrPhotosGeoRemoveLocationError_FormatXXXNotFound = 111, /* The requested response format was not found. */
FKFlickrPhotosGeoRemoveLocationError_MethodXXXNotFound = 112, /* The requested method was not found. */
FKFlickrPhotosGeoRemoveLocationError_InvalidSOAPEnvelope = 114, /* The SOAP envelope send in the request could not be parsed. */
FKFlickrPhotosGeoRemoveLocationError_InvalidXMLRPCMethodCall = 115, /* The XML-RPC request document could not be parsed. */
FKFlickrPhotosGeoRemoveLocationError_BadURLFound = 116, /* One or more arguments contained a URL that has been used for abuse on Flickr. */
} FKFlickrPhotosGeoRemoveLocationError;
/*
Removes the geo data associated with a photo.
*/
@interface FKFlickrPhotosGeoRemoveLocation : NSObject flickr.photos.geo.setLocationmethod). */ @interface FKFlickrPhotosGeoSetContext : NSObject
There is one New photosets are automatically put first in the photoset ordering for the user. Use flickr.photosets.orderSets if you don't want the new set to appear first on the user's photoset list. Photosets are returned in the user's specified order, which may not mean the newest set is first. Applications displaying photosets should respect the user's ordering. There is one For details on the referrers coming from each domain listed you can call flickr.stats.getCollectionReferrers There is one Where the referring page is a search engine and we have identified the search term it will be given in the searchterm attribute. There is one For details on the referrers coming from each domain listed you can call flickr.stats.getPhotoReferrers There is one Where the referring page is a search engine and we have identified the search term it will be given in the searchterm attribute. There is one For details on the referrers coming from each domain listed you can call flickr.stats.getPhotosetReferrers There is one Where the referring page is a search engine and we have identified the search term it will be given in the searchterm attribute. There is one For details on the referrers coming from each domain listed you can call flickr.stats.getPhotostreamReferrers There is one Where the referring page is a search engine and we have identified the search term it will be given in the searchterm attribute. This method returns the standard photo list xml. In addition each photo element contains a To map <ticket> element for each ticket id supplied. The id attribute contains the corresponding ticket id. If the ticket wasn't found, the invalid attribute is set. The status of the ticket is passed in the status attribute; 0 means not completed, 1 means completed and 2 means the ticket failed (indicating there was a problem converting the file). When the status is 1, the photo id is passed in the photoid attribute. The photo id can then be used as with the synchronous upload API.
Response:
*/
@property (nonatomic, strong) NSString *privacy_filter;
/* Number of photos to return per page. If this argument is omitted, it defaults to 500. The maximum allowed value is 500. */
@property (nonatomic, strong) NSString *per_page;
/* The page of results to return. If this argument is omitted, it defaults to 1. */
@property (nonatomic, strong) NSString *page;
/* Filter results by media type. Possible values are all (default), photos or videos */
@property (nonatomic, strong) NSString *media;
@end
================================================
FILE: Pods/FlickrKit/Classes/Model/Generated/Photosets/FKFlickrPhotosetsGetPhotos.m
================================================
//
// FKFlickrPhotosetsGetPhotos.m
// FlickrKit
//
// Generated by FKAPIBuilder on 12 Jun, 2013 at 17:19.
// Copyright (c) 2013 DevedUp Ltd. All rights reserved. http://www.devedup.com
//
// DO NOT MODIFY THIS FILE - IT IS MACHINE GENERATED
#import "FKFlickrPhotosetsGetPhotos.h"
@implementation FKFlickrPhotosetsGetPhotos
- (BOOL) needsLogin {
return NO;
}
- (BOOL) needsSigning {
return NO;
}
- (FKPermission) requiredPerms {
return -1;
}
- (NSString *) name {
return @"flickr.photosets.getPhotos";
}
- (BOOL) isValid:(NSError **)error {
BOOL valid = YES;
NSMutableString *errorDescription = [[NSMutableString alloc] initWithString:@"You are missing required params: "];
if(!self.photoset_id) {
valid = NO;
[errorDescription appendString:@"'photoset_id', "];
}
if(error != NULL) {
if(!valid) {
NSDictionary *userInfo = @{NSLocalizedDescriptionKey: errorDescription};
*error = [NSError errorWithDomain:FKFlickrKitErrorDomain code:FKErrorInvalidArgs userInfo:userInfo];
}
}
return valid;
}
- (NSDictionary *) args {
NSMutableDictionary *args = [NSMutableDictionary dictionary];
if(self.photoset_id) {
[args setValue:self.photoset_id forKey:@"photoset_id"];
}
if(self.extras) {
[args setValue:self.extras forKey:@"extras"];
}
if(self.privacy_filter) {
[args setValue:self.privacy_filter forKey:@"privacy_filter"];
}
if(self.per_page) {
[args setValue:self.per_page forKey:@"per_page"];
}
if(self.page) {
[args setValue:self.page forKey:@"page"];
}
if(self.media) {
[args setValue:self.media forKey:@"media"];
}
return [args copy];
}
- (NSString *) descriptionForError:(NSInteger)error {
switch(error) {
case FKFlickrPhotosetsGetPhotosError_PhotosetNotFound:
return @"Photoset not found";
case FKFlickrPhotosetsGetPhotosError_InvalidAPIKey:
return @"Invalid API Key";
case FKFlickrPhotosetsGetPhotosError_ServiceCurrentlyUnavailable:
return @"Service currently unavailable";
case FKFlickrPhotosetsGetPhotosError_FormatXXXNotFound:
return @"Format \"xxx\" not found";
case FKFlickrPhotosetsGetPhotosError_MethodXXXNotFound:
return @"Method \"xxx\" not found";
case FKFlickrPhotosetsGetPhotosError_InvalidSOAPEnvelope:
return @"Invalid SOAP envelope";
case FKFlickrPhotosetsGetPhotosError_InvalidXMLRPCMethodCall:
return @"Invalid XML-RPC Method Call";
case FKFlickrPhotosetsGetPhotosError_BadURLFound:
return @"Bad URL found";
default:
return @"Unknown error code";
}
}
@end
================================================
FILE: Pods/FlickrKit/Classes/Model/Generated/Photosets/FKFlickrPhotosetsOrderSets.h
================================================
//
// FKFlickrPhotosetsOrderSets.h
// FlickrKit
//
// Generated by FKAPIBuilder on 12 Jun, 2013 at 17:19.
// Copyright (c) 2013 DevedUp Ltd. All rights reserved. http://www.devedup.com
//
// DO NOT MODIFY THIS FILE - IT IS MACHINE GENERATED
#import "FKFlickrAPIMethod.h"
typedef enum {
FKFlickrPhotosetsOrderSetsError_SetNotFound = 1, /* One of the photoset ids passed was not the id of a valid photoset belonging to the calling user. */
FKFlickrPhotosetsOrderSetsError_InvalidSignature = 96, /* The passed signature was invalid. */
FKFlickrPhotosetsOrderSetsError_MissingSignature = 97, /* The call required signing but no signature was sent. */
FKFlickrPhotosetsOrderSetsError_LoginFailedOrInvalidAuthToken = 98, /* The login details or auth token passed were invalid. */
FKFlickrPhotosetsOrderSetsError_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. */
FKFlickrPhotosetsOrderSetsError_InvalidAPIKey = 100, /* The API key passed was not valid or has expired. */
FKFlickrPhotosetsOrderSetsError_ServiceCurrentlyUnavailable = 105, /* The requested service is temporarily unavailable. */
FKFlickrPhotosetsOrderSetsError_FormatXXXNotFound = 111, /* The requested response format was not found. */
FKFlickrPhotosetsOrderSetsError_MethodXXXNotFound = 112, /* The requested method was not found. */
FKFlickrPhotosetsOrderSetsError_InvalidSOAPEnvelope = 114, /* The SOAP envelope send in the request could not be parsed. */
FKFlickrPhotosetsOrderSetsError_InvalidXMLRPCMethodCall = 115, /* The XML-RPC request document could not be parsed. */
FKFlickrPhotosetsOrderSetsError_BadURLFound = 116, /* One or more arguments contained a URL that has been used for abuse on Flickr. */
} FKFlickrPhotosetsOrderSetsError;
/*
Set the order of photosets for the calling user.
*/
@interface FKFlickrPhotosetsOrderSets : NSObject
The flickr.places.find method is not a geocoder. It will round up
to the nearest place type to which place IDs apply. For example, if you pass it a street level address it will return the city that contains the address rather than the street, or building, itself.
Each place returned will contain its place ID, corresponding URL (underneath www.flickr.com/places) and place type for disambiguating different locations with the same name.
Response:
The flickr.places.findByLatLon method is not meant to be a (reverse) geocoder in the traditional sense. It is designed to allow users to find photos for "places" and will round up to the nearest place type to which corresponding place IDs apply.
For example, if you pass it a street level coordinate it will return the city that contains the point rather than the street, or building, itself.
It will also truncate latitudes and longitudes to three decimal points.
Response:
Valid place type IDs are :
*/
@property (nonatomic, strong) NSString *place_type_id; /* (Required) */
/* A valid date in YYYY-MM-DD format. The default is yesterday. */
@property (nonatomic, strong) NSString *date;
/* Limit your query to only those top places belonging to a specific Where on Earth (WOE) identifier. */
@property (nonatomic, strong) NSString *woe_id;
/* Limit your query to only those top places belonging to a specific Flickr Places identifier. */
@property (nonatomic, strong) NSString *place_id;
@end
================================================
FILE: Pods/FlickrKit/Classes/Model/Generated/Places/FKFlickrPlacesGetTopPlacesList.m
================================================
//
// FKFlickrPlacesGetTopPlacesList.m
// FlickrKit
//
// Generated by FKAPIBuilder on 12 Jun, 2013 at 17:19.
// Copyright (c) 2013 DevedUp Ltd. All rights reserved. http://www.devedup.com
//
// DO NOT MODIFY THIS FILE - IT IS MACHINE GENERATED
#import "FKFlickrPlacesGetTopPlacesList.h"
@implementation FKFlickrPlacesGetTopPlacesList
- (BOOL) needsLogin {
return NO;
}
- (BOOL) needsSigning {
return NO;
}
- (FKPermission) requiredPerms {
return -1;
}
- (NSString *) name {
return @"flickr.places.getTopPlacesList";
}
- (BOOL) isValid:(NSError **)error {
BOOL valid = YES;
NSMutableString *errorDescription = [[NSMutableString alloc] initWithString:@"You are missing required params: "];
if(!self.place_type_id) {
valid = NO;
[errorDescription appendString:@"'place_type_id', "];
}
if(error != NULL) {
if(!valid) {
NSDictionary *userInfo = @{NSLocalizedDescriptionKey: errorDescription};
*error = [NSError errorWithDomain:FKFlickrKitErrorDomain code:FKErrorInvalidArgs userInfo:userInfo];
}
}
return valid;
}
- (NSDictionary *) args {
NSMutableDictionary *args = [NSMutableDictionary dictionary];
if(self.place_type_id) {
[args setValue:self.place_type_id forKey:@"place_type_id"];
}
if(self.date) {
[args setValue:self.date forKey:@"date"];
}
if(self.woe_id) {
[args setValue:self.woe_id forKey:@"woe_id"];
}
if(self.place_id) {
[args setValue:self.place_id forKey:@"place_id"];
}
return [args copy];
}
- (NSString *) descriptionForError:(NSInteger)error {
switch(error) {
case FKFlickrPlacesGetTopPlacesListError_RequiredParameterMissing:
return @"Required parameter missing";
case FKFlickrPlacesGetTopPlacesListError_NotAValidPlaceType:
return @"Not a valid place type.";
case FKFlickrPlacesGetTopPlacesListError_NotAValidDate:
return @"Not a valid date.";
case FKFlickrPlacesGetTopPlacesListError_NotAValidPlaceID:
return @"Not a valid Place ID";
case FKFlickrPlacesGetTopPlacesListError_InvalidAPIKey:
return @"Invalid API Key";
case FKFlickrPlacesGetTopPlacesListError_ServiceCurrentlyUnavailable:
return @"Service currently unavailable";
case FKFlickrPlacesGetTopPlacesListError_FormatXXXNotFound:
return @"Format \"xxx\" not found";
case FKFlickrPlacesGetTopPlacesListError_MethodXXXNotFound:
return @"Method \"xxx\" not found";
case FKFlickrPlacesGetTopPlacesListError_InvalidSOAPEnvelope:
return @"Invalid SOAP envelope";
case FKFlickrPlacesGetTopPlacesListError_InvalidXMLRPCMethodCall:
return @"Invalid XML-RPC Method Call";
case FKFlickrPlacesGetTopPlacesListError_BadURLFound:
return @"Bad URL found";
default:
return @"Unknown error code";
}
}
@end
================================================
FILE: Pods/FlickrKit/Classes/Model/Generated/Places/FKFlickrPlacesPlacesForBoundingBox.h
================================================
//
// FKFlickrPlacesPlacesForBoundingBox.h
// FlickrKit
//
// Generated by FKAPIBuilder on 12 Jun, 2013 at 17:19.
// Copyright (c) 2013 DevedUp Ltd. All rights reserved. http://www.devedup.com
//
// DO NOT MODIFY THIS FILE - IT IS MACHINE GENERATED
#import "FKFlickrAPIMethod.h"
typedef enum {
FKFlickrPlacesPlacesForBoundingBoxError_RequiredParametersMissing = 1, /* One or more required parameter is missing from the API call. */
FKFlickrPlacesPlacesForBoundingBoxError_NotAValidBbox = 2, /* The bbox argument was incomplete or incorrectly formatted */
FKFlickrPlacesPlacesForBoundingBoxError_NotAValidPlaceType = 3, /* An invalid place type was included with your request. */
FKFlickrPlacesPlacesForBoundingBoxError_BoundingBoxExceedsMaximumAllowableSizeForPlaceType = 4, /* The bounding box passed along with your request was too large for the request place type. */
FKFlickrPlacesPlacesForBoundingBoxError_InvalidAPIKey = 100, /* The API key passed was not valid or has expired. */
FKFlickrPlacesPlacesForBoundingBoxError_ServiceCurrentlyUnavailable = 105, /* The requested service is temporarily unavailable. */
FKFlickrPlacesPlacesForBoundingBoxError_FormatXXXNotFound = 111, /* The requested response format was not found. */
FKFlickrPlacesPlacesForBoundingBoxError_MethodXXXNotFound = 112, /* The requested method was not found. */
FKFlickrPlacesPlacesForBoundingBoxError_InvalidSOAPEnvelope = 114, /* The SOAP envelope send in the request could not be parsed. */
FKFlickrPlacesPlacesForBoundingBoxError_InvalidXMLRPCMethodCall = 115, /* The XML-RPC request document could not be parsed. */
FKFlickrPlacesPlacesForBoundingBoxError_BadURLFound = 116, /* One or more arguments contained a URL that has been used for abuse on Flickr. */
} FKFlickrPlacesPlacesForBoundingBoxError;
/*
Return all the locations of a matching place type for a bounding box.
The maximum allowable size of a bounding box (the distance between the SW and NE corners) is governed by the place type you are requesting. Allowable sizes are as follows:
Response:
The "place_type" argument has been deprecated in favor of the "place_type_id" argument. It won't go away but it will not be added to new methods. A complete list of place type IDs is available using the flickr.places.getPlaceTypes method. (While optional, you must pass either a valid place type or place type ID.) */
@property (nonatomic, strong) NSString *place_type;
/* The numeric ID for a specific place type to cluster photos by.
Valid place type IDs are :
(While optional, you must pass either a valid place type or place type ID.)
*/
@property (nonatomic, strong) NSString *place_type_id;
/* Perform a recursive place type search. For example, if you search for neighbourhoods in a given bounding box but there are no results the method will also query for localities and so on until one or more valid places are found.
Recursive searches do not change the bounding box size restrictions for the initial place type passed to the method. */
@property (nonatomic, strong) NSString *recursive;
@end
================================================
FILE: Pods/FlickrKit/Classes/Model/Generated/Places/FKFlickrPlacesPlacesForBoundingBox.m
================================================
//
// FKFlickrPlacesPlacesForBoundingBox.m
// FlickrKit
//
// Generated by FKAPIBuilder on 12 Jun, 2013 at 17:19.
// Copyright (c) 2013 DevedUp Ltd. All rights reserved. http://www.devedup.com
//
// DO NOT MODIFY THIS FILE - IT IS MACHINE GENERATED
#import "FKFlickrPlacesPlacesForBoundingBox.h"
@implementation FKFlickrPlacesPlacesForBoundingBox
- (BOOL) needsLogin {
return NO;
}
- (BOOL) needsSigning {
return NO;
}
- (FKPermission) requiredPerms {
return -1;
}
- (NSString *) name {
return @"flickr.places.placesForBoundingBox";
}
- (BOOL) isValid:(NSError **)error {
BOOL valid = YES;
NSMutableString *errorDescription = [[NSMutableString alloc] initWithString:@"You are missing required params: "];
if(!self.bbox) {
valid = NO;
[errorDescription appendString:@"'bbox', "];
}
if(error != NULL) {
if(!valid) {
NSDictionary *userInfo = @{NSLocalizedDescriptionKey: errorDescription};
*error = [NSError errorWithDomain:FKFlickrKitErrorDomain code:FKErrorInvalidArgs userInfo:userInfo];
}
}
return valid;
}
- (NSDictionary *) args {
NSMutableDictionary *args = [NSMutableDictionary dictionary];
if(self.bbox) {
[args setValue:self.bbox forKey:@"bbox"];
}
if(self.place_type) {
[args setValue:self.place_type forKey:@"place_type"];
}
if(self.place_type_id) {
[args setValue:self.place_type_id forKey:@"place_type_id"];
}
if(self.recursive) {
[args setValue:self.recursive forKey:@"recursive"];
}
return [args copy];
}
- (NSString *) descriptionForError:(NSInteger)error {
switch(error) {
case FKFlickrPlacesPlacesForBoundingBoxError_RequiredParametersMissing:
return @"Required parameters missing";
case FKFlickrPlacesPlacesForBoundingBoxError_NotAValidBbox:
return @"Not a valid bbox";
case FKFlickrPlacesPlacesForBoundingBoxError_NotAValidPlaceType:
return @"Not a valid place type";
case FKFlickrPlacesPlacesForBoundingBoxError_BoundingBoxExceedsMaximumAllowableSizeForPlaceType:
return @"Bounding box exceeds maximum allowable size for place type";
case FKFlickrPlacesPlacesForBoundingBoxError_InvalidAPIKey:
return @"Invalid API Key";
case FKFlickrPlacesPlacesForBoundingBoxError_ServiceCurrentlyUnavailable:
return @"Service currently unavailable";
case FKFlickrPlacesPlacesForBoundingBoxError_FormatXXXNotFound:
return @"Format \"xxx\" not found";
case FKFlickrPlacesPlacesForBoundingBoxError_MethodXXXNotFound:
return @"Method \"xxx\" not found";
case FKFlickrPlacesPlacesForBoundingBoxError_InvalidSOAPEnvelope:
return @"Invalid SOAP envelope";
case FKFlickrPlacesPlacesForBoundingBoxError_InvalidXMLRPCMethodCall:
return @"Invalid XML-RPC Method Call";
case FKFlickrPlacesPlacesForBoundingBoxError_BadURLFound:
return @"Bad URL found";
default:
return @"Unknown error code";
}
}
@end
================================================
FILE: Pods/FlickrKit/Classes/Model/Generated/Places/FKFlickrPlacesPlacesForContacts.h
================================================
//
// FKFlickrPlacesPlacesForContacts.h
// FlickrKit
//
// Generated by FKAPIBuilder on 12 Jun, 2013 at 17:19.
// Copyright (c) 2013 DevedUp Ltd. All rights reserved. http://www.devedup.com
//
// DO NOT MODIFY THIS FILE - IT IS MACHINE GENERATED
#import "FKFlickrAPIMethod.h"
typedef enum {
FKFlickrPlacesPlacesForContactsError_PlacesForContactsAreNotAvailableAtThisTime = 1, /* Places for contacts have been disabled or are otherwise not available. */
FKFlickrPlacesPlacesForContactsError_RequiredParameterMissing = 2, /* One or more of the required parameters was not included with your request. */
FKFlickrPlacesPlacesForContactsError_NotAValidPlaceType = 3, /* An invalid place type was included with your request. */
FKFlickrPlacesPlacesForContactsError_NotAValidPlaceID = 4, /* An invalid Places (or WOE) identifier was included with your request. */
FKFlickrPlacesPlacesForContactsError_NotAValidThreshold = 5, /* The threshold passed was invalid. */
FKFlickrPlacesPlacesForContactsError_NotAValidContactsType = 6, /* Contacts must be either "all" or "ff" (friends and family). */
FKFlickrPlacesPlacesForContactsError_InvalidSignature = 96, /* The passed signature was invalid. */
FKFlickrPlacesPlacesForContactsError_MissingSignature = 97, /* The call required signing but no signature was sent. */
FKFlickrPlacesPlacesForContactsError_LoginFailedOrInvalidAuthToken = 98, /* The login details or auth token passed were invalid. */
FKFlickrPlacesPlacesForContactsError_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. */
FKFlickrPlacesPlacesForContactsError_InvalidAPIKey = 100, /* The API key passed was not valid or has expired. */
FKFlickrPlacesPlacesForContactsError_ServiceCurrentlyUnavailable = 105, /* The requested service is temporarily unavailable. */
FKFlickrPlacesPlacesForContactsError_FormatXXXNotFound = 111, /* The requested response format was not found. */
FKFlickrPlacesPlacesForContactsError_MethodXXXNotFound = 112, /* The requested method was not found. */
FKFlickrPlacesPlacesForContactsError_InvalidSOAPEnvelope = 114, /* The SOAP envelope send in the request could not be parsed. */
FKFlickrPlacesPlacesForContactsError_InvalidXMLRPCMethodCall = 115, /* The XML-RPC request document could not be parsed. */
FKFlickrPlacesPlacesForContactsError_BadURLFound = 116, /* One or more arguments contained a URL that has been used for abuse on Flickr. */
} FKFlickrPlacesPlacesForContactsError;
/*
Return a list of the top 100 unique places clustered by a given placetype for a user's contacts.
Response:
Valid place types are :
The "place_type" argument has been deprecated in favor of the "place_type_id" argument. It won't go away but it will not be added to new methods. A complete list of place type IDs is available using the flickr.places.getPlaceTypes method. (While optional, you must pass either a valid place type or place type ID.) */
@property (nonatomic, strong) NSString *place_type;
/* The numeric ID for a specific place type to cluster photos by.
Valid place type IDs are :
(While optional, you must pass either a valid place type or place type ID.) */
@property (nonatomic, strong) NSString *place_type_id;
/* A Where on Earth identifier to use to filter photo clusters. For example all the photos clustered by locality in the United States (WOE ID 23424977).
(While optional, you must pass either a valid Places ID or a WOE ID.) */
@property (nonatomic, strong) NSString *woe_id;
/* A Flickr Places identifier to use to filter photo clusters. For example all the photos clustered by locality in the United States (Place ID 4KO02SibApitvSBieQ).
(While optional, you must pass either a valid Places ID or a WOE ID.) */
@property (nonatomic, strong) NSString *place_id;
/* The minimum number of photos that a place type must have to be included. If the number of photos is lowered then the parent place type for that place will be used.
For example if your contacts only have 3 photos taken in the locality of Montreal (WOE ID 3534) but your threshold is set to 5 then those photos will be "rolled up" and included instead with a place record for the region of Quebec (WOE ID 2344924). */
@property (nonatomic, strong) NSString *threshold;
/* Search your contacts. Either 'all' or 'ff' for just friends and family. (Default is all) */
@property (nonatomic, strong) NSString *contacts;
/* Minimum upload date. Photos with an upload date greater than or equal to this value will be returned. The date should be in the form of a unix timestamp. */
@property (nonatomic, strong) NSString *min_upload_date;
/* Maximum upload date. Photos with an upload date less than or equal to this value will be returned. The date should be in the form of a unix timestamp. */
@property (nonatomic, strong) NSString *max_upload_date;
/* Minimum taken date. Photos with an taken date greater than or equal to this value will be returned. The date should be in the form of a mysql datetime. */
@property (nonatomic, strong) NSString *min_taken_date;
/* Maximum taken date. Photos with an taken date less than or equal to this value will be returned. The date should be in the form of a mysql datetime. */
@property (nonatomic, strong) NSString *max_taken_date;
@end
================================================
FILE: Pods/FlickrKit/Classes/Model/Generated/Places/FKFlickrPlacesPlacesForContacts.m
================================================
//
// FKFlickrPlacesPlacesForContacts.m
// FlickrKit
//
// Generated by FKAPIBuilder on 12 Jun, 2013 at 17:19.
// Copyright (c) 2013 DevedUp Ltd. All rights reserved. http://www.devedup.com
//
// DO NOT MODIFY THIS FILE - IT IS MACHINE GENERATED
#import "FKFlickrPlacesPlacesForContacts.h"
@implementation FKFlickrPlacesPlacesForContacts
- (BOOL) needsLogin {
return YES;
}
- (BOOL) needsSigning {
return YES;
}
- (FKPermission) requiredPerms {
return 0;
}
- (NSString *) name {
return @"flickr.places.placesForContacts";
}
- (BOOL) isValid:(NSError **)error {
BOOL valid = YES;
NSMutableString *errorDescription = [[NSMutableString alloc] initWithString:@"You are missing required params: "];
if(error != NULL) {
if(!valid) {
NSDictionary *userInfo = @{NSLocalizedDescriptionKey: errorDescription};
*error = [NSError errorWithDomain:FKFlickrKitErrorDomain code:FKErrorInvalidArgs userInfo:userInfo];
}
}
return valid;
}
- (NSDictionary *) args {
NSMutableDictionary *args = [NSMutableDictionary dictionary];
if(self.place_type) {
[args setValue:self.place_type forKey:@"place_type"];
}
if(self.place_type_id) {
[args setValue:self.place_type_id forKey:@"place_type_id"];
}
if(self.woe_id) {
[args setValue:self.woe_id forKey:@"woe_id"];
}
if(self.place_id) {
[args setValue:self.place_id forKey:@"place_id"];
}
if(self.threshold) {
[args setValue:self.threshold forKey:@"threshold"];
}
if(self.contacts) {
[args setValue:self.contacts forKey:@"contacts"];
}
if(self.min_upload_date) {
[args setValue:self.min_upload_date forKey:@"min_upload_date"];
}
if(self.max_upload_date) {
[args setValue:self.max_upload_date forKey:@"max_upload_date"];
}
if(self.min_taken_date) {
[args setValue:self.min_taken_date forKey:@"min_taken_date"];
}
if(self.max_taken_date) {
[args setValue:self.max_taken_date forKey:@"max_taken_date"];
}
return [args copy];
}
- (NSString *) descriptionForError:(NSInteger)error {
switch(error) {
case FKFlickrPlacesPlacesForContactsError_PlacesForContactsAreNotAvailableAtThisTime:
return @"Places for contacts are not available at this time";
case FKFlickrPlacesPlacesForContactsError_RequiredParameterMissing:
return @"Required parameter missing";
case FKFlickrPlacesPlacesForContactsError_NotAValidPlaceType:
return @"Not a valid place type.";
case FKFlickrPlacesPlacesForContactsError_NotAValidPlaceID:
return @"Not a valid Place ID";
case FKFlickrPlacesPlacesForContactsError_NotAValidThreshold:
return @"Not a valid threshold";
case FKFlickrPlacesPlacesForContactsError_NotAValidContactsType:
return @"Not a valid contacts type";
case FKFlickrPlacesPlacesForContactsError_InvalidSignature:
return @"Invalid signature";
case FKFlickrPlacesPlacesForContactsError_MissingSignature:
return @"Missing signature";
case FKFlickrPlacesPlacesForContactsError_LoginFailedOrInvalidAuthToken:
return @"Login failed / Invalid auth token";
case FKFlickrPlacesPlacesForContactsError_UserNotLoggedInOrInsufficientPermissions:
return @"User not logged in / Insufficient permissions";
case FKFlickrPlacesPlacesForContactsError_InvalidAPIKey:
return @"Invalid API Key";
case FKFlickrPlacesPlacesForContactsError_ServiceCurrentlyUnavailable:
return @"Service currently unavailable";
case FKFlickrPlacesPlacesForContactsError_FormatXXXNotFound:
return @"Format \"xxx\" not found";
case FKFlickrPlacesPlacesForContactsError_MethodXXXNotFound:
return @"Method \"xxx\" not found";
case FKFlickrPlacesPlacesForContactsError_InvalidSOAPEnvelope:
return @"Invalid SOAP envelope";
case FKFlickrPlacesPlacesForContactsError_InvalidXMLRPCMethodCall:
return @"Invalid XML-RPC Method Call";
case FKFlickrPlacesPlacesForContactsError_BadURLFound:
return @"Bad URL found";
default:
return @"Unknown error code";
}
}
@end
================================================
FILE: Pods/FlickrKit/Classes/Model/Generated/Places/FKFlickrPlacesPlacesForTags.h
================================================
//
// FKFlickrPlacesPlacesForTags.h
// FlickrKit
//
// Generated by FKAPIBuilder on 12 Jun, 2013 at 17:19.
// Copyright (c) 2013 DevedUp Ltd. All rights reserved. http://www.devedup.com
//
// DO NOT MODIFY THIS FILE - IT IS MACHINE GENERATED
#import "FKFlickrAPIMethod.h"
typedef enum {
FKFlickrPlacesPlacesForTagsError_InvalidAPIKey = 100, /* The API key passed was not valid or has expired. */
FKFlickrPlacesPlacesForTagsError_ServiceCurrentlyUnavailable = 105, /* The requested service is temporarily unavailable. */
FKFlickrPlacesPlacesForTagsError_FormatXXXNotFound = 111, /* The requested response format was not found. */
FKFlickrPlacesPlacesForTagsError_MethodXXXNotFound = 112, /* The requested method was not found. */
FKFlickrPlacesPlacesForTagsError_InvalidSOAPEnvelope = 114, /* The SOAP envelope send in the request could not be parsed. */
FKFlickrPlacesPlacesForTagsError_InvalidXMLRPCMethodCall = 115, /* The XML-RPC request document could not be parsed. */
FKFlickrPlacesPlacesForTagsError_BadURLFound = 116, /* One or more arguments contained a URL that has been used for abuse on Flickr. */
} FKFlickrPlacesPlacesForTagsError;
/*
Return a list of the top 100 unique places clustered by a given placetype for set of tags or machine tags.
Response:
Valid place type IDs are :
*/
@property (nonatomic, strong) NSString *place_type_id; /* (Required) */
/* A Where on Earth identifier to use to filter photo clusters. For example all the photos clustered by locality in the United States (WOE ID 23424977).
(While optional, you must pass either a valid Places ID or a WOE ID.) */
@property (nonatomic, strong) NSString *woe_id;
/* A Flickr Places identifier to use to filter photo clusters. For example all the photos clustered by locality in the United States (Place ID 4KO02SibApitvSBieQ).
(While optional, you must pass either a valid Places ID or a WOE ID.) */
@property (nonatomic, strong) NSString *place_id;
/* The minimum number of photos that a place type must have to be included. If the number of photos is lowered then the parent place type for that place will be used.
For example if you only have 3 photos taken in the locality of Montreal (WOE ID 3534) but your threshold is set to 5 then those photos will be "rolled up" and included instead with a place record for the region of Quebec (WOE ID 2344924). */
@property (nonatomic, strong) NSString *threshold;
/* A comma-delimited list of tags. Photos with one or more of the tags listed will be returned. */
@property (nonatomic, strong) NSString *tags;
/* Either 'any' for an OR combination of tags, or 'all' for an AND combination. Defaults to 'any' if not specified. */
@property (nonatomic, strong) NSString *tag_mode;
/* Aside from passing in a fully formed machine tag, there is a special syntax for searching on specific properties :
Multiple machine tags may be queried by passing a comma-separated list. The number of machine tags you can pass in a single query depends on the tag mode (AND or OR) that you are querying with. "AND" queries are limited to (16) machine tags. "OR" queries are limited
to (8). */
@property (nonatomic, strong) NSString *machine_tags;
/* Either 'any' for an OR combination of tags, or 'all' for an AND combination. Defaults to 'any' if not specified. */
@property (nonatomic, strong) NSString *machine_tag_mode;
/* Minimum upload date. Photos with an upload date greater than or equal to this value will be returned. The date should be in the form of a unix timestamp. */
@property (nonatomic, strong) NSString *min_upload_date;
/* Maximum upload date. Photos with an upload date less than or equal to this value will be returned. The date should be in the form of a unix timestamp. */
@property (nonatomic, strong) NSString *max_upload_date;
/* Minimum taken date. Photos with an taken date greater than or equal to this value will be returned. The date should be in the form of a mysql datetime. */
@property (nonatomic, strong) NSString *min_taken_date;
/* Maximum taken date. Photos with an taken date less than or equal to this value will be returned. The date should be in the form of a mysql datetime. */
@property (nonatomic, strong) NSString *max_taken_date;
@end
================================================
FILE: Pods/FlickrKit/Classes/Model/Generated/Places/FKFlickrPlacesPlacesForTags.m
================================================
//
// FKFlickrPlacesPlacesForTags.m
// FlickrKit
//
// Generated by FKAPIBuilder on 12 Jun, 2013 at 17:19.
// Copyright (c) 2013 DevedUp Ltd. All rights reserved. http://www.devedup.com
//
// DO NOT MODIFY THIS FILE - IT IS MACHINE GENERATED
#import "FKFlickrPlacesPlacesForTags.h"
@implementation FKFlickrPlacesPlacesForTags
- (BOOL) needsLogin {
return NO;
}
- (BOOL) needsSigning {
return NO;
}
- (FKPermission) requiredPerms {
return -1;
}
- (NSString *) name {
return @"flickr.places.placesForTags";
}
- (BOOL) isValid:(NSError **)error {
BOOL valid = YES;
NSMutableString *errorDescription = [[NSMutableString alloc] initWithString:@"You are missing required params: "];
if(!self.place_type_id) {
valid = NO;
[errorDescription appendString:@"'place_type_id', "];
}
if(error != NULL) {
if(!valid) {
NSDictionary *userInfo = @{NSLocalizedDescriptionKey: errorDescription};
*error = [NSError errorWithDomain:FKFlickrKitErrorDomain code:FKErrorInvalidArgs userInfo:userInfo];
}
}
return valid;
}
- (NSDictionary *) args {
NSMutableDictionary *args = [NSMutableDictionary dictionary];
if(self.place_type_id) {
[args setValue:self.place_type_id forKey:@"place_type_id"];
}
if(self.woe_id) {
[args setValue:self.woe_id forKey:@"woe_id"];
}
if(self.place_id) {
[args setValue:self.place_id forKey:@"place_id"];
}
if(self.threshold) {
[args setValue:self.threshold forKey:@"threshold"];
}
if(self.tags) {
[args setValue:self.tags forKey:@"tags"];
}
if(self.tag_mode) {
[args setValue:self.tag_mode forKey:@"tag_mode"];
}
if(self.machine_tags) {
[args setValue:self.machine_tags forKey:@"machine_tags"];
}
if(self.machine_tag_mode) {
[args setValue:self.machine_tag_mode forKey:@"machine_tag_mode"];
}
if(self.min_upload_date) {
[args setValue:self.min_upload_date forKey:@"min_upload_date"];
}
if(self.max_upload_date) {
[args setValue:self.max_upload_date forKey:@"max_upload_date"];
}
if(self.min_taken_date) {
[args setValue:self.min_taken_date forKey:@"min_taken_date"];
}
if(self.max_taken_date) {
[args setValue:self.max_taken_date forKey:@"max_taken_date"];
}
return [args copy];
}
- (NSString *) descriptionForError:(NSInteger)error {
switch(error) {
case FKFlickrPlacesPlacesForTagsError_InvalidAPIKey:
return @"Invalid API Key";
case FKFlickrPlacesPlacesForTagsError_ServiceCurrentlyUnavailable:
return @"Service currently unavailable";
case FKFlickrPlacesPlacesForTagsError_FormatXXXNotFound:
return @"Format \"xxx\" not found";
case FKFlickrPlacesPlacesForTagsError_MethodXXXNotFound:
return @"Method \"xxx\" not found";
case FKFlickrPlacesPlacesForTagsError_InvalidSOAPEnvelope:
return @"Invalid SOAP envelope";
case FKFlickrPlacesPlacesForTagsError_InvalidXMLRPCMethodCall:
return @"Invalid XML-RPC Method Call";
case FKFlickrPlacesPlacesForTagsError_BadURLFound:
return @"Bad URL found";
default:
return @"Unknown error code";
}
}
@end
================================================
FILE: Pods/FlickrKit/Classes/Model/Generated/Places/FKFlickrPlacesPlacesForUser.h
================================================
//
// FKFlickrPlacesPlacesForUser.h
// FlickrKit
//
// Generated by FKAPIBuilder on 12 Jun, 2013 at 17:19.
// Copyright (c) 2013 DevedUp Ltd. All rights reserved. http://www.devedup.com
//
// DO NOT MODIFY THIS FILE - IT IS MACHINE GENERATED
#import "FKFlickrAPIMethod.h"
typedef enum {
FKFlickrPlacesPlacesForUserError_PlacesForUserAreNotAvailableAtThisTime = 1, /* Places for user have been disabled or are otherwise not available. */
FKFlickrPlacesPlacesForUserError_RequiredParameterMissing = 2, /* One or more of the required parameters was not included with your request. */
FKFlickrPlacesPlacesForUserError_NotAValidPlaceType = 3, /* An invalid place type was included with your request. */
FKFlickrPlacesPlacesForUserError_NotAValidPlaceID = 4, /* An invalid Places (or WOE) identifier was included with your request. */
FKFlickrPlacesPlacesForUserError_NotAValidThreshold = 5, /* The threshold passed was invalid. */
FKFlickrPlacesPlacesForUserError_InvalidSignature = 96, /* The passed signature was invalid. */
FKFlickrPlacesPlacesForUserError_MissingSignature = 97, /* The call required signing but no signature was sent. */
FKFlickrPlacesPlacesForUserError_LoginFailedOrInvalidAuthToken = 98, /* The login details or auth token passed were invalid. */
FKFlickrPlacesPlacesForUserError_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. */
FKFlickrPlacesPlacesForUserError_InvalidAPIKey = 100, /* The API key passed was not valid or has expired. */
FKFlickrPlacesPlacesForUserError_ServiceCurrentlyUnavailable = 105, /* The requested service is temporarily unavailable. */
FKFlickrPlacesPlacesForUserError_FormatXXXNotFound = 111, /* The requested response format was not found. */
FKFlickrPlacesPlacesForUserError_MethodXXXNotFound = 112, /* The requested method was not found. */
FKFlickrPlacesPlacesForUserError_InvalidSOAPEnvelope = 114, /* The SOAP envelope send in the request could not be parsed. */
FKFlickrPlacesPlacesForUserError_InvalidXMLRPCMethodCall = 115, /* The XML-RPC request document could not be parsed. */
FKFlickrPlacesPlacesForUserError_BadURLFound = 116, /* One or more arguments contained a URL that has been used for abuse on Flickr. */
} FKFlickrPlacesPlacesForUserError;
/*
Return a list of the top 100 unique places clustered by a given placetype for a user.
Response:
"machine_tags" => "dc:""machine_tags" => "dc:title=""machine_tags" => "dc:title=\"mr. camera\""machine_tags" => "*:*=\"mr. camera\"""machine_tags" => "*:title=""machine_tags" => "*:title=\"mr. camera\"""machine_tags" => "dc:*=\"mr. camera\""
Valid place type IDs are :
The "place_type" argument has been deprecated in favor of the "place_type_id" argument. It won't go away but it will not be added to new methods. A complete list of place type IDs is available using the flickr.places.getPlaceTypes method. (While optional, you must pass either a valid place type or place type ID.) */
@property (nonatomic, strong) NSString *place_type_id;
/* A specific place type to cluster photos by.
Valid place types are :
(While optional, you must pass either a valid place type or place type ID.) */
@property (nonatomic, strong) NSString *place_type;
/* A Where on Earth identifier to use to filter photo clusters. For example all the photos clustered by locality in the United States (WOE ID 23424977).
(While optional, you must pass either a valid Places ID or a WOE ID.) */
@property (nonatomic, strong) NSString *woe_id;
/* A Flickr Places identifier to use to filter photo clusters. For example all the photos clustered by locality in the United States (Place ID 4KO02SibApitvSBieQ).
(While optional, you must pass either a valid Places ID or a WOE ID.) */
@property (nonatomic, strong) NSString *place_id;
/* The minimum number of photos that a place type must have to be included. If the number of photos is lowered then the parent place type for that place will be used.
For example if you only have 3 photos taken in the locality of Montreal (WOE ID 3534) but your threshold is set to 5 then those photos will be "rolled up" and included instead with a place record for the region of Quebec (WOE ID 2344924). */
@property (nonatomic, strong) NSString *threshold;
/* Minimum upload date. Photos with an upload date greater than or equal to this value will be returned. The date should be in the form of a unix timestamp. */
@property (nonatomic, strong) NSString *min_upload_date;
/* Maximum upload date. Photos with an upload date less than or equal to this value will be returned. The date should be in the form of a unix timestamp. */
@property (nonatomic, strong) NSString *max_upload_date;
/* Minimum taken date. Photos with an taken date greater than or equal to this value will be returned. The date should be in the form of a mysql datetime. */
@property (nonatomic, strong) NSString *min_taken_date;
/* Maximum taken date. Photos with an taken date less than or equal to this value will be returned. The date should be in the form of a mysql datetime. */
@property (nonatomic, strong) NSString *max_taken_date;
@end
================================================
FILE: Pods/FlickrKit/Classes/Model/Generated/Places/FKFlickrPlacesPlacesForUser.m
================================================
//
// FKFlickrPlacesPlacesForUser.m
// FlickrKit
//
// Generated by FKAPIBuilder on 12 Jun, 2013 at 17:19.
// Copyright (c) 2013 DevedUp Ltd. All rights reserved. http://www.devedup.com
//
// DO NOT MODIFY THIS FILE - IT IS MACHINE GENERATED
#import "FKFlickrPlacesPlacesForUser.h"
@implementation FKFlickrPlacesPlacesForUser
- (BOOL) needsLogin {
return YES;
}
- (BOOL) needsSigning {
return YES;
}
- (FKPermission) requiredPerms {
return 0;
}
- (NSString *) name {
return @"flickr.places.placesForUser";
}
- (BOOL) isValid:(NSError **)error {
BOOL valid = YES;
NSMutableString *errorDescription = [[NSMutableString alloc] initWithString:@"You are missing required params: "];
if(error != NULL) {
if(!valid) {
NSDictionary *userInfo = @{NSLocalizedDescriptionKey: errorDescription};
*error = [NSError errorWithDomain:FKFlickrKitErrorDomain code:FKErrorInvalidArgs userInfo:userInfo];
}
}
return valid;
}
- (NSDictionary *) args {
NSMutableDictionary *args = [NSMutableDictionary dictionary];
if(self.place_type_id) {
[args setValue:self.place_type_id forKey:@"place_type_id"];
}
if(self.place_type) {
[args setValue:self.place_type forKey:@"place_type"];
}
if(self.woe_id) {
[args setValue:self.woe_id forKey:@"woe_id"];
}
if(self.place_id) {
[args setValue:self.place_id forKey:@"place_id"];
}
if(self.threshold) {
[args setValue:self.threshold forKey:@"threshold"];
}
if(self.min_upload_date) {
[args setValue:self.min_upload_date forKey:@"min_upload_date"];
}
if(self.max_upload_date) {
[args setValue:self.max_upload_date forKey:@"max_upload_date"];
}
if(self.min_taken_date) {
[args setValue:self.min_taken_date forKey:@"min_taken_date"];
}
if(self.max_taken_date) {
[args setValue:self.max_taken_date forKey:@"max_taken_date"];
}
return [args copy];
}
- (NSString *) descriptionForError:(NSInteger)error {
switch(error) {
case FKFlickrPlacesPlacesForUserError_PlacesForUserAreNotAvailableAtThisTime:
return @"Places for user are not available at this time";
case FKFlickrPlacesPlacesForUserError_RequiredParameterMissing:
return @"Required parameter missing";
case FKFlickrPlacesPlacesForUserError_NotAValidPlaceType:
return @"Not a valid place type";
case FKFlickrPlacesPlacesForUserError_NotAValidPlaceID:
return @"Not a valid Place ID";
case FKFlickrPlacesPlacesForUserError_NotAValidThreshold:
return @"Not a valid threshold";
case FKFlickrPlacesPlacesForUserError_InvalidSignature:
return @"Invalid signature";
case FKFlickrPlacesPlacesForUserError_MissingSignature:
return @"Missing signature";
case FKFlickrPlacesPlacesForUserError_LoginFailedOrInvalidAuthToken:
return @"Login failed / Invalid auth token";
case FKFlickrPlacesPlacesForUserError_UserNotLoggedInOrInsufficientPermissions:
return @"User not logged in / Insufficient permissions";
case FKFlickrPlacesPlacesForUserError_InvalidAPIKey:
return @"Invalid API Key";
case FKFlickrPlacesPlacesForUserError_ServiceCurrentlyUnavailable:
return @"Service currently unavailable";
case FKFlickrPlacesPlacesForUserError_FormatXXXNotFound:
return @"Format \"xxx\" not found";
case FKFlickrPlacesPlacesForUserError_MethodXXXNotFound:
return @"Method \"xxx\" not found";
case FKFlickrPlacesPlacesForUserError_InvalidSOAPEnvelope:
return @"Invalid SOAP envelope";
case FKFlickrPlacesPlacesForUserError_InvalidXMLRPCMethodCall:
return @"Invalid XML-RPC Method Call";
case FKFlickrPlacesPlacesForUserError_BadURLFound:
return @"Bad URL found";
default:
return @"Unknown error code";
}
}
@end
================================================
FILE: Pods/FlickrKit/Classes/Model/Generated/Places/FKFlickrPlacesResolvePlaceId.h
================================================
//
// FKFlickrPlacesResolvePlaceId.h
// FlickrKit
//
// Generated by FKAPIBuilder on 12 Jun, 2013 at 17:19.
// Copyright (c) 2013 DevedUp Ltd. All rights reserved. http://www.devedup.com
//
// DO NOT MODIFY THIS FILE - IT IS MACHINE GENERATED
#import "FKFlickrAPIMethod.h"
typedef enum {
FKFlickrPlacesResolvePlaceIdError_PlaceIDRequired = 2, /* */
FKFlickrPlacesResolvePlaceIdError_PlaceNotFound = 3, /* */
FKFlickrPlacesResolvePlaceIdError_InvalidAPIKey = 100, /* The API key passed was not valid or has expired. */
FKFlickrPlacesResolvePlaceIdError_ServiceCurrentlyUnavailable = 105, /* The requested service is temporarily unavailable. */
FKFlickrPlacesResolvePlaceIdError_FormatXXXNotFound = 111, /* The requested response format was not found. */
FKFlickrPlacesResolvePlaceIdError_MethodXXXNotFound = 112, /* The requested method was not found. */
FKFlickrPlacesResolvePlaceIdError_InvalidSOAPEnvelope = 114, /* The SOAP envelope send in the request could not be parsed. */
FKFlickrPlacesResolvePlaceIdError_InvalidXMLRPCMethodCall = 115, /* The XML-RPC request document could not be parsed. */
FKFlickrPlacesResolvePlaceIdError_BadURLFound = 116, /* One or more arguments contained a URL that has been used for abuse on Flickr. */
} FKFlickrPlacesResolvePlaceIdError;
/*
Find Flickr Places information by Place ID.
This method has been deprecated. It won't be removed but you should use flickr.places.getInfo instead.
Response:
This method has been deprecated. It won't be removed but you should use flickr.places.getInfoByUrl instead.
Response:
Flickr Place URLs are of the form /country/region/city */
@property (nonatomic, strong) NSString *url; /* (Required) */
@end
================================================
FILE: Pods/FlickrKit/Classes/Model/Generated/Places/FKFlickrPlacesResolvePlaceURL.m
================================================
//
// FKFlickrPlacesResolvePlaceURL.m
// FlickrKit
//
// Generated by FKAPIBuilder on 12 Jun, 2013 at 17:19.
// Copyright (c) 2013 DevedUp Ltd. All rights reserved. http://www.devedup.com
//
// DO NOT MODIFY THIS FILE - IT IS MACHINE GENERATED
#import "FKFlickrPlacesResolvePlaceURL.h"
@implementation FKFlickrPlacesResolvePlaceURL
- (BOOL) needsLogin {
return NO;
}
- (BOOL) needsSigning {
return NO;
}
- (FKPermission) requiredPerms {
return -1;
}
- (NSString *) name {
return @"flickr.places.resolvePlaceURL";
}
- (BOOL) isValid:(NSError **)error {
BOOL valid = YES;
NSMutableString *errorDescription = [[NSMutableString alloc] initWithString:@"You are missing required params: "];
if(!self.url) {
valid = NO;
[errorDescription appendString:@"'url', "];
}
if(error != NULL) {
if(!valid) {
NSDictionary *userInfo = @{NSLocalizedDescriptionKey: errorDescription};
*error = [NSError errorWithDomain:FKFlickrKitErrorDomain code:FKErrorInvalidArgs userInfo:userInfo];
}
}
return valid;
}
- (NSDictionary *) args {
NSMutableDictionary *args = [NSMutableDictionary dictionary];
if(self.url) {
[args setValue:self.url forKey:@"url"];
}
return [args copy];
}
- (NSString *) descriptionForError:(NSInteger)error {
switch(error) {
case FKFlickrPlacesResolvePlaceURLError_PlaceURLRequired:
return @"Place URL required.";
case FKFlickrPlacesResolvePlaceURLError_PlaceNotFound:
return @"Place not found.";
case FKFlickrPlacesResolvePlaceURLError_InvalidAPIKey:
return @"Invalid API Key";
case FKFlickrPlacesResolvePlaceURLError_ServiceCurrentlyUnavailable:
return @"Service currently unavailable";
case FKFlickrPlacesResolvePlaceURLError_FormatXXXNotFound:
return @"Format \"xxx\" not found";
case FKFlickrPlacesResolvePlaceURLError_MethodXXXNotFound:
return @"Method \"xxx\" not found";
case FKFlickrPlacesResolvePlaceURLError_InvalidSOAPEnvelope:
return @"Invalid SOAP envelope";
case FKFlickrPlacesResolvePlaceURLError_InvalidXMLRPCMethodCall:
return @"Invalid XML-RPC Method Call";
case FKFlickrPlacesResolvePlaceURLError_BadURLFound:
return @"Bad URL found";
default:
return @"Unknown error code";
}
}
@end
================================================
FILE: Pods/FlickrKit/Classes/Model/Generated/Places/FKFlickrPlacesTagsForPlace.h
================================================
//
// FKFlickrPlacesTagsForPlace.h
// FlickrKit
//
// Generated by FKAPIBuilder on 12 Jun, 2013 at 17:19.
// Copyright (c) 2013 DevedUp Ltd. All rights reserved. http://www.devedup.com
//
// DO NOT MODIFY THIS FILE - IT IS MACHINE GENERATED
#import "FKFlickrAPIMethod.h"
typedef enum {
FKFlickrPlacesTagsForPlaceError_RequiredParameterMissing = 1, /* One or more parameters was not included with the API request */
FKFlickrPlacesTagsForPlaceError_NotAValidPlacesID = 2, /* An invalid Places (or WOE) identifier was included with your request. */
FKFlickrPlacesTagsForPlaceError_PlaceNotFound = 3, /* An invalid Places (or WOE) identifier was included with your request. */
FKFlickrPlacesTagsForPlaceError_InvalidAPIKey = 100, /* The API key passed was not valid or has expired. */
FKFlickrPlacesTagsForPlaceError_ServiceCurrentlyUnavailable = 105, /* The requested service is temporarily unavailable. */
FKFlickrPlacesTagsForPlaceError_FormatXXXNotFound = 111, /* The requested response format was not found. */
FKFlickrPlacesTagsForPlaceError_MethodXXXNotFound = 112, /* The requested method was not found. */
FKFlickrPlacesTagsForPlaceError_InvalidSOAPEnvelope = 114, /* The SOAP envelope send in the request could not be parsed. */
FKFlickrPlacesTagsForPlaceError_InvalidXMLRPCMethodCall = 115, /* The XML-RPC request document could not be parsed. */
FKFlickrPlacesTagsForPlaceError_BadURLFound = 116, /* One or more arguments contained a URL that has been used for abuse on Flickr. */
} FKFlickrPlacesTagsForPlaceError;
/*
Return a list of the top 100 unique tags for a Flickr Places or Where on Earth (WOE) ID
Response:
(While optional, you must pass either a valid Places ID or a WOE ID.) */
@property (nonatomic, strong) NSString *woe_id;
/* A Flickr Places identifier to use to filter photo clusters.
(While optional, you must pass either a valid Places ID or a WOE ID.) */
@property (nonatomic, strong) NSString *place_id;
/* Minimum upload date. Photos with an upload date greater than or equal to this value will be returned. The date should be in the form of a unix timestamp. */
@property (nonatomic, strong) NSString *min_upload_date;
/* Maximum upload date. Photos with an upload date less than or equal to this value will be returned. The date should be in the form of a unix timestamp. */
@property (nonatomic, strong) NSString *max_upload_date;
/* Minimum taken date. Photos with an taken date greater than or equal to this value will be returned. The date should be in the form of a mysql datetime. */
@property (nonatomic, strong) NSString *min_taken_date;
/* Maximum taken date. Photos with an taken date less than or equal to this value will be returned. The date should be in the form of a mysql datetime. */
@property (nonatomic, strong) NSString *max_taken_date;
@end
================================================
FILE: Pods/FlickrKit/Classes/Model/Generated/Places/FKFlickrPlacesTagsForPlace.m
================================================
//
// FKFlickrPlacesTagsForPlace.m
// FlickrKit
//
// Generated by FKAPIBuilder on 12 Jun, 2013 at 17:19.
// Copyright (c) 2013 DevedUp Ltd. All rights reserved. http://www.devedup.com
//
// DO NOT MODIFY THIS FILE - IT IS MACHINE GENERATED
#import "FKFlickrPlacesTagsForPlace.h"
@implementation FKFlickrPlacesTagsForPlace
- (BOOL) needsLogin {
return NO;
}
- (BOOL) needsSigning {
return NO;
}
- (FKPermission) requiredPerms {
return -1;
}
- (NSString *) name {
return @"flickr.places.tagsForPlace";
}
- (BOOL) isValid:(NSError **)error {
BOOL valid = YES;
NSMutableString *errorDescription = [[NSMutableString alloc] initWithString:@"You are missing required params: "];
if(error != NULL) {
if(!valid) {
NSDictionary *userInfo = @{NSLocalizedDescriptionKey: errorDescription};
*error = [NSError errorWithDomain:FKFlickrKitErrorDomain code:FKErrorInvalidArgs userInfo:userInfo];
}
}
return valid;
}
- (NSDictionary *) args {
NSMutableDictionary *args = [NSMutableDictionary dictionary];
if(self.woe_id) {
[args setValue:self.woe_id forKey:@"woe_id"];
}
if(self.place_id) {
[args setValue:self.place_id forKey:@"place_id"];
}
if(self.min_upload_date) {
[args setValue:self.min_upload_date forKey:@"min_upload_date"];
}
if(self.max_upload_date) {
[args setValue:self.max_upload_date forKey:@"max_upload_date"];
}
if(self.min_taken_date) {
[args setValue:self.min_taken_date forKey:@"min_taken_date"];
}
if(self.max_taken_date) {
[args setValue:self.max_taken_date forKey:@"max_taken_date"];
}
return [args copy];
}
- (NSString *) descriptionForError:(NSInteger)error {
switch(error) {
case FKFlickrPlacesTagsForPlaceError_RequiredParameterMissing:
return @"Required parameter missing";
case FKFlickrPlacesTagsForPlaceError_NotAValidPlacesID:
return @"Not a valid Places ID";
case FKFlickrPlacesTagsForPlaceError_PlaceNotFound:
return @"Place not found";
case FKFlickrPlacesTagsForPlaceError_InvalidAPIKey:
return @"Invalid API Key";
case FKFlickrPlacesTagsForPlaceError_ServiceCurrentlyUnavailable:
return @"Service currently unavailable";
case FKFlickrPlacesTagsForPlaceError_FormatXXXNotFound:
return @"Format \"xxx\" not found";
case FKFlickrPlacesTagsForPlaceError_MethodXXXNotFound:
return @"Method \"xxx\" not found";
case FKFlickrPlacesTagsForPlaceError_InvalidSOAPEnvelope:
return @"Invalid SOAP envelope";
case FKFlickrPlacesTagsForPlaceError_InvalidXMLRPCMethodCall:
return @"Invalid XML-RPC Method Call";
case FKFlickrPlacesTagsForPlaceError_BadURLFound:
return @"Bad URL found";
default:
return @"Unknown error code";
}
}
@end
================================================
FILE: Pods/FlickrKit/Classes/Model/Generated/Prefs/FKFlickrPrefsGetContentType.h
================================================
//
// FKFlickrPrefsGetContentType.h
// FlickrKit
//
// Generated by FKAPIBuilder on 12 Jun, 2013 at 17:19.
// Copyright (c) 2013 DevedUp Ltd. All rights reserved. http://www.devedup.com
//
// DO NOT MODIFY THIS FILE - IT IS MACHINE GENERATED
#import "FKFlickrAPIMethod.h"
typedef enum {
FKFlickrPrefsGetContentTypeError_InvalidSignature = 96, /* The passed signature was invalid. */
FKFlickrPrefsGetContentTypeError_MissingSignature = 97, /* The call required signing but no signature was sent. */
FKFlickrPrefsGetContentTypeError_LoginFailedOrInvalidAuthToken = 98, /* The login details or auth token passed were invalid. */
FKFlickrPrefsGetContentTypeError_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. */
FKFlickrPrefsGetContentTypeError_InvalidAPIKey = 100, /* The API key passed was not valid or has expired. */
FKFlickrPrefsGetContentTypeError_ServiceCurrentlyUnavailable = 105, /* The requested service is temporarily unavailable. */
FKFlickrPrefsGetContentTypeError_FormatXXXNotFound = 111, /* The requested response format was not found. */
FKFlickrPrefsGetContentTypeError_MethodXXXNotFound = 112, /* The requested method was not found. */
FKFlickrPrefsGetContentTypeError_InvalidSOAPEnvelope = 114, /* The SOAP envelope send in the request could not be parsed. */
FKFlickrPrefsGetContentTypeError_InvalidXMLRPCMethodCall = 115, /* The XML-RPC request document could not be parsed. */
FKFlickrPrefsGetContentTypeError_BadURLFound = 116, /* One or more arguments contained a URL that has been used for abuse on Flickr. */
} FKFlickrPrefsGetContentTypeError;
/*
Returns the default content type preference for the user.
Response:
Users can edit this preference at http://www.flickr.com/account/geo/privacy/.
Possible values for whether or not geo-related EXIF information will be used to geotag a photo are:
Users can edit this preference at http://www.flickr.com/account/geo/exif/?from=privacy
Response:
Response:
(this method is experimental and may change)
Response:
(this method is experimental and may change)
Response:
(this method is experimental and may change)
*/
@interface FKFlickrPushSubscribe : NSObject sync or async. See the Google PubSubHubbub spec for details. */
@property (nonatomic, strong) NSString *verify; /* (Required) */
/* The verification token to be echoed back to the subscriber during the verification callback, as per the Google PubSubHubbub spec. Limited to 200 bytes. */
@property (nonatomic, strong) NSString *verify_token;
/* Number of seconds for which the subscription will be valid. Legal values are 60 to 86400 (1 minute to 1 day). If not present, the subscription will be auto-renewing. */
@property (nonatomic, strong) NSString *lease_seconds;
/* A 32-bit integer for a Where on Earth ID. Only valid if topic is geo.
The order of precedence for geo subscriptions is : woe ids, place ids, radial i.e. the lat, lon parameters will be ignored if place_ids is present, which will be ignored if woe_ids is present. */
@property (nonatomic, strong) NSString *woe_ids;
/* A comma-separated list of Flickr place IDs. Only valid if topic is geo.
The order of precedence for geo subscriptions is : woe ids, place ids, radial i.e. the lat, lon parameters will be ignored if place_ids is present, which will be ignored if woe_ids is present. */
@property (nonatomic, strong) NSString *place_ids;
/* A latitude value, in decimal format. Only valid if topic is geo. Defines the latitude for a radial query centered around (lat, lon).
The order of precedence for geo subscriptions is : woe ids, place ids, radial i.e. the lat, lon parameters will be ignored if place_ids is present, which will be ignored if woe_ids is present. */
@property (nonatomic, strong) NSString *lat;
/* A longitude value, in decimal format. Only valid if topic is geo. Defines the longitude for a radial query centered around (lat, lon).
The order of precedence for geo subscriptions is : woe ids, place ids, radial i.e. the lat, lon parameters will be ignored if place_ids is present, which will be ignored if woe_ids is present. */
@property (nonatomic, strong) NSString *lon;
/* A radius value, in the units defined by radius_units. Only valid if topic is geo. Defines the radius of a circle for a radial query centered around (lat, lon). Default is 5 km.
The order of precedence for geo subscriptions is : woe ids, place ids, radial i.e. the lat, lon parameters will be ignored if place_ids is present, which will be ignored if woe_ids is present. */
@property (nonatomic, strong) NSString *radius;
/* Defines the units for the radius parameter. Only valid if topic is geo. Options are mi and km. Default is km.
The order of precedence for geo subscriptions is : woe ids, place ids, radial i.e. the lat, lon parameters will be ignored if place_ids is present, which will be ignored if woe_ids is present. */
@property (nonatomic, strong) NSString *radius_units;
/* Defines the minimum accuracy required for photos to be included in a subscription. Only valid if topic is geo Legal values are 1-16, default is 1 (i.e. any accuracy level).
*/
@property (nonatomic, strong) NSString *accuracy;
/* A comma-separated list of nsids representing Flickr Commons institutions (see flickr.commons.getInstitutions). Only valid if topic is commons. If not present this argument defaults to all Flickr Commons institutions. */
@property (nonatomic, strong) NSString *nsids;
/* A comma-separated list of strings to be used for tag subscriptions. Photos with one or more of the tags listed will be included in the subscription. Only valid if the topic is tags. */
@property (nonatomic, strong) NSString *tags;
/* A comma-separated list of strings to be used for machine tag subscriptions. Photos with one or more of the machine tags listed will be included in the subscription. Currently the format must be namespace:tag_name=value Only valid if the topic is tags. */
@property (nonatomic, strong) NSString *machine_tags;
/* */
@property (nonatomic, strong) NSString *update_type;
/* */
@property (nonatomic, strong) NSString *output_format;
/* */
@property (nonatomic, strong) NSString *mailto;
@end
================================================
FILE: Pods/FlickrKit/Classes/Model/Generated/Push/FKFlickrPushSubscribe.m
================================================
//
// FKFlickrPushSubscribe.m
// FlickrKit
//
// Generated by FKAPIBuilder on 12 Jun, 2013 at 17:19.
// Copyright (c) 2013 DevedUp Ltd. All rights reserved. http://www.devedup.com
//
// DO NOT MODIFY THIS FILE - IT IS MACHINE GENERATED
#import "FKFlickrPushSubscribe.h"
@implementation FKFlickrPushSubscribe
- (BOOL) needsLogin {
return YES;
}
- (BOOL) needsSigning {
return YES;
}
- (FKPermission) requiredPerms {
return 0;
}
- (NSString *) name {
return @"flickr.push.subscribe";
}
- (BOOL) isValid:(NSError **)error {
BOOL valid = YES;
NSMutableString *errorDescription = [[NSMutableString alloc] initWithString:@"You are missing required params: "];
if(!self.topic) {
valid = NO;
[errorDescription appendString:@"'topic', "];
}
if(!self.callback) {
valid = NO;
[errorDescription appendString:@"'callback', "];
}
if(!self.verify) {
valid = NO;
[errorDescription appendString:@"'verify', "];
}
if(error != NULL) {
if(!valid) {
NSDictionary *userInfo = @{NSLocalizedDescriptionKey: errorDescription};
*error = [NSError errorWithDomain:FKFlickrKitErrorDomain code:FKErrorInvalidArgs userInfo:userInfo];
}
}
return valid;
}
- (NSDictionary *) args {
NSMutableDictionary *args = [NSMutableDictionary dictionary];
if(self.topic) {
[args setValue:self.topic forKey:@"topic"];
}
if(self.callback) {
[args setValue:self.callback forKey:@"callback"];
}
if(self.verify) {
[args setValue:self.verify forKey:@"verify"];
}
if(self.verify_token) {
[args setValue:self.verify_token forKey:@"verify_token"];
}
if(self.lease_seconds) {
[args setValue:self.lease_seconds forKey:@"lease_seconds"];
}
if(self.woe_ids) {
[args setValue:self.woe_ids forKey:@"woe_ids"];
}
if(self.place_ids) {
[args setValue:self.place_ids forKey:@"place_ids"];
}
if(self.lat) {
[args setValue:self.lat forKey:@"lat"];
}
if(self.lon) {
[args setValue:self.lon forKey:@"lon"];
}
if(self.radius) {
[args setValue:self.radius forKey:@"radius"];
}
if(self.radius_units) {
[args setValue:self.radius_units forKey:@"radius_units"];
}
if(self.accuracy) {
[args setValue:self.accuracy forKey:@"accuracy"];
}
if(self.nsids) {
[args setValue:self.nsids forKey:@"nsids"];
}
if(self.tags) {
[args setValue:self.tags forKey:@"tags"];
}
if(self.machine_tags) {
[args setValue:self.machine_tags forKey:@"machine_tags"];
}
if(self.update_type) {
[args setValue:self.update_type forKey:@"update_type"];
}
if(self.output_format) {
[args setValue:self.output_format forKey:@"output_format"];
}
if(self.mailto) {
[args setValue:self.mailto forKey:@"mailto"];
}
return [args copy];
}
- (NSString *) descriptionForError:(NSInteger)error {
switch(error) {
case FKFlickrPushSubscribeError_RequiredParameterMissing:
return @"Required parameter missing";
case FKFlickrPushSubscribeError_InvalidParameterValue:
return @"Invalid parameter value";
case FKFlickrPushSubscribeError_CallbackURLAlreadyInUseForADifferentSubscription:
return @"Callback URL already in use for a different subscription";
case FKFlickrPushSubscribeError_CallbackFailedOrInvalidResponse:
return @"Callback failed or invalid response";
case FKFlickrPushSubscribeError_ServiceCurrentlyAvailableOnlyToProAccounts:
return @"Service currently available only to pro accounts";
case FKFlickrPushSubscribeError_SubscriptionAwaitingVerificationCallbackResponseTryAgainLater:
return @"Subscription awaiting verification callback response - try again later";
case FKFlickrPushSubscribeError_InvalidSignature:
return @"Invalid signature";
case FKFlickrPushSubscribeError_MissingSignature:
return @"Missing signature";
case FKFlickrPushSubscribeError_LoginFailedOrInvalidAuthToken:
return @"Login failed / Invalid auth token";
case FKFlickrPushSubscribeError_UserNotLoggedInOrInsufficientPermissions:
return @"User not logged in / Insufficient permissions";
case FKFlickrPushSubscribeError_InvalidAPIKey:
return @"Invalid API Key";
case FKFlickrPushSubscribeError_ServiceCurrentlyUnavailable:
return @"Service currently unavailable";
case FKFlickrPushSubscribeError_FormatXXXNotFound:
return @"Format \"xxx\" not found";
case FKFlickrPushSubscribeError_MethodXXXNotFound:
return @"Method \"xxx\" not found";
case FKFlickrPushSubscribeError_InvalidSOAPEnvelope:
return @"Invalid SOAP envelope";
case FKFlickrPushSubscribeError_InvalidXMLRPCMethodCall:
return @"Invalid XML-RPC Method Call";
case FKFlickrPushSubscribeError_BadURLFound:
return @"Bad URL found";
default:
return @"Unknown error code";
}
}
@end
================================================
FILE: Pods/FlickrKit/Classes/Model/Generated/Push/FKFlickrPushUnsubscribe.h
================================================
//
// FKFlickrPushUnsubscribe.h
// FlickrKit
//
// Generated by FKAPIBuilder on 12 Jun, 2013 at 17:19.
// Copyright (c) 2013 DevedUp Ltd. All rights reserved. http://www.devedup.com
//
// DO NOT MODIFY THIS FILE - IT IS MACHINE GENERATED
#import "FKFlickrAPIMethod.h"
typedef enum {
FKFlickrPushUnsubscribeError_RequiredParameterMissing = 1, /* One of the required arguments for the method was not provided. */
FKFlickrPushUnsubscribeError_InvalidParameterValue = 2, /* One of the arguments was specified with an illegal value. */
FKFlickrPushUnsubscribeError_CallbackFailedOrInvalidResponse = 4, /* The verification callback failed, or failed to return the expected response to confirm the un-subscription. */
FKFlickrPushUnsubscribeError_SubscriptionAwaitingVerificationCallbackResponseTryAgainLater = 6, /* A subscription with those details exists already, but it is in a pending (non-verified) state. Please wait a bit for the verification callback to complete before attempting to update the subscription. */
FKFlickrPushUnsubscribeError_SubscriptionNotFound = 7, /* No subscription matching the provided details for this user could be found. */
FKFlickrPushUnsubscribeError_InvalidSignature = 96, /* The passed signature was invalid. */
FKFlickrPushUnsubscribeError_MissingSignature = 97, /* The call required signing but no signature was sent. */
FKFlickrPushUnsubscribeError_LoginFailedOrInvalidAuthToken = 98, /* The login details or auth token passed were invalid. */
FKFlickrPushUnsubscribeError_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. */
FKFlickrPushUnsubscribeError_InvalidAPIKey = 100, /* The API key passed was not valid or has expired. */
FKFlickrPushUnsubscribeError_ServiceCurrentlyUnavailable = 105, /* The requested service is temporarily unavailable. */
FKFlickrPushUnsubscribeError_FormatXXXNotFound = 111, /* The requested response format was not found. */
FKFlickrPushUnsubscribeError_MethodXXXNotFound = 112, /* The requested method was not found. */
FKFlickrPushUnsubscribeError_InvalidSOAPEnvelope = 114, /* The SOAP envelope send in the request could not be parsed. */
FKFlickrPushUnsubscribeError_InvalidXMLRPCMethodCall = 115, /* The XML-RPC request document could not be parsed. */
FKFlickrPushUnsubscribeError_BadURLFound = 116, /* One or more arguments contained a URL that has been used for abuse on Flickr. */
} FKFlickrPushUnsubscribeError;
/*
Why would you want to do this?
(this method is experimental and may change)
*/
@interface FKFlickrPushUnsubscribe : NSObject <domain> element for each referring domain, with attributes for the domain name and the number of views.<referrer> element for each referring page, with attributes for the url and the number of views.<domain> element for each referring domain, with attributes for the domain name and the number of views.<referrer> element for each referring page, with attributes for the url and the number of views.<domain> element for each referring domain, with attributes for the domain name and the number of views.<referrer> element for each referring page, with attributes for the url and the number of views.<domain> element for each referring domain, with attributes for the domain name and the number of views.<referrer> element for each referring page, with attributes for the url and the number of views.<stats> element. This has attributes for the view, comment and favorite counts for the requested day.<photo> elements to urls, please read the url documentation.