Record Class PathItem
java.lang.Object
java.lang.Record
com.inductiveautomation.ignition.gateway.dataroutes.openapi.PathItem
public record PathItem(String summary, String description, OperationObject get, OperationObject put, OperationObject post, OperationObject delete, OperationObject options, OperationObject head, OperationObject patch, OperationObject trace)
extends Record
Record class that represents an OpenAPI
Path Item Object
-
Constructor Summary
ConstructorsConstructorDescriptionPathItem
(String summary, String description, OperationObject get, OperationObject put, OperationObject post, OperationObject delete, OperationObject options, OperationObject head, OperationObject patch, OperationObject trace) Creates an instance of aPathItem
record class. -
Method Summary
Modifier and TypeMethodDescriptiondelete()
Returns the value of thedelete
record component.Returns the value of thedescription
record component.final boolean
Indicates whether some other object is "equal to" this one.static PathItem
forHttpMethod
(HttpMethod method, String summary, String description, OperationObject operation) get()
Returns the value of theget
record component.final int
hashCode()
Returns a hash code value for this object.head()
Returns the value of thehead
record component.options()
Returns the value of theoptions
record component.patch()
Returns the value of thepatch
record component.post()
Returns the value of thepost
record component.put()
Returns the value of theput
record component.summary()
Returns the value of thesummary
record component.final String
toString()
Returns a string representation of this record class.trace()
Returns the value of thetrace
record component.
-
Constructor Details
-
PathItem
public PathItem(String summary, String description, OperationObject get, OperationObject put, OperationObject post, OperationObject delete, OperationObject options, OperationObject head, OperationObject patch, OperationObject trace) Creates an instance of aPathItem
record class.- Parameters:
summary
- the value for thesummary
record componentdescription
- the value for thedescription
record componentget
- the value for theget
record componentput
- the value for theput
record componentpost
- the value for thepost
record componentdelete
- the value for thedelete
record componentoptions
- the value for theoptions
record componenthead
- the value for thehead
record componentpatch
- the value for thepatch
record componenttrace
- the value for thetrace
record component
-
-
Method Details
-
forHttpMethod
public static PathItem forHttpMethod(HttpMethod method, String summary, String description, OperationObject operation) -
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)
. -
summary
Returns the value of thesummary
record component.- Returns:
- the value of the
summary
record component
-
description
Returns the value of thedescription
record component.- Returns:
- the value of the
description
record component
-
get
Returns the value of theget
record component.- Returns:
- the value of the
get
record component
-
put
Returns the value of theput
record component.- Returns:
- the value of the
put
record component
-
post
Returns the value of thepost
record component.- Returns:
- the value of the
post
record component
-
delete
Returns the value of thedelete
record component.- Returns:
- the value of the
delete
record component
-
options
Returns the value of theoptions
record component.- Returns:
- the value of the
options
record component
-
head
Returns the value of thehead
record component.- Returns:
- the value of the
head
record component
-
patch
Returns the value of thepatch
record component.- Returns:
- the value of the
patch
record component
-
trace
Returns the value of thetrace
record component.- Returns:
- the value of the
trace
record component
-