Map<String, dynamic> toJson() { final groups = this.groups; final include = this.include; return { if (groups != null) 'Groups': groups, if (include != null) 'Include': include.toValue(), }; }