Package com.chrt.api.types
Class SessionListRes.Builder
- java.lang.Object
-
- com.chrt.api.types.SessionListRes.Builder
-
- All Implemented Interfaces:
SessionListRes._FinalStage,SessionListRes.TotalCountStage
- Enclosing class:
- SessionListRes
public static final class SessionListRes.Builder extends java.lang.Object implements SessionListRes.TotalCountStage, SessionListRes._FinalStage
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SessionListRes._FinalStageaddAllSessions(java.util.List<Session1> sessions)SessionListRes._FinalStageaddSessions(Session1 sessions)SessionListResbuild()SessionListRes.Builderfrom(SessionListRes other)SessionListRes._FinalStagesessions(java.util.List<Session1> sessions)SessionListRes._FinalStagetotalCount(int totalCount)
-
-
-
Method Detail
-
from
public SessionListRes.Builder from(SessionListRes other)
- Specified by:
fromin interfaceSessionListRes.TotalCountStage
-
totalCount
public SessionListRes._FinalStage totalCount(int totalCount)
- Specified by:
totalCountin interfaceSessionListRes.TotalCountStage
-
addAllSessions
public SessionListRes._FinalStage addAllSessions(java.util.List<Session1> sessions)
- Specified by:
addAllSessionsin interfaceSessionListRes._FinalStage
-
addSessions
public SessionListRes._FinalStage addSessions(Session1 sessions)
- Specified by:
addSessionsin interfaceSessionListRes._FinalStage
-
sessions
public SessionListRes._FinalStage sessions(java.util.List<Session1> sessions)
- Specified by:
sessionsin interfaceSessionListRes._FinalStage
-
build
public SessionListRes build()
- Specified by:
buildin interfaceSessionListRes._FinalStage
-
-