Package net.finmath.pontes.erc7573
Record Class PontesApiContract.Operation
java.lang.Object
java.lang.Record
net.finmath.pontes.erc7573.PontesApiContract.Operation
- Enclosing class:
PontesApiContract
public static record PontesApiContract.Operation(String id, String method, String path, String requestSchema, String responseSchema, Set<String> pathParameters, Set<String> queryParameters, Set<String> requiredQueryParameters)
extends Record
The wire metadata resolved from an OpenAPI operation, including the referenced schemas.
-
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.id()Returns the value of theidrecord component.method()Returns the value of themethodrecord component.path()Returns the value of thepathrecord component.Returns the value of thepathParametersrecord component.Returns the value of thequeryParametersrecord component.Returns the value of therequestSchemarecord component.Returns the value of therequiredQueryParametersrecord component.Returns the value of theresponseSchemarecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
Operation
public Operation(String id, String method, String path, String requestSchema, String responseSchema, Set<String> pathParameters, Set<String> queryParameters, Set<String> requiredQueryParameters) Creates an instance of aOperationrecord class.- Parameters:
id- the value for theidrecord componentmethod- the value for themethodrecord componentpath- the value for thepathrecord componentrequestSchema- the value for therequestSchemarecord componentresponseSchema- the value for theresponseSchemarecord componentpathParameters- the value for thepathParametersrecord componentqueryParameters- the value for thequeryParametersrecord componentrequiredQueryParameters- the value for therequiredQueryParametersrecord 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). -
id
Returns the value of theidrecord component.- Returns:
- the value of the
idrecord component
-
method
Returns the value of themethodrecord component.- Returns:
- the value of the
methodrecord component
-
path
Returns the value of thepathrecord component.- Returns:
- the value of the
pathrecord component
-
requestSchema
Returns the value of therequestSchemarecord component.- Returns:
- the value of the
requestSchemarecord component
-
responseSchema
Returns the value of theresponseSchemarecord component.- Returns:
- the value of the
responseSchemarecord component
-
pathParameters
Returns the value of thepathParametersrecord component.- Returns:
- the value of the
pathParametersrecord component
-
queryParameters
Returns the value of thequeryParametersrecord component.- Returns:
- the value of the
queryParametersrecord component
-
requiredQueryParameters
Returns the value of therequiredQueryParametersrecord component.- Returns:
- the value of the
requiredQueryParametersrecord component
-