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 aParticipantRowFileRequest
record class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of thecgmDataXml
record component.byte[]
Returns the value of thecgmRawDataByteArray
record component.com.fasterxml.jackson.databind.JsonNode
Returns the value of thecgmRawDataJson
record component.final boolean
Indicates whether some other object is "equal to" this one.Returns the value of thefileFormat
record component.Returns the value of thefileMetadata
record component.fileName()
Returns the value of thefileName
record component.fileSize()
Returns the value of thefileSize
record component.fileType()
Returns the value of thefileType
record component.fileUrl()
Returns the value of thefileUrl
record component.final int
hashCode()
Returns a hash code value for this object.Returns the value of theorgPartyId
record component.Returns the value of theparticipantId
record component.status()
Returns the value of thestatus
record component.studyId()
Returns the value of thestudyId
record component.final String
toString()
Returns a string representation of this record class.Returns the value of theuploadTimestamp
record 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 aParticipantRowFileRequest
record class.- Parameters:
fileName
- the value for thefileName
record componentcgmRawDataJson
- the value for thecgmRawDataJson
record componentuploadTimestamp
- the value for theuploadTimestamp
record componentfileSize
- the value for thefileSize
record componentstatus
- the value for thestatus
record componentfileMetadata
- the value for thefileMetadata
record componentfileType
- the value for thefileType
record componentstudyId
- the value for thestudyId
record componentorgPartyId
- the value for theorgPartyId
record componentcgmRawDataByteArray
- the value for thecgmRawDataByteArray
record componentparticipantId
- the value for theparticipantId
record componentcgmDataXml
- the value for thecgmDataXml
record componentfileFormat
- the value for thefileFormat
record componentfileUrl
- the value for thefileUrl
record 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 thefileName
record component.- Returns:
- the value of the
fileName
record component
-
cgmRawDataJson
public com.fasterxml.jackson.databind.JsonNode cgmRawDataJson()Returns the value of thecgmRawDataJson
record component.- Returns:
- the value of the
cgmRawDataJson
record component
-
uploadTimestamp
Returns the value of theuploadTimestamp
record component.- Returns:
- the value of the
uploadTimestamp
record component
-
fileSize
Returns the value of thefileSize
record component.- Returns:
- the value of the
fileSize
record component
-
status
Returns the value of thestatus
record component.- Returns:
- the value of the
status
record component
-
fileMetadata
Returns the value of thefileMetadata
record component.- Returns:
- the value of the
fileMetadata
record component
-
fileType
Returns the value of thefileType
record component.- Returns:
- the value of the
fileType
record component
-
studyId
Returns the value of thestudyId
record component.- Returns:
- the value of the
studyId
record component
-
orgPartyId
Returns the value of theorgPartyId
record component.- Returns:
- the value of the
orgPartyId
record component
-
cgmRawDataByteArray
public byte[] cgmRawDataByteArray()Returns the value of thecgmRawDataByteArray
record component.- Returns:
- the value of the
cgmRawDataByteArray
record component
-
participantId
Returns the value of theparticipantId
record component.- Returns:
- the value of the
participantId
record component
-
cgmDataXml
Returns the value of thecgmDataXml
record component.- Returns:
- the value of the
cgmDataXml
record component
-
fileFormat
Returns the value of thefileFormat
record component.- Returns:
- the value of the
fileFormat
record component
-
fileUrl
Returns the value of thefileUrl
record component.- Returns:
- the value of the
fileUrl
record component
-