Package com.bandwidth.sdk.model
Class MfaRequestError
java.lang.Object
com.bandwidth.sdk.model.MfaRequestError
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
comments="Generator version: 7.6.0")
public class MfaRequestError
extends Object
MfaRequestError
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
static MfaRequestError
Create an instance of MfaRequestError given an JSON stringReturn the additional (undeclared) property.Return the additional (undeclared) property with the specified name.getError()
A message describing the error with your request.The associated requestId from AWS.int
hashCode()
putAdditionalProperty
(String key, Object value) Set the additional (undeclared) property with the specified name and value.void
void
setRequestId
(String requestId) toJson()
Convert an instance of MfaRequestError 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_ERROR
- See Also:
-
SERIALIZED_NAME_REQUEST_ID
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
MfaRequestError
public MfaRequestError()
-
-
Method Details
-
error
-
getError
A message describing the error with your request.- Returns:
- error
-
setError
-
requestId
-
getRequestId
The associated requestId from AWS.- Returns:
- requestId
-
setRequestId
-
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 MfaRequestError 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 MfaRequestError
-
fromJson
Create an instance of MfaRequestError given an JSON string- Parameters:
jsonString
- JSON string- Returns:
- An instance of MfaRequestError
- Throws:
IOException
- if the JSON string is invalid with respect to MfaRequestError
-
toJson
Convert an instance of MfaRequestError to an JSON string- Returns:
- JSON string
-