Dumped Google+ SDK.
[UPDATED] Google+ SDK.
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
/* Copyright (c) 2012 Google Inc.
|
||||
/* Copyright (c) 2013 Google Inc.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
@@ -20,21 +20,87 @@
|
||||
// ----------------------------------------------------------------------------
|
||||
// NOTE: This file is generated from Google APIs Discovery Service.
|
||||
// Service:
|
||||
// Google+ API (plus/v1moments)
|
||||
// Google+ API (plus/v1)
|
||||
// Description:
|
||||
// The Google+ API enables developers to build on top of the Google+ platform.
|
||||
// Documentation:
|
||||
// https://developers.google.com/+/history/
|
||||
// https://developers.google.com/+/api/
|
||||
// Classes:
|
||||
// GTLQueryPlus (1 custom class methods, 4 custom properties)
|
||||
// GTLQueryPlus (12 custom class methods, 15 custom properties)
|
||||
|
||||
#import "GTLQueryPlus.h"
|
||||
|
||||
#import "GTLPlusActivity.h"
|
||||
#import "GTLPlusActivityFeed.h"
|
||||
#import "GTLPlusComment.h"
|
||||
#import "GTLPlusCommentFeed.h"
|
||||
#import "GTLPlusMoment.h"
|
||||
#import "GTLPlusMomentsFeed.h"
|
||||
#import "GTLPlusPeopleFeed.h"
|
||||
#import "GTLPlusPerson.h"
|
||||
|
||||
@implementation GTLQueryPlus
|
||||
|
||||
@dynamic collection, debug, fields, userId;
|
||||
@dynamic activityId, collection, commentId, debug, fields, identifier, language,
|
||||
maxResults, orderBy, pageToken, query, sortOrder, targetUrl, type,
|
||||
userId;
|
||||
|
||||
+ (NSDictionary *)parameterNameMap {
|
||||
NSDictionary *map =
|
||||
[NSDictionary dictionaryWithObject:@"id"
|
||||
forKey:@"identifier"];
|
||||
return map;
|
||||
}
|
||||
|
||||
#pragma mark -
|
||||
#pragma mark "activities" methods
|
||||
// These create a GTLQueryPlus object.
|
||||
|
||||
+ (id)queryForActivitiesGetWithActivityId:(NSString *)activityId {
|
||||
NSString *methodName = @"plus.activities.get";
|
||||
GTLQueryPlus *query = [self queryWithMethodName:methodName];
|
||||
query.activityId = activityId;
|
||||
query.expectedObjectClass = [GTLPlusActivity class];
|
||||
return query;
|
||||
}
|
||||
|
||||
+ (id)queryForActivitiesListWithUserId:(NSString *)userId
|
||||
collection:(NSString *)collection {
|
||||
NSString *methodName = @"plus.activities.list";
|
||||
GTLQueryPlus *query = [self queryWithMethodName:methodName];
|
||||
query.userId = userId;
|
||||
query.collection = collection;
|
||||
query.expectedObjectClass = [GTLPlusActivityFeed class];
|
||||
return query;
|
||||
}
|
||||
|
||||
+ (id)queryForActivitiesSearchWithQuery:(NSString *)query_param {
|
||||
NSString *methodName = @"plus.activities.search";
|
||||
GTLQueryPlus *query = [self queryWithMethodName:methodName];
|
||||
query.query = query_param;
|
||||
query.expectedObjectClass = [GTLPlusActivityFeed class];
|
||||
return query;
|
||||
}
|
||||
|
||||
#pragma mark -
|
||||
#pragma mark "comments" methods
|
||||
// These create a GTLQueryPlus object.
|
||||
|
||||
+ (id)queryForCommentsGetWithCommentId:(NSString *)commentId {
|
||||
NSString *methodName = @"plus.comments.get";
|
||||
GTLQueryPlus *query = [self queryWithMethodName:methodName];
|
||||
query.commentId = commentId;
|
||||
query.expectedObjectClass = [GTLPlusComment class];
|
||||
return query;
|
||||
}
|
||||
|
||||
+ (id)queryForCommentsListWithActivityId:(NSString *)activityId {
|
||||
NSString *methodName = @"plus.comments.list";
|
||||
GTLQueryPlus *query = [self queryWithMethodName:methodName];
|
||||
query.activityId = activityId;
|
||||
query.expectedObjectClass = [GTLPlusCommentFeed class];
|
||||
return query;
|
||||
}
|
||||
|
||||
#pragma mark -
|
||||
#pragma mark "moments" methods
|
||||
@@ -56,4 +122,61 @@
|
||||
return query;
|
||||
}
|
||||
|
||||
+ (id)queryForMomentsListWithUserId:(NSString *)userId
|
||||
collection:(NSString *)collection {
|
||||
NSString *methodName = @"plus.moments.list";
|
||||
GTLQueryPlus *query = [self queryWithMethodName:methodName];
|
||||
query.userId = userId;
|
||||
query.collection = collection;
|
||||
query.expectedObjectClass = [GTLPlusMomentsFeed class];
|
||||
return query;
|
||||
}
|
||||
|
||||
+ (id)queryForMomentsRemoveWithIdentifier:(NSString *)identifier {
|
||||
NSString *methodName = @"plus.moments.remove";
|
||||
GTLQueryPlus *query = [self queryWithMethodName:methodName];
|
||||
query.identifier = identifier;
|
||||
return query;
|
||||
}
|
||||
|
||||
#pragma mark -
|
||||
#pragma mark "people" methods
|
||||
// These create a GTLQueryPlus object.
|
||||
|
||||
+ (id)queryForPeopleGetWithUserId:(NSString *)userId {
|
||||
NSString *methodName = @"plus.people.get";
|
||||
GTLQueryPlus *query = [self queryWithMethodName:methodName];
|
||||
query.userId = userId;
|
||||
query.expectedObjectClass = [GTLPlusPerson class];
|
||||
return query;
|
||||
}
|
||||
|
||||
+ (id)queryForPeopleListWithUserId:(NSString *)userId
|
||||
collection:(NSString *)collection {
|
||||
NSString *methodName = @"plus.people.list";
|
||||
GTLQueryPlus *query = [self queryWithMethodName:methodName];
|
||||
query.userId = userId;
|
||||
query.collection = collection;
|
||||
query.expectedObjectClass = [GTLPlusPeopleFeed class];
|
||||
return query;
|
||||
}
|
||||
|
||||
+ (id)queryForPeopleListByActivityWithActivityId:(NSString *)activityId
|
||||
collection:(NSString *)collection {
|
||||
NSString *methodName = @"plus.people.listByActivity";
|
||||
GTLQueryPlus *query = [self queryWithMethodName:methodName];
|
||||
query.activityId = activityId;
|
||||
query.collection = collection;
|
||||
query.expectedObjectClass = [GTLPlusPeopleFeed class];
|
||||
return query;
|
||||
}
|
||||
|
||||
+ (id)queryForPeopleSearchWithQuery:(NSString *)query_param {
|
||||
NSString *methodName = @"plus.people.search";
|
||||
GTLQueryPlus *query = [self queryWithMethodName:methodName];
|
||||
query.query = query_param;
|
||||
query.expectedObjectClass = [GTLPlusPeopleFeed class];
|
||||
return query;
|
||||
}
|
||||
|
||||
@end
|
||||
|
Reference in New Issue
Block a user