internal static ListTableResource DeserializeListTableResource(JsonElement element) { Optional <IReadOnlyList <TableData> > value = default; Optional <string> nextLink = default; foreach (var property in element.EnumerateObject()) { if (property.NameEquals("value")) { if (property.Value.ValueKind == JsonValueKind.Null) { property.ThrowNonNullablePropertyIsNull(); continue; } List <TableData> array = new List <TableData>(); foreach (var item in property.Value.EnumerateArray()) { array.Add(TableData.DeserializeTableData(item)); } value = array; continue; } if (property.NameEquals("nextLink")) { nextLink = property.Value.GetString(); continue; } } return(new ListTableResource(Optional.ToList(value), nextLink.Value)); }