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
  • 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 a ParticipantRowFileRequest record class.
      Parameters:
      fileName - the value for the fileName record component
      cgmRawDataJson - the value for the cgmRawDataJson record component
      uploadTimestamp - the value for the uploadTimestamp record component
      fileSize - the value for the fileSize record component
      status - the value for the status record component
      fileMetadata - the value for the fileMetadata record component
      fileType - the value for the fileType record component
      studyId - the value for the studyId record component
      orgPartyId - the value for the orgPartyId record component
      cgmRawDataByteArray - the value for the cgmRawDataByteArray record component
      participantId - the value for the participantId record component
      cgmDataXml - the value for the cgmDataXml record component
      fileFormat - the value for the fileFormat record component
      fileUrl - the value for the fileUrl record component
  • Method Details

    • toString

      public final String 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.
      Specified by:
      toString in class Record
      Returns:
      a string representation of this object
    • 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.
      Specified by:
      hashCode in class Record
      Returns:
      a hash code value for this object
    • equals

      public final boolean equals(Object o)
      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 with Objects::equals(Object,Object).
      Specified by:
      equals in class Record
      Parameters:
      o - the object with which to compare
      Returns:
      true if this object is the same as the o argument; false otherwise.
    • fileName

      public String fileName()
      Returns the value of the fileName record component.
      Returns:
      the value of the fileName record component
    • cgmRawDataJson

      public com.fasterxml.jackson.databind.JsonNode cgmRawDataJson()
      Returns the value of the cgmRawDataJson record component.
      Returns:
      the value of the cgmRawDataJson record component
    • uploadTimestamp

      public OffsetDateTime uploadTimestamp()
      Returns the value of the uploadTimestamp record component.
      Returns:
      the value of the uploadTimestamp record component
    • fileSize

      public String fileSize()
      Returns the value of the fileSize record component.
      Returns:
      the value of the fileSize record component
    • status

      public String status()
      Returns the value of the status record component.
      Returns:
      the value of the status record component
    • fileMetadata

      Returns the value of the fileMetadata record component.
      Returns:
      the value of the fileMetadata record component
    • fileType

      public String fileType()
      Returns the value of the fileType record component.
      Returns:
      the value of the fileType record component
    • studyId

      public String studyId()
      Returns the value of the studyId record component.
      Returns:
      the value of the studyId record component
    • orgPartyId

      public String orgPartyId()
      Returns the value of the orgPartyId record component.
      Returns:
      the value of the orgPartyId record component
    • cgmRawDataByteArray

      public byte[] cgmRawDataByteArray()
      Returns the value of the cgmRawDataByteArray record component.
      Returns:
      the value of the cgmRawDataByteArray record component
    • participantId

      public String participantId()
      Returns the value of the participantId record component.
      Returns:
      the value of the participantId record component
    • cgmDataXml

      public String cgmDataXml()
      Returns the value of the cgmDataXml record component.
      Returns:
      the value of the cgmDataXml record component
    • fileFormat

      public String fileFormat()
      Returns the value of the fileFormat record component.
      Returns:
      the value of the fileFormat record component
    • fileUrl

      public String fileUrl()
      Returns the value of the fileUrl record component.
      Returns:
      the value of the fileUrl record component