title: Parallel boolean and string
body: <p>I have the next question:</p>
  
  <p>I am doing retrofit request from android device to server and in response it gives me variable <code>status</code> with one of three values:</p>
  
  <p><code>'status'=&gt;true</code></p>
  
  <p><code>'status'=&gt;false</code></p>
  
  <p><code>'status'=&gt;limit</code></p>
  
  <p>For server <code>true</code> and <code>false</code> - this is boolean values, and I am able to handle this values as boolean, but <code>limit</code> - this is String type for server and I cannot handle it, because I am waiting only boolean in response.</p>
  
  <p>So the question is: can I handle <code>limit</code> value? Or server should change response?</p>
  
  <p>My POJO about <code>status</code> looks like:</p>
  
  <pre><code>@SerializedName("status")
      @Expose
      private boolean status;
  
  public boolean getStatus() {
          return status;
      }
  
      public void setStatus(boolean status) {
          this.status = status;
      }
  </code></pre>
  
  <p>For example, in theory I can create in my POJO smth like:</p>
  
  <pre><code>@SerializedName("status2")
      @Expose
      private String status2;
  
  public String getStatus2() {
          return status2;
      }
  
      public void setStatus(String status2) {
          this.status2 = status2;
      }
  </code></pre>
  
  <p>and when I need to handle <code>status=&gt;limit</code>, I will call <code>getStatus2()</code> instead of <code>getStatus()</code>.</p>