Class OpenTrackingSetting

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

public class OpenTrackingSetting
extends java.lang.Object
An open tracking settings object. This allows you to track whether the email was opened or not, but including a single pixel image in the body of the content. When the pixel is loaded, we can log that the email was opened.
  • Constructor Summary

    Constructors 
    Constructor Description
    OpenTrackingSetting()  
  • Method Summary

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

    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)
    • 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