/core/externals/update-engine/externals/gdata-objectivec-client/Source/Clients/YouTube/GDataYouTubeStatistics.h

http://macfuse.googlecode.com/ · C++ Header · 55 lines · 19 code · 12 blank · 24 comment · 1 complexity · 6e2d62127fb40bba89a0110fa7e4df9e MD5 · raw file

  1. /* Copyright (c) 2008 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. // GDataYouTubeStatistics.h
  17. //
  18. #if !GDATA_REQUIRE_SERVICE_INCLUDES || GDATA_INCLUDE_YOUTUBE_SERVICE
  19. #import "GDataObject.h"
  20. #import "GDataDateTime.h"
  21. // <yt:statistics viewCount="2"
  22. // videoWatchCount="77"
  23. // lastWebAccess="2008-01-26T10:32:41.000-08:00"/>
  24. @interface GDataYouTubeStatistics : GDataObject <GDataExtension>
  25. + (GDataYouTubeStatistics *)youTubeStatistics;
  26. // long long value
  27. - (NSNumber *)viewCount;
  28. - (void)setViewCount:(NSNumber *)num;
  29. // long long value
  30. - (NSNumber *)videoWatchCount;
  31. - (void)setVideoWatchCount:(NSNumber *)num;
  32. // long long value
  33. - (NSNumber *)subscriberCount;
  34. - (void)setSubscriberCount:(NSNumber *)num;
  35. // long long value
  36. - (NSNumber *)favoriteCount;
  37. - (void)setFavoriteCount:(NSNumber *)num;
  38. - (GDataDateTime *)lastWebAccess;
  39. - (void)setLastWebAccess:(GDataDateTime *)dateTime;
  40. - (NSNumber *)totalUploadViews;
  41. - (void)setTotalUploadViews:(NSNumber *)num;
  42. @end
  43. #endif // !GDATA_REQUIRE_SERVICE_INCLUDES || GDATA_INCLUDE_YOUTUBE_SERVICE