Package com.linecorp.bot.model.response
Class NarrowcastProgressResponse
- java.lang.Object
-
- com.linecorp.bot.model.response.NarrowcastProgressResponse
-
public final class NarrowcastProgressResponse extends java.lang.ObjectResponse object of the narrowcast progress API. See document for detail.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classNarrowcastProgressResponse.NarrowcastProgressResponseBuilderstatic classNarrowcastProgressResponse.Phase
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static NarrowcastProgressResponse.NarrowcastProgressResponseBuilderbuilder()booleanequals(java.lang.Object o)java.lang.LonggetErrorCode()A brief summary of the error.java.lang.StringgetFailedDescription()The reason why the message failed to be sent.java.lang.LonggetFailureCount()The number of users who failed to receive the message.NarrowcastProgressResponse.PhasegetPhase()The current status.java.lang.LonggetSuccessCount()The number of users who successfully received the message.java.lang.LonggetTargetCount()The number of intended recipients of the message.inthashCode()java.lang.StringtoString()
-
-
-
Method Detail
-
builder
public static NarrowcastProgressResponse.NarrowcastProgressResponseBuilder builder()
-
getPhase
public NarrowcastProgressResponse.Phase getPhase()
The current status.
-
getSuccessCount
public java.lang.Long getSuccessCount()
The number of users who successfully received the message. (Not available when phase is waiting)
-
getFailureCount
public java.lang.Long getFailureCount()
The number of users who failed to receive the message. (Not available when phase is waiting)
-
getTargetCount
public java.lang.Long getTargetCount()
The number of intended recipients of the message. (Not available when phase is waiting)
-
getFailedDescription
public java.lang.String getFailedDescription()
The reason why the message failed to be sent. This is only included with a phase property value of failed.
-
getErrorCode
public java.lang.Long getErrorCode()
A brief summary of the error.
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-