PageRenderTime 22ms CodeModel.GetById 13ms app.highlight 5ms RepoModel.GetById 1ms app.codeStats 0ms

/core/externals/update-engine/externals/gdata-objectivec-client/Source/Clients/Analytics/GDataQueryAnalytics.h

http://macfuse.googlecode.com/
C++ Header | 58 lines | 25 code | 16 blank | 17 comment | 1 complexity | 27776d7beb572b843fdd17b417849c47 MD5 | raw file
 1/* Copyright (c) 2009 Google Inc.
 2 *
 3 * Licensed under the Apache License, Version 2.0 (the "License");
 4 * you may not use this file except in compliance with the License.
 5 * You may obtain a copy of the License at
 6 *
 7 *     http://www.apache.org/licenses/LICENSE-2.0
 8 *
 9 * Unless required by applicable law or agreed to in writing, software
10 * distributed under the License is distributed on an "AS IS" BASIS,
11 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 * See the License for the specific language governing permissions and
13 * limitations under the License.
14 */
15
16//
17//  GDataQueryAnalytics.h
18//
19
20#if !GDATA_REQUIRE_SERVICE_INCLUDES || GDATA_INCLUDE_ANALYTICS_SERVICE
21
22#import "GDataQuery.h"
23
24@interface GDataQueryAnalytics : GDataQuery
25
26+ (GDataQueryAnalytics *)analyticsQueryWithFeedURL:(NSURL *)feedURL;
27
28+ (GDataQueryAnalytics *)analyticsDataQueryWithTableID:(NSString *)tableID
29                                       startDateString:(NSString *)startDateStr
30                                         endDateString:(NSString *)endDateStr;
31
32- (void)setDimensions:(NSString *)str;
33- (NSString *)dimensions;
34
35- (void)setMetrics:(NSString *)str;
36- (NSString *)metrics;
37
38- (void)setStartDateString:(NSString *)str; // YYYY-MM-DD
39- (NSString *)startDateString;
40
41- (void)setEndDateString:(NSString *)str; // YYYY-MM-DD
42- (NSString *)endDateString;
43
44- (void)setFilters:(NSString *)str;
45- (NSString *)filters;
46
47- (void)setIDs:(NSString *)str;
48- (NSString *)IDs;
49
50- (void)setSort:(NSString *)str;
51- (NSString *)sort;
52
53- (void)setSegment:(NSString *)str;
54- (NSString *)segment;
55
56@end
57
58#endif // !GDATA_REQUIRE_SERVICE_INCLUDES || GDATA_INCLUDE_ANALYTICS_SERVICE