toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
  if (autoscalingConfig != null) 'autoscalingConfig': autoscalingConfig!,
  if (config != null) 'config': config!,
  if (createTime != null) 'createTime': createTime!,
  if (defaultBackupScheduleType != null)
    'defaultBackupScheduleType': defaultBackupScheduleType!,
  if (displayName != null) 'displayName': displayName!,
  if (edition != null) 'edition': edition!,
  if (endpointUris != null) 'endpointUris': endpointUris!,
  if (freeInstanceMetadata != null)
    'freeInstanceMetadata': freeInstanceMetadata!,
  if (instanceType != null) 'instanceType': instanceType!,
  if (labels != null) 'labels': labels!,
  if (name != null) 'name': name!,
  if (nodeCount != null) 'nodeCount': nodeCount!,
  if (processingUnits != null) 'processingUnits': processingUnits!,
  if (replicaComputeCapacity != null)
    'replicaComputeCapacity': replicaComputeCapacity!,
  if (state != null) 'state': state!,
  if (updateTime != null) 'updateTime': updateTime!,
};