/**
  * Utility function used to create a new instance from a JSON string.
  *
  * @param array $json a PHP array which contains the result of a 'json_decode' execution.
  *
  * @return \Gomoob\Pushwoosh\Model\Response\RegisterDeviceResponse the resulting instance.
  */
 public static function create(array $json)
 {
     $unregisterDeviceResponse = new UnregisterDeviceResponse();
     $unregisterDeviceResponse->setStatusCode($json['status_code']);
     $unregisterDeviceResponse->setStatusMessage($json['status_message']);
     return $unregisterDeviceResponse;
 }