MediaFoldersModel.java 1.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
  1. /*
  2. * Nextcloud Android client application
  3. *
  4. * @author Mario Danic
  5. * Copyright (C) 2018 Mario Danic
  6. *
  7. * This program is free software; you can redistribute it and/or
  8. * modify it under the terms of the GNU AFFERO GENERAL PUBLIC LICENSE
  9. * License as published by the Free Software Foundation; either
  10. * version 3 of the License, or any later version.
  11. *
  12. * This program is distributed in the hope that it will be useful,
  13. * but WITHOUT ANY WARRANTY; without even the implied warranty of
  14. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  15. * GNU AFFERO GENERAL PUBLIC LICENSE for more details.
  16. *
  17. * You should have received a copy of the GNU Affero General Public
  18. * License along with this program. If not, see <http://www.gnu.org/licenses/>.
  19. */
  20. package com.owncloud.android.datamodel;
  21. import java.util.List;
  22. public class MediaFoldersModel {
  23. private List<String> imageMediaFolders;
  24. private List<String> videoMediaFolders;
  25. /**
  26. * default constructor.
  27. */
  28. public MediaFoldersModel() {
  29. // keep default constructor for GSON
  30. }
  31. public MediaFoldersModel(List<String> imageMediaFolders, List<String> videoMediaFolders) {
  32. this.imageMediaFolders = imageMediaFolders;
  33. this.videoMediaFolders = videoMediaFolders;
  34. }
  35. public List<String> getImageMediaFolders() {
  36. return imageMediaFolders;
  37. }
  38. public void setImageMediaFolders(List<String> imageMediaFolders) {
  39. this.imageMediaFolders = imageMediaFolders;
  40. }
  41. public List<String> getVideoMediaFolders() {
  42. return videoMediaFolders;
  43. }
  44. public void setVideoMediaFolders(List<String> videoMediaFolders) {
  45. this.videoMediaFolders = videoMediaFolders;
  46. }
  47. }