Record Class ParticipantRowFileRequest
java.lang.Object
java.lang.Record
org.diabetestechnology.drh.service.http.pg.request.ParticipantRowFileRequest
public record ParticipantRowFileRequest(String fileName, com.fasterxml.jackson.databind.JsonNode cgmRawDataJson, OffsetDateTime uploadTimestamp, String fileSize, String status, ParticipantRowFileRequest.ParticipantRowFileMetaDataRequest fileMetadata, String fileType, String studyId, String orgPartyId, byte[] cgmRawDataByteArray, String participantId, String cgmDataXml, String fileFormat, String fileUrl)
extends Record
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final record -
Constructor Summary
ConstructorsConstructorDescriptionParticipantRowFileRequest(String fileName, com.fasterxml.jackson.databind.JsonNode cgmRawDataJson, OffsetDateTime uploadTimestamp, String fileSize, String status, ParticipantRowFileRequest.ParticipantRowFileMetaDataRequest fileMetadata, String fileType, String studyId, String orgPartyId, byte[] cgmRawDataByteArray, String participantId, String cgmDataXml, String fileFormat, String fileUrl) Creates an instance of aParticipantRowFileRequestrecord class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of thecgmDataXmlrecord component.byte[]Returns the value of thecgmRawDataByteArrayrecord component.com.fasterxml.jackson.databind.JsonNodeReturns the value of thecgmRawDataJsonrecord component.final booleanIndicates whether some other object is "equal to" this one.Returns the value of thefileFormatrecord component.Returns the value of thefileMetadatarecord component.fileName()Returns the value of thefileNamerecord component.fileSize()Returns the value of thefileSizerecord component.fileType()Returns the value of thefileTyperecord component.fileUrl()Returns the value of thefileUrlrecord component.final inthashCode()Returns a hash code value for this object.Returns the value of theorgPartyIdrecord component.Returns the value of theparticipantIdrecord component.status()Returns the value of thestatusrecord component.studyId()Returns the value of thestudyIdrecord component.final StringtoString()Returns a string representation of this record class.Returns the value of theuploadTimestamprecord component.
-
Constructor Details
-
ParticipantRowFileRequest
public ParticipantRowFileRequest(String fileName, com.fasterxml.jackson.databind.JsonNode cgmRawDataJson, OffsetDateTime uploadTimestamp, String fileSize, String status, ParticipantRowFileRequest.ParticipantRowFileMetaDataRequest fileMetadata, String fileType, String studyId, String orgPartyId, byte[] cgmRawDataByteArray, String participantId, String cgmDataXml, String fileFormat, String fileUrl) Creates an instance of aParticipantRowFileRequestrecord class.- Parameters:
fileName- the value for thefileNamerecord componentcgmRawDataJson- the value for thecgmRawDataJsonrecord componentuploadTimestamp- the value for theuploadTimestamprecord componentfileSize- the value for thefileSizerecord componentstatus- the value for thestatusrecord componentfileMetadata- the value for thefileMetadatarecord componentfileType- the value for thefileTyperecord componentstudyId- the value for thestudyIdrecord componentorgPartyId- the value for theorgPartyIdrecord componentcgmRawDataByteArray- the value for thecgmRawDataByteArrayrecord componentparticipantId- the value for theparticipantIdrecord componentcgmDataXml- the value for thecgmDataXmlrecord componentfileFormat- the value for thefileFormatrecord componentfileUrl- the value for thefileUrlrecord 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. All components in this record class are compared withObjects::equals(Object,Object). -
fileName
Returns the value of thefileNamerecord component.- Returns:
- the value of the
fileNamerecord component
-
cgmRawDataJson
public com.fasterxml.jackson.databind.JsonNode cgmRawDataJson()Returns the value of thecgmRawDataJsonrecord component.- Returns:
- the value of the
cgmRawDataJsonrecord component
-
uploadTimestamp
Returns the value of theuploadTimestamprecord component.- Returns:
- the value of the
uploadTimestamprecord component
-
fileSize
Returns the value of thefileSizerecord component.- Returns:
- the value of the
fileSizerecord component
-
status
Returns the value of thestatusrecord component.- Returns:
- the value of the
statusrecord component
-
fileMetadata
Returns the value of thefileMetadatarecord component.- Returns:
- the value of the
fileMetadatarecord component
-
fileType
Returns the value of thefileTyperecord component.- Returns:
- the value of the
fileTyperecord component
-
studyId
Returns the value of thestudyIdrecord component.- Returns:
- the value of the
studyIdrecord component
-
orgPartyId
Returns the value of theorgPartyIdrecord component.- Returns:
- the value of the
orgPartyIdrecord component
-
cgmRawDataByteArray
public byte[] cgmRawDataByteArray()Returns the value of thecgmRawDataByteArrayrecord component.- Returns:
- the value of the
cgmRawDataByteArrayrecord component
-
participantId
Returns the value of theparticipantIdrecord component.- Returns:
- the value of the
participantIdrecord component
-
cgmDataXml
Returns the value of thecgmDataXmlrecord component.- Returns:
- the value of the
cgmDataXmlrecord component
-
fileFormat
Returns the value of thefileFormatrecord component.- Returns:
- the value of the
fileFormatrecord component
-
fileUrl
Returns the value of thefileUrlrecord component.- Returns:
- the value of the
fileUrlrecord component
-