toJson method
Implementation
core.Map<core.String, core.dynamic> toJson() => {
if (backendType != null) 'backendType': backendType!,
if (connectionName != null) 'connectionName': connectionName!,
if (createTime != null) 'createTime': createTime!,
if (currentDiskSize != null) 'currentDiskSize': currentDiskSize!,
if (databaseVersion != null) 'databaseVersion': databaseVersion!,
if (diskEncryptionConfiguration != null)
'diskEncryptionConfiguration': diskEncryptionConfiguration!,
if (diskEncryptionStatus != null)
'diskEncryptionStatus': diskEncryptionStatus!,
if (etag != null) 'etag': etag!,
if (failoverReplica != null) 'failoverReplica': failoverReplica!,
if (gceZone != null) 'gceZone': gceZone!,
if (instanceType != null) 'instanceType': instanceType!,
if (ipAddresses != null) 'ipAddresses': ipAddresses!,
if (ipv6Address != null) 'ipv6Address': ipv6Address!,
if (kind != null) 'kind': kind!,
if (masterInstanceName != null)
'masterInstanceName': masterInstanceName!,
if (maxDiskSize != null) 'maxDiskSize': maxDiskSize!,
if (name != null) 'name': name!,
if (onPremisesConfiguration != null)
'onPremisesConfiguration': onPremisesConfiguration!,
if (outOfDiskReport != null) 'outOfDiskReport': outOfDiskReport!,
if (project != null) 'project': project!,
if (region != null) 'region': region!,
if (replicaConfiguration != null)
'replicaConfiguration': replicaConfiguration!,
if (replicaNames != null) 'replicaNames': replicaNames!,
if (rootPassword != null) 'rootPassword': rootPassword!,
if (satisfiesPzs != null) 'satisfiesPzs': satisfiesPzs!,
if (scheduledMaintenance != null)
'scheduledMaintenance': scheduledMaintenance!,
if (secondaryGceZone != null) 'secondaryGceZone': secondaryGceZone!,
if (selfLink != null) 'selfLink': selfLink!,
if (serverCaCert != null) 'serverCaCert': serverCaCert!,
if (serviceAccountEmailAddress != null)
'serviceAccountEmailAddress': serviceAccountEmailAddress!,
if (settings != null) 'settings': settings!,
if (state != null) 'state': state!,
if (suspensionReason != null) 'suspensionReason': suspensionReason!,
};