Record Class UnifiedOpenAPI.PathItem
java.lang.Object
java.lang.Record
io.serverlessworkflow.impl.executors.openapi.UnifiedOpenAPI.PathItem
- Enclosing class:
- UnifiedOpenAPI
public static record UnifiedOpenAPI.PathItem(UnifiedOpenAPI.Operation get, UnifiedOpenAPI.Operation post, UnifiedOpenAPI.Operation put, UnifiedOpenAPI.Operation delete, UnifiedOpenAPI.Operation patch, UnifiedOpenAPI.Operation head, UnifiedOpenAPI.Operation options)
extends Record
-
Constructor Summary
ConstructorsConstructorDescriptionPathItem(UnifiedOpenAPI.Operation get, UnifiedOpenAPI.Operation post, UnifiedOpenAPI.Operation put, UnifiedOpenAPI.Operation delete, UnifiedOpenAPI.Operation patch, UnifiedOpenAPI.Operation head, UnifiedOpenAPI.Operation options) Creates an instance of aPathItemrecord class. -
Method Summary
Modifier and TypeMethodDescriptiondelete()Returns the value of thedeleterecord component.final booleanIndicates whether some other object is "equal to" this one.get()Returns the value of thegetrecord component.final inthashCode()Returns a hash code value for this object.head()Returns the value of theheadrecord component.options()Returns the value of theoptionsrecord component.patch()Returns the value of thepatchrecord component.post()Returns the value of thepostrecord component.put()Returns the value of theputrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
PathItem
public PathItem(UnifiedOpenAPI.Operation get, UnifiedOpenAPI.Operation post, UnifiedOpenAPI.Operation put, UnifiedOpenAPI.Operation delete, UnifiedOpenAPI.Operation patch, UnifiedOpenAPI.Operation head, UnifiedOpenAPI.Operation options) Creates an instance of aPathItemrecord class.- Parameters:
get- the value for thegetrecord componentpost- the value for thepostrecord componentput- the value for theputrecord componentdelete- the value for thedeleterecord componentpatch- the value for thepatchrecord componenthead- the value for theheadrecord componentoptions- the value for theoptionsrecord 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). -
get
Returns the value of thegetrecord component.- Returns:
- the value of the
getrecord component
-
post
Returns the value of thepostrecord component.- Returns:
- the value of the
postrecord component
-
put
Returns the value of theputrecord component.- Returns:
- the value of the
putrecord component
-
delete
Returns the value of thedeleterecord component.- Returns:
- the value of the
deleterecord component
-
patch
Returns the value of thepatchrecord component.- Returns:
- the value of the
patchrecord component
-
head
Returns the value of theheadrecord component.- Returns:
- the value of the
headrecord component
-
options
Returns the value of theoptionsrecord component.- Returns:
- the value of the
optionsrecord component
-