Class Narrow
java.lang.Object
com.github.jamesnetherton.zulip.client.api.narrow.Narrow
A narrow is a set of filters for Zulip messages.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
Narrow
Constructs aNarrow
with a String operand.- Parameters:
operator
- The operator that the narrow will apply tooperand
- The operand that the narrow will apply tonegated
- Whether the narrow is negated
-
Narrow
Constructs aNarrow
with an Integer operand.- Parameters:
operator
- The operator that the narrow will apply tooperand
- The operand that the narrow will apply tonegated
- Whether the narrow is negated
-
Narrow
Constructs aNarrow
with an Long operand.- Parameters:
operator
- The operator that the narrow will apply tooperand
- The operand that the narrow will apply tonegated
- Whether the narrow is negated
-
Narrow
Constructs aNarrow
with an numeric List operand.- Parameters:
operator
- The operator that the narrow will apply tooperand
- The operand that the narrow will apply tonegated
- Whether the narrow is negated
-
-
Method Details
-
of
Creates aNarrow
.- Parameters:
operator
- The operator that the narrow will apply tooperand
- The operand that the narrow will apply to- Returns:
- The
Narrow
constructed from the operator and operand
-
of
Creates aNarrow
.- Parameters:
operator
- The operator that the narrow will apply tooperand
- The operand that the narrow will apply to- Returns:
- The
Narrow
constructed from the operator and operand
-
of
Creates aNarrow
.- Parameters:
operator
- The operator that the narrow will apply tooperand
- The operand that the narrow will apply to- Returns:
- The
Narrow
constructed from the operator and operand
-
of
Creates aNarrow
.- Parameters:
operator
- The operator that the narrow will apply tooperand
- The operand that the narrow will apply to- Returns:
- The
Narrow
constructed from the operator and operand
-
ofNegated
Creates a negatedNarrow
.- Parameters:
operator
- The operator that the narrow will apply tooperand
- The operand that the narrow will apply to- Returns:
- The negated
Narrow
constructed from the operator and operand
-
getOperator
-
getOperand
-
isNegated
public boolean isNegated()
-