Map<String, dynamic> toJson() { return { 'enabled': enabled, 'oauth2ParamsInfos': oauth2ParamsInfos.map((e) => e.toJson()).toList() }; }