Package io.sendon.model
Class Receiver
- java.lang.Object
-
- io.sendon.model.Receiver
-
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2025-03-25T16:56:04.124507+09:00[Asia/Seoul]", comments="Generator version: 7.7.0") public class Receiver extends Object
Receiver
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classReceiver.CustomTypeAdapterFactory
-
Field Summary
Fields Modifier and Type Field Description static HashSet<String>openapiFieldsstatic HashSet<String>openapiRequiredFieldsstatic StringSERIALIZED_NAME_NAMEstatic StringSERIALIZED_NAME_PHONE
-
Constructor Summary
Constructors Constructor Description Receiver()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)static ReceiverfromJson(String jsonString)Create an instance of Receiver given an JSON stringStringgetName()멤버 이름StringgetPhone()수신 번호inthashCode()Receivername(String name)Receiverphone(String phone)voidsetName(String name)voidsetPhone(String phone)StringtoJson()Convert an instance of Receiver to an JSON stringStringtoString()static voidvalidateJsonElement(com.google.gson.JsonElement jsonElement)Validates the JSON Element and throws an exception if issues found
-
-
-
Field Detail
-
SERIALIZED_NAME_PHONE
public static final String SERIALIZED_NAME_PHONE
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_NAME
public static final String SERIALIZED_NAME_NAME
- See Also:
- Constant Field Values
-
-
Method Detail
-
setPhone
public void setPhone(String phone)
-
setName
public void setName(String name)
-
validateJsonElement
public static void validateJsonElement(com.google.gson.JsonElement jsonElement) throws IOExceptionValidates 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 Receiver
-
fromJson
public static Receiver fromJson(String jsonString) throws IOException
Create an instance of Receiver given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of Receiver
- Throws:
IOException- if the JSON string is invalid with respect to Receiver
-
toJson
public String toJson()
Convert an instance of Receiver to an JSON string- Returns:
- JSON string
-
-