PageRenderTime 24ms CodeModel.GetById 21ms app.highlight 1ms RepoModel.GetById 1ms app.codeStats 0ms

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