/**
  * 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)
 {
     $registerDeviceResponse = new RegisterDeviceResponse();
     $registerDeviceResponse->setStatusCode($json['status_code']);
     $registerDeviceResponse->setStatusMessage($json['status_message']);
     return $registerDeviceResponse;
 }