2
0
MasterPassword/External/google-plus-ios-sdk/OpenSource/GTL/GTLPlus/GTLQueryPlus.m
Maarten Billemont 6c23134e47 Update Google+ integration.
[UPDATED]   Google+ SDK to 1.1.0.
2013-01-31 16:33:46 -05:00

60 lines
1.8 KiB
Objective-C

/* Copyright (c) 2012 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
//
// GTLQueryPlus.m
//
// ----------------------------------------------------------------------------
// NOTE: This file is generated from Google APIs Discovery Service.
// Service:
// Google+ API (plus/v1moments)
// Description:
// The Google+ API enables developers to build on top of the Google+ platform.
// Documentation:
// https://developers.google.com/+/history/
// Classes:
// GTLQueryPlus (1 custom class methods, 4 custom properties)
#import "GTLQueryPlus.h"
#import "GTLPlusMoment.h"
@implementation GTLQueryPlus
@dynamic collection, debug, fields, userId;
#pragma mark -
#pragma mark "moments" methods
// These create a GTLQueryPlus object.
+ (id)queryForMomentsInsertWithObject:(GTLPlusMoment *)object
userId:(NSString *)userId
collection:(NSString *)collection {
if (object == nil) {
GTL_DEBUG_ASSERT(object != nil, @"%@ got a nil object", NSStringFromSelector(_cmd));
return nil;
}
NSString *methodName = @"plus.moments.insert";
GTLQueryPlus *query = [self queryWithMethodName:methodName];
query.bodyObject = object;
query.userId = userId;
query.collection = collection;
query.expectedObjectClass = [GTLPlusMoment class];
return query;
}
@end