Class MacroList.Pages.Builder
- java.lang.Object
-
- com.intercom.api.resources.unstable.macros.types.MacroList.Pages.Builder
-
- Enclosing class:
- MacroList.Pages
public static final class MacroList.Pages.Builder extends java.lang.Object
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description MacroList.Pagesbuild()MacroList.Pages.Builderfrom(MacroList.Pages other)MacroList.Pages.Buildernext(MacroList.Pages.Next next)MacroList.Pages.Buildernext(java.util.Optional<MacroList.Pages.Next> next)Cursor for the next pageMacroList.Pages.BuilderperPage(java.lang.Integer perPage)MacroList.Pages.BuilderperPage(java.util.Optional<java.lang.Integer> perPage)Number of results per pageMacroList.Pages.Buildertype(java.lang.String type)MacroList.Pages.Buildertype(java.util.Optional<java.lang.String> type)The type of pagination
-
-
-
Method Detail
-
from
public MacroList.Pages.Builder from(MacroList.Pages other)
-
type
public MacroList.Pages.Builder type(java.util.Optional<java.lang.String> type)
The type of pagination
-
type
public MacroList.Pages.Builder type(java.lang.String type)
-
perPage
public MacroList.Pages.Builder perPage(java.util.Optional<java.lang.Integer> perPage)
Number of results per page
-
perPage
public MacroList.Pages.Builder perPage(java.lang.Integer perPage)
-
next
public MacroList.Pages.Builder next(java.util.Optional<MacroList.Pages.Next> next)
Cursor for the next page
-
next
public MacroList.Pages.Builder next(MacroList.Pages.Next next)
-
build
public MacroList.Pages build()
-
-