Record Class PostmanCollectionV210.Item.Endpoint.Request
java.lang.Object
java.lang.Record
io.camunda.connector.generator.postman.model.PostmanCollectionV210.Item.Endpoint.Request
- Enclosing class:
PostmanCollectionV210.Item.Endpoint
public static record PostmanCollectionV210.Item.Endpoint.Request(com.fasterxml.jackson.databind.JsonNode urlAsJsonNode, PostmanCollectionV210.Auth auth, PostmanCollectionV210.Item.Endpoint.Request.Method method, com.fasterxml.jackson.databind.JsonNode descriptionAsJsonNode, com.fasterxml.jackson.databind.JsonNode headerAsJsonNode, com.fasterxml.jackson.databind.JsonNode bodyAsJsonNode)
extends Record
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final recordstatic final recordstatic enumstatic final record -
Constructor Summary
ConstructorsConstructorDescriptionRequest(com.fasterxml.jackson.databind.JsonNode urlAsJsonNode, PostmanCollectionV210.Auth auth, PostmanCollectionV210.Item.Endpoint.Request.Method method, com.fasterxml.jackson.databind.JsonNode descriptionAsJsonNode, com.fasterxml.jackson.databind.JsonNode headerAsJsonNode, com.fasterxml.jackson.databind.JsonNode bodyAsJsonNode) Creates an instance of aRequestrecord class. -
Method Summary
Modifier and TypeMethodDescriptionauth()Returns the value of theauthrecord component.body()com.fasterxml.jackson.databind.JsonNodeReturns the value of thebodyAsJsonNoderecord component.com.fasterxml.jackson.databind.JsonNodeReturns the value of thedescriptionAsJsonNoderecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.com.fasterxml.jackson.databind.JsonNodeReturns the value of theheaderAsJsonNoderecord component.headers()method()Returns the value of themethodrecord component.final StringtoString()Returns a string representation of this record class.url()com.fasterxml.jackson.databind.JsonNodeReturns the value of theurlAsJsonNoderecord component.
-
Constructor Details
-
Request
public Request(com.fasterxml.jackson.databind.JsonNode urlAsJsonNode, PostmanCollectionV210.Auth auth, PostmanCollectionV210.Item.Endpoint.Request.Method method, com.fasterxml.jackson.databind.JsonNode descriptionAsJsonNode, com.fasterxml.jackson.databind.JsonNode headerAsJsonNode, com.fasterxml.jackson.databind.JsonNode bodyAsJsonNode) Creates an instance of aRequestrecord class.- Parameters:
urlAsJsonNode- the value for theurlAsJsonNoderecord componentauth- the value for theauthrecord componentmethod- the value for themethodrecord componentdescriptionAsJsonNode- the value for thedescriptionAsJsonNoderecord componentheaderAsJsonNode- the value for theheaderAsJsonNoderecord componentbodyAsJsonNode- the value for thebodyAsJsonNoderecord component
-
-
Method Details
-
description
-
url
-
body
-
headers
-
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). -
urlAsJsonNode
public com.fasterxml.jackson.databind.JsonNode urlAsJsonNode()Returns the value of theurlAsJsonNoderecord component.- Returns:
- the value of the
urlAsJsonNoderecord component
-
auth
Returns the value of theauthrecord component.- Returns:
- the value of the
authrecord component
-
method
Returns the value of themethodrecord component.- Returns:
- the value of the
methodrecord component
-
descriptionAsJsonNode
public com.fasterxml.jackson.databind.JsonNode descriptionAsJsonNode()Returns the value of thedescriptionAsJsonNoderecord component.- Returns:
- the value of the
descriptionAsJsonNoderecord component
-
headerAsJsonNode
public com.fasterxml.jackson.databind.JsonNode headerAsJsonNode()Returns the value of theheaderAsJsonNoderecord component.- Returns:
- the value of the
headerAsJsonNoderecord component
-
bodyAsJsonNode
public com.fasterxml.jackson.databind.JsonNode bodyAsJsonNode()Returns the value of thebodyAsJsonNoderecord component.- Returns:
- the value of the
bodyAsJsonNoderecord component
-