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

http://google-email-uploader-mac.googlecode.com/ · C++ Header · 49 lines · 21 code · 11 blank · 17 comment · 1 complexity · 9da5eecd8eed511736e40b20e4ae9275 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. // GDataFeedAnalyticsData.h
  17. //
  18. #if !GDATA_REQUIRE_SERVICE_INCLUDES || GDATA_INCLUDE_ANALYTICS_SERVICE
  19. #import "GDataFeedBase.h"
  20. #import "GDataAnalyticsAggregateGroup.h"
  21. #import "GDataAnalyticsDataSource.h"
  22. #import "GDataAnalyticsSegment.h"
  23. @interface GDataFeedAnalyticsData : GDataFeedBase
  24. + (GDataFeedAnalyticsData *)dataFeed;
  25. - (GDataAnalyticsAggregateGroup *)aggregateGroup;
  26. - (void)setAggregateGroup:(GDataAnalyticsAggregateGroup *)obj;
  27. - (NSArray *)dataSources;
  28. - (void)setDataSources:(NSArray *)array;
  29. - (void)addDataSource:(GDataAnalyticsDataSource *)obj;
  30. - (NSString *)startDateString; // yyyy-mm-dd
  31. - (void)setStartDateString:(NSString *)str;
  32. - (NSString *)endDateString; // yyyy-mm-dd
  33. - (void)setEndDateString:(NSString *)str;
  34. - (NSArray *)segments;
  35. - (void)setSegments:(NSArray *)array;
  36. - (void)addSegment:(GDataAnalyticsSegment *)obj;
  37. @end
  38. #endif // !GDATA_REQUIRE_SERVICE_INCLUDES || GDATA_INCLUDE_ANALYTICS_SERVICE