toJson method
Implementation
core.Map<core.String, core.dynamic> toJson() => {
if (alternativeLocationId != null)
'alternativeLocationId': alternativeLocationId!,
if (authEnabled != null) 'authEnabled': authEnabled!,
if (authorizedNetwork != null) 'authorizedNetwork': authorizedNetwork!,
if (availableMaintenanceVersions != null)
'availableMaintenanceVersions': availableMaintenanceVersions!,
if (connectMode != null) 'connectMode': connectMode!,
if (createTime != null) 'createTime': createTime!,
if (currentLocationId != null) 'currentLocationId': currentLocationId!,
if (customerManagedKey != null)
'customerManagedKey': customerManagedKey!,
if (displayName != null) 'displayName': displayName!,
if (host != null) 'host': host!,
if (labels != null) 'labels': labels!,
if (locationId != null) 'locationId': locationId!,
if (maintenancePolicy != null) 'maintenancePolicy': maintenancePolicy!,
if (maintenanceSchedule != null)
'maintenanceSchedule': maintenanceSchedule!,
if (maintenanceVersion != null)
'maintenanceVersion': maintenanceVersion!,
if (memorySizeGb != null) 'memorySizeGb': memorySizeGb!,
if (name != null) 'name': name!,
if (nodes != null) 'nodes': nodes!,
if (persistenceConfig != null) 'persistenceConfig': persistenceConfig!,
if (persistenceIamIdentity != null)
'persistenceIamIdentity': persistenceIamIdentity!,
if (port != null) 'port': port!,
if (readEndpoint != null) 'readEndpoint': readEndpoint!,
if (readEndpointPort != null) 'readEndpointPort': readEndpointPort!,
if (readReplicasMode != null) 'readReplicasMode': readReplicasMode!,
if (redisConfigs != null) 'redisConfigs': redisConfigs!,
if (redisVersion != null) 'redisVersion': redisVersion!,
if (replicaCount != null) 'replicaCount': replicaCount!,
if (reservedIpRange != null) 'reservedIpRange': reservedIpRange!,
if (satisfiesPzi != null) 'satisfiesPzi': satisfiesPzi!,
if (satisfiesPzs != null) 'satisfiesPzs': satisfiesPzs!,
if (secondaryIpRange != null) 'secondaryIpRange': secondaryIpRange!,
if (serverCaCerts != null) 'serverCaCerts': serverCaCerts!,
if (state != null) 'state': state!,
if (statusMessage != null) 'statusMessage': statusMessage!,
if (suspensionReasons != null) 'suspensionReasons': suspensionReasons!,
if (tier != null) 'tier': tier!,
if (transitEncryptionMode != null)
'transitEncryptionMode': transitEncryptionMode!,
};