title: Decoding two different JSON responses in one model class using Codable
body: <p>Based on the requirement I got two different kinds of response from api. That is</p>
  
  <pre><code>{
    "shopname":"xxx",
    "quantity":4,
    "id":1,
    "price":200.00,
  }
  </code></pre>
  
  <p>another response</p>
  
  <pre><code>{
    "storename":"xxx",
    "qty":4,
    "id":1,
    "amount":200.00,
  }
  </code></pre>
  
  <p>Here both json values are decoding in same model class. Kindly help me to resolve this concern. </p>
  
  <p>is it is possible to set value in single variable like <strong>qty</strong> and <strong>quantity</strong> both are stored in same variable based on key param availability</p>