toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (acceleratorType != null) 'acceleratorType': acceleratorType!,
      if (apiVersion != null) 'apiVersion': apiVersion!,
      if (cidrBlock != null) 'cidrBlock': cidrBlock!,
      if (createTime != null) 'createTime': createTime!,
      if (dataDisks != null) 'dataDisks': dataDisks!,
      if (description != null) 'description': description!,
      if (health != null) 'health': health!,
      if (healthDescription != null) 'healthDescription': healthDescription!,
      if (id != null) 'id': id!,
      if (labels != null) 'labels': labels!,
      if (metadata != null) 'metadata': metadata!,
      if (name != null) 'name': name!,
      if (networkConfig != null) 'networkConfig': networkConfig!,
      if (networkEndpoints != null) 'networkEndpoints': networkEndpoints!,
      if (runtimeVersion != null) 'runtimeVersion': runtimeVersion!,
      if (schedulingConfig != null) 'schedulingConfig': schedulingConfig!,
      if (serviceAccount != null) 'serviceAccount': serviceAccount!,
      if (state != null) 'state': state!,
      if (symptoms != null) 'symptoms': symptoms!,
      if (tags != null) 'tags': tags!,
    };