/** * Creates a new GetDeploymentResult from parsed response body. * * @param array $parsed The parsed response body in array representation. * * @return GetDeploymentResult * * @static */ public static function create($parsed) { $result = new self(); $result->setDeployment(Deployment::create($parsed)); return $result; }