/core/externals/update-engine/externals/gdata-objectivec-client/Source/Elements/GDataBatchInterrupted.h

http://macfuse.googlecode.com/ · C++ Header · 48 lines · 17 code · 12 blank · 19 comment · 0 complexity · 6209a2b48a49d4219234bd3cb75a93cb MD5 · raw file

  1. /* Copyright (c) 2007 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. // GDataBatchInterrupted.h
  17. //
  18. #import "GDataObject.h"
  19. // for batch Interrupteds, like
  20. // <batch:interrupted reason="reason" success="N" failures="N" parsed="N" />
  21. @interface GDataBatchInterrupted : GDataObject <GDataExtension> {
  22. }
  23. + (GDataBatchInterrupted *)batchInterrupted;
  24. - (NSString *)reason;
  25. - (void)setReason:(NSString *)str;
  26. - (NSNumber *)successCount;
  27. - (void)setSuccessCount:(NSNumber *)val;
  28. - (NSNumber *)errorCount;
  29. - (void)setErrorCount:(NSNumber *)val;
  30. - (NSNumber *)totalCount;
  31. - (void)setTotalCount:(NSNumber *)val;
  32. - (NSString *)contentType;
  33. - (void)setContentType:(NSString *)str;
  34. - (NSString *)stringValue;
  35. - (void)setStringValue:(NSString *)str;
  36. @end