Class NotificationListResponse.Builder
- java.lang.Object
-
- com.courier.api.resources.notifications.types.NotificationListResponse.Builder
-
- All Implemented Interfaces:
NotificationListResponse._FinalStage,NotificationListResponse.PagingStage
- Enclosing class:
- NotificationListResponse
public static final class NotificationListResponse.Builder extends java.lang.Object implements NotificationListResponse.PagingStage, NotificationListResponse._FinalStage
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description NotificationListResponse._FinalStageaddAllResults(java.util.List<Notification> results)NotificationListResponse._FinalStageaddResults(Notification results)NotificationListResponsebuild()NotificationListResponse.Builderfrom(NotificationListResponse other)NotificationListResponse._FinalStagepaging(Paging paging)NotificationListResponse._FinalStageresults(java.util.List<Notification> results)
-
-
-
Method Detail
-
from
public NotificationListResponse.Builder from(NotificationListResponse other)
- Specified by:
fromin interfaceNotificationListResponse.PagingStage
-
paging
public NotificationListResponse._FinalStage paging(Paging paging)
- Specified by:
pagingin interfaceNotificationListResponse.PagingStage
-
addAllResults
public NotificationListResponse._FinalStage addAllResults(java.util.List<Notification> results)
- Specified by:
addAllResultsin interfaceNotificationListResponse._FinalStage
-
addResults
public NotificationListResponse._FinalStage addResults(Notification results)
- Specified by:
addResultsin interfaceNotificationListResponse._FinalStage
-
results
public NotificationListResponse._FinalStage results(java.util.List<Notification> results)
- Specified by:
resultsin interfaceNotificationListResponse._FinalStage
-
build
public NotificationListResponse build()
- Specified by:
buildin interfaceNotificationListResponse._FinalStage
-
-