Package com.veeroute.lss.studio.model
Class PossibleEventContact
java.lang.Object
com.veeroute.lss.studio.model.PossibleEventContact
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2026-11-23T13:47:57.513559297+03:00[Europe/Moscow]",
comments="Generator version: 7.17.0")
public class PossibleEventContact
extends Object
Contact details of the final recipient of the goods or services.
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanstatic PossibleEventContactCreate an instance of PossibleEventContact given an JSON stringReturn the additional (undeclared) property.Return the additional (undeclared) property with the specified name.Free-form commentary on contact information.Full name of the final recipient of the goods or services.Name of the organization receiving the cargo or service.Phone number of the final recipient of the goods or services.inthashCode()putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.recipientName(String recipientName) recipientOrganization(String recipientOrganization) recipientPhone(String recipientPhone) voidsetComment(String comment) voidsetRecipientName(String recipientName) voidsetRecipientOrganization(String recipientOrganization) voidsetRecipientPhone(String recipientPhone) toJson()Convert an instance of PossibleEventContact 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_RECIPIENT_NAME
- See Also:
-
SERIALIZED_NAME_RECIPIENT_PHONE
- See Also:
-
SERIALIZED_NAME_RECIPIENT_ORGANIZATION
- See Also:
-
SERIALIZED_NAME_COMMENT
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
PossibleEventContact
public PossibleEventContact()
-
-
Method Details
-
recipientName
-
getRecipientName
Full name of the final recipient of the goods or services.- Returns:
- recipientName
-
setRecipientName
-
recipientPhone
-
getRecipientPhone
Phone number of the final recipient of the goods or services.- Returns:
- recipientPhone
-
setRecipientPhone
-
recipientOrganization
-
getRecipientOrganization
Name of the organization receiving the cargo or service.- Returns:
- recipientOrganization
-
setRecipientOrganization
-
comment
-
getComment
Free-form commentary on contact information.- Returns:
- comment
-
setComment
-
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 PossibleEventContact 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 PossibleEventContact
-
fromJson
Create an instance of PossibleEventContact given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of PossibleEventContact
- Throws:
IOException- if the JSON string is invalid with respect to PossibleEventContact
-
toJson
Convert an instance of PossibleEventContact to an JSON string- Returns:
- JSON string
-