Class Limit
- java.lang.Object
-
- com.linecorp.bot.model.narrowcast.Limit
-
public final class Limit extends java.lang.Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
Limit.LimitBuilder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Limit.LimitBuilder
builder()
boolean
equals(java.lang.Object o)
java.lang.Integer
getMax()
The maximum number of narrowcast messages to send.java.lang.Boolean
getUpToRemainingQuota()
If true, the message will be sent within the maximum number of deliverable messages.int
hashCode()
java.lang.String
toString()
-
-
-
Method Detail
-
builder
public static Limit.LimitBuilder builder()
-
getMax
public java.lang.Integer getMax()
The maximum number of narrowcast messages to send. Use this parameter to limit the number of narrowcast messages sent. The recipients will be chosen at random.
-
getUpToRemainingQuota
public java.lang.Boolean getUpToRemainingQuota()
If true, the message will be sent within the maximum number of deliverable messages. The default value is false.
Targets will be selected at random.
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-