Package io.constructor.client.models
Class RedirectRule
java.lang.Object
io.constructor.client.models.RedirectRule
Constructor.io Redirect Rule ... uses Gson/Reflection to load data in
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionint
getId()
getUrl()
void
setEndTime
(String endTime) void
setId
(int id) void
setMatches
(List<RedirectRuleMatch> matches) void
setMetadata
(Object metadata) void
void
setUserSegments
(List<String> userSegments)
-
Constructor Details
-
RedirectRule
public RedirectRule()
-
-
Method Details
-
getId
public int getId()- Returns:
- the id of the redirect
-
getStartTime
- Returns:
- the start_time of the redirect
-
getEndTime
- Returns:
- the end_time of the redirect
-
getUserSegments
- Returns:
- the user_segments of the redirect
-
getMetadata
- Returns:
- the metadata of the redirect
-
getUrl
- Returns:
- the url of the redirect
-
getMatches
- Returns:
- the matches of the redirect
-
setMatches
-
setId
public void setId(int id) -
setUrl
-
setMetadata
-
setUserSegments
-
setEndTime
-