Class VerificationRequest

java.lang.Object
com.bandwidth.sdk.model.VerificationRequest

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

  • Constructor Details

    • VerificationRequest

      public VerificationRequest()
  • Method Details

    • businessAddress

      public VerificationRequest businessAddress(@Nonnull Address businessAddress)
    • getBusinessAddress

      @Nonnull public Address getBusinessAddress()
      Get businessAddress
      Returns:
      businessAddress
    • setBusinessAddress

      public void setBusinessAddress(@Nonnull Address businessAddress)
    • businessContact

      public VerificationRequest businessContact(@Nonnull Contact businessContact)
    • getBusinessContact

      @Nonnull public Contact getBusinessContact()
      Get businessContact
      Returns:
      businessContact
    • setBusinessContact

      public void setBusinessContact(@Nonnull Contact businessContact)
    • messageVolume

      public VerificationRequest messageVolume(@Nonnull Integer messageVolume)
    • getMessageVolume

      @Nonnull public Integer getMessageVolume()
      Estimated monthly volume of messages from the toll-free number. minimum: 10 maximum: 10000000
      Returns:
      messageVolume
    • setMessageVolume

      public void setMessageVolume(@Nonnull Integer messageVolume)
    • phoneNumbers

      public VerificationRequest phoneNumbers(@Nonnull List<String> phoneNumbers)
    • addPhoneNumbersItem

      public VerificationRequest addPhoneNumbersItem(String phoneNumbersItem)
    • getPhoneNumbers

      @Nonnull public List<String> getPhoneNumbers()
      Get phoneNumbers
      Returns:
      phoneNumbers
    • setPhoneNumbers

      public void setPhoneNumbers(@Nonnull List<String> phoneNumbers)
    • useCase

      public VerificationRequest useCase(@Nonnull String useCase)
    • getUseCase

      @Nonnull public String getUseCase()
      The category of the use case.
      Returns:
      useCase
    • setUseCase

      public void setUseCase(@Nonnull String useCase)
    • useCaseSummary

      public VerificationRequest useCaseSummary(@Nonnull String useCaseSummary)
    • getUseCaseSummary

      @Nonnull public String getUseCaseSummary()
      A general idea of the use case and customer.
      Returns:
      useCaseSummary
    • setUseCaseSummary

      public void setUseCaseSummary(@Nonnull String useCaseSummary)
    • productionMessageContent

      public VerificationRequest productionMessageContent(@Nonnull String productionMessageContent)
    • getProductionMessageContent

      @Nonnull public String getProductionMessageContent()
      Example of message content.
      Returns:
      productionMessageContent
    • setProductionMessageContent

      public void setProductionMessageContent(@Nonnull String productionMessageContent)
    • optInWorkflow

      public VerificationRequest optInWorkflow(@Nonnull OptInWorkflow optInWorkflow)
    • getOptInWorkflow

      @Nonnull public OptInWorkflow getOptInWorkflow()
      Get optInWorkflow
      Returns:
      optInWorkflow
    • setOptInWorkflow

      public void setOptInWorkflow(@Nonnull OptInWorkflow optInWorkflow)
    • additionalInformation

      public VerificationRequest additionalInformation(@Nullable String additionalInformation)
    • getAdditionalInformation

      @Nullable public String getAdditionalInformation()
      Any additional information.
      Returns:
      additionalInformation
    • setAdditionalInformation

      public void setAdditionalInformation(@Nullable String additionalInformation)
    • isvReseller

      public VerificationRequest isvReseller(@Nullable String isvReseller)
    • getIsvReseller

      @Nullable public String getIsvReseller()
      ISV name.
      Returns:
      isvReseller
    • setIsvReseller

      public void setIsvReseller(@Nullable String isvReseller)
    • privacyPolicyUrl

      public VerificationRequest privacyPolicyUrl(@Nullable String privacyPolicyUrl)
    • getPrivacyPolicyUrl

      @Nullable public String getPrivacyPolicyUrl()
      The Toll-Free Verification request privacy policy URL. (Not Available Until 5/28/2025)
      Returns:
      privacyPolicyUrl
    • setPrivacyPolicyUrl

      public void setPrivacyPolicyUrl(@Nullable String privacyPolicyUrl)
    • termsAndConditionsUrl

      public VerificationRequest termsAndConditionsUrl(@Nullable String termsAndConditionsUrl)
    • getTermsAndConditionsUrl

      @Nullable public String getTermsAndConditionsUrl()
      The Toll-Free Verification request terms and conditions policy URL. (Not Available Until 5/28/2025)
      Returns:
      termsAndConditionsUrl
    • setTermsAndConditionsUrl

      public void setTermsAndConditionsUrl(@Nullable String termsAndConditionsUrl)
    • businessDBA

      public VerificationRequest businessDBA(@Nullable String businessDBA)
    • getBusinessDBA

      @Nullable public String getBusinessDBA()
      The company 'Doing Business As'. (Not Available Until 5/28/2025)
      Returns:
      businessDBA
    • setBusinessDBA

      public void setBusinessDBA(@Nullable String businessDBA)
    • putAdditionalProperty

      public VerificationRequest putAdditionalProperty(String key, Object value)
      Set the additional (undeclared) property with the specified name and value. If the property does not already exist, create it otherwise replace it.
      Parameters:
      key - name of the property
      value - value of the property
      Returns:
      the VerificationRequest instance itself
    • getAdditionalProperties

      public Map<String,Object> getAdditionalProperties()
      Return the additional (undeclared) property.
      Returns:
      a map of objects
    • getAdditionalProperty

      public Object getAdditionalProperty(String key)
      Return the additional (undeclared) property with the specified name.
      Parameters:
      key - name of the property
      Returns:
      an object
    • 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 VerificationRequest
    • fromJson

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

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