Map<String, dynamic> toJson() { final statusCodes = this.statusCodes; return { if (statusCodes != null) 'StatusCodes': statusCodes, }; }