Skip to content

Commit

Permalink
Adding missing advanced filters (#16997)
Browse files Browse the repository at this point in the history
  • Loading branch information
rohkuma-microsoft authored Dec 10, 2021
1 parent 6696f3d commit f3477bd
Showing 1 changed file with 133 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -4719,6 +4719,131 @@
},
"x-ms-discriminator-value": "StringContains"
},
"NumberInRangeAdvancedFilter": {
"description": "NumberInRange Advanced Filter.",
"type": "object",
"allOf": [
{
"$ref": "#/definitions/AdvancedFilter"
}
],
"properties": {
"values": {
"description": "The set of filter values.",
"type": "array",
"items": {
"type": "array",
"items": {
"format": "double",
"type": "number"
}
}
}
},
"x-ms-discriminator-value": "NumberInRange"
},
"NumberNotInRangeAdvancedFilter": {
"description": "NumberNotInRange Advanced Filter.",
"type": "object",
"allOf": [
{
"$ref": "#/definitions/AdvancedFilter"
}
],
"properties": {
"values": {
"description": "The set of filter values.",
"type": "array",
"items": {
"type": "array",
"items": {
"format": "double",
"type": "number"
}
}
}
},
"x-ms-discriminator-value": "NumberNotInRange"
},
"StringNotBeginsWithAdvancedFilter": {
"description": "StringNotBeginsWith Advanced Filter.",
"type": "object",
"allOf": [
{
"$ref": "#/definitions/AdvancedFilter"
}
],
"properties": {
"values": {
"description": "The set of filter values.",
"type": "array",
"items": {
"type": "string"
}
}
},
"x-ms-discriminator-value": "StringNotBeginsWith"
},
"StringNotEndsWithAdvancedFilter": {
"description": "StringNotEndsWith Advanced Filter.",
"type": "object",
"allOf": [
{
"$ref": "#/definitions/AdvancedFilter"
}
],
"properties": {
"values": {
"description": "The set of filter values.",
"type": "array",
"items": {
"type": "string"
}
}
},
"x-ms-discriminator-value": "StringNotEndsWith"
},
"StringNotContainsAdvancedFilter": {
"description": "StringNotContains Advanced Filter.",
"type": "object",
"allOf": [
{
"$ref": "#/definitions/AdvancedFilter"
}
],
"properties": {
"values": {
"description": "The set of filter values.",
"type": "array",
"items": {
"type": "string"
}
}
},
"x-ms-discriminator-value": "StringNotContains"
},
"IsNullOrUndefinedAdvancedFilter": {
"description": "IsNullOrUndefined Advanced Filter.",
"type": "object",
"allOf": [
{
"$ref": "#/definitions/AdvancedFilter"
}
],
"properties": {},
"x-ms-discriminator-value": "IsNullOrUndefined"
},
"IsNotNullAdvancedFilter": {
"description": "IsNotNull Advanced Filter.",
"type": "object",
"allOf": [
{
"$ref": "#/definitions/AdvancedFilter"
}
],
"properties": {},
"x-ms-discriminator-value": "IsNotNull"
},
"AdvancedFilter": {
"description": "This is the base type that represents an advanced filter. To configure an advanced filter, do not directly instantiate an object of this class. Instead, instantiate an object of a derived class such as BoolEqualsAdvancedFilter, NumberInAdvancedFilter, StringEqualsAdvancedFilter etc. depending on the type of the key based on which you want to filter.",
"required": [
Expand All @@ -4740,7 +4865,14 @@
"StringNotIn",
"StringBeginsWith",
"StringEndsWith",
"StringContains"
"StringContains",
"NumberInRange",
"NumberNotInRange",
"StringNotBeginsWith",
"StringNotEndsWith",
"StringNotContains",
"IsNullOrUndefined",
"IsNotNull"
],
"type": "string",
"x-ms-enum": {
Expand Down

0 comments on commit f3477bd

Please sign in to comment.