OCShareUser.h 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. //
  2. // OCShareUser.h
  3. // ownCloud iOS library
  4. //
  5. // Created by Gonzalo Gonzalez on 28/9/15.
  6. //
  7. // Copyright (C) 2016, ownCloud GmbH. ( http://www.owncloud.org/ )
  8. //
  9. // Permission is hereby granted, free of charge, to any person obtaining a copy
  10. // of this software and associated documentation files (the "Software"), to deal
  11. // in the Software without restriction, including without limitation the rights
  12. // to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
  13. // copies of the Software, and to permit persons to whom the Software is
  14. // furnished to do so, subject to the following conditions:
  15. // The above copyright notice and this permission notice shall be included in
  16. // all copies or substantial portions of the Software.
  17. // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
  18. // IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
  19. // FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
  20. // AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
  21. // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
  22. // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
  23. // THE SOFTWARE.
  24. //
  25. //
  26. #import <Foundation/Foundation.h>
  27. #import "OCSharedDto.h"
  28. @interface OCShareUser : NSObject
  29. @property (nonatomic, strong) NSString *name;
  30. @property (nonatomic, strong) NSString *displayName;
  31. @property (nonatomic, strong) NSString *server;
  32. @property BOOL isDisplayNameDuplicated;
  33. @property NSInteger shareeType;
  34. @property (nonatomic, strong) OCSharedDto * sharedDto;
  35. @end