Class RedirectRule

java.lang.Object
io.constructor.client.models.RedirectRule

public class RedirectRule extends Object
Constructor.io Redirect Rule ... uses Gson/Reflection to load data in
  • Constructor Details

    • RedirectRule

      public RedirectRule()
  • Method Details

    • getId

      public int getId()
      Returns:
      the id of the redirect
    • getStartTime

      public String getStartTime()
      Returns:
      the start_time of the redirect
    • getEndTime

      public String getEndTime()
      Returns:
      the end_time of the redirect
    • getUserSegments

      public List<String> getUserSegments()
      Returns:
      the user_segments of the redirect
    • getMetadata

      public Object getMetadata()
      Returns:
      the metadata of the redirect
    • getUrl

      public String getUrl()
      Returns:
      the url of the redirect
    • getMatches

      public List<RedirectRuleMatch> getMatches()
      Returns:
      the matches of the redirect
    • setMatches

      public void setMatches(List<RedirectRuleMatch> matches)
    • setId

      public void setId(int id)
    • setUrl

      public void setUrl(String url)
    • setMetadata

      public void setMetadata(Object metadata)
    • setUserSegments

      public void setUserSegments(List<String> userSegments)
    • setEndTime

      public void setEndTime(String endTime)