Class Person
java.lang.Object
sendpost_java_sdk.Person
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2025-12-22T13:35:12.742682+05:30[Asia/Kolkata]",
comments="Generator version: 7.13.0")
public class Person
extends Object
Person
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanstatic PersonCreate an instance of Person given an JSON stringgetEmail()Email address of the person.getName()Name of the person.inthashCode()voidvoidtoJson()Convert an instance of Person to an JSON stringtoString()static voidvalidateJsonElement(com.google.gson.JsonElement jsonElement) Validates the JSON Element and throws an exception if issues found
-
Field Details
-
SERIALIZED_NAME_NAME
- See Also:
-
SERIALIZED_NAME_EMAIL
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
Person
public Person()
-
-
Method Details
-
name
-
getName
-
setName
-
email
-
getEmail
-
setEmail
-
equals
-
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 Person
-
fromJson
Create an instance of Person given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of Person
- Throws:
IOException- if the JSON string is invalid with respect to Person
-
toJson
-