You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: segment_public_api/models/create_filter_input.py
+5-5Lines changed: 5 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -28,13 +28,13 @@ class CreateFilterInput(BaseModel):
28
28
"""
29
29
integration_id: StrictStr=Field(..., alias="integrationId", description="The Integration id of the resource.")
30
30
enabled: Optional[StrictBool] =Field(None, description="Whether the filter is enabled.")
31
-
drop: Optional[StrictBool] =Field(None, description="Whether the event is dropped.")
32
31
name: StrictStr=Field(..., description="The name of the filter.")
33
32
description: Optional[StrictStr] =Field(None, description="The description of the filter.")
34
33
var_if: StrictStr=Field(..., alias="if", description="The \"if\" statement for a filter.")
35
-
property_drops: Optional[conlist(StrictStr)] =Field(None, alias="propertyDrops", description="Describes the properties to be dropped on events that match the \"if\" statement.")
34
+
drop: Optional[StrictBool] =Field(None, description="Whether the event is dropped.")
35
+
drop_properties: Optional[conlist(StrictStr)] =Field(None, alias="dropProperties", description="Describes the properties to be dropped on events that match the \"if\" statement.")
36
36
allow_properties: Optional[conlist(StrictStr)] =Field(None, alias="allowProperties", description="Describes the properties allowed on events that match the \"if\" statement.")
Copy file name to clipboardExpand all lines: segment_public_api/models/filter.py
+5-5Lines changed: 5 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -30,13 +30,13 @@ class Filter(BaseModel):
30
30
workspace_id: StrictStr=Field(..., alias="workspaceId", description="The Workspace id to create the filter.")
31
31
integration_id: StrictStr=Field(..., alias="integrationId", description="The Integration id of the resource.")
32
32
enabled: Optional[StrictBool] =Field(None, description="Whether the filter is enabled.")
33
-
drop: Optional[StrictBool] =Field(None, description="Whether the event is dropped.")
34
33
name: Optional[StrictStr] =Field(None, description="The name of the filter.")
35
34
description: Optional[StrictStr] =Field(None, description="The description of the filter.")
36
35
var_if: Optional[StrictStr] =Field(None, alias="if", description="The \"if\" statement for a filter.")
37
-
property_drops: Optional[conlist(StrictStr)] =Field(None, alias="propertyDrops", description="Describes the properties to be dropped on events that match the \"if\" statement.")
36
+
drop: Optional[StrictBool] =Field(None, description="Whether the event is dropped.")
37
+
drop_properties: Optional[conlist(StrictStr)] =Field(None, alias="dropProperties", description="Describes the properties to be dropped on events that match the \"if\" statement.")
38
38
allow_properties: Optional[conlist(StrictStr)] =Field(None, alias="allowProperties", description="Describes the properties allowed on events that match the \"if\" statement.")
Copy file name to clipboardExpand all lines: segment_public_api/models/update_filter_by_id_input.py
+5-5Lines changed: 5 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -28,13 +28,13 @@ class UpdateFilterByIdInput(BaseModel):
28
28
"""
29
29
integration_id: StrictStr=Field(..., alias="integrationId", description="The Integration id of the resource.")
30
30
enabled: Optional[StrictBool] =Field(None, description="Whether the filter is enabled.")
31
-
drop: Optional[StrictBool] =Field(None, description="Whether the event is dropped.")
32
31
name: Optional[StrictStr] =Field(None, description="The name of the filter.")
33
32
description: Optional[StrictStr] =Field(None, description="The description of the filter.")
34
33
var_if: Optional[StrictStr] =Field(None, alias="if", description="The \"if\" statement for a filter.")
35
-
property_drops: Optional[conlist(StrictStr)] =Field(None, alias="propertyDrops", description="Describes the properties to be dropped on events that match the \"if\" statement.")
34
+
drop: Optional[StrictBool] =Field(None, description="Whether the event is dropped.")
35
+
drop_properties: Optional[conlist(StrictStr)] =Field(None, alias="dropProperties", description="Describes the properties to be dropped on events that match the \"if\" statement.")
36
36
allow_properties: Optional[conlist(StrictStr)] =Field(None, alias="allowProperties", description="Describes the properties allowed on events that match the \"if\" statement.")
0 commit comments