PageRenderTime 26ms CodeModel.GetById 19ms app.highlight 5ms RepoModel.GetById 1ms app.codeStats 0ms

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

http://macfuse.googlecode.com/
C++ Header | 57 lines | 21 code | 11 blank | 25 comment | 1 complexity | f1d3b9b500837c6c78431dfaca31ea6b 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//  GDataAnalyticsElements.h
18//
19
20#if !GDATA_REQUIRE_SERVICE_INCLUDES || GDATA_INCLUDE_ANALYTICS_SERVICE
21
22#import "GDataObject.h"
23#import "GDataValueConstruct.h"
24
25// dimension, like <dxp:dimension name="ga:country" value="United States"/>
26@interface GDataAnalyticsDimension : GDataNameValueConstruct <GDataExtension>
27@end
28
29// property name/value pair, like
30// <dxp:property name="ga:accountId" value="8925159"/>
31@interface GDataAnalyticsProperty : GDataNameValueConstruct <GDataExtension>
32#if !GDATA_SIMPLE_DESCRIPTIONS
33+ (NSString *)descriptionItemForProperties:(NSArray *)array;
34#endif
35@end
36
37// start date, YYYY-MM-DD, like <dxp:startDate>2009-05-18</dxp:startDate>
38@interface GDataAnalyticsStartDate : GDataValueElementConstruct <GDataExtension>
39@end
40
41// end date, YYYY-MM-DD, like <dxp:endDate>2009-05-18</dxp:endDate>
42@interface GDataAnalyticsEndDate : GDataValueElementConstruct <GDataExtension>
43@end
44
45// table ID, like <dxp:tableId>ga:7966084</dxp:tableId>
46@interface GDataAnalyticsTableID : GDataValueElementConstruct <GDataExtension>
47@end
48
49// table name, like <dxp:tableName>www.example.net</dxp:tableName>
50@interface GDataAnalyticsTableName : GDataValueElementConstruct <GDataExtension>
51@end
52
53// definition, like <dxp:definition>ga:visitorType==New Visitor</dxp:definition>
54@interface GDataAnalyticsDefinition : GDataValueElementConstruct <GDataExtension>
55@end
56
57#endif // !GDATA_REQUIRE_SERVICE_INCLUDES || GDATA_INCLUDE_ANALYTICS_SERVICE