Class BehalfOf

java.lang.Object
com.boldsign.model.BehalfOf

@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", comments="Generator version: 7.8.0") public class BehalfOf extends Object
BehalfOf
  • Field Details

  • Constructor Details

    • BehalfOf

      public BehalfOf()
  • Method Details

    • name

      public BehalfOf name(String name)
    • getName

      @Nullable public String getName()
      Get name
      Returns:
      name
    • setName

      public void setName(String name)
    • emailAddress

      public BehalfOf emailAddress(String emailAddress)
    • getEmailAddress

      @Nullable public String getEmailAddress()
      Get emailAddress
      Returns:
      emailAddress
    • setEmailAddress

      public void setEmailAddress(String emailAddress)
    • 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
    • createFormData

      public Map<String,Object> createFormData() throws ApiException
      Throws:
      ApiException
    • 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 BehalfOf
    • fromJson

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

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