Record Class ProcessamentoResponse
java.lang.Object
java.lang.Record
br.com.vantroba.bi.transporte.processamento.ProcessamentoResponse
- Record Components:
httpStatus- código de status HTTP a ser aplicado na respostaid- identificador do registro de processamentostatusProcessamento- status atual do processamentochecksumSha256- checksum SHA-256 do arquivomensagem- mensagem descritiva
-
Constructor Summary
ConstructorsConstructorDescriptionProcessamentoResponse(int httpStatus, Long id, String statusProcessamento, String checksumSha256, String mensagem) Creates an instance of aProcessamentoResponserecord class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of thechecksumSha256record component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.intReturns the value of thehttpStatusrecord component.id()Returns the value of theidrecord component.mensagem()Returns the value of themensagemrecord component.Returns the value of thestatusProcessamentorecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
ProcessamentoResponse
public ProcessamentoResponse(int httpStatus, Long id, String statusProcessamento, String checksumSha256, String mensagem) Creates an instance of aProcessamentoResponserecord class.- Parameters:
httpStatus- the value for thehttpStatusrecord componentid- the value for theidrecord componentstatusProcessamento- the value for thestatusProcessamentorecord componentchecksumSha256- the value for thechecksumSha256record componentmensagem- the value for themensagemrecord component
-
-
Method Details
-
toString
-
hashCode
-
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 thecomparemethod from their corresponding wrapper classes. -
httpStatus
public int httpStatus()Returns the value of thehttpStatusrecord component.- Returns:
- the value of the
httpStatusrecord component
-
id
-
statusProcessamento
Returns the value of thestatusProcessamentorecord component.- Returns:
- the value of the
statusProcessamentorecord component
-
checksumSha256
Returns the value of thechecksumSha256record component.- Returns:
- the value of the
checksumSha256record component
-
mensagem
-