Package com.linecorp.bot.model.response
Class NarrowcastProgressResponse.NarrowcastProgressResponseBuilder
- java.lang.Object
-
- com.linecorp.bot.model.response.NarrowcastProgressResponse.NarrowcastProgressResponseBuilder
-
- Enclosing class:
- NarrowcastProgressResponse
public static class NarrowcastProgressResponse.NarrowcastProgressResponseBuilder extends java.lang.Object
-
-
Method Summary
-
-
-
Method Detail
-
phase
public NarrowcastProgressResponse.NarrowcastProgressResponseBuilder phase(NarrowcastProgressResponse.Phase phase)
The current status.- Returns:
this.
-
successCount
public NarrowcastProgressResponse.NarrowcastProgressResponseBuilder successCount(java.lang.Long successCount)
The number of users who successfully received the message. (Not available when phase is waiting)- Returns:
this.
-
failureCount
public NarrowcastProgressResponse.NarrowcastProgressResponseBuilder failureCount(java.lang.Long failureCount)
The number of users who failed to receive the message. (Not available when phase is waiting)- Returns:
this.
-
targetCount
public NarrowcastProgressResponse.NarrowcastProgressResponseBuilder targetCount(java.lang.Long targetCount)
The number of intended recipients of the message. (Not available when phase is waiting)- Returns:
this.
-
failedDescription
public NarrowcastProgressResponse.NarrowcastProgressResponseBuilder failedDescription(java.lang.String failedDescription)
The reason why the message failed to be sent. This is only included with a phase property value of failed.- Returns:
this.
-
errorCode
public NarrowcastProgressResponse.NarrowcastProgressResponseBuilder errorCode(java.lang.Long errorCode)
A brief summary of the error.- Returns:
this.
-
build
public NarrowcastProgressResponse build()
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-