Class DomainTrack

java.lang.Object
sendpost_java_sdk.DomainTrack

@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2025-12-22T13:35:12.742682+05:30[Asia/Kolkata]", comments="Generator version: 7.13.0") public class DomainTrack extends Object
Track record host, type and value. This domain will be used for link tracking while rewriting links in your email message
  • Field Details

  • Constructor Details

    • DomainTrack

      public DomainTrack()
  • Method Details

    • host

      public DomainTrack host(@Nullable String host)
    • getHost

      @Nullable public String getHost()
      Get host
      Returns:
      host
    • setHost

      public void setHost(@Nullable String host)
    • type

      public DomainTrack type(@Nullable String type)
    • getType

      @Nullable public String getType()
      Get type
      Returns:
      type
    • setType

      public void setType(@Nullable String type)
    • textValue

      public DomainTrack textValue(@Nullable String textValue)
    • getTextValue

      @Nullable public String getTextValue()
      Get textValue
      Returns:
      textValue
    • setTextValue

      public void setTextValue(@Nullable String textValue)
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • validateJsonElement

      public static void validateJsonElement(com.google.gson.JsonElement jsonElement) throws IOException
      Validates the JSON Element and throws an exception if issues found
      Parameters:
      jsonElement - JSON Element
      Throws:
      IOException - if the JSON Element is invalid with respect to DomainTrack
    • fromJson

      public static DomainTrack fromJson(String jsonString) throws IOException
      Create an instance of DomainTrack given an JSON string
      Parameters:
      jsonString - JSON string
      Returns:
      An instance of DomainTrack
      Throws:
      IOException - if the JSON string is invalid with respect to DomainTrack
    • toJson

      public String toJson()
      Convert an instance of DomainTrack to an JSON string
      Returns:
      JSON string