Record Class CommunicationReplyMessage
java.lang.Object
java.lang.Record
de.gematik.test.erezept.fhir.values.json.CommunicationReplyMessage
- All Implemented Interfaces:
CommunicationStructuredMessage
-
Field Summary
Fields inherited from interface de.gematik.test.erezept.fhir.values.json.CommunicationStructuredMessage
DEFAULT_VERSION -
Constructor Summary
ConstructorsConstructorDescriptionCommunicationReplyMessage(int version, String supplyOptionsType, String info_text, String url, String pickUpCodeHR, String pickUpCodeDMC) Creates an instance of aCommunicationReplyMessagerecord class.CommunicationReplyMessage(SupplyOptionsType supplyOptionsType, String infoText) CommunicationReplyMessage(SupplyOptionsType supplyOptionsType, String infoText, String url, String pickUpCodeHR, String pickUpCodeDMC) -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.Returns the value of theinfo_textrecord component.Returns the value of thepickUpCodeDMCrecord component.Returns the value of thepickUpCodeHRrecord component.Returns the value of thesupplyOptionsTyperecord component.final StringtoString()Returns a string representation of this record class.url()Returns the value of theurlrecord component.intversion()Returns the value of theversionrecord component.Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface de.gematik.test.erezept.fhir.values.json.CommunicationStructuredMessage
asJson
-
Constructor Details
-
CommunicationReplyMessage
public CommunicationReplyMessage(SupplyOptionsType supplyOptionsType, String infoText, String url, String pickUpCodeHR, String pickUpCodeDMC) -
CommunicationReplyMessage
-
CommunicationReplyMessage
public CommunicationReplyMessage() -
CommunicationReplyMessage
public CommunicationReplyMessage(int version, String supplyOptionsType, String info_text, String url, String pickUpCodeHR, String pickUpCodeDMC) Creates an instance of aCommunicationReplyMessagerecord class.- Parameters:
version- the value for theversionrecord componentsupplyOptionsType- the value for thesupplyOptionsTyperecord componentinfo_text- the value for theinfo_textrecord componenturl- the value for theurlrecord componentpickUpCodeHR- the value for thepickUpCodeHRrecord componentpickUpCodeDMC- the value for thepickUpCodeDMCrecord component
-
-
Method Details
-
toString
Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components. -
hashCode
public final int hashCode()Returns a hash code value for this object. The value is derived from the hash code of each of the record components. -
equals
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. Reference components are compared withObjects::equals(Object,Object); primitive components are compared with '=='. -
version
public int version()Returns the value of theversionrecord component.- Returns:
- the value of the
versionrecord component
-
supplyOptionsType
Returns the value of thesupplyOptionsTyperecord component.- Returns:
- the value of the
supplyOptionsTyperecord component
-
info_text
Returns the value of theinfo_textrecord component.- Returns:
- the value of the
info_textrecord component
-
url
Returns the value of theurlrecord component.- Returns:
- the value of the
urlrecord component
-
pickUpCodeHR
Returns the value of thepickUpCodeHRrecord component.- Returns:
- the value of the
pickUpCodeHRrecord component
-
pickUpCodeDMC
Returns the value of thepickUpCodeDMCrecord component.- Returns:
- the value of the
pickUpCodeDMCrecord component
-