PageRenderTime 36ms CodeModel.GetById 28ms app.highlight 6ms RepoModel.GetById 1ms app.codeStats 0ms

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

http://macfuse.googlecode.com/
C++ Header | 56 lines | 15 code | 13 blank | 28 comment | 1 complexity | fc3074f07e4e94f581b93c2ff5510073 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//  GDataAnalyticsSegment.h
18//
19
20#if !GDATA_REQUIRE_SERVICE_INCLUDES || GDATA_INCLUDE_ANALYTICS_SERVICE
21
22#import "GDataObject.h"
23#import "GDataAnalyticsElements.h"
24
25// Segment, like
26//
27//  <dxp:segment id='gaid::-2' name='New Visitors'>
28//    <dxp:definition>ga:visitorType==New Visitor</dxp:definition>
29//    <dxp:property name='ga:accountId' value='30481'/>
30//    <dxp:property name='ga:accountName' value='Google Store'/>
31//  </dxp:segment>
32//
33// http://code.google.com/apis/analytics/docs/gdata/gdataReferenceAccountFeed.html
34
35@interface GDataAnalyticsSegment : GDataObject <GDataExtension>
36
37// Attributes
38
39- (NSString *)name;
40- (void)setName:(NSString *)str;
41
42- (NSString *)analyticsID;
43- (void)setAnalyticsID:(NSString *)str;
44
45// Extensions
46
47- (NSString *)definition;
48- (void)setDefinition:(NSString *)str;
49
50- (NSArray *)analyticsProperties;
51- (void)setAnalyticsProperties:(NSArray *)array;
52- (void)addAnalyticsProperty:(GDataAnalyticsProperty *)obj;
53
54@end
55
56#endif // !GDATA_REQUIRE_SERVICE_INCLUDES || GDATA_INCLUDE_ANALYTICS_SERVICE