diff --git a/.openapi-generator/VERSION b/.openapi-generator/VERSION
index 6d54bbd7..cd802a1e 100644
--- a/.openapi-generator/VERSION
+++ b/.openapi-generator/VERSION
@@ -1 +1 @@
-6.0.1
\ No newline at end of file
+6.6.0
\ No newline at end of file
diff --git a/README.md b/README.md
index 04bdc34c..321ef7a9 100644
--- a/README.md
+++ b/README.md
@@ -40,7 +40,7 @@ Add this dependency to your project's POM:
com.telnyx.sdk
telnyx
- 3.5.0
+ 3.5.1
compile
```
diff --git a/build.gradle b/build.gradle
index 81e34069..fd2978b7 100644
--- a/build.gradle
+++ b/build.gradle
@@ -3,7 +3,7 @@ apply plugin: 'eclipse'
apply plugin: 'com.diffplug.spotless'
group = 'com.telnyx.sdk'
-version = '3.5.0'
+version = '3.5.1'
buildscript {
repositories {
diff --git a/build.sbt b/build.sbt
index a52ad5c2..5dbeab78 100644
--- a/build.sbt
+++ b/build.sbt
@@ -2,7 +2,7 @@ lazy val root = (project in file(".")).
settings(
organization := "com.telnyx.sdk",
name := "telnyx",
- version := "3.5.0",
+ version := "3.5.1",
scalaVersion := "2.11.4",
scalacOptions ++= Seq("-feature"),
Compile / javacOptions ++= Seq("-Xlint:deprecation"),
diff --git a/pom.xml b/pom.xml
index 224c7541..2acf3e58 100644
--- a/pom.xml
+++ b/pom.xml
@@ -5,7 +5,7 @@
telnyx
jar
telnyx
- 3.5.0
+ 3.5.1
https://github.com/team-telnyx/telnyx-java/
Telnyx Java SDK
@@ -353,7 +353,7 @@
1.6.3
2.35
2.13.0
- 2.13.0
+ 2.15.2
0.2.2
1.3.5
4.13.2
diff --git a/src/main/java/com/telnyx/sdk/api/MessagingTollfreeVerificationApi.java b/src/main/java/com/telnyx/sdk/api/MessagingTollfreeVerificationApi.java
new file mode 100644
index 00000000..6ac8a8b4
--- /dev/null
+++ b/src/main/java/com/telnyx/sdk/api/MessagingTollfreeVerificationApi.java
@@ -0,0 +1,361 @@
+package com.telnyx.sdk.api;
+
+import com.telnyx.sdk.ApiException;
+import com.telnyx.sdk.ApiClient;
+import com.telnyx.sdk.ApiResponse;
+import com.telnyx.sdk.Configuration;
+import com.telnyx.sdk.Pair;
+
+import javax.ws.rs.core.GenericType;
+
+import com.telnyx.sdk.model.Errors;
+import java.time.OffsetDateTime;
+import com.telnyx.sdk.model.PaginatedVerificationRequestStatus;
+import com.telnyx.sdk.model.TFVerificationRequest;
+import com.telnyx.sdk.model.TFVerificationStatus;
+import java.util.UUID;
+import com.telnyx.sdk.model.VerificationRequestEgress;
+import com.telnyx.sdk.model.VerificationRequestStatus;
+
+import java.util.ArrayList;
+import java.util.HashMap;
+import java.util.List;
+import java.util.Map;
+
+@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen")
+public class MessagingTollfreeVerificationApi {
+ private ApiClient apiClient;
+
+ public MessagingTollfreeVerificationApi() {
+ this(Configuration.getDefaultApiClient());
+ }
+
+ public MessagingTollfreeVerificationApi(ApiClient apiClient) {
+ this.apiClient = apiClient;
+ }
+
+ /**
+ * Get the API client
+ *
+ * @return API client
+ */
+ public ApiClient getApiClient() {
+ return apiClient;
+ }
+
+ /**
+ * Set the API client
+ *
+ * @param apiClient an instance of API client
+ */
+ public void setApiClient(ApiClient apiClient) {
+ this.apiClient = apiClient;
+ }
+
+ /**
+ * Get Verification Request
+ * Get a single verification request by its ID.
+ * @param id (required)
+ * @return VerificationRequestStatus
+ * @throws ApiException if fails to make API call
+ * @http.response.details
+
+ Status Code Description Response Headers
+ 200 Successful Response -
+ 0 Unexpected error -
+
+ */
+ public VerificationRequestStatus getVerificationRequest(UUID id) throws ApiException {
+ return getVerificationRequestWithHttpInfo(id).getData();
+ }
+
+ /**
+ * Get Verification Request
+ * Get a single verification request by its ID.
+ * @param id (required)
+ * @return ApiResponse<VerificationRequestStatus>
+ * @throws ApiException if fails to make API call
+ * @http.response.details
+
+ Status Code Description Response Headers
+ 200 Successful Response -
+ 0 Unexpected error -
+
+ */
+ public ApiResponse getVerificationRequestWithHttpInfo(UUID id) throws ApiException {
+ Object localVarPostBody = null;
+
+ // verify the required parameter 'id' is set
+ if (id == null) {
+ throw new ApiException(400, "Missing the required parameter 'id' when calling getVerificationRequest");
+ }
+
+ // create path and map variables
+ String localVarPath = "/messaging_tollfree/verification/requests/{id}"
+ .replaceAll("\\{" + "id" + "\\}", apiClient.escapeString(id.toString()));
+
+ // query params
+ List localVarQueryParams = new ArrayList();
+ Map localVarHeaderParams = new HashMap();
+ Map localVarCookieParams = new HashMap();
+ Map localVarFormParams = new HashMap();
+
+
+
+
+
+ final String[] localVarAccepts = {
+ "application/json"
+ };
+ final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts);
+
+ final String[] localVarContentTypes = {
+
+ };
+ final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes);
+
+ String[] localVarAuthNames = new String[] { "bearerAuth" };
+
+ GenericType localVarReturnType = new GenericType() {};
+
+ return apiClient.invokeAPI("MessagingTollfreeVerificationApi.getVerificationRequest", localVarPath, "GET", localVarQueryParams, localVarPostBody,
+ localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAccept, localVarContentType,
+ localVarAuthNames, localVarReturnType, false);
+ }
+ /**
+ * List Verification Requests
+ * Get a list of previously-submitted tollfree verification requests
+ * @param page (required)
+ * @param pageSize Request this many records per page This value is automatically clamped if the provided value is too large. (required)
+ * @param dateStart (optional)
+ * @param dateEnd (optional)
+ * @param status (optional)
+ * @param phoneNumber (optional)
+ * @return PaginatedVerificationRequestStatus
+ * @throws ApiException if fails to make API call
+ * @http.response.details
+
+ Status Code Description Response Headers
+ 200 Successful Response -
+ 0 Unexpected error -
+
+ */
+ public PaginatedVerificationRequestStatus listVerificationRequests(Integer page, Integer pageSize, OffsetDateTime dateStart, OffsetDateTime dateEnd, TFVerificationStatus status, String phoneNumber) throws ApiException {
+ return listVerificationRequestsWithHttpInfo(page, pageSize, dateStart, dateEnd, status, phoneNumber).getData();
+ }
+
+ /**
+ * List Verification Requests
+ * Get a list of previously-submitted tollfree verification requests
+ * @param page (required)
+ * @param pageSize Request this many records per page This value is automatically clamped if the provided value is too large. (required)
+ * @param dateStart (optional)
+ * @param dateEnd (optional)
+ * @param status (optional)
+ * @param phoneNumber (optional)
+ * @return ApiResponse<PaginatedVerificationRequestStatus>
+ * @throws ApiException if fails to make API call
+ * @http.response.details
+
+ Status Code Description Response Headers
+ 200 Successful Response -
+ 0 Unexpected error -
+
+ */
+ public ApiResponse listVerificationRequestsWithHttpInfo(Integer page, Integer pageSize, OffsetDateTime dateStart, OffsetDateTime dateEnd, TFVerificationStatus status, String phoneNumber) throws ApiException {
+ Object localVarPostBody = null;
+
+ // verify the required parameter 'page' is set
+ if (page == null) {
+ throw new ApiException(400, "Missing the required parameter 'page' when calling listVerificationRequests");
+ }
+
+ // verify the required parameter 'pageSize' is set
+ if (pageSize == null) {
+ throw new ApiException(400, "Missing the required parameter 'pageSize' when calling listVerificationRequests");
+ }
+
+ // create path and map variables
+ String localVarPath = "/messaging_tollfree/verification/requests";
+
+ // query params
+ List localVarQueryParams = new ArrayList();
+ Map localVarHeaderParams = new HashMap();
+ Map localVarCookieParams = new HashMap();
+ Map localVarFormParams = new HashMap();
+
+ localVarQueryParams.addAll(apiClient.parameterToPairs("", "page", page));
+ localVarQueryParams.addAll(apiClient.parameterToPairs("", "page_size", pageSize));
+ localVarQueryParams.addAll(apiClient.parameterToPairs("", "date_start", dateStart));
+ localVarQueryParams.addAll(apiClient.parameterToPairs("", "date_end", dateEnd));
+ localVarQueryParams.addAll(apiClient.parameterToPairs("", "status", status));
+ localVarQueryParams.addAll(apiClient.parameterToPairs("", "phone_number", phoneNumber));
+
+
+
+
+ final String[] localVarAccepts = {
+ "application/json"
+ };
+ final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts);
+
+ final String[] localVarContentTypes = {
+
+ };
+ final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes);
+
+ String[] localVarAuthNames = new String[] { "bearerAuth" };
+
+ GenericType localVarReturnType = new GenericType() {};
+
+ return apiClient.invokeAPI("MessagingTollfreeVerificationApi.listVerificationRequests", localVarPath, "GET", localVarQueryParams, localVarPostBody,
+ localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAccept, localVarContentType,
+ localVarAuthNames, localVarReturnType, false);
+ }
+ /**
+ * Submit Verification Request
+ * Submit a new tollfree verification request
+ * @param tfVerificationRequest (required)
+ * @return VerificationRequestEgress
+ * @throws ApiException if fails to make API call
+ * @http.response.details
+
+ Status Code Description Response Headers
+ 200 Successful Response -
+ 0 Unexpected error -
+
+ */
+ public VerificationRequestEgress submitVerificationRequest(TFVerificationRequest tfVerificationRequest) throws ApiException {
+ return submitVerificationRequestWithHttpInfo(tfVerificationRequest).getData();
+ }
+
+ /**
+ * Submit Verification Request
+ * Submit a new tollfree verification request
+ * @param tfVerificationRequest (required)
+ * @return ApiResponse<VerificationRequestEgress>
+ * @throws ApiException if fails to make API call
+ * @http.response.details
+
+ Status Code Description Response Headers
+ 200 Successful Response -
+ 0 Unexpected error -
+
+ */
+ public ApiResponse submitVerificationRequestWithHttpInfo(TFVerificationRequest tfVerificationRequest) throws ApiException {
+ Object localVarPostBody = tfVerificationRequest;
+
+ // verify the required parameter 'tfVerificationRequest' is set
+ if (tfVerificationRequest == null) {
+ throw new ApiException(400, "Missing the required parameter 'tfVerificationRequest' when calling submitVerificationRequest");
+ }
+
+ // create path and map variables
+ String localVarPath = "/messaging_tollfree/verification/requests";
+
+ // query params
+ List localVarQueryParams = new ArrayList();
+ Map localVarHeaderParams = new HashMap();
+ Map localVarCookieParams = new HashMap();
+ Map localVarFormParams = new HashMap();
+
+
+
+
+
+ final String[] localVarAccepts = {
+ "application/json"
+ };
+ final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts);
+
+ final String[] localVarContentTypes = {
+ "application/json"
+ };
+ final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes);
+
+ String[] localVarAuthNames = new String[] { "bearerAuth" };
+
+ GenericType localVarReturnType = new GenericType() {};
+
+ return apiClient.invokeAPI("MessagingTollfreeVerificationApi.submitVerificationRequest", localVarPath, "POST", localVarQueryParams, localVarPostBody,
+ localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAccept, localVarContentType,
+ localVarAuthNames, localVarReturnType, false);
+ }
+ /**
+ * Update Verification Request
+ * Update an existing tollfree verification request. This is particularly useful when there are pending customer actions to be taken.
+ * @param id (required)
+ * @param tfVerificationRequest (required)
+ * @return VerificationRequestEgress
+ * @throws ApiException if fails to make API call
+ * @http.response.details
+
+ Status Code Description Response Headers
+ 200 Successful Response -
+ 0 Unexpected error -
+
+ */
+ public VerificationRequestEgress updateVerificationRequest(UUID id, TFVerificationRequest tfVerificationRequest) throws ApiException {
+ return updateVerificationRequestWithHttpInfo(id, tfVerificationRequest).getData();
+ }
+
+ /**
+ * Update Verification Request
+ * Update an existing tollfree verification request. This is particularly useful when there are pending customer actions to be taken.
+ * @param id (required)
+ * @param tfVerificationRequest (required)
+ * @return ApiResponse<VerificationRequestEgress>
+ * @throws ApiException if fails to make API call
+ * @http.response.details
+
+ Status Code Description Response Headers
+ 200 Successful Response -
+ 0 Unexpected error -
+
+ */
+ public ApiResponse updateVerificationRequestWithHttpInfo(UUID id, TFVerificationRequest tfVerificationRequest) throws ApiException {
+ Object localVarPostBody = tfVerificationRequest;
+
+ // verify the required parameter 'id' is set
+ if (id == null) {
+ throw new ApiException(400, "Missing the required parameter 'id' when calling updateVerificationRequest");
+ }
+
+ // verify the required parameter 'tfVerificationRequest' is set
+ if (tfVerificationRequest == null) {
+ throw new ApiException(400, "Missing the required parameter 'tfVerificationRequest' when calling updateVerificationRequest");
+ }
+
+ // create path and map variables
+ String localVarPath = "/messaging_tollfree/verification/requests/{id}"
+ .replaceAll("\\{" + "id" + "\\}", apiClient.escapeString(id.toString()));
+
+ // query params
+ List localVarQueryParams = new ArrayList();
+ Map localVarHeaderParams = new HashMap();
+ Map localVarCookieParams = new HashMap();
+ Map localVarFormParams = new HashMap();
+
+
+
+
+
+ final String[] localVarAccepts = {
+ "application/json"
+ };
+ final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts);
+
+ final String[] localVarContentTypes = {
+ "application/json"
+ };
+ final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes);
+
+ String[] localVarAuthNames = new String[] { "bearerAuth" };
+
+ GenericType localVarReturnType = new GenericType() {};
+
+ return apiClient.invokeAPI("MessagingTollfreeVerificationApi.updateVerificationRequest", localVarPath, "PATCH", localVarQueryParams, localVarPostBody,
+ localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAccept, localVarContentType,
+ localVarAuthNames, localVarReturnType, false);
+ }
+}
diff --git a/src/main/java/com/telnyx/sdk/api/MessagingTollfreeVerificationsApi.java b/src/main/java/com/telnyx/sdk/api/MessagingTollfreeVerificationsApi.java
new file mode 100644
index 00000000..268eb174
--- /dev/null
+++ b/src/main/java/com/telnyx/sdk/api/MessagingTollfreeVerificationsApi.java
@@ -0,0 +1,119 @@
+package com.telnyx.sdk.api;
+
+import com.telnyx.sdk.ApiException;
+import com.telnyx.sdk.ApiClient;
+import com.telnyx.sdk.ApiResponse;
+import com.telnyx.sdk.Configuration;
+import com.telnyx.sdk.Pair;
+
+import javax.ws.rs.core.GenericType;
+
+import com.telnyx.sdk.model.Errors;
+import java.util.UUID;
+
+import java.util.ArrayList;
+import java.util.HashMap;
+import java.util.List;
+import java.util.Map;
+
+@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen")
+public class MessagingTollfreeVerificationsApi {
+ private ApiClient apiClient;
+
+ public MessagingTollfreeVerificationsApi() {
+ this(Configuration.getDefaultApiClient());
+ }
+
+ public MessagingTollfreeVerificationsApi(ApiClient apiClient) {
+ this.apiClient = apiClient;
+ }
+
+ /**
+ * Get the API client
+ *
+ * @return API client
+ */
+ public ApiClient getApiClient() {
+ return apiClient;
+ }
+
+ /**
+ * Set the API client
+ *
+ * @param apiClient an instance of API client
+ */
+ public void setApiClient(ApiClient apiClient) {
+ this.apiClient = apiClient;
+ }
+
+ /**
+ * Delete Verification Request
+ * Delete a verification request A request may only be deleted when when the request is in the \"rejected\" state. * `HTTP 200`: request successfully deleted * `HTTP 400`: request exists but can't be deleted (i.e. not rejected) * `HTTP 404`: request unknown or already deleted
+ * @param id (required)
+ * @return Object
+ * @throws ApiException if fails to make API call
+ * @http.response.details
+
+ Status Code Description Response Headers
+ 200 Successful Response -
+ 0 Unexpected error -
+
+ */
+ public Object deleteVerificationRequestPublicApiV2RequestsIdDelete(UUID id) throws ApiException {
+ return deleteVerificationRequestPublicApiV2RequestsIdDeleteWithHttpInfo(id).getData();
+ }
+
+ /**
+ * Delete Verification Request
+ * Delete a verification request A request may only be deleted when when the request is in the \"rejected\" state. * `HTTP 200`: request successfully deleted * `HTTP 400`: request exists but can't be deleted (i.e. not rejected) * `HTTP 404`: request unknown or already deleted
+ * @param id (required)
+ * @return ApiResponse<Object>
+ * @throws ApiException if fails to make API call
+ * @http.response.details
+
+ Status Code Description Response Headers
+ 200 Successful Response -
+ 0 Unexpected error -
+
+ */
+ public ApiResponse deleteVerificationRequestPublicApiV2RequestsIdDeleteWithHttpInfo(UUID id) throws ApiException {
+ Object localVarPostBody = null;
+
+ // verify the required parameter 'id' is set
+ if (id == null) {
+ throw new ApiException(400, "Missing the required parameter 'id' when calling deleteVerificationRequestPublicApiV2RequestsIdDelete");
+ }
+
+ // create path and map variables
+ String localVarPath = "/messaging_tollfree/verification/requests/{id}"
+ .replaceAll("\\{" + "id" + "\\}", apiClient.escapeString(id.toString()));
+
+ // query params
+ List localVarQueryParams = new ArrayList();
+ Map localVarHeaderParams = new HashMap();
+ Map localVarCookieParams = new HashMap();
+ Map localVarFormParams = new HashMap();
+
+
+
+
+
+ final String[] localVarAccepts = {
+ "application/json"
+ };
+ final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts);
+
+ final String[] localVarContentTypes = {
+
+ };
+ final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes);
+
+ String[] localVarAuthNames = new String[] { "bearerAuth" };
+
+ GenericType localVarReturnType = new GenericType() {};
+
+ return apiClient.invokeAPI("MessagingTollfreeVerificationsApi.deleteVerificationRequestPublicApiV2RequestsIdDelete", localVarPath, "DELETE", localVarQueryParams, localVarPostBody,
+ localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAccept, localVarContentType,
+ localVarAuthNames, localVarReturnType, false);
+ }
+}
diff --git a/src/main/java/com/telnyx/sdk/model/PaginatedVerificationRequestStatus.java b/src/main/java/com/telnyx/sdk/model/PaginatedVerificationRequestStatus.java
new file mode 100644
index 00000000..490512e2
--- /dev/null
+++ b/src/main/java/com/telnyx/sdk/model/PaginatedVerificationRequestStatus.java
@@ -0,0 +1,156 @@
+/*
+ * Telnyx API
+ * SIP trunking, SMS, MMS, Call Control and Telephony Data Services.
+ *
+ * The version of the OpenAPI document: 2.0.0
+ * Contact: support@telnyx.com
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ */
+
+
+package com.telnyx.sdk.model;
+
+import java.util.Objects;
+import java.util.Arrays;
+import java.util.Map;
+import java.util.HashMap;
+import com.fasterxml.jackson.annotation.JsonInclude;
+import com.fasterxml.jackson.annotation.JsonProperty;
+import com.fasterxml.jackson.annotation.JsonCreator;
+import com.fasterxml.jackson.annotation.JsonTypeName;
+import com.fasterxml.jackson.annotation.JsonValue;
+import com.telnyx.sdk.model.VerificationRequestStatus;
+import io.swagger.annotations.ApiModel;
+import io.swagger.annotations.ApiModelProperty;
+import java.util.ArrayList;
+import java.util.List;
+import com.fasterxml.jackson.annotation.JsonPropertyOrder;
+import com.telnyx.sdk.JSON;
+
+
+/**
+ * A paginated response
+ */
+@ApiModel(description = "A paginated response")
+@JsonPropertyOrder({
+ PaginatedVerificationRequestStatus.JSON_PROPERTY_RECORDS,
+ PaginatedVerificationRequestStatus.JSON_PROPERTY_TOTAL_RECORDS
+})
+@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen")
+public class PaginatedVerificationRequestStatus {
+ public static final String JSON_PROPERTY_RECORDS = "records";
+ private List records = null;
+
+ public static final String JSON_PROPERTY_TOTAL_RECORDS = "total_records";
+ private Integer totalRecords = 0;
+
+ public PaginatedVerificationRequestStatus() {
+ }
+
+ public PaginatedVerificationRequestStatus records(List records) {
+ this.records = records;
+ return this;
+ }
+
+ public PaginatedVerificationRequestStatus addRecordsItem(VerificationRequestStatus recordsItem) {
+ if (this.records == null) {
+ this.records = null;
+ }
+ this.records.add(recordsItem);
+ return this;
+ }
+
+ /**
+ * The records yielded by this request
+ * @return records
+ **/
+ @javax.annotation.Nullable
+ @ApiModelProperty(value = "The records yielded by this request")
+ @JsonProperty(JSON_PROPERTY_RECORDS)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+
+ public List getRecords() {
+ return records;
+ }
+
+
+ @JsonProperty(JSON_PROPERTY_RECORDS)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public void setRecords(List records) {
+ this.records = records;
+ }
+
+
+ public PaginatedVerificationRequestStatus totalRecords(Integer totalRecords) {
+ this.totalRecords = totalRecords;
+ return this;
+ }
+
+ /**
+ * The total amount of records for these query parameters
+ * @return totalRecords
+ **/
+ @javax.annotation.Nullable
+ @ApiModelProperty(value = "The total amount of records for these query parameters")
+ @JsonProperty(JSON_PROPERTY_TOTAL_RECORDS)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+
+ public Integer getTotalRecords() {
+ return totalRecords;
+ }
+
+
+ @JsonProperty(JSON_PROPERTY_TOTAL_RECORDS)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public void setTotalRecords(Integer totalRecords) {
+ this.totalRecords = totalRecords;
+ }
+
+
+ /**
+ * Return true if this Paginated_VerificationRequestStatus_ object is equal to o.
+ */
+ @Override
+ public boolean equals(Object o) {
+ if (this == o) {
+ return true;
+ }
+ if (o == null || getClass() != o.getClass()) {
+ return false;
+ }
+ PaginatedVerificationRequestStatus paginatedVerificationRequestStatus = (PaginatedVerificationRequestStatus) o;
+ return Objects.equals(this.records, paginatedVerificationRequestStatus.records) &&
+ Objects.equals(this.totalRecords, paginatedVerificationRequestStatus.totalRecords);
+ }
+
+ @Override
+ public int hashCode() {
+ return Objects.hash(records, totalRecords);
+ }
+
+ @Override
+ public String toString() {
+ StringBuilder sb = new StringBuilder();
+ sb.append("class PaginatedVerificationRequestStatus {\n");
+ sb.append(" records: ").append(toIndentedString(records)).append("\n");
+ sb.append(" totalRecords: ").append(toIndentedString(totalRecords)).append("\n");
+ sb.append("}");
+ return sb.toString();
+ }
+
+ /**
+ * Convert the given object to string with each line indented by 4 spaces
+ * (except the first line).
+ */
+ private String toIndentedString(Object o) {
+ if (o == null) {
+ return "null";
+ }
+ return o.toString().replace("\n", "\n ");
+ }
+
+}
+
diff --git a/src/main/java/com/telnyx/sdk/model/TFPhoneNumber.java b/src/main/java/com/telnyx/sdk/model/TFPhoneNumber.java
new file mode 100644
index 00000000..95f688c1
--- /dev/null
+++ b/src/main/java/com/telnyx/sdk/model/TFPhoneNumber.java
@@ -0,0 +1,113 @@
+/*
+ * Telnyx API
+ * SIP trunking, SMS, MMS, Call Control and Telephony Data Services.
+ *
+ * The version of the OpenAPI document: 2.0.0
+ * Contact: support@telnyx.com
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ */
+
+
+package com.telnyx.sdk.model;
+
+import java.util.Objects;
+import java.util.Arrays;
+import java.util.Map;
+import java.util.HashMap;
+import com.fasterxml.jackson.annotation.JsonInclude;
+import com.fasterxml.jackson.annotation.JsonProperty;
+import com.fasterxml.jackson.annotation.JsonCreator;
+import com.fasterxml.jackson.annotation.JsonTypeName;
+import com.fasterxml.jackson.annotation.JsonValue;
+import com.fasterxml.jackson.annotation.JsonPropertyOrder;
+import io.swagger.annotations.ApiModel;
+import io.swagger.annotations.ApiModelProperty;
+import com.telnyx.sdk.JSON;
+
+
+/**
+ * A phone number
+ */
+@ApiModel(description = "A phone number")
+@JsonPropertyOrder({
+ TFPhoneNumber.JSON_PROPERTY_PHONE_NUMBER
+})
+@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen")
+public class TFPhoneNumber {
+ public static final String JSON_PROPERTY_PHONE_NUMBER = "phoneNumber";
+ private String phoneNumber;
+
+ public TFPhoneNumber() {
+ }
+
+ public TFPhoneNumber phoneNumber(String phoneNumber) {
+ this.phoneNumber = phoneNumber;
+ return this;
+ }
+
+ /**
+ * Get phoneNumber
+ * @return phoneNumber
+ **/
+ @javax.annotation.Nonnull
+ @ApiModelProperty(required = true, value = "")
+ @JsonProperty(JSON_PROPERTY_PHONE_NUMBER)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
+
+ public String getPhoneNumber() {
+ return phoneNumber;
+ }
+
+
+ @JsonProperty(JSON_PROPERTY_PHONE_NUMBER)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
+ public void setPhoneNumber(String phoneNumber) {
+ this.phoneNumber = phoneNumber;
+ }
+
+
+ /**
+ * Return true if this TFPhoneNumber object is equal to o.
+ */
+ @Override
+ public boolean equals(Object o) {
+ if (this == o) {
+ return true;
+ }
+ if (o == null || getClass() != o.getClass()) {
+ return false;
+ }
+ TFPhoneNumber tfPhoneNumber = (TFPhoneNumber) o;
+ return Objects.equals(this.phoneNumber, tfPhoneNumber.phoneNumber);
+ }
+
+ @Override
+ public int hashCode() {
+ return Objects.hash(phoneNumber);
+ }
+
+ @Override
+ public String toString() {
+ StringBuilder sb = new StringBuilder();
+ sb.append("class TFPhoneNumber {\n");
+ sb.append(" phoneNumber: ").append(toIndentedString(phoneNumber)).append("\n");
+ sb.append("}");
+ return sb.toString();
+ }
+
+ /**
+ * Convert the given object to string with each line indented by 4 spaces
+ * (except the first line).
+ */
+ private String toIndentedString(Object o) {
+ if (o == null) {
+ return "null";
+ }
+ return o.toString().replace("\n", "\n ");
+ }
+
+}
+
diff --git a/src/main/java/com/telnyx/sdk/model/TFVerificationRequest.java b/src/main/java/com/telnyx/sdk/model/TFVerificationRequest.java
new file mode 100644
index 00000000..bbcb026a
--- /dev/null
+++ b/src/main/java/com/telnyx/sdk/model/TFVerificationRequest.java
@@ -0,0 +1,769 @@
+/*
+ * Telnyx API
+ * SIP trunking, SMS, MMS, Call Control and Telephony Data Services.
+ *
+ * The version of the OpenAPI document: 2.0.0
+ * Contact: support@telnyx.com
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ */
+
+
+package com.telnyx.sdk.model;
+
+import java.util.Objects;
+import java.util.Arrays;
+import java.util.Map;
+import java.util.HashMap;
+import com.fasterxml.jackson.annotation.JsonInclude;
+import com.fasterxml.jackson.annotation.JsonProperty;
+import com.fasterxml.jackson.annotation.JsonCreator;
+import com.fasterxml.jackson.annotation.JsonTypeName;
+import com.fasterxml.jackson.annotation.JsonValue;
+import io.swagger.annotations.ApiModel;
+import io.swagger.annotations.ApiModelProperty;
+import com.telnyx.sdk.model.TFPhoneNumber;
+import com.telnyx.sdk.model.Url;
+import com.telnyx.sdk.model.UseCaseCategories;
+import com.telnyx.sdk.model.Volume;
+import java.util.ArrayList;
+import java.util.List;
+import com.fasterxml.jackson.annotation.JsonPropertyOrder;
+import com.telnyx.sdk.JSON;
+
+
+/**
+ * The body of a tollfree verification request
+ */
+@ApiModel(description = "The body of a tollfree verification request")
+@JsonPropertyOrder({
+ TFVerificationRequest.JSON_PROPERTY_BUSINESS_NAME,
+ TFVerificationRequest.JSON_PROPERTY_CORPORATE_WEBSITE,
+ TFVerificationRequest.JSON_PROPERTY_BUSINESS_ADDR1,
+ TFVerificationRequest.JSON_PROPERTY_BUSINESS_ADDR2,
+ TFVerificationRequest.JSON_PROPERTY_BUSINESS_CITY,
+ TFVerificationRequest.JSON_PROPERTY_BUSINESS_STATE,
+ TFVerificationRequest.JSON_PROPERTY_BUSINESS_ZIP,
+ TFVerificationRequest.JSON_PROPERTY_BUSINESS_CONTACT_FIRST_NAME,
+ TFVerificationRequest.JSON_PROPERTY_BUSINESS_CONTACT_LAST_NAME,
+ TFVerificationRequest.JSON_PROPERTY_BUSINESS_CONTACT_EMAIL,
+ TFVerificationRequest.JSON_PROPERTY_BUSINESS_CONTACT_PHONE,
+ TFVerificationRequest.JSON_PROPERTY_MESSAGE_VOLUME,
+ TFVerificationRequest.JSON_PROPERTY_PHONE_NUMBERS,
+ TFVerificationRequest.JSON_PROPERTY_USE_CASE,
+ TFVerificationRequest.JSON_PROPERTY_USE_CASE_SUMMARY,
+ TFVerificationRequest.JSON_PROPERTY_PRODUCTION_MESSAGE_CONTENT,
+ TFVerificationRequest.JSON_PROPERTY_OPT_IN_WORKFLOW,
+ TFVerificationRequest.JSON_PROPERTY_OPT_IN_WORKFLOW_IMAGE_U_R_LS,
+ TFVerificationRequest.JSON_PROPERTY_ADDITIONAL_INFORMATION,
+ TFVerificationRequest.JSON_PROPERTY_ISV_RESELLER,
+ TFVerificationRequest.JSON_PROPERTY_WEBHOOK_URL
+})
+@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen")
+public class TFVerificationRequest {
+ public static final String JSON_PROPERTY_BUSINESS_NAME = "businessName";
+ private String businessName;
+
+ public static final String JSON_PROPERTY_CORPORATE_WEBSITE = "corporateWebsite";
+ private String corporateWebsite;
+
+ public static final String JSON_PROPERTY_BUSINESS_ADDR1 = "businessAddr1";
+ private String businessAddr1;
+
+ public static final String JSON_PROPERTY_BUSINESS_ADDR2 = "businessAddr2";
+ private String businessAddr2;
+
+ public static final String JSON_PROPERTY_BUSINESS_CITY = "businessCity";
+ private String businessCity;
+
+ public static final String JSON_PROPERTY_BUSINESS_STATE = "businessState";
+ private String businessState;
+
+ public static final String JSON_PROPERTY_BUSINESS_ZIP = "businessZip";
+ private String businessZip;
+
+ public static final String JSON_PROPERTY_BUSINESS_CONTACT_FIRST_NAME = "businessContactFirstName";
+ private String businessContactFirstName;
+
+ public static final String JSON_PROPERTY_BUSINESS_CONTACT_LAST_NAME = "businessContactLastName";
+ private String businessContactLastName;
+
+ public static final String JSON_PROPERTY_BUSINESS_CONTACT_EMAIL = "businessContactEmail";
+ private String businessContactEmail;
+
+ public static final String JSON_PROPERTY_BUSINESS_CONTACT_PHONE = "businessContactPhone";
+ private String businessContactPhone;
+
+ public static final String JSON_PROPERTY_MESSAGE_VOLUME = "messageVolume";
+ private Volume messageVolume;
+
+ public static final String JSON_PROPERTY_PHONE_NUMBERS = "phoneNumbers";
+ private List phoneNumbers = new ArrayList<>();
+
+ public static final String JSON_PROPERTY_USE_CASE = "useCase";
+ private UseCaseCategories useCase;
+
+ public static final String JSON_PROPERTY_USE_CASE_SUMMARY = "useCaseSummary";
+ private String useCaseSummary;
+
+ public static final String JSON_PROPERTY_PRODUCTION_MESSAGE_CONTENT = "productionMessageContent";
+ private String productionMessageContent;
+
+ public static final String JSON_PROPERTY_OPT_IN_WORKFLOW = "optInWorkflow";
+ private String optInWorkflow;
+
+ public static final String JSON_PROPERTY_OPT_IN_WORKFLOW_IMAGE_U_R_LS = "optInWorkflowImageURLs";
+ private List optInWorkflowImageURLs = new ArrayList<>();
+
+ public static final String JSON_PROPERTY_ADDITIONAL_INFORMATION = "additionalInformation";
+ private String additionalInformation;
+
+ public static final String JSON_PROPERTY_ISV_RESELLER = "isvReseller";
+ private String isvReseller;
+
+ public static final String JSON_PROPERTY_WEBHOOK_URL = "webhookUrl";
+ private String webhookUrl;
+
+ public TFVerificationRequest() {
+ }
+
+ public TFVerificationRequest businessName(String businessName) {
+ this.businessName = businessName;
+ return this;
+ }
+
+ /**
+ * Get businessName
+ * @return businessName
+ **/
+ @javax.annotation.Nonnull
+ @ApiModelProperty(example = "Telnyx LLC", required = true, value = "")
+ @JsonProperty(JSON_PROPERTY_BUSINESS_NAME)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
+
+ public String getBusinessName() {
+ return businessName;
+ }
+
+
+ @JsonProperty(JSON_PROPERTY_BUSINESS_NAME)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
+ public void setBusinessName(String businessName) {
+ this.businessName = businessName;
+ }
+
+
+ public TFVerificationRequest corporateWebsite(String corporateWebsite) {
+ this.corporateWebsite = corporateWebsite;
+ return this;
+ }
+
+ /**
+ * Get corporateWebsite
+ * @return corporateWebsite
+ **/
+ @javax.annotation.Nonnull
+ @ApiModelProperty(example = "http://example.com", required = true, value = "")
+ @JsonProperty(JSON_PROPERTY_CORPORATE_WEBSITE)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
+
+ public String getCorporateWebsite() {
+ return corporateWebsite;
+ }
+
+
+ @JsonProperty(JSON_PROPERTY_CORPORATE_WEBSITE)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
+ public void setCorporateWebsite(String corporateWebsite) {
+ this.corporateWebsite = corporateWebsite;
+ }
+
+
+ public TFVerificationRequest businessAddr1(String businessAddr1) {
+ this.businessAddr1 = businessAddr1;
+ return this;
+ }
+
+ /**
+ * Get businessAddr1
+ * @return businessAddr1
+ **/
+ @javax.annotation.Nonnull
+ @ApiModelProperty(example = "311 W Superior St", required = true, value = "")
+ @JsonProperty(JSON_PROPERTY_BUSINESS_ADDR1)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
+
+ public String getBusinessAddr1() {
+ return businessAddr1;
+ }
+
+
+ @JsonProperty(JSON_PROPERTY_BUSINESS_ADDR1)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
+ public void setBusinessAddr1(String businessAddr1) {
+ this.businessAddr1 = businessAddr1;
+ }
+
+
+ public TFVerificationRequest businessAddr2(String businessAddr2) {
+ this.businessAddr2 = businessAddr2;
+ return this;
+ }
+
+ /**
+ * Get businessAddr2
+ * @return businessAddr2
+ **/
+ @javax.annotation.Nullable
+ @ApiModelProperty(example = "121 W Superior St", value = "")
+ @JsonProperty(JSON_PROPERTY_BUSINESS_ADDR2)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+
+ public String getBusinessAddr2() {
+ return businessAddr2;
+ }
+
+
+ @JsonProperty(JSON_PROPERTY_BUSINESS_ADDR2)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public void setBusinessAddr2(String businessAddr2) {
+ this.businessAddr2 = businessAddr2;
+ }
+
+
+ public TFVerificationRequest businessCity(String businessCity) {
+ this.businessCity = businessCity;
+ return this;
+ }
+
+ /**
+ * Get businessCity
+ * @return businessCity
+ **/
+ @javax.annotation.Nonnull
+ @ApiModelProperty(example = "Chicago", required = true, value = "")
+ @JsonProperty(JSON_PROPERTY_BUSINESS_CITY)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
+
+ public String getBusinessCity() {
+ return businessCity;
+ }
+
+
+ @JsonProperty(JSON_PROPERTY_BUSINESS_CITY)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
+ public void setBusinessCity(String businessCity) {
+ this.businessCity = businessCity;
+ }
+
+
+ public TFVerificationRequest businessState(String businessState) {
+ this.businessState = businessState;
+ return this;
+ }
+
+ /**
+ * Get businessState
+ * @return businessState
+ **/
+ @javax.annotation.Nonnull
+ @ApiModelProperty(example = "Illinois", required = true, value = "")
+ @JsonProperty(JSON_PROPERTY_BUSINESS_STATE)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
+
+ public String getBusinessState() {
+ return businessState;
+ }
+
+
+ @JsonProperty(JSON_PROPERTY_BUSINESS_STATE)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
+ public void setBusinessState(String businessState) {
+ this.businessState = businessState;
+ }
+
+
+ public TFVerificationRequest businessZip(String businessZip) {
+ this.businessZip = businessZip;
+ return this;
+ }
+
+ /**
+ * Get businessZip
+ * @return businessZip
+ **/
+ @javax.annotation.Nonnull
+ @ApiModelProperty(example = "60654", required = true, value = "")
+ @JsonProperty(JSON_PROPERTY_BUSINESS_ZIP)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
+
+ public String getBusinessZip() {
+ return businessZip;
+ }
+
+
+ @JsonProperty(JSON_PROPERTY_BUSINESS_ZIP)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
+ public void setBusinessZip(String businessZip) {
+ this.businessZip = businessZip;
+ }
+
+
+ public TFVerificationRequest businessContactFirstName(String businessContactFirstName) {
+ this.businessContactFirstName = businessContactFirstName;
+ return this;
+ }
+
+ /**
+ * Get businessContactFirstName
+ * @return businessContactFirstName
+ **/
+ @javax.annotation.Nonnull
+ @ApiModelProperty(example = "John", required = true, value = "")
+ @JsonProperty(JSON_PROPERTY_BUSINESS_CONTACT_FIRST_NAME)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
+
+ public String getBusinessContactFirstName() {
+ return businessContactFirstName;
+ }
+
+
+ @JsonProperty(JSON_PROPERTY_BUSINESS_CONTACT_FIRST_NAME)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
+ public void setBusinessContactFirstName(String businessContactFirstName) {
+ this.businessContactFirstName = businessContactFirstName;
+ }
+
+
+ public TFVerificationRequest businessContactLastName(String businessContactLastName) {
+ this.businessContactLastName = businessContactLastName;
+ return this;
+ }
+
+ /**
+ * Get businessContactLastName
+ * @return businessContactLastName
+ **/
+ @javax.annotation.Nonnull
+ @ApiModelProperty(example = "Doe", required = true, value = "")
+ @JsonProperty(JSON_PROPERTY_BUSINESS_CONTACT_LAST_NAME)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
+
+ public String getBusinessContactLastName() {
+ return businessContactLastName;
+ }
+
+
+ @JsonProperty(JSON_PROPERTY_BUSINESS_CONTACT_LAST_NAME)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
+ public void setBusinessContactLastName(String businessContactLastName) {
+ this.businessContactLastName = businessContactLastName;
+ }
+
+
+ public TFVerificationRequest businessContactEmail(String businessContactEmail) {
+ this.businessContactEmail = businessContactEmail;
+ return this;
+ }
+
+ /**
+ * Get businessContactEmail
+ * @return businessContactEmail
+ **/
+ @javax.annotation.Nonnull
+ @ApiModelProperty(example = "email@example.com", required = true, value = "")
+ @JsonProperty(JSON_PROPERTY_BUSINESS_CONTACT_EMAIL)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
+
+ public String getBusinessContactEmail() {
+ return businessContactEmail;
+ }
+
+
+ @JsonProperty(JSON_PROPERTY_BUSINESS_CONTACT_EMAIL)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
+ public void setBusinessContactEmail(String businessContactEmail) {
+ this.businessContactEmail = businessContactEmail;
+ }
+
+
+ public TFVerificationRequest businessContactPhone(String businessContactPhone) {
+ this.businessContactPhone = businessContactPhone;
+ return this;
+ }
+
+ /**
+ * Get businessContactPhone
+ * @return businessContactPhone
+ **/
+ @javax.annotation.Nonnull
+ @ApiModelProperty(example = "+18005550100", required = true, value = "")
+ @JsonProperty(JSON_PROPERTY_BUSINESS_CONTACT_PHONE)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
+
+ public String getBusinessContactPhone() {
+ return businessContactPhone;
+ }
+
+
+ @JsonProperty(JSON_PROPERTY_BUSINESS_CONTACT_PHONE)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
+ public void setBusinessContactPhone(String businessContactPhone) {
+ this.businessContactPhone = businessContactPhone;
+ }
+
+
+ public TFVerificationRequest messageVolume(Volume messageVolume) {
+ this.messageVolume = messageVolume;
+ return this;
+ }
+
+ /**
+ * Get messageVolume
+ * @return messageVolume
+ **/
+ @javax.annotation.Nonnull
+ @ApiModelProperty(required = true, value = "")
+ @JsonProperty(JSON_PROPERTY_MESSAGE_VOLUME)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
+
+ public Volume getMessageVolume() {
+ return messageVolume;
+ }
+
+
+ @JsonProperty(JSON_PROPERTY_MESSAGE_VOLUME)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
+ public void setMessageVolume(Volume messageVolume) {
+ this.messageVolume = messageVolume;
+ }
+
+
+ public TFVerificationRequest phoneNumbers(List phoneNumbers) {
+ this.phoneNumbers = phoneNumbers;
+ return this;
+ }
+
+ public TFVerificationRequest addPhoneNumbersItem(TFPhoneNumber phoneNumbersItem) {
+ this.phoneNumbers.add(phoneNumbersItem);
+ return this;
+ }
+
+ /**
+ * Get phoneNumbers
+ * @return phoneNumbers
+ **/
+ @javax.annotation.Nonnull
+ @ApiModelProperty(example = "[{\"phoneNumber\":\"+18773554398\"},{\"phoneNumber\":\"+18773554399\"}]", required = true, value = "")
+ @JsonProperty(JSON_PROPERTY_PHONE_NUMBERS)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
+
+ public List getPhoneNumbers() {
+ return phoneNumbers;
+ }
+
+
+ @JsonProperty(JSON_PROPERTY_PHONE_NUMBERS)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
+ public void setPhoneNumbers(List phoneNumbers) {
+ this.phoneNumbers = phoneNumbers;
+ }
+
+
+ public TFVerificationRequest useCase(UseCaseCategories useCase) {
+ this.useCase = useCase;
+ return this;
+ }
+
+ /**
+ * Get useCase
+ * @return useCase
+ **/
+ @javax.annotation.Nonnull
+ @ApiModelProperty(required = true, value = "")
+ @JsonProperty(JSON_PROPERTY_USE_CASE)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
+
+ public UseCaseCategories getUseCase() {
+ return useCase;
+ }
+
+
+ @JsonProperty(JSON_PROPERTY_USE_CASE)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
+ public void setUseCase(UseCaseCategories useCase) {
+ this.useCase = useCase;
+ }
+
+
+ public TFVerificationRequest useCaseSummary(String useCaseSummary) {
+ this.useCaseSummary = useCaseSummary;
+ return this;
+ }
+
+ /**
+ * Get useCaseSummary
+ * @return useCaseSummary
+ **/
+ @javax.annotation.Nonnull
+ @ApiModelProperty(example = "This is a use case where Telnyx sends out 2FA codes to portal users to verify their identity in order to sign into the portal", required = true, value = "")
+ @JsonProperty(JSON_PROPERTY_USE_CASE_SUMMARY)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
+
+ public String getUseCaseSummary() {
+ return useCaseSummary;
+ }
+
+
+ @JsonProperty(JSON_PROPERTY_USE_CASE_SUMMARY)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
+ public void setUseCaseSummary(String useCaseSummary) {
+ this.useCaseSummary = useCaseSummary;
+ }
+
+
+ public TFVerificationRequest productionMessageContent(String productionMessageContent) {
+ this.productionMessageContent = productionMessageContent;
+ return this;
+ }
+
+ /**
+ * Get productionMessageContent
+ * @return productionMessageContent
+ **/
+ @javax.annotation.Nonnull
+ @ApiModelProperty(example = "Your Telnyx OTP is XXXX", required = true, value = "")
+ @JsonProperty(JSON_PROPERTY_PRODUCTION_MESSAGE_CONTENT)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
+
+ public String getProductionMessageContent() {
+ return productionMessageContent;
+ }
+
+
+ @JsonProperty(JSON_PROPERTY_PRODUCTION_MESSAGE_CONTENT)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
+ public void setProductionMessageContent(String productionMessageContent) {
+ this.productionMessageContent = productionMessageContent;
+ }
+
+
+ public TFVerificationRequest optInWorkflow(String optInWorkflow) {
+ this.optInWorkflow = optInWorkflow;
+ return this;
+ }
+
+ /**
+ * Get optInWorkflow
+ * @return optInWorkflow
+ **/
+ @javax.annotation.Nonnull
+ @ApiModelProperty(example = "User signs into the Telnyx portal, enters a number and is prompted to select whether they want to use 2FA verification for security purposes. If they've opted in a confirmation message is sent out to the handset", required = true, value = "")
+ @JsonProperty(JSON_PROPERTY_OPT_IN_WORKFLOW)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
+
+ public String getOptInWorkflow() {
+ return optInWorkflow;
+ }
+
+
+ @JsonProperty(JSON_PROPERTY_OPT_IN_WORKFLOW)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
+ public void setOptInWorkflow(String optInWorkflow) {
+ this.optInWorkflow = optInWorkflow;
+ }
+
+
+ public TFVerificationRequest optInWorkflowImageURLs(List optInWorkflowImageURLs) {
+ this.optInWorkflowImageURLs = optInWorkflowImageURLs;
+ return this;
+ }
+
+ public TFVerificationRequest addOptInWorkflowImageURLsItem(Url optInWorkflowImageURLsItem) {
+ this.optInWorkflowImageURLs.add(optInWorkflowImageURLsItem);
+ return this;
+ }
+
+ /**
+ * Get optInWorkflowImageURLs
+ * @return optInWorkflowImageURLs
+ **/
+ @javax.annotation.Nonnull
+ @ApiModelProperty(example = "[{\"url\":\"https://telnyx.com/sign-up\"},{\"url\":\"https://telnyx.com/company/data-privacy\"}]", required = true, value = "")
+ @JsonProperty(JSON_PROPERTY_OPT_IN_WORKFLOW_IMAGE_U_R_LS)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
+
+ public List getOptInWorkflowImageURLs() {
+ return optInWorkflowImageURLs;
+ }
+
+
+ @JsonProperty(JSON_PROPERTY_OPT_IN_WORKFLOW_IMAGE_U_R_LS)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
+ public void setOptInWorkflowImageURLs(List optInWorkflowImageURLs) {
+ this.optInWorkflowImageURLs = optInWorkflowImageURLs;
+ }
+
+
+ public TFVerificationRequest additionalInformation(String additionalInformation) {
+ this.additionalInformation = additionalInformation;
+ return this;
+ }
+
+ /**
+ * Get additionalInformation
+ * @return additionalInformation
+ **/
+ @javax.annotation.Nonnull
+ @ApiModelProperty(example = "This is for security purposes, blah blah blah", required = true, value = "")
+ @JsonProperty(JSON_PROPERTY_ADDITIONAL_INFORMATION)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
+
+ public String getAdditionalInformation() {
+ return additionalInformation;
+ }
+
+
+ @JsonProperty(JSON_PROPERTY_ADDITIONAL_INFORMATION)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
+ public void setAdditionalInformation(String additionalInformation) {
+ this.additionalInformation = additionalInformation;
+ }
+
+
+ public TFVerificationRequest isvReseller(String isvReseller) {
+ this.isvReseller = isvReseller;
+ return this;
+ }
+
+ /**
+ * Get isvReseller
+ * @return isvReseller
+ **/
+ @javax.annotation.Nonnull
+ @ApiModelProperty(example = "Yes", required = true, value = "")
+ @JsonProperty(JSON_PROPERTY_ISV_RESELLER)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
+
+ public String getIsvReseller() {
+ return isvReseller;
+ }
+
+
+ @JsonProperty(JSON_PROPERTY_ISV_RESELLER)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
+ public void setIsvReseller(String isvReseller) {
+ this.isvReseller = isvReseller;
+ }
+
+
+ public TFVerificationRequest webhookUrl(String webhookUrl) {
+ this.webhookUrl = webhookUrl;
+ return this;
+ }
+
+ /**
+ * Get webhookUrl
+ * @return webhookUrl
+ **/
+ @javax.annotation.Nullable
+ @ApiModelProperty(example = "http://example-webhook.com", value = "")
+ @JsonProperty(JSON_PROPERTY_WEBHOOK_URL)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+
+ public String getWebhookUrl() {
+ return webhookUrl;
+ }
+
+
+ @JsonProperty(JSON_PROPERTY_WEBHOOK_URL)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public void setWebhookUrl(String webhookUrl) {
+ this.webhookUrl = webhookUrl;
+ }
+
+
+ /**
+ * Return true if this TFVerificationRequest object is equal to o.
+ */
+ @Override
+ public boolean equals(Object o) {
+ if (this == o) {
+ return true;
+ }
+ if (o == null || getClass() != o.getClass()) {
+ return false;
+ }
+ TFVerificationRequest tfVerificationRequest = (TFVerificationRequest) o;
+ return Objects.equals(this.businessName, tfVerificationRequest.businessName) &&
+ Objects.equals(this.corporateWebsite, tfVerificationRequest.corporateWebsite) &&
+ Objects.equals(this.businessAddr1, tfVerificationRequest.businessAddr1) &&
+ Objects.equals(this.businessAddr2, tfVerificationRequest.businessAddr2) &&
+ Objects.equals(this.businessCity, tfVerificationRequest.businessCity) &&
+ Objects.equals(this.businessState, tfVerificationRequest.businessState) &&
+ Objects.equals(this.businessZip, tfVerificationRequest.businessZip) &&
+ Objects.equals(this.businessContactFirstName, tfVerificationRequest.businessContactFirstName) &&
+ Objects.equals(this.businessContactLastName, tfVerificationRequest.businessContactLastName) &&
+ Objects.equals(this.businessContactEmail, tfVerificationRequest.businessContactEmail) &&
+ Objects.equals(this.businessContactPhone, tfVerificationRequest.businessContactPhone) &&
+ Objects.equals(this.messageVolume, tfVerificationRequest.messageVolume) &&
+ Objects.equals(this.phoneNumbers, tfVerificationRequest.phoneNumbers) &&
+ Objects.equals(this.useCase, tfVerificationRequest.useCase) &&
+ Objects.equals(this.useCaseSummary, tfVerificationRequest.useCaseSummary) &&
+ Objects.equals(this.productionMessageContent, tfVerificationRequest.productionMessageContent) &&
+ Objects.equals(this.optInWorkflow, tfVerificationRequest.optInWorkflow) &&
+ Objects.equals(this.optInWorkflowImageURLs, tfVerificationRequest.optInWorkflowImageURLs) &&
+ Objects.equals(this.additionalInformation, tfVerificationRequest.additionalInformation) &&
+ Objects.equals(this.isvReseller, tfVerificationRequest.isvReseller) &&
+ Objects.equals(this.webhookUrl, tfVerificationRequest.webhookUrl);
+ }
+
+ @Override
+ public int hashCode() {
+ return Objects.hash(businessName, corporateWebsite, businessAddr1, businessAddr2, businessCity, businessState, businessZip, businessContactFirstName, businessContactLastName, businessContactEmail, businessContactPhone, messageVolume, phoneNumbers, useCase, useCaseSummary, productionMessageContent, optInWorkflow, optInWorkflowImageURLs, additionalInformation, isvReseller, webhookUrl);
+ }
+
+ @Override
+ public String toString() {
+ StringBuilder sb = new StringBuilder();
+ sb.append("class TFVerificationRequest {\n");
+ sb.append(" businessName: ").append(toIndentedString(businessName)).append("\n");
+ sb.append(" corporateWebsite: ").append(toIndentedString(corporateWebsite)).append("\n");
+ sb.append(" businessAddr1: ").append(toIndentedString(businessAddr1)).append("\n");
+ sb.append(" businessAddr2: ").append(toIndentedString(businessAddr2)).append("\n");
+ sb.append(" businessCity: ").append(toIndentedString(businessCity)).append("\n");
+ sb.append(" businessState: ").append(toIndentedString(businessState)).append("\n");
+ sb.append(" businessZip: ").append(toIndentedString(businessZip)).append("\n");
+ sb.append(" businessContactFirstName: ").append(toIndentedString(businessContactFirstName)).append("\n");
+ sb.append(" businessContactLastName: ").append(toIndentedString(businessContactLastName)).append("\n");
+ sb.append(" businessContactEmail: ").append(toIndentedString(businessContactEmail)).append("\n");
+ sb.append(" businessContactPhone: ").append(toIndentedString(businessContactPhone)).append("\n");
+ sb.append(" messageVolume: ").append(toIndentedString(messageVolume)).append("\n");
+ sb.append(" phoneNumbers: ").append(toIndentedString(phoneNumbers)).append("\n");
+ sb.append(" useCase: ").append(toIndentedString(useCase)).append("\n");
+ sb.append(" useCaseSummary: ").append(toIndentedString(useCaseSummary)).append("\n");
+ sb.append(" productionMessageContent: ").append(toIndentedString(productionMessageContent)).append("\n");
+ sb.append(" optInWorkflow: ").append(toIndentedString(optInWorkflow)).append("\n");
+ sb.append(" optInWorkflowImageURLs: ").append(toIndentedString(optInWorkflowImageURLs)).append("\n");
+ sb.append(" additionalInformation: ").append(toIndentedString(additionalInformation)).append("\n");
+ sb.append(" isvReseller: ").append(toIndentedString(isvReseller)).append("\n");
+ sb.append(" webhookUrl: ").append(toIndentedString(webhookUrl)).append("\n");
+ sb.append("}");
+ return sb.toString();
+ }
+
+ /**
+ * Convert the given object to string with each line indented by 4 spaces
+ * (except the first line).
+ */
+ private String toIndentedString(Object o) {
+ if (o == null) {
+ return "null";
+ }
+ return o.toString().replace("\n", "\n ");
+ }
+
+}
+
diff --git a/src/main/java/com/telnyx/sdk/model/TFVerificationStatus.java b/src/main/java/com/telnyx/sdk/model/TFVerificationStatus.java
new file mode 100644
index 00000000..7f94e4e8
--- /dev/null
+++ b/src/main/java/com/telnyx/sdk/model/TFVerificationStatus.java
@@ -0,0 +1,68 @@
+/*
+ * Telnyx API
+ * SIP trunking, SMS, MMS, Call Control and Telephony Data Services.
+ *
+ * The version of the OpenAPI document: 2.0.0
+ * Contact: support@telnyx.com
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ */
+
+
+package com.telnyx.sdk.model;
+
+import java.util.Objects;
+import java.util.Arrays;
+import java.util.Map;
+import java.util.HashMap;
+import com.fasterxml.jackson.annotation.JsonPropertyOrder;
+import com.telnyx.sdk.JSON;
+import io.swagger.annotations.ApiModel;
+import io.swagger.annotations.ApiModelProperty;
+import com.fasterxml.jackson.annotation.JsonCreator;
+import com.fasterxml.jackson.annotation.JsonValue;
+
+/**
+ * Tollfree verification status
+ */
+public enum TFVerificationStatus {
+
+ VERIFIED("Verified"),
+
+ REJECTED("Rejected"),
+
+ WAITING_FOR_VENDOR("Waiting For Vendor"),
+
+ WAITING_FOR_CUSTOMER("Waiting For Customer"),
+
+ IN_PROGRESS("In Progress");
+
+ private String value;
+
+ TFVerificationStatus(String value) {
+ this.value = value;
+ }
+
+ @JsonValue
+ public String getValue() {
+ return value;
+ }
+
+ @Override
+ public String toString() {
+ return String.valueOf(value);
+ }
+
+ @JsonCreator
+ public static TFVerificationStatus fromValue(String value) {
+ for (TFVerificationStatus b : TFVerificationStatus.values()) {
+ if (b.value.equals(value)) {
+ return b;
+ }
+ }
+ throw new IllegalArgumentException("Unexpected value '" + value + "'");
+ }
+}
+
diff --git a/src/main/java/com/telnyx/sdk/model/UseCaseCategories.java b/src/main/java/com/telnyx/sdk/model/UseCaseCategories.java
new file mode 100644
index 00000000..9aa5ed7b
--- /dev/null
+++ b/src/main/java/com/telnyx/sdk/model/UseCaseCategories.java
@@ -0,0 +1,144 @@
+/*
+ * Telnyx API
+ * SIP trunking, SMS, MMS, Call Control and Telephony Data Services.
+ *
+ * The version of the OpenAPI document: 2.0.0
+ * Contact: support@telnyx.com
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ */
+
+
+package com.telnyx.sdk.model;
+
+import java.util.Objects;
+import java.util.Arrays;
+import java.util.Map;
+import java.util.HashMap;
+import com.fasterxml.jackson.annotation.JsonPropertyOrder;
+import com.telnyx.sdk.JSON;
+
+
+import com.fasterxml.jackson.annotation.JsonCreator;
+import com.fasterxml.jackson.annotation.JsonValue;
+
+/**
+ * Tollfree usecase categories
+ */
+public enum UseCaseCategories {
+
+ _2FA("2FA"),
+
+ APP_NOTIFICATIONS("App Notifications"),
+
+ APPOINTMENTS("Appointments"),
+
+ AUCTIONS("Auctions"),
+
+ AUTO_REPAIR_SERVICES("Auto Repair Services"),
+
+ BANK_TRANSFERS("Bank Transfers"),
+
+ BILLING("Billing"),
+
+ BOOKING_CONFIRMATIONS("Booking Confirmations"),
+
+ BUSINESS_UPDATES("Business Updates"),
+
+ COVID_19_ALERTS("COVID-19 Alerts"),
+
+ CAREER_TRAINING("Career Training"),
+
+ CHATBOT("Chatbot"),
+
+ CONVERSATIONAL_ALERTS("Conversational / Alerts"),
+
+ COURIER_SERVICES_DELIVERIES("Courier Services & Deliveries"),
+
+ EMERGENCY_ALERTS("Emergency Alerts"),
+
+ EVENTS_PLANNING("Events & Planning"),
+
+ FINANCIAL_SERVICES("Financial Services"),
+
+ FRAUD_ALERTS("Fraud Alerts"),
+
+ FUNDRAISING("Fundraising"),
+
+ GENERAL_MARKETING("General Marketing"),
+
+ GENERAL_SCHOOL_UPDATES("General School Updates"),
+
+ HR_STAFFING("HR / Staffing"),
+
+ HEALTHCARE_ALERTS("Healthcare Alerts"),
+
+ HOUSING_COMMUNITY_UPDATES("Housing Community Updates"),
+
+ INSURANCE_SERVICES("Insurance Services"),
+
+ JOB_DISPATCH("Job Dispatch"),
+
+ LEGAL_SERVICES("Legal Services"),
+
+ MIXED("Mixed"),
+
+ MOTIVATIONAL_REMINDERS("Motivational Reminders"),
+
+ NOTARY_NOTIFICATIONS("Notary Notifications"),
+
+ ORDER_NOTIFICATIONS("Order Notifications"),
+
+ POLITICAL("Political"),
+
+ PUBLIC_WORKS("Public Works"),
+
+ REAL_ESTATE_SERVICES("Real Estate Services"),
+
+ RELIGIOUS_SERVICES("Religious Services"),
+
+ REPAIR_AND_DIAGNOSTICS_ALERTS("Repair and Diagnostics Alerts"),
+
+ REWARDS_PROGRAM("Rewards Program"),
+
+ SURVEYS("Surveys"),
+
+ SYSTEM_ALERTS("System Alerts"),
+
+ VOTING_REMINDERS("Voting Reminders"),
+
+ WAITLIST_ALERTS("Waitlist Alerts"),
+
+ WEBINAR_REMINDERS("Webinar Reminders"),
+
+ WORKSHOP_ALERTS("Workshop Alerts");
+
+ private String value;
+
+ UseCaseCategories(String value) {
+ this.value = value;
+ }
+
+ @JsonValue
+ public String getValue() {
+ return value;
+ }
+
+ @Override
+ public String toString() {
+ return String.valueOf(value);
+ }
+
+ @JsonCreator
+ public static UseCaseCategories fromValue(String value) {
+ for (UseCaseCategories b : UseCaseCategories.values()) {
+ if (b.value.equals(value)) {
+ return b;
+ }
+ }
+ throw new IllegalArgumentException("Unexpected value '" + value + "'");
+ }
+}
+
diff --git a/src/main/java/com/telnyx/sdk/model/VerificationRequestEgress.java b/src/main/java/com/telnyx/sdk/model/VerificationRequestEgress.java
new file mode 100644
index 00000000..e218fcd7
--- /dev/null
+++ b/src/main/java/com/telnyx/sdk/model/VerificationRequestEgress.java
@@ -0,0 +1,867 @@
+/*
+ * Telnyx API
+ * SIP trunking, SMS, MMS, Call Control and Telephony Data Services.
+ *
+ * The version of the OpenAPI document: 2.0.0
+ * Contact: support@telnyx.com
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ */
+
+
+package com.telnyx.sdk.model;
+
+import java.util.Objects;
+import java.util.Arrays;
+import java.util.Map;
+import java.util.HashMap;
+import com.fasterxml.jackson.annotation.JsonInclude;
+import com.fasterxml.jackson.annotation.JsonProperty;
+import com.fasterxml.jackson.annotation.JsonCreator;
+import com.fasterxml.jackson.annotation.JsonTypeName;
+import com.fasterxml.jackson.annotation.JsonValue;
+import com.telnyx.sdk.model.TFPhoneNumber;
+import com.telnyx.sdk.model.TFVerificationStatus;
+import com.telnyx.sdk.model.Url;
+import com.telnyx.sdk.model.UseCaseCategories;
+import com.telnyx.sdk.model.Volume;
+import io.swagger.annotations.ApiModel;
+import io.swagger.annotations.ApiModelProperty;
+import java.util.ArrayList;
+import java.util.List;
+import java.util.UUID;
+import com.fasterxml.jackson.annotation.JsonPropertyOrder;
+import com.telnyx.sdk.JSON;
+
+
+/**
+ * A verification request as it comes out of the database
+ */
+@ApiModel(description = "A verification request as it comes out of the database")
+@JsonPropertyOrder({
+ VerificationRequestEgress.JSON_PROPERTY_BUSINESS_NAME,
+ VerificationRequestEgress.JSON_PROPERTY_CORPORATE_WEBSITE,
+ VerificationRequestEgress.JSON_PROPERTY_BUSINESS_ADDR1,
+ VerificationRequestEgress.JSON_PROPERTY_BUSINESS_ADDR2,
+ VerificationRequestEgress.JSON_PROPERTY_BUSINESS_CITY,
+ VerificationRequestEgress.JSON_PROPERTY_BUSINESS_STATE,
+ VerificationRequestEgress.JSON_PROPERTY_BUSINESS_ZIP,
+ VerificationRequestEgress.JSON_PROPERTY_BUSINESS_CONTACT_FIRST_NAME,
+ VerificationRequestEgress.JSON_PROPERTY_BUSINESS_CONTACT_LAST_NAME,
+ VerificationRequestEgress.JSON_PROPERTY_BUSINESS_CONTACT_EMAIL,
+ VerificationRequestEgress.JSON_PROPERTY_BUSINESS_CONTACT_PHONE,
+ VerificationRequestEgress.JSON_PROPERTY_MESSAGE_VOLUME,
+ VerificationRequestEgress.JSON_PROPERTY_PHONE_NUMBERS,
+ VerificationRequestEgress.JSON_PROPERTY_USE_CASE,
+ VerificationRequestEgress.JSON_PROPERTY_USE_CASE_SUMMARY,
+ VerificationRequestEgress.JSON_PROPERTY_PRODUCTION_MESSAGE_CONTENT,
+ VerificationRequestEgress.JSON_PROPERTY_OPT_IN_WORKFLOW,
+ VerificationRequestEgress.JSON_PROPERTY_OPT_IN_WORKFLOW_IMAGE_U_R_LS,
+ VerificationRequestEgress.JSON_PROPERTY_ADDITIONAL_INFORMATION,
+ VerificationRequestEgress.JSON_PROPERTY_ISV_RESELLER,
+ VerificationRequestEgress.JSON_PROPERTY_WEBHOOK_URL,
+ VerificationRequestEgress.JSON_PROPERTY_ID,
+ VerificationRequestEgress.JSON_PROPERTY_VERIFICATION_REQUEST_ID,
+ VerificationRequestEgress.JSON_PROPERTY_VERIFICATION_STATUS
+})
+@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen")
+public class VerificationRequestEgress {
+ public static final String JSON_PROPERTY_BUSINESS_NAME = "businessName";
+ private String businessName;
+
+ public static final String JSON_PROPERTY_CORPORATE_WEBSITE = "corporateWebsite";
+ private String corporateWebsite;
+
+ public static final String JSON_PROPERTY_BUSINESS_ADDR1 = "businessAddr1";
+ private String businessAddr1;
+
+ public static final String JSON_PROPERTY_BUSINESS_ADDR2 = "businessAddr2";
+ private String businessAddr2;
+
+ public static final String JSON_PROPERTY_BUSINESS_CITY = "businessCity";
+ private String businessCity;
+
+ public static final String JSON_PROPERTY_BUSINESS_STATE = "businessState";
+ private String businessState;
+
+ public static final String JSON_PROPERTY_BUSINESS_ZIP = "businessZip";
+ private String businessZip;
+
+ public static final String JSON_PROPERTY_BUSINESS_CONTACT_FIRST_NAME = "businessContactFirstName";
+ private String businessContactFirstName;
+
+ public static final String JSON_PROPERTY_BUSINESS_CONTACT_LAST_NAME = "businessContactLastName";
+ private String businessContactLastName;
+
+ public static final String JSON_PROPERTY_BUSINESS_CONTACT_EMAIL = "businessContactEmail";
+ private String businessContactEmail;
+
+ public static final String JSON_PROPERTY_BUSINESS_CONTACT_PHONE = "businessContactPhone";
+ private String businessContactPhone;
+
+ public static final String JSON_PROPERTY_MESSAGE_VOLUME = "messageVolume";
+ private Volume messageVolume;
+
+ public static final String JSON_PROPERTY_PHONE_NUMBERS = "phoneNumbers";
+ private List phoneNumbers = new ArrayList<>();
+
+ public static final String JSON_PROPERTY_USE_CASE = "useCase";
+ private UseCaseCategories useCase;
+
+ public static final String JSON_PROPERTY_USE_CASE_SUMMARY = "useCaseSummary";
+ private String useCaseSummary;
+
+ public static final String JSON_PROPERTY_PRODUCTION_MESSAGE_CONTENT = "productionMessageContent";
+ private String productionMessageContent;
+
+ public static final String JSON_PROPERTY_OPT_IN_WORKFLOW = "optInWorkflow";
+ private String optInWorkflow;
+
+ public static final String JSON_PROPERTY_OPT_IN_WORKFLOW_IMAGE_U_R_LS = "optInWorkflowImageURLs";
+ private List optInWorkflowImageURLs = new ArrayList<>();
+
+ public static final String JSON_PROPERTY_ADDITIONAL_INFORMATION = "additionalInformation";
+ private String additionalInformation;
+
+ public static final String JSON_PROPERTY_ISV_RESELLER = "isvReseller";
+ private String isvReseller;
+
+ public static final String JSON_PROPERTY_WEBHOOK_URL = "webhookUrl";
+ private String webhookUrl;
+
+ public static final String JSON_PROPERTY_ID = "id";
+ private UUID id;
+
+ public static final String JSON_PROPERTY_VERIFICATION_REQUEST_ID = "verificationRequestId";
+ private String verificationRequestId;
+
+ public static final String JSON_PROPERTY_VERIFICATION_STATUS = "verificationStatus";
+ private TFVerificationStatus verificationStatus = TFVerificationStatus.IN_PROGRESS;
+
+ public VerificationRequestEgress() {
+ }
+
+ public VerificationRequestEgress businessName(String businessName) {
+ this.businessName = businessName;
+ return this;
+ }
+
+ /**
+ * Get businessName
+ * @return businessName
+ **/
+ @javax.annotation.Nonnull
+ @ApiModelProperty(example = "Telnyx LLC", required = true, value = "")
+ @JsonProperty(JSON_PROPERTY_BUSINESS_NAME)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
+
+ public String getBusinessName() {
+ return businessName;
+ }
+
+
+ @JsonProperty(JSON_PROPERTY_BUSINESS_NAME)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
+ public void setBusinessName(String businessName) {
+ this.businessName = businessName;
+ }
+
+
+ public VerificationRequestEgress corporateWebsite(String corporateWebsite) {
+ this.corporateWebsite = corporateWebsite;
+ return this;
+ }
+
+ /**
+ * Get corporateWebsite
+ * @return corporateWebsite
+ **/
+ @javax.annotation.Nonnull
+ @ApiModelProperty(example = "http://example.com", required = true, value = "")
+ @JsonProperty(JSON_PROPERTY_CORPORATE_WEBSITE)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
+
+ public String getCorporateWebsite() {
+ return corporateWebsite;
+ }
+
+
+ @JsonProperty(JSON_PROPERTY_CORPORATE_WEBSITE)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
+ public void setCorporateWebsite(String corporateWebsite) {
+ this.corporateWebsite = corporateWebsite;
+ }
+
+
+ public VerificationRequestEgress businessAddr1(String businessAddr1) {
+ this.businessAddr1 = businessAddr1;
+ return this;
+ }
+
+ /**
+ * Get businessAddr1
+ * @return businessAddr1
+ **/
+ @javax.annotation.Nonnull
+ @ApiModelProperty(example = "311 W Superior St", required = true, value = "")
+ @JsonProperty(JSON_PROPERTY_BUSINESS_ADDR1)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
+
+ public String getBusinessAddr1() {
+ return businessAddr1;
+ }
+
+
+ @JsonProperty(JSON_PROPERTY_BUSINESS_ADDR1)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
+ public void setBusinessAddr1(String businessAddr1) {
+ this.businessAddr1 = businessAddr1;
+ }
+
+
+ public VerificationRequestEgress businessAddr2(String businessAddr2) {
+ this.businessAddr2 = businessAddr2;
+ return this;
+ }
+
+ /**
+ * Get businessAddr2
+ * @return businessAddr2
+ **/
+ @javax.annotation.Nullable
+ @ApiModelProperty(example = "121 W Superior St", value = "")
+ @JsonProperty(JSON_PROPERTY_BUSINESS_ADDR2)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+
+ public String getBusinessAddr2() {
+ return businessAddr2;
+ }
+
+
+ @JsonProperty(JSON_PROPERTY_BUSINESS_ADDR2)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public void setBusinessAddr2(String businessAddr2) {
+ this.businessAddr2 = businessAddr2;
+ }
+
+
+ public VerificationRequestEgress businessCity(String businessCity) {
+ this.businessCity = businessCity;
+ return this;
+ }
+
+ /**
+ * Get businessCity
+ * @return businessCity
+ **/
+ @javax.annotation.Nonnull
+ @ApiModelProperty(example = "Chicago", required = true, value = "")
+ @JsonProperty(JSON_PROPERTY_BUSINESS_CITY)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
+
+ public String getBusinessCity() {
+ return businessCity;
+ }
+
+
+ @JsonProperty(JSON_PROPERTY_BUSINESS_CITY)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
+ public void setBusinessCity(String businessCity) {
+ this.businessCity = businessCity;
+ }
+
+
+ public VerificationRequestEgress businessState(String businessState) {
+ this.businessState = businessState;
+ return this;
+ }
+
+ /**
+ * Get businessState
+ * @return businessState
+ **/
+ @javax.annotation.Nonnull
+ @ApiModelProperty(example = "Illinois", required = true, value = "")
+ @JsonProperty(JSON_PROPERTY_BUSINESS_STATE)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
+
+ public String getBusinessState() {
+ return businessState;
+ }
+
+
+ @JsonProperty(JSON_PROPERTY_BUSINESS_STATE)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
+ public void setBusinessState(String businessState) {
+ this.businessState = businessState;
+ }
+
+
+ public VerificationRequestEgress businessZip(String businessZip) {
+ this.businessZip = businessZip;
+ return this;
+ }
+
+ /**
+ * Get businessZip
+ * @return businessZip
+ **/
+ @javax.annotation.Nonnull
+ @ApiModelProperty(example = "60654", required = true, value = "")
+ @JsonProperty(JSON_PROPERTY_BUSINESS_ZIP)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
+
+ public String getBusinessZip() {
+ return businessZip;
+ }
+
+
+ @JsonProperty(JSON_PROPERTY_BUSINESS_ZIP)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
+ public void setBusinessZip(String businessZip) {
+ this.businessZip = businessZip;
+ }
+
+
+ public VerificationRequestEgress businessContactFirstName(String businessContactFirstName) {
+ this.businessContactFirstName = businessContactFirstName;
+ return this;
+ }
+
+ /**
+ * Get businessContactFirstName
+ * @return businessContactFirstName
+ **/
+ @javax.annotation.Nonnull
+ @ApiModelProperty(example = "John", required = true, value = "")
+ @JsonProperty(JSON_PROPERTY_BUSINESS_CONTACT_FIRST_NAME)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
+
+ public String getBusinessContactFirstName() {
+ return businessContactFirstName;
+ }
+
+
+ @JsonProperty(JSON_PROPERTY_BUSINESS_CONTACT_FIRST_NAME)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
+ public void setBusinessContactFirstName(String businessContactFirstName) {
+ this.businessContactFirstName = businessContactFirstName;
+ }
+
+
+ public VerificationRequestEgress businessContactLastName(String businessContactLastName) {
+ this.businessContactLastName = businessContactLastName;
+ return this;
+ }
+
+ /**
+ * Get businessContactLastName
+ * @return businessContactLastName
+ **/
+ @javax.annotation.Nonnull
+ @ApiModelProperty(example = "Doe", required = true, value = "")
+ @JsonProperty(JSON_PROPERTY_BUSINESS_CONTACT_LAST_NAME)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
+
+ public String getBusinessContactLastName() {
+ return businessContactLastName;
+ }
+
+
+ @JsonProperty(JSON_PROPERTY_BUSINESS_CONTACT_LAST_NAME)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
+ public void setBusinessContactLastName(String businessContactLastName) {
+ this.businessContactLastName = businessContactLastName;
+ }
+
+
+ public VerificationRequestEgress businessContactEmail(String businessContactEmail) {
+ this.businessContactEmail = businessContactEmail;
+ return this;
+ }
+
+ /**
+ * Get businessContactEmail
+ * @return businessContactEmail
+ **/
+ @javax.annotation.Nonnull
+ @ApiModelProperty(example = "email@example.com", required = true, value = "")
+ @JsonProperty(JSON_PROPERTY_BUSINESS_CONTACT_EMAIL)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
+
+ public String getBusinessContactEmail() {
+ return businessContactEmail;
+ }
+
+
+ @JsonProperty(JSON_PROPERTY_BUSINESS_CONTACT_EMAIL)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
+ public void setBusinessContactEmail(String businessContactEmail) {
+ this.businessContactEmail = businessContactEmail;
+ }
+
+
+ public VerificationRequestEgress businessContactPhone(String businessContactPhone) {
+ this.businessContactPhone = businessContactPhone;
+ return this;
+ }
+
+ /**
+ * Get businessContactPhone
+ * @return businessContactPhone
+ **/
+ @javax.annotation.Nonnull
+ @ApiModelProperty(example = "+18005550100", required = true, value = "")
+ @JsonProperty(JSON_PROPERTY_BUSINESS_CONTACT_PHONE)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
+
+ public String getBusinessContactPhone() {
+ return businessContactPhone;
+ }
+
+
+ @JsonProperty(JSON_PROPERTY_BUSINESS_CONTACT_PHONE)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
+ public void setBusinessContactPhone(String businessContactPhone) {
+ this.businessContactPhone = businessContactPhone;
+ }
+
+
+ public VerificationRequestEgress messageVolume(Volume messageVolume) {
+ this.messageVolume = messageVolume;
+ return this;
+ }
+
+ /**
+ * Get messageVolume
+ * @return messageVolume
+ **/
+ @javax.annotation.Nonnull
+ @ApiModelProperty(required = true, value = "")
+ @JsonProperty(JSON_PROPERTY_MESSAGE_VOLUME)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
+
+ public Volume getMessageVolume() {
+ return messageVolume;
+ }
+
+
+ @JsonProperty(JSON_PROPERTY_MESSAGE_VOLUME)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
+ public void setMessageVolume(Volume messageVolume) {
+ this.messageVolume = messageVolume;
+ }
+
+
+ public VerificationRequestEgress phoneNumbers(List phoneNumbers) {
+ this.phoneNumbers = phoneNumbers;
+ return this;
+ }
+
+ public VerificationRequestEgress addPhoneNumbersItem(TFPhoneNumber phoneNumbersItem) {
+ this.phoneNumbers.add(phoneNumbersItem);
+ return this;
+ }
+
+ /**
+ * Get phoneNumbers
+ * @return phoneNumbers
+ **/
+ @javax.annotation.Nonnull
+ @ApiModelProperty(example = "[{\"phoneNumber\":\"+18773554398\"},{\"phoneNumber\":\"+18773554399\"}]", required = true, value = "")
+ @JsonProperty(JSON_PROPERTY_PHONE_NUMBERS)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
+
+ public List getPhoneNumbers() {
+ return phoneNumbers;
+ }
+
+
+ @JsonProperty(JSON_PROPERTY_PHONE_NUMBERS)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
+ public void setPhoneNumbers(List phoneNumbers) {
+ this.phoneNumbers = phoneNumbers;
+ }
+
+
+ public VerificationRequestEgress useCase(UseCaseCategories useCase) {
+ this.useCase = useCase;
+ return this;
+ }
+
+ /**
+ * Get useCase
+ * @return useCase
+ **/
+ @javax.annotation.Nonnull
+ @ApiModelProperty(required = true, value = "")
+ @JsonProperty(JSON_PROPERTY_USE_CASE)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
+
+ public UseCaseCategories getUseCase() {
+ return useCase;
+ }
+
+
+ @JsonProperty(JSON_PROPERTY_USE_CASE)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
+ public void setUseCase(UseCaseCategories useCase) {
+ this.useCase = useCase;
+ }
+
+
+ public VerificationRequestEgress useCaseSummary(String useCaseSummary) {
+ this.useCaseSummary = useCaseSummary;
+ return this;
+ }
+
+ /**
+ * Get useCaseSummary
+ * @return useCaseSummary
+ **/
+ @javax.annotation.Nonnull
+ @ApiModelProperty(example = "This is a use case where Telnyx sends out 2FA codes to portal users to verify their identity in order to sign into the portal", required = true, value = "")
+ @JsonProperty(JSON_PROPERTY_USE_CASE_SUMMARY)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
+
+ public String getUseCaseSummary() {
+ return useCaseSummary;
+ }
+
+
+ @JsonProperty(JSON_PROPERTY_USE_CASE_SUMMARY)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
+ public void setUseCaseSummary(String useCaseSummary) {
+ this.useCaseSummary = useCaseSummary;
+ }
+
+
+ public VerificationRequestEgress productionMessageContent(String productionMessageContent) {
+ this.productionMessageContent = productionMessageContent;
+ return this;
+ }
+
+ /**
+ * Get productionMessageContent
+ * @return productionMessageContent
+ **/
+ @javax.annotation.Nonnull
+ @ApiModelProperty(example = "Your Telnyx OTP is XXXX", required = true, value = "")
+ @JsonProperty(JSON_PROPERTY_PRODUCTION_MESSAGE_CONTENT)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
+
+ public String getProductionMessageContent() {
+ return productionMessageContent;
+ }
+
+
+ @JsonProperty(JSON_PROPERTY_PRODUCTION_MESSAGE_CONTENT)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
+ public void setProductionMessageContent(String productionMessageContent) {
+ this.productionMessageContent = productionMessageContent;
+ }
+
+
+ public VerificationRequestEgress optInWorkflow(String optInWorkflow) {
+ this.optInWorkflow = optInWorkflow;
+ return this;
+ }
+
+ /**
+ * Get optInWorkflow
+ * @return optInWorkflow
+ **/
+ @javax.annotation.Nonnull
+ @ApiModelProperty(example = "User signs into the Telnyx portal, enters number and is prompted to select whether they want to use 2FA verification for security purposes. If they've opted in a confirmation message is sent out to the handset", required = true, value = "")
+ @JsonProperty(JSON_PROPERTY_OPT_IN_WORKFLOW)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
+
+ public String getOptInWorkflow() {
+ return optInWorkflow;
+ }
+
+
+ @JsonProperty(JSON_PROPERTY_OPT_IN_WORKFLOW)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
+ public void setOptInWorkflow(String optInWorkflow) {
+ this.optInWorkflow = optInWorkflow;
+ }
+
+
+ public VerificationRequestEgress optInWorkflowImageURLs(List optInWorkflowImageURLs) {
+ this.optInWorkflowImageURLs = optInWorkflowImageURLs;
+ return this;
+ }
+
+ public VerificationRequestEgress addOptInWorkflowImageURLsItem(Url optInWorkflowImageURLsItem) {
+ this.optInWorkflowImageURLs.add(optInWorkflowImageURLsItem);
+ return this;
+ }
+
+ /**
+ * Get optInWorkflowImageURLs
+ * @return optInWorkflowImageURLs
+ **/
+ @javax.annotation.Nonnull
+ @ApiModelProperty(example = "[{\"url\":\"https://telnyx.com/sign-up\"},{\"url\":\"https://telnyx.com/company/data-privacy\"}]", required = true, value = "")
+ @JsonProperty(JSON_PROPERTY_OPT_IN_WORKFLOW_IMAGE_U_R_LS)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
+
+ public List getOptInWorkflowImageURLs() {
+ return optInWorkflowImageURLs;
+ }
+
+
+ @JsonProperty(JSON_PROPERTY_OPT_IN_WORKFLOW_IMAGE_U_R_LS)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
+ public void setOptInWorkflowImageURLs(List optInWorkflowImageURLs) {
+ this.optInWorkflowImageURLs = optInWorkflowImageURLs;
+ }
+
+
+ public VerificationRequestEgress additionalInformation(String additionalInformation) {
+ this.additionalInformation = additionalInformation;
+ return this;
+ }
+
+ /**
+ * Get additionalInformation
+ * @return additionalInformation
+ **/
+ @javax.annotation.Nonnull
+ @ApiModelProperty(example = "This is for security purposes, blah blah blah", required = true, value = "")
+ @JsonProperty(JSON_PROPERTY_ADDITIONAL_INFORMATION)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
+
+ public String getAdditionalInformation() {
+ return additionalInformation;
+ }
+
+
+ @JsonProperty(JSON_PROPERTY_ADDITIONAL_INFORMATION)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
+ public void setAdditionalInformation(String additionalInformation) {
+ this.additionalInformation = additionalInformation;
+ }
+
+
+ public VerificationRequestEgress isvReseller(String isvReseller) {
+ this.isvReseller = isvReseller;
+ return this;
+ }
+
+ /**
+ * Get isvReseller
+ * @return isvReseller
+ **/
+ @javax.annotation.Nonnull
+ @ApiModelProperty(example = "Yes", required = true, value = "")
+ @JsonProperty(JSON_PROPERTY_ISV_RESELLER)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
+
+ public String getIsvReseller() {
+ return isvReseller;
+ }
+
+
+ @JsonProperty(JSON_PROPERTY_ISV_RESELLER)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
+ public void setIsvReseller(String isvReseller) {
+ this.isvReseller = isvReseller;
+ }
+
+
+ public VerificationRequestEgress webhookUrl(String webhookUrl) {
+ this.webhookUrl = webhookUrl;
+ return this;
+ }
+
+ /**
+ * Get webhookUrl
+ * @return webhookUrl
+ **/
+ @javax.annotation.Nullable
+ @ApiModelProperty(example = "http://example-webhook.com", value = "")
+ @JsonProperty(JSON_PROPERTY_WEBHOOK_URL)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+
+ public String getWebhookUrl() {
+ return webhookUrl;
+ }
+
+
+ @JsonProperty(JSON_PROPERTY_WEBHOOK_URL)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public void setWebhookUrl(String webhookUrl) {
+ this.webhookUrl = webhookUrl;
+ }
+
+
+ public VerificationRequestEgress id(UUID id) {
+ this.id = id;
+ return this;
+ }
+
+ /**
+ * Get id
+ * @return id
+ **/
+ @javax.annotation.Nonnull
+ @ApiModelProperty(required = true, value = "")
+ @JsonProperty(JSON_PROPERTY_ID)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
+
+ public UUID getId() {
+ return id;
+ }
+
+
+ @JsonProperty(JSON_PROPERTY_ID)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
+ public void setId(UUID id) {
+ this.id = id;
+ }
+
+
+ public VerificationRequestEgress verificationRequestId(String verificationRequestId) {
+ this.verificationRequestId = verificationRequestId;
+ return this;
+ }
+
+ /**
+ * Get verificationRequestId
+ * @return verificationRequestId
+ **/
+ @javax.annotation.Nonnull
+ @ApiModelProperty(required = true, value = "")
+ @JsonProperty(JSON_PROPERTY_VERIFICATION_REQUEST_ID)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
+
+ public String getVerificationRequestId() {
+ return verificationRequestId;
+ }
+
+
+ @JsonProperty(JSON_PROPERTY_VERIFICATION_REQUEST_ID)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
+ public void setVerificationRequestId(String verificationRequestId) {
+ this.verificationRequestId = verificationRequestId;
+ }
+
+
+ public VerificationRequestEgress verificationStatus(TFVerificationStatus verificationStatus) {
+ this.verificationStatus = verificationStatus;
+ return this;
+ }
+
+ /**
+ * Get verificationStatus
+ * @return verificationStatus
+ **/
+ @javax.annotation.Nullable
+ @ApiModelProperty(value = "")
+ @JsonProperty(JSON_PROPERTY_VERIFICATION_STATUS)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+
+ public TFVerificationStatus getVerificationStatus() {
+ return verificationStatus;
+ }
+
+
+ @JsonProperty(JSON_PROPERTY_VERIFICATION_STATUS)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public void setVerificationStatus(TFVerificationStatus verificationStatus) {
+ this.verificationStatus = verificationStatus;
+ }
+
+
+ /**
+ * Return true if this VerificationRequestEgress object is equal to o.
+ */
+ @Override
+ public boolean equals(Object o) {
+ if (this == o) {
+ return true;
+ }
+ if (o == null || getClass() != o.getClass()) {
+ return false;
+ }
+ VerificationRequestEgress verificationRequestEgress = (VerificationRequestEgress) o;
+ return Objects.equals(this.businessName, verificationRequestEgress.businessName) &&
+ Objects.equals(this.corporateWebsite, verificationRequestEgress.corporateWebsite) &&
+ Objects.equals(this.businessAddr1, verificationRequestEgress.businessAddr1) &&
+ Objects.equals(this.businessAddr2, verificationRequestEgress.businessAddr2) &&
+ Objects.equals(this.businessCity, verificationRequestEgress.businessCity) &&
+ Objects.equals(this.businessState, verificationRequestEgress.businessState) &&
+ Objects.equals(this.businessZip, verificationRequestEgress.businessZip) &&
+ Objects.equals(this.businessContactFirstName, verificationRequestEgress.businessContactFirstName) &&
+ Objects.equals(this.businessContactLastName, verificationRequestEgress.businessContactLastName) &&
+ Objects.equals(this.businessContactEmail, verificationRequestEgress.businessContactEmail) &&
+ Objects.equals(this.businessContactPhone, verificationRequestEgress.businessContactPhone) &&
+ Objects.equals(this.messageVolume, verificationRequestEgress.messageVolume) &&
+ Objects.equals(this.phoneNumbers, verificationRequestEgress.phoneNumbers) &&
+ Objects.equals(this.useCase, verificationRequestEgress.useCase) &&
+ Objects.equals(this.useCaseSummary, verificationRequestEgress.useCaseSummary) &&
+ Objects.equals(this.productionMessageContent, verificationRequestEgress.productionMessageContent) &&
+ Objects.equals(this.optInWorkflow, verificationRequestEgress.optInWorkflow) &&
+ Objects.equals(this.optInWorkflowImageURLs, verificationRequestEgress.optInWorkflowImageURLs) &&
+ Objects.equals(this.additionalInformation, verificationRequestEgress.additionalInformation) &&
+ Objects.equals(this.isvReseller, verificationRequestEgress.isvReseller) &&
+ Objects.equals(this.webhookUrl, verificationRequestEgress.webhookUrl) &&
+ Objects.equals(this.id, verificationRequestEgress.id) &&
+ Objects.equals(this.verificationRequestId, verificationRequestEgress.verificationRequestId) &&
+ Objects.equals(this.verificationStatus, verificationRequestEgress.verificationStatus);
+ }
+
+ @Override
+ public int hashCode() {
+ return Objects.hash(businessName, corporateWebsite, businessAddr1, businessAddr2, businessCity, businessState, businessZip, businessContactFirstName, businessContactLastName, businessContactEmail, businessContactPhone, messageVolume, phoneNumbers, useCase, useCaseSummary, productionMessageContent, optInWorkflow, optInWorkflowImageURLs, additionalInformation, isvReseller, webhookUrl, id, verificationRequestId, verificationStatus);
+ }
+
+ @Override
+ public String toString() {
+ StringBuilder sb = new StringBuilder();
+ sb.append("class VerificationRequestEgress {\n");
+ sb.append(" businessName: ").append(toIndentedString(businessName)).append("\n");
+ sb.append(" corporateWebsite: ").append(toIndentedString(corporateWebsite)).append("\n");
+ sb.append(" businessAddr1: ").append(toIndentedString(businessAddr1)).append("\n");
+ sb.append(" businessAddr2: ").append(toIndentedString(businessAddr2)).append("\n");
+ sb.append(" businessCity: ").append(toIndentedString(businessCity)).append("\n");
+ sb.append(" businessState: ").append(toIndentedString(businessState)).append("\n");
+ sb.append(" businessZip: ").append(toIndentedString(businessZip)).append("\n");
+ sb.append(" businessContactFirstName: ").append(toIndentedString(businessContactFirstName)).append("\n");
+ sb.append(" businessContactLastName: ").append(toIndentedString(businessContactLastName)).append("\n");
+ sb.append(" businessContactEmail: ").append(toIndentedString(businessContactEmail)).append("\n");
+ sb.append(" businessContactPhone: ").append(toIndentedString(businessContactPhone)).append("\n");
+ sb.append(" messageVolume: ").append(toIndentedString(messageVolume)).append("\n");
+ sb.append(" phoneNumbers: ").append(toIndentedString(phoneNumbers)).append("\n");
+ sb.append(" useCase: ").append(toIndentedString(useCase)).append("\n");
+ sb.append(" useCaseSummary: ").append(toIndentedString(useCaseSummary)).append("\n");
+ sb.append(" productionMessageContent: ").append(toIndentedString(productionMessageContent)).append("\n");
+ sb.append(" optInWorkflow: ").append(toIndentedString(optInWorkflow)).append("\n");
+ sb.append(" optInWorkflowImageURLs: ").append(toIndentedString(optInWorkflowImageURLs)).append("\n");
+ sb.append(" additionalInformation: ").append(toIndentedString(additionalInformation)).append("\n");
+ sb.append(" isvReseller: ").append(toIndentedString(isvReseller)).append("\n");
+ sb.append(" webhookUrl: ").append(toIndentedString(webhookUrl)).append("\n");
+ sb.append(" id: ").append(toIndentedString(id)).append("\n");
+ sb.append(" verificationRequestId: ").append(toIndentedString(verificationRequestId)).append("\n");
+ sb.append(" verificationStatus: ").append(toIndentedString(verificationStatus)).append("\n");
+ sb.append("}");
+ return sb.toString();
+ }
+
+ /**
+ * Convert the given object to string with each line indented by 4 spaces
+ * (except the first line).
+ */
+ private String toIndentedString(Object o) {
+ if (o == null) {
+ return "null";
+ }
+ return o.toString().replace("\n", "\n ");
+ }
+
+}
+
diff --git a/src/main/java/com/telnyx/sdk/model/VerificationRequestStatus.java b/src/main/java/com/telnyx/sdk/model/VerificationRequestStatus.java
new file mode 100644
index 00000000..c20a278b
--- /dev/null
+++ b/src/main/java/com/telnyx/sdk/model/VerificationRequestStatus.java
@@ -0,0 +1,867 @@
+/*
+ * Telnyx API
+ * SIP trunking, SMS, MMS, Call Control and Telephony Data Services.
+ *
+ * The version of the OpenAPI document: 2.0.0
+ * Contact: support@telnyx.com
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ */
+
+
+package com.telnyx.sdk.model;
+
+import java.util.Objects;
+import java.util.Arrays;
+import java.util.Map;
+import java.util.HashMap;
+import com.fasterxml.jackson.annotation.JsonInclude;
+import com.fasterxml.jackson.annotation.JsonProperty;
+import com.fasterxml.jackson.annotation.JsonCreator;
+import com.fasterxml.jackson.annotation.JsonTypeName;
+import com.fasterxml.jackson.annotation.JsonValue;
+import com.telnyx.sdk.model.TFPhoneNumber;
+import com.telnyx.sdk.model.TFVerificationStatus;
+import com.telnyx.sdk.model.Url;
+import com.telnyx.sdk.model.UseCaseCategories;
+import com.telnyx.sdk.model.Volume;
+import io.swagger.annotations.ApiModel;
+import io.swagger.annotations.ApiModelProperty;
+import java.util.ArrayList;
+import java.util.List;
+import java.util.UUID;
+import com.fasterxml.jackson.annotation.JsonPropertyOrder;
+import com.telnyx.sdk.JSON;
+
+
+/**
+ * A verification request and its status, suitable for returning to users
+ */
+@ApiModel(description = "A verification request and its status, suitable for returning to users")
+@JsonPropertyOrder({
+ VerificationRequestStatus.JSON_PROPERTY_BUSINESS_NAME,
+ VerificationRequestStatus.JSON_PROPERTY_CORPORATE_WEBSITE,
+ VerificationRequestStatus.JSON_PROPERTY_BUSINESS_ADDR1,
+ VerificationRequestStatus.JSON_PROPERTY_BUSINESS_ADDR2,
+ VerificationRequestStatus.JSON_PROPERTY_BUSINESS_CITY,
+ VerificationRequestStatus.JSON_PROPERTY_BUSINESS_STATE,
+ VerificationRequestStatus.JSON_PROPERTY_BUSINESS_ZIP,
+ VerificationRequestStatus.JSON_PROPERTY_BUSINESS_CONTACT_FIRST_NAME,
+ VerificationRequestStatus.JSON_PROPERTY_BUSINESS_CONTACT_LAST_NAME,
+ VerificationRequestStatus.JSON_PROPERTY_BUSINESS_CONTACT_EMAIL,
+ VerificationRequestStatus.JSON_PROPERTY_BUSINESS_CONTACT_PHONE,
+ VerificationRequestStatus.JSON_PROPERTY_MESSAGE_VOLUME,
+ VerificationRequestStatus.JSON_PROPERTY_PHONE_NUMBERS,
+ VerificationRequestStatus.JSON_PROPERTY_USE_CASE,
+ VerificationRequestStatus.JSON_PROPERTY_USE_CASE_SUMMARY,
+ VerificationRequestStatus.JSON_PROPERTY_PRODUCTION_MESSAGE_CONTENT,
+ VerificationRequestStatus.JSON_PROPERTY_OPT_IN_WORKFLOW,
+ VerificationRequestStatus.JSON_PROPERTY_OPT_IN_WORKFLOW_IMAGE_U_R_LS,
+ VerificationRequestStatus.JSON_PROPERTY_ADDITIONAL_INFORMATION,
+ VerificationRequestStatus.JSON_PROPERTY_ISV_RESELLER,
+ VerificationRequestStatus.JSON_PROPERTY_WEBHOOK_URL,
+ VerificationRequestStatus.JSON_PROPERTY_ID,
+ VerificationRequestStatus.JSON_PROPERTY_VERIFICATION_STATUS,
+ VerificationRequestStatus.JSON_PROPERTY_REASON
+})
+@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen")
+public class VerificationRequestStatus {
+ public static final String JSON_PROPERTY_BUSINESS_NAME = "businessName";
+ private String businessName;
+
+ public static final String JSON_PROPERTY_CORPORATE_WEBSITE = "corporateWebsite";
+ private String corporateWebsite;
+
+ public static final String JSON_PROPERTY_BUSINESS_ADDR1 = "businessAddr1";
+ private String businessAddr1;
+
+ public static final String JSON_PROPERTY_BUSINESS_ADDR2 = "businessAddr2";
+ private String businessAddr2;
+
+ public static final String JSON_PROPERTY_BUSINESS_CITY = "businessCity";
+ private String businessCity;
+
+ public static final String JSON_PROPERTY_BUSINESS_STATE = "businessState";
+ private String businessState;
+
+ public static final String JSON_PROPERTY_BUSINESS_ZIP = "businessZip";
+ private String businessZip;
+
+ public static final String JSON_PROPERTY_BUSINESS_CONTACT_FIRST_NAME = "businessContactFirstName";
+ private String businessContactFirstName;
+
+ public static final String JSON_PROPERTY_BUSINESS_CONTACT_LAST_NAME = "businessContactLastName";
+ private String businessContactLastName;
+
+ public static final String JSON_PROPERTY_BUSINESS_CONTACT_EMAIL = "businessContactEmail";
+ private String businessContactEmail;
+
+ public static final String JSON_PROPERTY_BUSINESS_CONTACT_PHONE = "businessContactPhone";
+ private String businessContactPhone;
+
+ public static final String JSON_PROPERTY_MESSAGE_VOLUME = "messageVolume";
+ private Volume messageVolume;
+
+ public static final String JSON_PROPERTY_PHONE_NUMBERS = "phoneNumbers";
+ private List phoneNumbers = new ArrayList<>();
+
+ public static final String JSON_PROPERTY_USE_CASE = "useCase";
+ private UseCaseCategories useCase;
+
+ public static final String JSON_PROPERTY_USE_CASE_SUMMARY = "useCaseSummary";
+ private String useCaseSummary;
+
+ public static final String JSON_PROPERTY_PRODUCTION_MESSAGE_CONTENT = "productionMessageContent";
+ private String productionMessageContent;
+
+ public static final String JSON_PROPERTY_OPT_IN_WORKFLOW = "optInWorkflow";
+ private String optInWorkflow;
+
+ public static final String JSON_PROPERTY_OPT_IN_WORKFLOW_IMAGE_U_R_LS = "optInWorkflowImageURLs";
+ private List optInWorkflowImageURLs = new ArrayList<>();
+
+ public static final String JSON_PROPERTY_ADDITIONAL_INFORMATION = "additionalInformation";
+ private String additionalInformation;
+
+ public static final String JSON_PROPERTY_ISV_RESELLER = "isvReseller";
+ private String isvReseller;
+
+ public static final String JSON_PROPERTY_WEBHOOK_URL = "webhookUrl";
+ private String webhookUrl;
+
+ public static final String JSON_PROPERTY_ID = "id";
+ private UUID id;
+
+ public static final String JSON_PROPERTY_VERIFICATION_STATUS = "verificationStatus";
+ private TFVerificationStatus verificationStatus;
+
+ public static final String JSON_PROPERTY_REASON = "reason";
+ private String reason;
+
+ public VerificationRequestStatus() {
+ }
+
+ public VerificationRequestStatus businessName(String businessName) {
+ this.businessName = businessName;
+ return this;
+ }
+
+ /**
+ * Get businessName
+ * @return businessName
+ **/
+ @javax.annotation.Nonnull
+ @ApiModelProperty(example = "Telnyx LLC", required = true, value = "")
+ @JsonProperty(JSON_PROPERTY_BUSINESS_NAME)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
+
+ public String getBusinessName() {
+ return businessName;
+ }
+
+
+ @JsonProperty(JSON_PROPERTY_BUSINESS_NAME)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
+ public void setBusinessName(String businessName) {
+ this.businessName = businessName;
+ }
+
+
+ public VerificationRequestStatus corporateWebsite(String corporateWebsite) {
+ this.corporateWebsite = corporateWebsite;
+ return this;
+ }
+
+ /**
+ * Get corporateWebsite
+ * @return corporateWebsite
+ **/
+ @javax.annotation.Nonnull
+ @ApiModelProperty(example = "http://example.com", required = true, value = "")
+ @JsonProperty(JSON_PROPERTY_CORPORATE_WEBSITE)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
+
+ public String getCorporateWebsite() {
+ return corporateWebsite;
+ }
+
+
+ @JsonProperty(JSON_PROPERTY_CORPORATE_WEBSITE)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
+ public void setCorporateWebsite(String corporateWebsite) {
+ this.corporateWebsite = corporateWebsite;
+ }
+
+
+ public VerificationRequestStatus businessAddr1(String businessAddr1) {
+ this.businessAddr1 = businessAddr1;
+ return this;
+ }
+
+ /**
+ * Get businessAddr1
+ * @return businessAddr1
+ **/
+ @javax.annotation.Nonnull
+ @ApiModelProperty(example = "311 W Superior St", required = true, value = "")
+ @JsonProperty(JSON_PROPERTY_BUSINESS_ADDR1)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
+
+ public String getBusinessAddr1() {
+ return businessAddr1;
+ }
+
+
+ @JsonProperty(JSON_PROPERTY_BUSINESS_ADDR1)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
+ public void setBusinessAddr1(String businessAddr1) {
+ this.businessAddr1 = businessAddr1;
+ }
+
+
+ public VerificationRequestStatus businessAddr2(String businessAddr2) {
+ this.businessAddr2 = businessAddr2;
+ return this;
+ }
+
+ /**
+ * Get businessAddr2
+ * @return businessAddr2
+ **/
+ @javax.annotation.Nullable
+ @ApiModelProperty(example = "121 W Superior St", value = "")
+ @JsonProperty(JSON_PROPERTY_BUSINESS_ADDR2)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+
+ public String getBusinessAddr2() {
+ return businessAddr2;
+ }
+
+
+ @JsonProperty(JSON_PROPERTY_BUSINESS_ADDR2)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public void setBusinessAddr2(String businessAddr2) {
+ this.businessAddr2 = businessAddr2;
+ }
+
+
+ public VerificationRequestStatus businessCity(String businessCity) {
+ this.businessCity = businessCity;
+ return this;
+ }
+
+ /**
+ * Get businessCity
+ * @return businessCity
+ **/
+ @javax.annotation.Nonnull
+ @ApiModelProperty(example = "Chicago", required = true, value = "")
+ @JsonProperty(JSON_PROPERTY_BUSINESS_CITY)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
+
+ public String getBusinessCity() {
+ return businessCity;
+ }
+
+
+ @JsonProperty(JSON_PROPERTY_BUSINESS_CITY)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
+ public void setBusinessCity(String businessCity) {
+ this.businessCity = businessCity;
+ }
+
+
+ public VerificationRequestStatus businessState(String businessState) {
+ this.businessState = businessState;
+ return this;
+ }
+
+ /**
+ * Get businessState
+ * @return businessState
+ **/
+ @javax.annotation.Nonnull
+ @ApiModelProperty(example = "Illinois", required = true, value = "")
+ @JsonProperty(JSON_PROPERTY_BUSINESS_STATE)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
+
+ public String getBusinessState() {
+ return businessState;
+ }
+
+
+ @JsonProperty(JSON_PROPERTY_BUSINESS_STATE)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
+ public void setBusinessState(String businessState) {
+ this.businessState = businessState;
+ }
+
+
+ public VerificationRequestStatus businessZip(String businessZip) {
+ this.businessZip = businessZip;
+ return this;
+ }
+
+ /**
+ * Get businessZip
+ * @return businessZip
+ **/
+ @javax.annotation.Nonnull
+ @ApiModelProperty(example = "60654", required = true, value = "")
+ @JsonProperty(JSON_PROPERTY_BUSINESS_ZIP)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
+
+ public String getBusinessZip() {
+ return businessZip;
+ }
+
+
+ @JsonProperty(JSON_PROPERTY_BUSINESS_ZIP)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
+ public void setBusinessZip(String businessZip) {
+ this.businessZip = businessZip;
+ }
+
+
+ public VerificationRequestStatus businessContactFirstName(String businessContactFirstName) {
+ this.businessContactFirstName = businessContactFirstName;
+ return this;
+ }
+
+ /**
+ * Get businessContactFirstName
+ * @return businessContactFirstName
+ **/
+ @javax.annotation.Nonnull
+ @ApiModelProperty(example = "John", required = true, value = "")
+ @JsonProperty(JSON_PROPERTY_BUSINESS_CONTACT_FIRST_NAME)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
+
+ public String getBusinessContactFirstName() {
+ return businessContactFirstName;
+ }
+
+
+ @JsonProperty(JSON_PROPERTY_BUSINESS_CONTACT_FIRST_NAME)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
+ public void setBusinessContactFirstName(String businessContactFirstName) {
+ this.businessContactFirstName = businessContactFirstName;
+ }
+
+
+ public VerificationRequestStatus businessContactLastName(String businessContactLastName) {
+ this.businessContactLastName = businessContactLastName;
+ return this;
+ }
+
+ /**
+ * Get businessContactLastName
+ * @return businessContactLastName
+ **/
+ @javax.annotation.Nonnull
+ @ApiModelProperty(example = "Doe", required = true, value = "")
+ @JsonProperty(JSON_PROPERTY_BUSINESS_CONTACT_LAST_NAME)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
+
+ public String getBusinessContactLastName() {
+ return businessContactLastName;
+ }
+
+
+ @JsonProperty(JSON_PROPERTY_BUSINESS_CONTACT_LAST_NAME)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
+ public void setBusinessContactLastName(String businessContactLastName) {
+ this.businessContactLastName = businessContactLastName;
+ }
+
+
+ public VerificationRequestStatus businessContactEmail(String businessContactEmail) {
+ this.businessContactEmail = businessContactEmail;
+ return this;
+ }
+
+ /**
+ * Get businessContactEmail
+ * @return businessContactEmail
+ **/
+ @javax.annotation.Nonnull
+ @ApiModelProperty(example = "email@example.com", required = true, value = "")
+ @JsonProperty(JSON_PROPERTY_BUSINESS_CONTACT_EMAIL)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
+
+ public String getBusinessContactEmail() {
+ return businessContactEmail;
+ }
+
+
+ @JsonProperty(JSON_PROPERTY_BUSINESS_CONTACT_EMAIL)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
+ public void setBusinessContactEmail(String businessContactEmail) {
+ this.businessContactEmail = businessContactEmail;
+ }
+
+
+ public VerificationRequestStatus businessContactPhone(String businessContactPhone) {
+ this.businessContactPhone = businessContactPhone;
+ return this;
+ }
+
+ /**
+ * Get businessContactPhone
+ * @return businessContactPhone
+ **/
+ @javax.annotation.Nonnull
+ @ApiModelProperty(example = "+18889809750", required = true, value = "")
+ @JsonProperty(JSON_PROPERTY_BUSINESS_CONTACT_PHONE)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
+
+ public String getBusinessContactPhone() {
+ return businessContactPhone;
+ }
+
+
+ @JsonProperty(JSON_PROPERTY_BUSINESS_CONTACT_PHONE)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
+ public void setBusinessContactPhone(String businessContactPhone) {
+ this.businessContactPhone = businessContactPhone;
+ }
+
+
+ public VerificationRequestStatus messageVolume(Volume messageVolume) {
+ this.messageVolume = messageVolume;
+ return this;
+ }
+
+ /**
+ * Get messageVolume
+ * @return messageVolume
+ **/
+ @javax.annotation.Nonnull
+ @ApiModelProperty(required = true, value = "")
+ @JsonProperty(JSON_PROPERTY_MESSAGE_VOLUME)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
+
+ public Volume getMessageVolume() {
+ return messageVolume;
+ }
+
+
+ @JsonProperty(JSON_PROPERTY_MESSAGE_VOLUME)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
+ public void setMessageVolume(Volume messageVolume) {
+ this.messageVolume = messageVolume;
+ }
+
+
+ public VerificationRequestStatus phoneNumbers(List phoneNumbers) {
+ this.phoneNumbers = phoneNumbers;
+ return this;
+ }
+
+ public VerificationRequestStatus addPhoneNumbersItem(TFPhoneNumber phoneNumbersItem) {
+ this.phoneNumbers.add(phoneNumbersItem);
+ return this;
+ }
+
+ /**
+ * Get phoneNumbers
+ * @return phoneNumbers
+ **/
+ @javax.annotation.Nonnull
+ @ApiModelProperty(example = "[{\"phoneNumber\":\"+18773554398\"},{\"phoneNumber\":\"+18773554399\"}]", required = true, value = "")
+ @JsonProperty(JSON_PROPERTY_PHONE_NUMBERS)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
+
+ public List getPhoneNumbers() {
+ return phoneNumbers;
+ }
+
+
+ @JsonProperty(JSON_PROPERTY_PHONE_NUMBERS)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
+ public void setPhoneNumbers(List phoneNumbers) {
+ this.phoneNumbers = phoneNumbers;
+ }
+
+
+ public VerificationRequestStatus useCase(UseCaseCategories useCase) {
+ this.useCase = useCase;
+ return this;
+ }
+
+ /**
+ * Get useCase
+ * @return useCase
+ **/
+ @javax.annotation.Nonnull
+ @ApiModelProperty(required = true, value = "")
+ @JsonProperty(JSON_PROPERTY_USE_CASE)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
+
+ public UseCaseCategories getUseCase() {
+ return useCase;
+ }
+
+
+ @JsonProperty(JSON_PROPERTY_USE_CASE)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
+ public void setUseCase(UseCaseCategories useCase) {
+ this.useCase = useCase;
+ }
+
+
+ public VerificationRequestStatus useCaseSummary(String useCaseSummary) {
+ this.useCaseSummary = useCaseSummary;
+ return this;
+ }
+
+ /**
+ * Get useCaseSummary
+ * @return useCaseSummary
+ **/
+ @javax.annotation.Nonnull
+ @ApiModelProperty(example = "This is a use case where Telnyx sends out 2FA codes to portal users to verify their identity in order to sign into the portal", required = true, value = "")
+ @JsonProperty(JSON_PROPERTY_USE_CASE_SUMMARY)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
+
+ public String getUseCaseSummary() {
+ return useCaseSummary;
+ }
+
+
+ @JsonProperty(JSON_PROPERTY_USE_CASE_SUMMARY)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
+ public void setUseCaseSummary(String useCaseSummary) {
+ this.useCaseSummary = useCaseSummary;
+ }
+
+
+ public VerificationRequestStatus productionMessageContent(String productionMessageContent) {
+ this.productionMessageContent = productionMessageContent;
+ return this;
+ }
+
+ /**
+ * Get productionMessageContent
+ * @return productionMessageContent
+ **/
+ @javax.annotation.Nonnull
+ @ApiModelProperty(example = "Your Telnyx OTP is XXXX", required = true, value = "")
+ @JsonProperty(JSON_PROPERTY_PRODUCTION_MESSAGE_CONTENT)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
+
+ public String getProductionMessageContent() {
+ return productionMessageContent;
+ }
+
+
+ @JsonProperty(JSON_PROPERTY_PRODUCTION_MESSAGE_CONTENT)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
+ public void setProductionMessageContent(String productionMessageContent) {
+ this.productionMessageContent = productionMessageContent;
+ }
+
+
+ public VerificationRequestStatus optInWorkflow(String optInWorkflow) {
+ this.optInWorkflow = optInWorkflow;
+ return this;
+ }
+
+ /**
+ * Get optInWorkflow
+ * @return optInWorkflow
+ **/
+ @javax.annotation.Nonnull
+ @ApiModelProperty(example = "User signs into the Telnyx portal, enters number and is prompted to select whether they want to use 2FA verification for security purposes. If they've opted in a confirmation message is sent out to the handset", required = true, value = "")
+ @JsonProperty(JSON_PROPERTY_OPT_IN_WORKFLOW)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
+
+ public String getOptInWorkflow() {
+ return optInWorkflow;
+ }
+
+
+ @JsonProperty(JSON_PROPERTY_OPT_IN_WORKFLOW)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
+ public void setOptInWorkflow(String optInWorkflow) {
+ this.optInWorkflow = optInWorkflow;
+ }
+
+
+ public VerificationRequestStatus optInWorkflowImageURLs(List optInWorkflowImageURLs) {
+ this.optInWorkflowImageURLs = optInWorkflowImageURLs;
+ return this;
+ }
+
+ public VerificationRequestStatus addOptInWorkflowImageURLsItem(Url optInWorkflowImageURLsItem) {
+ this.optInWorkflowImageURLs.add(optInWorkflowImageURLsItem);
+ return this;
+ }
+
+ /**
+ * Get optInWorkflowImageURLs
+ * @return optInWorkflowImageURLs
+ **/
+ @javax.annotation.Nonnull
+ @ApiModelProperty(example = "[{\"url\":\"https://telnyx.com/sign-up\"},{\"url\":\"https://telnyx.com/company/data-privacy\"}]", required = true, value = "")
+ @JsonProperty(JSON_PROPERTY_OPT_IN_WORKFLOW_IMAGE_U_R_LS)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
+
+ public List getOptInWorkflowImageURLs() {
+ return optInWorkflowImageURLs;
+ }
+
+
+ @JsonProperty(JSON_PROPERTY_OPT_IN_WORKFLOW_IMAGE_U_R_LS)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
+ public void setOptInWorkflowImageURLs(List optInWorkflowImageURLs) {
+ this.optInWorkflowImageURLs = optInWorkflowImageURLs;
+ }
+
+
+ public VerificationRequestStatus additionalInformation(String additionalInformation) {
+ this.additionalInformation = additionalInformation;
+ return this;
+ }
+
+ /**
+ * Get additionalInformation
+ * @return additionalInformation
+ **/
+ @javax.annotation.Nonnull
+ @ApiModelProperty(example = "This is for security purposes, blah blah blah", required = true, value = "")
+ @JsonProperty(JSON_PROPERTY_ADDITIONAL_INFORMATION)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
+
+ public String getAdditionalInformation() {
+ return additionalInformation;
+ }
+
+
+ @JsonProperty(JSON_PROPERTY_ADDITIONAL_INFORMATION)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
+ public void setAdditionalInformation(String additionalInformation) {
+ this.additionalInformation = additionalInformation;
+ }
+
+
+ public VerificationRequestStatus isvReseller(String isvReseller) {
+ this.isvReseller = isvReseller;
+ return this;
+ }
+
+ /**
+ * Get isvReseller
+ * @return isvReseller
+ **/
+ @javax.annotation.Nonnull
+ @ApiModelProperty(example = "Yes", required = true, value = "")
+ @JsonProperty(JSON_PROPERTY_ISV_RESELLER)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
+
+ public String getIsvReseller() {
+ return isvReseller;
+ }
+
+
+ @JsonProperty(JSON_PROPERTY_ISV_RESELLER)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
+ public void setIsvReseller(String isvReseller) {
+ this.isvReseller = isvReseller;
+ }
+
+
+ public VerificationRequestStatus webhookUrl(String webhookUrl) {
+ this.webhookUrl = webhookUrl;
+ return this;
+ }
+
+ /**
+ * Get webhookUrl
+ * @return webhookUrl
+ **/
+ @javax.annotation.Nullable
+ @ApiModelProperty(example = "http://example-webhook.com", value = "")
+ @JsonProperty(JSON_PROPERTY_WEBHOOK_URL)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+
+ public String getWebhookUrl() {
+ return webhookUrl;
+ }
+
+
+ @JsonProperty(JSON_PROPERTY_WEBHOOK_URL)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public void setWebhookUrl(String webhookUrl) {
+ this.webhookUrl = webhookUrl;
+ }
+
+
+ public VerificationRequestStatus id(UUID id) {
+ this.id = id;
+ return this;
+ }
+
+ /**
+ * Get id
+ * @return id
+ **/
+ @javax.annotation.Nonnull
+ @ApiModelProperty(example = "eaba9f52-164e-58e0-b002-4f668e18b7ed", required = true, value = "")
+ @JsonProperty(JSON_PROPERTY_ID)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
+
+ public UUID getId() {
+ return id;
+ }
+
+
+ @JsonProperty(JSON_PROPERTY_ID)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
+ public void setId(UUID id) {
+ this.id = id;
+ }
+
+
+ public VerificationRequestStatus verificationStatus(TFVerificationStatus verificationStatus) {
+ this.verificationStatus = verificationStatus;
+ return this;
+ }
+
+ /**
+ * Get verificationStatus
+ * @return verificationStatus
+ **/
+ @javax.annotation.Nonnull
+ @ApiModelProperty(required = true, value = "")
+ @JsonProperty(JSON_PROPERTY_VERIFICATION_STATUS)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
+
+ public TFVerificationStatus getVerificationStatus() {
+ return verificationStatus;
+ }
+
+
+ @JsonProperty(JSON_PROPERTY_VERIFICATION_STATUS)
+ @JsonInclude(value = JsonInclude.Include.ALWAYS)
+ public void setVerificationStatus(TFVerificationStatus verificationStatus) {
+ this.verificationStatus = verificationStatus;
+ }
+
+
+ public VerificationRequestStatus reason(String reason) {
+ this.reason = reason;
+ return this;
+ }
+
+ /**
+ * Get reason
+ * @return reason
+ **/
+ @javax.annotation.Nullable
+ @ApiModelProperty(example = "Unfortunately, we have to cancel this request as we do not support non tollfree US numbers.", value = "")
+ @JsonProperty(JSON_PROPERTY_REASON)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+
+ public String getReason() {
+ return reason;
+ }
+
+
+ @JsonProperty(JSON_PROPERTY_REASON)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public void setReason(String reason) {
+ this.reason = reason;
+ }
+
+
+ /**
+ * Return true if this VerificationRequestStatus object is equal to o.
+ */
+ @Override
+ public boolean equals(Object o) {
+ if (this == o) {
+ return true;
+ }
+ if (o == null || getClass() != o.getClass()) {
+ return false;
+ }
+ VerificationRequestStatus verificationRequestStatus = (VerificationRequestStatus) o;
+ return Objects.equals(this.businessName, verificationRequestStatus.businessName) &&
+ Objects.equals(this.corporateWebsite, verificationRequestStatus.corporateWebsite) &&
+ Objects.equals(this.businessAddr1, verificationRequestStatus.businessAddr1) &&
+ Objects.equals(this.businessAddr2, verificationRequestStatus.businessAddr2) &&
+ Objects.equals(this.businessCity, verificationRequestStatus.businessCity) &&
+ Objects.equals(this.businessState, verificationRequestStatus.businessState) &&
+ Objects.equals(this.businessZip, verificationRequestStatus.businessZip) &&
+ Objects.equals(this.businessContactFirstName, verificationRequestStatus.businessContactFirstName) &&
+ Objects.equals(this.businessContactLastName, verificationRequestStatus.businessContactLastName) &&
+ Objects.equals(this.businessContactEmail, verificationRequestStatus.businessContactEmail) &&
+ Objects.equals(this.businessContactPhone, verificationRequestStatus.businessContactPhone) &&
+ Objects.equals(this.messageVolume, verificationRequestStatus.messageVolume) &&
+ Objects.equals(this.phoneNumbers, verificationRequestStatus.phoneNumbers) &&
+ Objects.equals(this.useCase, verificationRequestStatus.useCase) &&
+ Objects.equals(this.useCaseSummary, verificationRequestStatus.useCaseSummary) &&
+ Objects.equals(this.productionMessageContent, verificationRequestStatus.productionMessageContent) &&
+ Objects.equals(this.optInWorkflow, verificationRequestStatus.optInWorkflow) &&
+ Objects.equals(this.optInWorkflowImageURLs, verificationRequestStatus.optInWorkflowImageURLs) &&
+ Objects.equals(this.additionalInformation, verificationRequestStatus.additionalInformation) &&
+ Objects.equals(this.isvReseller, verificationRequestStatus.isvReseller) &&
+ Objects.equals(this.webhookUrl, verificationRequestStatus.webhookUrl) &&
+ Objects.equals(this.id, verificationRequestStatus.id) &&
+ Objects.equals(this.verificationStatus, verificationRequestStatus.verificationStatus) &&
+ Objects.equals(this.reason, verificationRequestStatus.reason);
+ }
+
+ @Override
+ public int hashCode() {
+ return Objects.hash(businessName, corporateWebsite, businessAddr1, businessAddr2, businessCity, businessState, businessZip, businessContactFirstName, businessContactLastName, businessContactEmail, businessContactPhone, messageVolume, phoneNumbers, useCase, useCaseSummary, productionMessageContent, optInWorkflow, optInWorkflowImageURLs, additionalInformation, isvReseller, webhookUrl, id, verificationStatus, reason);
+ }
+
+ @Override
+ public String toString() {
+ StringBuilder sb = new StringBuilder();
+ sb.append("class VerificationRequestStatus {\n");
+ sb.append(" businessName: ").append(toIndentedString(businessName)).append("\n");
+ sb.append(" corporateWebsite: ").append(toIndentedString(corporateWebsite)).append("\n");
+ sb.append(" businessAddr1: ").append(toIndentedString(businessAddr1)).append("\n");
+ sb.append(" businessAddr2: ").append(toIndentedString(businessAddr2)).append("\n");
+ sb.append(" businessCity: ").append(toIndentedString(businessCity)).append("\n");
+ sb.append(" businessState: ").append(toIndentedString(businessState)).append("\n");
+ sb.append(" businessZip: ").append(toIndentedString(businessZip)).append("\n");
+ sb.append(" businessContactFirstName: ").append(toIndentedString(businessContactFirstName)).append("\n");
+ sb.append(" businessContactLastName: ").append(toIndentedString(businessContactLastName)).append("\n");
+ sb.append(" businessContactEmail: ").append(toIndentedString(businessContactEmail)).append("\n");
+ sb.append(" businessContactPhone: ").append(toIndentedString(businessContactPhone)).append("\n");
+ sb.append(" messageVolume: ").append(toIndentedString(messageVolume)).append("\n");
+ sb.append(" phoneNumbers: ").append(toIndentedString(phoneNumbers)).append("\n");
+ sb.append(" useCase: ").append(toIndentedString(useCase)).append("\n");
+ sb.append(" useCaseSummary: ").append(toIndentedString(useCaseSummary)).append("\n");
+ sb.append(" productionMessageContent: ").append(toIndentedString(productionMessageContent)).append("\n");
+ sb.append(" optInWorkflow: ").append(toIndentedString(optInWorkflow)).append("\n");
+ sb.append(" optInWorkflowImageURLs: ").append(toIndentedString(optInWorkflowImageURLs)).append("\n");
+ sb.append(" additionalInformation: ").append(toIndentedString(additionalInformation)).append("\n");
+ sb.append(" isvReseller: ").append(toIndentedString(isvReseller)).append("\n");
+ sb.append(" webhookUrl: ").append(toIndentedString(webhookUrl)).append("\n");
+ sb.append(" id: ").append(toIndentedString(id)).append("\n");
+ sb.append(" verificationStatus: ").append(toIndentedString(verificationStatus)).append("\n");
+ sb.append(" reason: ").append(toIndentedString(reason)).append("\n");
+ sb.append("}");
+ return sb.toString();
+ }
+
+ /**
+ * Convert the given object to string with each line indented by 4 spaces
+ * (except the first line).
+ */
+ private String toIndentedString(Object o) {
+ if (o == null) {
+ return "null";
+ }
+ return o.toString().replace("\n", "\n ");
+ }
+
+}
+
diff --git a/src/main/java/com/telnyx/sdk/model/Volume.java b/src/main/java/com/telnyx/sdk/model/Volume.java
new file mode 100644
index 00000000..66ffdab6
--- /dev/null
+++ b/src/main/java/com/telnyx/sdk/model/Volume.java
@@ -0,0 +1,80 @@
+/*
+ * Telnyx API
+ * SIP trunking, SMS, MMS, Call Control and Telephony Data Services.
+ *
+ * The version of the OpenAPI document: 2.0.0
+ * Contact: support@telnyx.com
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ */
+
+
+package com.telnyx.sdk.model;
+
+import java.util.Objects;
+import java.util.Arrays;
+import java.util.Map;
+import java.util.HashMap;
+import com.fasterxml.jackson.annotation.JsonPropertyOrder;
+import com.telnyx.sdk.JSON;
+
+
+import com.fasterxml.jackson.annotation.JsonCreator;
+import com.fasterxml.jackson.annotation.JsonValue;
+
+/**
+ * Message Volume Enums
+ */
+public enum Volume {
+
+ _10("10"),
+
+ _100("100"),
+
+ _1_000("1,000"),
+
+ _10_000("10,000"),
+
+ _100_000("100,000"),
+
+ _250_000("250,000"),
+
+ _500_000("500,000"),
+
+ _750_000("750,000"),
+
+ _1_000_000("1,000,000"),
+
+ _5_000_000("5,000,000"),
+
+ _10_000_000_("10,000,000+");
+
+ private String value;
+
+ Volume(String value) {
+ this.value = value;
+ }
+
+ @JsonValue
+ public String getValue() {
+ return value;
+ }
+
+ @Override
+ public String toString() {
+ return String.valueOf(value);
+ }
+
+ @JsonCreator
+ public static Volume fromValue(String value) {
+ for (Volume b : Volume.values()) {
+ if (b.value.equals(value)) {
+ return b;
+ }
+ }
+ throw new IllegalArgumentException("Unexpected value '" + value + "'");
+ }
+}
+
diff --git a/src/test/java/com/telnyx/sdk/api/MessagingTollfreeVerificationApiTest.java b/src/test/java/com/telnyx/sdk/api/MessagingTollfreeVerificationApiTest.java
new file mode 100644
index 00000000..64220137
--- /dev/null
+++ b/src/test/java/com/telnyx/sdk/api/MessagingTollfreeVerificationApiTest.java
@@ -0,0 +1,109 @@
+/*
+ * Telnyx API
+ * SIP trunking, SMS, MMS, Call Control and Telephony Data Services.
+ *
+ * The version of the OpenAPI document: 2.0.0
+ * Contact: support@telnyx.com
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ */
+
+
+package com.telnyx.sdk.api;
+
+import com.telnyx.sdk.*;
+import com.telnyx.sdk.auth.*;
+import com.telnyx.sdk.model.Errors;
+import java.time.OffsetDateTime;
+import com.telnyx.sdk.model.PaginatedVerificationRequestStatus;
+import com.telnyx.sdk.model.TFVerificationRequest;
+import com.telnyx.sdk.model.TFVerificationStatus;
+import java.util.UUID;
+import com.telnyx.sdk.model.VerificationRequestEgress;
+import com.telnyx.sdk.model.VerificationRequestStatus;
+import org.junit.Assert;
+import org.junit.Ignore;
+import org.junit.Test;
+
+
+import java.util.ArrayList;
+import java.util.HashMap;
+import java.util.List;
+import java.util.Map;
+
+/**
+ * API tests for MessagingTollfreeVerificationApi
+ */
+public class MessagingTollfreeVerificationApiTest {
+
+ private final MessagingTollfreeVerificationApi api = new MessagingTollfreeVerificationApi();
+
+ /**
+ * Get Verification Request
+ *
+ * Get a single verification request by its ID.
+ *
+ * @throws ApiException
+ * if the Api call fails
+ */
+ @Test
+ public void getVerificationRequestTest() throws ApiException {
+ //UUID id = null;
+ //VerificationRequestStatus response = api.getVerificationRequest(id);
+ // TODO: test validations
+ }
+
+ /**
+ * List Verification Requests
+ *
+ * Get a list of previously-submitted tollfree verification requests
+ *
+ * @throws ApiException
+ * if the Api call fails
+ */
+ @Test
+ public void listVerificationRequestsTest() throws ApiException {
+ //Integer page = null;
+ //Integer pageSize = null;
+ //OffsetDateTime dateStart = null;
+ //OffsetDateTime dateEnd = null;
+ //TFVerificationStatus status = null;
+ //String phoneNumber = null;
+ //PaginatedVerificationRequestStatus response = api.listVerificationRequests(page, pageSize, dateStart, dateEnd, status, phoneNumber);
+ // TODO: test validations
+ }
+
+ /**
+ * Submit Verification Request
+ *
+ * Submit a new tollfree verification request
+ *
+ * @throws ApiException
+ * if the Api call fails
+ */
+ @Test
+ public void submitVerificationRequestTest() throws ApiException {
+ //TFVerificationRequest tfVerificationRequest = null;
+ //VerificationRequestEgress response = api.submitVerificationRequest(tfVerificationRequest);
+ // TODO: test validations
+ }
+
+ /**
+ * Update Verification Request
+ *
+ * Update an existing tollfree verification request. This is particularly useful when there are pending customer actions to be taken.
+ *
+ * @throws ApiException
+ * if the Api call fails
+ */
+ @Test
+ public void updateVerificationRequestTest() throws ApiException {
+ //UUID id = null;
+ //TFVerificationRequest tfVerificationRequest = null;
+ //VerificationRequestEgress response = api.updateVerificationRequest(id, tfVerificationRequest);
+ // TODO: test validations
+ }
+
+}
diff --git a/src/test/java/com/telnyx/sdk/api/MessagingTollfreeVerificationsApiTest.java b/src/test/java/com/telnyx/sdk/api/MessagingTollfreeVerificationsApiTest.java
new file mode 100644
index 00000000..e4f5770d
--- /dev/null
+++ b/src/test/java/com/telnyx/sdk/api/MessagingTollfreeVerificationsApiTest.java
@@ -0,0 +1,52 @@
+/*
+ * Telnyx API
+ * SIP trunking, SMS, MMS, Call Control and Telephony Data Services.
+ *
+ * The version of the OpenAPI document: 2.0.0
+ * Contact: support@telnyx.com
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ */
+
+
+package com.telnyx.sdk.api;
+
+import com.telnyx.sdk.*;
+import com.telnyx.sdk.auth.*;
+import com.telnyx.sdk.model.Errors;
+import java.util.UUID;
+import org.junit.Assert;
+import org.junit.Ignore;
+import org.junit.Test;
+
+
+import java.util.ArrayList;
+import java.util.HashMap;
+import java.util.List;
+import java.util.Map;
+
+/**
+ * API tests for MessagingTollfreeVerificationsApi
+ */
+public class MessagingTollfreeVerificationsApiTest {
+
+ private final MessagingTollfreeVerificationsApi api = new MessagingTollfreeVerificationsApi();
+
+ /**
+ * Delete Verification Request
+ *
+ * Delete a verification request A request may only be deleted when when the request is in the \"rejected\" state. * `HTTP 200`: request successfully deleted * `HTTP 400`: request exists but can't be deleted (i.e. not rejected) * `HTTP 404`: request unknown or already deleted
+ *
+ * @throws ApiException
+ * if the Api call fails
+ */
+ @Test
+ public void deleteVerificationRequestPublicApiV2RequestsIdDeleteTest() throws ApiException {
+ //UUID id = null;
+ //Object response = api.deleteVerificationRequestPublicApiV2RequestsIdDelete(id);
+ // TODO: test validations
+ }
+
+}
diff --git a/src/test/java/com/telnyx/sdk/model/TFPhoneNumberTest.java b/src/test/java/com/telnyx/sdk/model/TFPhoneNumberTest.java
new file mode 100644
index 00000000..1f0ef5a8
--- /dev/null
+++ b/src/test/java/com/telnyx/sdk/model/TFPhoneNumberTest.java
@@ -0,0 +1,48 @@
+/*
+ * Telnyx API
+ * SIP trunking, SMS, MMS, Call Control and Telephony Data Services.
+ *
+ * The version of the OpenAPI document: 2.0.0
+ * Contact: support@telnyx.com
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ */
+
+
+package com.telnyx.sdk.model;
+
+import com.fasterxml.jackson.annotation.JsonInclude;
+import com.fasterxml.jackson.annotation.JsonProperty;
+import com.fasterxml.jackson.annotation.JsonCreator;
+import com.fasterxml.jackson.annotation.JsonTypeName;
+import com.fasterxml.jackson.annotation.JsonValue;
+
+import org.junit.jupiter.api.Assertions;
+import org.junit.jupiter.api.Disabled;
+import org.junit.jupiter.api.Test;
+
+/**
+ * Model tests for TFPhoneNumber
+ */
+public class TFPhoneNumberTest {
+ private final TFPhoneNumber model = new TFPhoneNumber();
+
+ /**
+ * Model tests for TFPhoneNumber
+ */
+ @Test
+ public void testTFPhoneNumber() {
+ // TODO: test TFPhoneNumber
+ }
+
+ /**
+ * Test the property 'phoneNumber'
+ */
+ @Test
+ public void phoneNumberTest() {
+ // TODO: test phoneNumber
+ }
+
+}
diff --git a/src/test/java/com/telnyx/sdk/model/TFVerificationRequestTest.java b/src/test/java/com/telnyx/sdk/model/TFVerificationRequestTest.java
new file mode 100644
index 00000000..84edb6bf
--- /dev/null
+++ b/src/test/java/com/telnyx/sdk/model/TFVerificationRequestTest.java
@@ -0,0 +1,214 @@
+/*
+ * Telnyx API
+ * SIP trunking, SMS, MMS, Call Control and Telephony Data Services.
+ *
+ * The version of the OpenAPI document: 2.0.0
+ * Contact: support@telnyx.com
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ */
+
+
+package com.telnyx.sdk.model;
+
+import com.fasterxml.jackson.annotation.JsonInclude;
+import com.fasterxml.jackson.annotation.JsonProperty;
+import com.fasterxml.jackson.annotation.JsonCreator;
+import com.fasterxml.jackson.annotation.JsonTypeName;
+import com.fasterxml.jackson.annotation.JsonValue;
+import com.telnyx.sdk.model.TFPhoneNumber;
+import com.telnyx.sdk.model.Url;
+import com.telnyx.sdk.model.UseCaseCategories;
+import com.telnyx.sdk.model.Volume;
+import java.util.ArrayList;
+import java.util.List;
+
+import org.junit.jupiter.api.Assertions;
+import org.junit.jupiter.api.Disabled;
+import org.junit.jupiter.api.Test;
+
+/**
+ * Model tests for TFVerificationRequest
+ */
+public class TFVerificationRequestTest {
+ private final TFVerificationRequest model = new TFVerificationRequest();
+
+ /**
+ * Model tests for TFVerificationRequest
+ */
+ @Test
+ public void testTFVerificationRequest() {
+ // TODO: test TFVerificationRequest
+ }
+
+ /**
+ * Test the property 'businessName'
+ */
+ @Test
+ public void businessNameTest() {
+ // TODO: test businessName
+ }
+
+ /**
+ * Test the property 'corporateWebsite'
+ */
+ @Test
+ public void corporateWebsiteTest() {
+ // TODO: test corporateWebsite
+ }
+
+ /**
+ * Test the property 'businessAddr1'
+ */
+ @Test
+ public void businessAddr1Test() {
+ // TODO: test businessAddr1
+ }
+
+ /**
+ * Test the property 'businessAddr2'
+ */
+ @Test
+ public void businessAddr2Test() {
+ // TODO: test businessAddr2
+ }
+
+ /**
+ * Test the property 'businessCity'
+ */
+ @Test
+ public void businessCityTest() {
+ // TODO: test businessCity
+ }
+
+ /**
+ * Test the property 'businessState'
+ */
+ @Test
+ public void businessStateTest() {
+ // TODO: test businessState
+ }
+
+ /**
+ * Test the property 'businessZip'
+ */
+ @Test
+ public void businessZipTest() {
+ // TODO: test businessZip
+ }
+
+ /**
+ * Test the property 'businessContactFirstName'
+ */
+ @Test
+ public void businessContactFirstNameTest() {
+ // TODO: test businessContactFirstName
+ }
+
+ /**
+ * Test the property 'businessContactLastName'
+ */
+ @Test
+ public void businessContactLastNameTest() {
+ // TODO: test businessContactLastName
+ }
+
+ /**
+ * Test the property 'businessContactEmail'
+ */
+ @Test
+ public void businessContactEmailTest() {
+ // TODO: test businessContactEmail
+ }
+
+ /**
+ * Test the property 'businessContactPhone'
+ */
+ @Test
+ public void businessContactPhoneTest() {
+ // TODO: test businessContactPhone
+ }
+
+ /**
+ * Test the property 'messageVolume'
+ */
+ @Test
+ public void messageVolumeTest() {
+ // TODO: test messageVolume
+ }
+
+ /**
+ * Test the property 'phoneNumbers'
+ */
+ @Test
+ public void phoneNumbersTest() {
+ // TODO: test phoneNumbers
+ }
+
+ /**
+ * Test the property 'useCase'
+ */
+ @Test
+ public void useCaseTest() {
+ // TODO: test useCase
+ }
+
+ /**
+ * Test the property 'useCaseSummary'
+ */
+ @Test
+ public void useCaseSummaryTest() {
+ // TODO: test useCaseSummary
+ }
+
+ /**
+ * Test the property 'productionMessageContent'
+ */
+ @Test
+ public void productionMessageContentTest() {
+ // TODO: test productionMessageContent
+ }
+
+ /**
+ * Test the property 'optInWorkflow'
+ */
+ @Test
+ public void optInWorkflowTest() {
+ // TODO: test optInWorkflow
+ }
+
+ /**
+ * Test the property 'optInWorkflowImageURLs'
+ */
+ @Test
+ public void optInWorkflowImageURLsTest() {
+ // TODO: test optInWorkflowImageURLs
+ }
+
+ /**
+ * Test the property 'additionalInformation'
+ */
+ @Test
+ public void additionalInformationTest() {
+ // TODO: test additionalInformation
+ }
+
+ /**
+ * Test the property 'isvReseller'
+ */
+ @Test
+ public void isvResellerTest() {
+ // TODO: test isvReseller
+ }
+
+ /**
+ * Test the property 'webhookUrl'
+ */
+ @Test
+ public void webhookUrlTest() {
+ // TODO: test webhookUrl
+ }
+
+}
diff --git a/src/test/java/com/telnyx/sdk/model/TFVerificationStatusTest.java b/src/test/java/com/telnyx/sdk/model/TFVerificationStatusTest.java
new file mode 100644
index 00000000..d93f812c
--- /dev/null
+++ b/src/test/java/com/telnyx/sdk/model/TFVerificationStatusTest.java
@@ -0,0 +1,33 @@
+/*
+ * Telnyx API
+ * SIP trunking, SMS, MMS, Call Control and Telephony Data Services.
+ *
+ * The version of the OpenAPI document: 2.0.0
+ * Contact: support@telnyx.com
+ *
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
+ * https://openapi-generator.tech
+ * Do not edit the class manually.
+ */
+
+
+package com.telnyx.sdk.model;
+
+
+import org.junit.jupiter.api.Assertions;
+import org.junit.jupiter.api.Disabled;
+import org.junit.jupiter.api.Test;
+
+/**
+ * Model tests for TFVerificationStatus
+ */
+public class TFVerificationStatusTest {
+ /**
+ * Model tests for TFVerificationStatus
+ */
+ @Test
+ public void testTFVerificationStatus() {
+ // TODO: test TFVerificationStatus
+ }
+
+}