Class AudienceGroup
- java.lang.Object
-
- com.linecorp.bot.model.manageaudience.AudienceGroup
-
public final class AudienceGroup extends java.lang.Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classAudienceGroup.AudienceGroupBuilder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static AudienceGroup.AudienceGroupBuilderbuilder()booleanequals(java.lang.Object o)java.lang.LonggetAudienceCount()The number of valid recipients.longgetAudienceGroupId()The audience ID.java.net.URIgetClickUrl()The URL that was specified when the audience was created.longgetCreated()When the audience was created (in UNIX time).AudienceGroupCreateRoutegetCreateRoute()How the audience was created.java.lang.StringgetDescription()The audience's name.AudienceGroupFailedTypegetFailedType()The reason why the operation failed.java.lang.BooleangetIsIfaAudience()The value specified when the audience for uploading user IDs was created, determining which type of accounts must be specified as recipients.AudienceGroupPermissiongetPermission()Audience's update permission.java.lang.StringgetRequestId()The request ID that was specified when the audience was created.AudienceGroupStatusgetStatus()The audience's status.AudienceGroupTypegetType()The audience type.inthashCode()java.lang.StringtoString()
-
-
-
Method Detail
-
builder
public static AudienceGroup.AudienceGroupBuilder builder()
-
getAudienceGroupId
public long getAudienceGroupId()
The audience ID.
-
getType
public AudienceGroupType getType()
The audience type.
-
getDescription
public java.lang.String getDescription()
The audience's name.
-
getStatus
public AudienceGroupStatus getStatus()
The audience's status.
-
getFailedType
public AudienceGroupFailedType getFailedType()
The reason why the operation failed. This is only included when audienceGroups[].status is FAILED or EXPIRED.
-
getAudienceCount
public java.lang.Long getAudienceCount()
The number of valid recipients.
-
getCreated
public long getCreated()
When the audience was created (in UNIX time).
-
getRequestId
public java.lang.String getRequestId()
The request ID that was specified when the audience was created. This is only included when audienceGroups[].type is CLICK or IMP.
-
getClickUrl
public java.net.URI getClickUrl()
The URL that was specified when the audience was created. This is only included when audienceGroups[].type is CLICK.
-
getIsIfaAudience
public java.lang.Boolean getIsIfaAudience()
The value specified when the audience for uploading user IDs was created, determining which type of accounts must be specified as recipients.
-
getPermission
public AudienceGroupPermission getPermission()
Audience's update permission. Audiences linked to the same channel will be READ_WRITE.
-
getCreateRoute
public AudienceGroupCreateRoute getCreateRoute()
How the audience was created. If omitted, all audiences are included.
-
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
-
-