View Source SCIM.V2.Filter.Filter (scim v0.0.1)
Wraps boolean op, condition, and nested filter clauses
e.g. the filter (foo pr or foo eq 1) and (email ew "@example.com" or email ew "@example.org")
%Filter{
value: %And{
value: [
%Filter{
value: %Or{
value: [
%Condition{path: %Path{attribute: "occupation"}, op: :pr},
%Condition{path: %Path{attribute: "occupation"}, op: :eq, value: %Value{type: :number, value: 1}},
]
}
},
%Filter{
value: %Or{
value: [
%Condition{path: %Path{attribute: "email"}, op: :ew, value: %Value{type: :string, value: "@example.com"}},
%Condition{path: %Path{attribute: "email"}, op: :ew, value: %Value{type: :string, value: "@example.org"}},
]
}
}
]
}
}