Record Class LoteRecebimentoBody.Item
java.lang.Object
java.lang.Record
br.com.vantroba.bi.transporte.processamento.LoteRecebimentoBody.Item
- Enclosing class:
LoteRecebimentoBody
-
Constructor Summary
Constructors -
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.intReturns the value of thehttpStatusrecord component.id()Returns the value of theidrecord component.mensagem()Returns the value of themensagemrecord component.nome()Returns the value of thenomerecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
Item
Creates an instance of aItemrecord class.- Parameters:
nome- the value for thenomerecord componentid- the value for theidrecord componenthttpStatus- the value for thehttpStatusrecord 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. -
nome
Returns the value of thenomerecord component.- Returns:
- the value of the
nomerecord component
-
id
Returns the value of theidrecord component.- Returns:
- the value of the
idrecord component
-
httpStatus
public int httpStatus()Returns the value of thehttpStatusrecord component.- Returns:
- the value of the
httpStatusrecord component
-
mensagem
Returns the value of themensagemrecord component.- Returns:
- the value of the
mensagemrecord component
-