/Source/externals/GData/Source/Clients/Analytics/GDataAnalyticsElements.h

http://google-email-uploader-mac.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. // GDataAnalyticsElements.h
  17. //
  18. #if !GDATA_REQUIRE_SERVICE_INCLUDES || GDATA_INCLUDE_ANALYTICS_SERVICE
  19. #import "GDataObject.h"
  20. #import "GDataValueConstruct.h"
  21. // dimension, like <dxp:dimension name="ga:country" value="United States"/>
  22. @interface GDataAnalyticsDimension : GDataNameValueConstruct <GDataExtension>
  23. @end
  24. // property name/value pair, like
  25. // <dxp:property name="ga:accountId" value="8925159"/>
  26. @interface GDataAnalyticsProperty : GDataNameValueConstruct <GDataExtension>
  27. #if !GDATA_SIMPLE_DESCRIPTIONS
  28. + (NSString *)descriptionItemForProperties:(NSArray *)array;
  29. #endif
  30. @end
  31. // start date, YYYY-MM-DD, like <dxp:startDate>2009-05-18</dxp:startDate>
  32. @interface GDataAnalyticsStartDate : GDataValueElementConstruct <GDataExtension>
  33. @end
  34. // end date, YYYY-MM-DD, like <dxp:endDate>2009-05-18</dxp:endDate>
  35. @interface GDataAnalyticsEndDate : GDataValueElementConstruct <GDataExtension>
  36. @end
  37. // table ID, like <dxp:tableId>ga:7966084</dxp:tableId>
  38. @interface GDataAnalyticsTableID : GDataValueElementConstruct <GDataExtension>
  39. @end
  40. // table name, like <dxp:tableName>www.example.net</dxp:tableName>
  41. @interface GDataAnalyticsTableName : GDataValueElementConstruct <GDataExtension>
  42. @end
  43. // definition, like <dxp:definition>ga:visitorType==New Visitor</dxp:definition>
  44. @interface GDataAnalyticsDefinition : GDataValueElementConstruct <GDataExtension>
  45. @end
  46. #endif // !GDATA_REQUIRE_SERVICE_INCLUDES || GDATA_INCLUDE_ANALYTICS_SERVICE