toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (appEngineIntegrationMode != null)
        'appEngineIntegrationMode': appEngineIntegrationMode!,
      if (cmekConfig != null) 'cmekConfig': cmekConfig!,
      if (concurrencyMode != null) 'concurrencyMode': concurrencyMode!,
      if (createTime != null) 'createTime': createTime!,
      if (deleteProtectionState != null)
        'deleteProtectionState': deleteProtectionState!,
      if (deleteTime != null) 'deleteTime': deleteTime!,
      if (earliestVersionTime != null)
        'earliestVersionTime': earliestVersionTime!,
      if (etag != null) 'etag': etag!,
      if (keyPrefix != null) 'keyPrefix': keyPrefix!,
      if (locationId != null) 'locationId': locationId!,
      if (name != null) 'name': name!,
      if (pointInTimeRecoveryEnablement != null)
        'pointInTimeRecoveryEnablement': pointInTimeRecoveryEnablement!,
      if (previousId != null) 'previousId': previousId!,
      if (type != null) 'type': type!,
      if (uid != null) 'uid': uid!,
      if (updateTime != null) 'updateTime': updateTime!,
      if (versionRetentionPeriod != null)
        'versionRetentionPeriod': versionRetentionPeriod!,
    };