File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed
Src/Notion.Client/Models/Filters Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -9,14 +9,14 @@ public class FormulaFilter : SinglePropertyFilter
9
9
10
10
public FormulaFilter (
11
11
string propertyName ,
12
- TextFilter . Condition text = null ,
12
+ TextFilter . Condition @string = null ,
13
13
CheckboxFilter . Condition checkbox = null ,
14
14
NumberFilter . Condition number = null ,
15
15
DateFilter . Condition date = null )
16
16
{
17
17
Property = propertyName ;
18
18
Formula = new Condition (
19
- text : text ,
19
+ @string : @string ,
20
20
checkbox : checkbox ,
21
21
number : number ,
22
22
date : date
@@ -25,8 +25,8 @@ public FormulaFilter(
25
25
26
26
public class Condition
27
27
{
28
- [ JsonProperty ( "text " ) ]
29
- public TextFilter . Condition Text { get ; set ; }
28
+ [ JsonProperty ( "string " ) ]
29
+ public TextFilter . Condition String { get ; set ; }
30
30
31
31
[ JsonProperty ( "checkbox" ) ]
32
32
public CheckboxFilter . Condition Checkbox { get ; set ; }
@@ -38,12 +38,12 @@ public class Condition
38
38
public DateFilter . Condition Date { get ; set ; }
39
39
40
40
public Condition (
41
- TextFilter . Condition text = null ,
41
+ TextFilter . Condition @string = null ,
42
42
CheckboxFilter . Condition checkbox = null ,
43
43
NumberFilter . Condition number = null ,
44
44
DateFilter . Condition date = null )
45
45
{
46
- Text = text ;
46
+ String = @string ;
47
47
Checkbox = checkbox ;
48
48
Number = number ;
49
49
Date = date ;
You can’t perform that action at this time.
0 commit comments