toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (authorizedNetwork != null) 'authorizedNetwork': authorizedNetwork!,
      if (createTime != null) 'createTime': createTime!,
      if (discoveryEndpoint != null) 'discoveryEndpoint': discoveryEndpoint!,
      if (displayName != null) 'displayName': displayName!,
      if (instanceMessages != null) 'instanceMessages': instanceMessages!,
      if (labels != null) 'labels': labels!,
      if (maintenancePolicy != null) 'maintenancePolicy': maintenancePolicy!,
      if (maintenanceSchedule != null)
        'maintenanceSchedule': maintenanceSchedule!,
      if (memcacheFullVersion != null)
        'memcacheFullVersion': memcacheFullVersion!,
      if (memcacheNodes != null) 'memcacheNodes': memcacheNodes!,
      if (memcacheVersion != null) 'memcacheVersion': memcacheVersion!,
      if (name != null) 'name': name!,
      if (nodeConfig != null) 'nodeConfig': nodeConfig!,
      if (nodeCount != null) 'nodeCount': nodeCount!,
      if (parameters != null) 'parameters': parameters!,
      if (reservedIpRangeId != null) 'reservedIpRangeId': reservedIpRangeId!,
      if (state != null) 'state': state!,
      if (updateTime != null) 'updateTime': updateTime!,
      if (zones != null) 'zones': zones!,
    };