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 aNarrowwith 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 aNarrowwith 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 aNarrowwith 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 aNarrowwith 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
Narrowconstructed 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
Narrowconstructed 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
Narrowconstructed 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
Narrowconstructed 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
Narrowconstructed from the operator and operand
-
getOperator
-
getOperand
-
isNegated
public boolean isNegated()
-