Package com.mailersend.sdk.inboundroutes
Class InboundRoutes
- java.lang.Object
-
- com.mailersend.sdk.inboundroutes.InboundRoutes
-
public class InboundRoutes extends Object
InboundRoutes class.
- Version:
- $Id: $Id
- Author:
- mailersend
-
-
Constructor Summary
Constructors Constructor Description InboundRoutes(MailerSend ref)Constructor for InboundRoutes.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description InboundRouteBuilderbuilder()builder.booleandeleteRoute(String routeId)deleteRoute.InboundRoutesdomainId(String domainId)domainId.InboundRouteBuildergetNewBuilder()getNewBuilder.InboundRoutegetRoute(String routeId)getRoute.InboundRoutesListgetRoutes()getRoutes.InboundRouteslimit(int limit)limit.InboundRoutespage(int page)page.
-
-
-
Constructor Detail
-
InboundRoutes
public InboundRoutes(MailerSend ref)
Constructor for InboundRoutes.
- Parameters:
ref- aMailerSendobject.
-
-
Method Detail
-
getNewBuilder
public InboundRouteBuilder getNewBuilder()
getNewBuilder.
- Returns:
- a
InboundRouteBuilderobject.
-
builder
public InboundRouteBuilder builder()
builder.
- Returns:
- a
InboundRouteBuilderobject.
-
page
public InboundRoutes page(int page)
page.
- Parameters:
page- a int.- Returns:
- a
InboundRoutesobject.
-
limit
public InboundRoutes limit(int limit)
limit.
- Parameters:
limit- a int.- Returns:
- a
InboundRoutesobject.
-
domainId
public InboundRoutes domainId(String domainId)
domainId.
- Parameters:
domainId- aStringobject.- Returns:
- a
InboundRoutesobject.
-
getRoutes
public InboundRoutesList getRoutes() throws MailerSendException
getRoutes.
- Returns:
- a
InboundRoutesListobject. - Throws:
MailerSendException- if any.
-
getRoute
public InboundRoute getRoute(String routeId) throws MailerSendException
getRoute.
- Parameters:
routeId- aStringobject.- Returns:
- a
InboundRouteobject. - Throws:
MailerSendException- if any.
-
deleteRoute
public boolean deleteRoute(String routeId) throws MailerSendException
deleteRoute.
- Parameters:
routeId- aStringobject.- Returns:
- a boolean.
- Throws:
MailerSendException- if any.
-
-