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 (description != null) 'description': description!,
      if (health != null) 'health': health!,
      if (healthDescription != null) 'healthDescription': healthDescription!,
      if (ipAddress != null) 'ipAddress': ipAddress!,
      if (labels != null) 'labels': labels!,
      if (name != null) 'name': name!,
      if (network != null) 'network': network!,
      if (networkEndpoints != null) 'networkEndpoints': networkEndpoints!,
      if (port != null) 'port': port!,
      if (schedulingConfig != null) 'schedulingConfig': schedulingConfig!,
      if (serviceAccount != null) 'serviceAccount': serviceAccount!,
      if (state != null) 'state': state!,
      if (symptoms != null) 'symptoms': symptoms!,
      if (tensorflowVersion != null) 'tensorflowVersion': tensorflowVersion!,
      if (useServiceNetworking != null)
        'useServiceNetworking': useServiceNetworking!,
    };