title: Convert IRestResponse to IRestResponse<T>
body: <p>I have executed <code>RestRequest</code> and got non-typed <code>IRestResponse</code>.</p>
  
  <p>How can I convert it to <code>IRestResponse&lt;T&gt;</code>?</p>
  
  <p>For example <code>IRestResponse&lt;MyErrorData&gt;</code> or <code>IRestResponse&lt;MyData&gt;</code>?</p>