Map<String, dynamic> toJson() { final certificateType = this.certificateType; return { 'CertificateType': certificateType.toValue(), }; }