toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final hsmClientCertificateIdentifier = this.hsmClientCertificateIdentifier;
  final hsmConfigurationIdentifier = this.hsmConfigurationIdentifier;
  final status = this.status;
  return {
    if (hsmClientCertificateIdentifier != null)
      'HsmClientCertificateIdentifier': hsmClientCertificateIdentifier,
    if (hsmConfigurationIdentifier != null)
      'HsmConfigurationIdentifier': hsmConfigurationIdentifier,
    if (status != null) 'Status': status,
  };
}