Package com.bandwidth.sdk.model
Class CreateLookupResponse
java.lang.Object
com.bandwidth.sdk.model.CreateLookupResponse
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
comments="Generator version: 7.6.0")
public class CreateLookupResponse
extends Object
The request has been accepted for processing but not yet finished and in a terminal state (COMPLETE, PARTIAL_COMPLETE, or FAILED).
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
static CreateLookupResponse
Create an instance of CreateLookupResponse given an JSON stringReturn the additional (undeclared) property.Return the additional (undeclared) property with the specified name.The phone number lookup request ID from Bandwidth.Get statusint
hashCode()
putAdditionalProperty
(String key, Object value) Set the additional (undeclared) property with the specified name and value.void
setRequestId
(String requestId) void
setStatus
(LookupStatusEnum status) status
(LookupStatusEnum status) toJson()
Convert an instance of CreateLookupResponse to an JSON stringtoString()
static void
validateJsonElement
(com.google.gson.JsonElement jsonElement) Validates the JSON Element and throws an exception if issues found
-
Field Details
-
SERIALIZED_NAME_REQUEST_ID
- See Also:
-
SERIALIZED_NAME_STATUS
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
CreateLookupResponse
public CreateLookupResponse()
-
-
Method Details
-
requestId
-
getRequestId
The phone number lookup request ID from Bandwidth.- Returns:
- requestId
-
setRequestId
-
status
-
getStatus
Get status- Returns:
- status
-
setStatus
-
putAdditionalProperty
Set the additional (undeclared) property with the specified name and value. If the property does not already exist, create it otherwise replace it.- Parameters:
key
- name of the propertyvalue
- value of the property- Returns:
- the CreateLookupResponse instance itself
-
getAdditionalProperties
Return the additional (undeclared) property.- Returns:
- a map of objects
-
getAdditionalProperty
Return the additional (undeclared) property with the specified name.- Parameters:
key
- name of the property- Returns:
- an object
-
equals
-
hashCode
public int hashCode() -
toString
-
validateJsonElement
Validates the JSON Element and throws an exception if issues found- Parameters:
jsonElement
- JSON Element- Throws:
IOException
- if the JSON Element is invalid with respect to CreateLookupResponse
-
fromJson
Create an instance of CreateLookupResponse given an JSON string- Parameters:
jsonString
- JSON string- Returns:
- An instance of CreateLookupResponse
- Throws:
IOException
- if the JSON string is invalid with respect to CreateLookupResponse
-
toJson
Convert an instance of CreateLookupResponse to an JSON string- Returns:
- JSON string
-