Package com.linecorp.bot.model.response
Class MessageQuotaResponse.MessageQuotaResponseBuilder
- java.lang.Object
-
- com.linecorp.bot.model.response.MessageQuotaResponse.MessageQuotaResponseBuilder
-
- Enclosing class:
- MessageQuotaResponse
public static class MessageQuotaResponse.MessageQuotaResponseBuilder extends java.lang.Object
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description MessageQuotaResponse
build()
java.lang.String
toString()
MessageQuotaResponse.MessageQuotaResponseBuilder
type(MessageQuotaResponse.QuotaType type)
Indicates whether a target limit is set or not.MessageQuotaResponse.MessageQuotaResponseBuilder
value(long value)
The target limit for additional messages in the current month.
-
-
-
Method Detail
-
type
public MessageQuotaResponse.MessageQuotaResponseBuilder type(MessageQuotaResponse.QuotaType type)
Indicates whether a target limit is set or not.- Returns:
this
.
-
value
public MessageQuotaResponse.MessageQuotaResponseBuilder value(long value)
The target limit for additional messages in the current month. This property is set when the type property has a value of limited.- Returns:
this
.
-
build
public MessageQuotaResponse build()
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-