Record Class ApiCaptureGenerator.TransactionLeaves
java.lang.Object
java.lang.Record
com.shaft.capture.generate.api.ApiCaptureGenerator.TransactionLeaves
- Record Components:
transactionId- stable transaction identifiermethod- HTTP methodurl- request URLleaves- classified leaves, withLeafClassification.SENSITIVEvalues redacted
- Enclosing class:
ApiCaptureGenerator
-
Constructor Summary
ConstructorsConstructorDescriptionTransactionLeaves(String transactionId, String method, String url, List<ResponseLeaf> leaves) Creates an instance of aTransactionLeavesrecord class. -
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.leaves()Returns the value of theleavesrecord component.method()Returns the value of themethodrecord component.final StringtoString()Returns a string representation of this record class.Returns the value of thetransactionIdrecord component.url()Returns the value of theurlrecord component.
-
Constructor Details
-
TransactionLeaves
public TransactionLeaves(String transactionId, String method, String url, List<ResponseLeaf> leaves) Creates an instance of aTransactionLeavesrecord class.- Parameters:
transactionId- the value for thetransactionIdrecord componentmethod- the value for themethodrecord componenturl- the value for theurlrecord componentleaves- the value for theleavesrecord 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. All components in this record class are compared withObjects::equals(Object,Object). -
transactionId
Returns the value of thetransactionIdrecord component.- Returns:
- the value of the
transactionIdrecord component
-
method
-
url
-
leaves
-