Class SubscriptionTrackingSetting

java.lang.Object
com.sendgrid.helpers.mail.objects.SubscriptionTrackingSetting

public class SubscriptionTrackingSetting
extends java.lang.Object
A subscription tracking setting object. Subscription tracking allows you to insert a subscription management link at the bottom of the text and html bodies of your email. If you would like to specify the location of the link within your email, you may use the substitution_tag.
  • Constructor Summary

    Constructors 
    Constructor Description
    SubscriptionTrackingSetting()  
  • Method Summary

    Modifier and Type Method Description
    boolean equals​(java.lang.Object obj)  
    boolean getEnable()  
    java.lang.String getHtml()  
    java.lang.String getSubstitutionTag()  
    java.lang.String getText()  
    int hashCode()  
    void setEnable​(boolean enable)  
    void setHtml​(java.lang.String html)  
    void setSubstitutionTag​(java.lang.String substitutionTag)  
    void setText​(java.lang.String text)  

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

  • Method Details

    • getEnable

      public boolean getEnable()
    • setEnable

      public void setEnable​(boolean enable)
    • getText

      public java.lang.String getText()
    • setText

      public void setText​(java.lang.String text)
    • getHtml

      public java.lang.String getHtml()
    • setHtml

      public void setHtml​(java.lang.String html)
    • getSubstitutionTag

      public java.lang.String getSubstitutionTag()
    • setSubstitutionTag

      public void setSubstitutionTag​(java.lang.String substitutionTag)
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class java.lang.Object
    • equals

      public boolean equals​(java.lang.Object obj)
      Overrides:
      equals in class java.lang.Object