// Path: app/src/main/java/com/mypodcasts/repositories/models/Feed.java
// public class Feed implements Serializable {
//   private String id;
//   private String title;
//   private Image image;
//   private List<Episode> episodes;
// 
//   public String getId() {
//     return id;
//   }
// 
//   public String getTitle() {
//     return title;
//   }
// 
//   public Image getImage() {
//     return image;
//   }
// 
//   public List<Episode> getEpisodes() {
//     return episodes;
//   }
// 
// }


import com.mypodcasts.repositories.models.Feed;
import java.util.List;
import javax.inject.Inject;
package com.mypodcasts.repositories;




public class UserFeedsRepository {

  private final HttpClient httpClient;

  @Inject
  public UserFeedsRepository(HttpClient httpClient) {
    this.httpClient = httpClient;
  }

  public List<Feed> getFeeds() {
    return httpClient.getApi().getUserFeeds();
  }

// Path: app/src/main/java/com/mypodcasts/repositories/models/Feed.java
// public class Feed implements Serializable {
//   private String id;
//   private String title;
//   private Image image;
//   private List<Episode> episodes;
// 
//   public String getId() {
//     return id;
//   }
// 
//   public String getTitle() {
//     return title;
//   }
// 
//   public Image getImage() {
//     return image;
//   }
// 
//   public List<Episode> getEpisodes() {
//     return episodes;
//   }
// 
// }


// Path: app/src/main/java/com/mypodcasts/repositories/UserFeedsRepository.java
import com.mypodcasts.repositories.models.Feed;
import java.util.List;
import javax.inject.Inject;

package com.mypodcasts.repositories;




public class UserFeedsRepository {

  private final HttpClient httpClient;

  @Inject
  public UserFeedsRepository(HttpClient httpClient) {
    this.httpClient = httpClient;
  }

  public List<Feed> getFeeds() {
    return httpClient.getApi().getUserFeeds();
  }

  public Feed getFeed(String id) {