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

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

http://macfuse.googlecode.com/
C++ Header | 58 lines | 19 code | 13 blank | 26 comment | 1 complexity | f1914cb4b5fda7026513201bf5363c5f 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//  GDataAnalyticsGoal.h
18//
19
20#if !GDATA_REQUIRE_SERVICE_INCLUDES || GDATA_INCLUDE_ANALYTICS_SERVICE
21
22#import "GDataObject.h"
23#import "GDataAnalyticsDestination.h"
24#import "GDataAnalyticsEngagement.h"
25
26// Goal, like
27//
28//  <ga:goal active='true' name='Completing Order' number='1' value='10.0'>
29//    <ga:destination caseSensitive='false' expression='/purchaseComplete.html'
30//                    matchType='regex' step1Required='false'>
31//      <ga:step name='View Product Categories' number='1'
32//               path='/Apps|Accessories'/>
33//    </ga:destination>
34//  </ga:goal>
35
36@interface GDataAnalyticsGoal : GDataObject <GDataExtension>
37
38- (BOOL)isActive;
39- (void)setIsActive:(BOOL)flag;
40
41- (NSString *)name;
42- (void)setName:(NSString *)str;
43
44- (NSNumber *)number; // int
45- (void)setNumber:(NSNumber *)num;
46
47- (NSNumber *)value; // double
48- (void)setValue:(NSNumber *)num;
49
50- (GDataAnalyticsDestination *)destination;
51- (void)setDestination:(GDataAnalyticsDestination *)obj;
52
53- (GDataAnalyticsEngagement *)engagement;
54- (void)setEngagement:(GDataAnalyticsEngagement *)obj;
55
56@end
57
58#endif // !GDATA_REQUIRE_SERVICE_INCLUDES || GDATA_INCLUDE_ANALYTICS_SERVICE