title: How to ignore keys which are not required for room entity
body: <p>I am trying to create a room entity class. But there are some json object which I don't need. So I am confuse how to ignore those objects.</p>
  
  <p>Below is the JSON:</p>
  
  <pre><code>     {  
         "batchcomplete":true,
         "continue":{  
            "gpsoffset":10,
            "continue":"gpsoffset||"
         },
         "query":{  
            "redirects":[  
               {  
                  "index":4,
                  "from":"Sachin Tyagi",
                  "to":"Solhah Singaarr"
               },
               {  
                  "index":3,
                  "from":"Sachin The Film",
                  "to":"Sachin: A Billion Dreams"
               }
            ],
            "pages":[  
               {  
                  "pageid":57570,
                  "ns":0,
                  "title":"Sachin Tendulkar",
                  "index":1,
                  "thumbnail":{  
                     "source":"https://upload.wikimedia.org/wikipedia/commons/thumb/2/25/Sachin_Tendulkar_at_MRF_Promotion_Event.jpg/50px-Sachin_Tendulkar_at_MRF_Promotion_Event.jpg",
                     "width":50,
                     "height":45
                  },
                  "terms":{  
                     "description":[  
                        "Indian cricketer"
                     ]
                  }
  }
  </code></pre>
  
  <p>I tried to use @Ignore also but that doesn't work for me.</p>
  
  <p>Here is my Entity class:</p>
  
  <pre><code>@Entity(tableName = "ResponseEntity")
  public class PageDetailEntity {
      @PrimaryKey(autoGenerate = true)
      @ColumnInfo(name = "id")
      private int id;
  
      @Ignore
      @ColumnInfo(name = "batchcomplete")
      private boolean batchcomplete;
      @Ignore
      @TypeConverters(ContinueModelConverter.class)
      public List&lt;ContinueModel&gt; mContinue;
  
      @TypeConverters(QueryModelConverter.class)
      private List&lt;QueryModel&gt;queryModel;
  
      public int getId() {
          return id;
      }
  
      public void setId(int id) {
          this.id = id;
      }
  
      public boolean isBatchcomplete() {
          return batchcomplete;
      }
  
      public void setBatchcomplete(boolean batchcomplete) {
          this.batchcomplete = batchcomplete;
      }
  
      public List&lt;ContinueModel&gt; getmContinue() {
          return mContinue;
      }
  
      public void setmContinue(List&lt;ContinueModel&gt; mContinue) {
          this.mContinue = mContinue;
      }
  
      public List&lt;QueryModel&gt; getQueryModel() {
          return queryModel;
      }
  
      public void setQueryModel(List&lt;QueryModel&gt; queryModel) {
          this.queryModel = queryModel;
      }
  }
  </code></pre>
  
  <p>I only need pages array. Can somebody guide me how do I create my entity class with only pages array for room.</p>