Class DomainReturnPath

java.lang.Object
sendpost_java_sdk.DomainReturnPath

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

  • Constructor Details

    • DomainReturnPath

      public DomainReturnPath()
  • Method Details

    • host

      public DomainReturnPath host(@Nullable String host)
    • getHost

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

      public void setHost(@Nullable String host)
    • type

      public DomainReturnPath type(@Nullable String type)
    • getType

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

      public void setType(@Nullable String type)
    • textValue

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

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

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