/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. // GDataAnalyticsSegment.h
  17. //
  18. #if !GDATA_REQUIRE_SERVICE_INCLUDES || GDATA_INCLUDE_ANALYTICS_SERVICE
  19. #import "GDataObject.h"
  20. #import "GDataAnalyticsElements.h"
  21. // Segment, like
  22. //
  23. // <dxp:segment id='gaid::-2' name='New Visitors'>
  24. // <dxp:definition>ga:visitorType==New Visitor</dxp:definition>
  25. // <dxp:property name='ga:accountId' value='30481'/>
  26. // <dxp:property name='ga:accountName' value='Google Store'/>
  27. // </dxp:segment>
  28. //
  29. // http://code.google.com/apis/analytics/docs/gdata/gdataReferenceAccountFeed.html
  30. @interface GDataAnalyticsSegment : GDataObject <GDataExtension>
  31. // Attributes
  32. - (NSString *)name;
  33. - (void)setName:(NSString *)str;
  34. - (NSString *)analyticsID;
  35. - (void)setAnalyticsID:(NSString *)str;
  36. // Extensions
  37. - (NSString *)definition;
  38. - (void)setDefinition:(NSString *)str;
  39. - (NSArray *)analyticsProperties;
  40. - (void)setAnalyticsProperties:(NSArray *)array;
  41. - (void)addAnalyticsProperty:(GDataAnalyticsProperty *)obj;
  42. @end
  43. #endif // !GDATA_REQUIRE_SERVICE_INCLUDES || GDATA_INCLUDE_ANALYTICS_SERVICE