Serializes the object to a map.
@override Map<String, dynamic> serialize() { return { "discriminator": _Utils.discriminator, "authority": authority, "configData": data.serialize() }; }