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 (displayName != null) 'displayName': displayName!,
      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 (state != null) 'state': state!,
      if (updateTime != null) 'updateTime': updateTime!,
    };