factory CodeHook.fromJson(Map<String, dynamic> json) { return CodeHook( messageVersion: json['messageVersion'] as String, uri: json['uri'] as String, ); }