Class DomainDmarc

java.lang.Object
sendpost_java_sdk.DomainDmarc

@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 DomainDmarc extends Object
DMARC record host, type and value
  • Field Details

  • Constructor Details

    • DomainDmarc

      public DomainDmarc()
  • Method Details

    • host

      public DomainDmarc host(@Nullable String host)
    • getHost

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

      public void setHost(@Nullable String host)
    • type

      public DomainDmarc type(@Nullable String type)
    • getType

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

      public void setType(@Nullable String type)
    • textValue

      public DomainDmarc 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 DomainDmarc
    • fromJson

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

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