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
  • 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 a Request record class.
      Parameters:
      urlAsJsonNode - the value for the urlAsJsonNode record component
      auth - the value for the auth record component
      method - the value for the method record component
      descriptionAsJsonNode - the value for the descriptionAsJsonNode record component
      headerAsJsonNode - the value for the headerAsJsonNode record component
      bodyAsJsonNode - the value for the bodyAsJsonNode record component
  • Method Details

    • description

      public PostmanCollectionV210.Description description()
    • url

    • body

    • headers

    • toString

      public final String 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.
      Specified by:
      toString in class Record
      Returns:
      a string representation of this object
    • 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.
      Specified by:
      hashCode in class Record
      Returns:
      a hash code value for this object
    • equals

      public final boolean equals(Object o)
      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 with Objects::equals(Object,Object).
      Specified by:
      equals in class Record
      Parameters:
      o - the object with which to compare
      Returns:
      true if this object is the same as the o argument; false otherwise.
    • urlAsJsonNode

      public com.fasterxml.jackson.databind.JsonNode urlAsJsonNode()
      Returns the value of the urlAsJsonNode record component.
      Returns:
      the value of the urlAsJsonNode record component
    • auth

      Returns the value of the auth record component.
      Returns:
      the value of the auth record component
    • method

      Returns the value of the method record component.
      Returns:
      the value of the method record component
    • descriptionAsJsonNode

      public com.fasterxml.jackson.databind.JsonNode descriptionAsJsonNode()
      Returns the value of the descriptionAsJsonNode record component.
      Returns:
      the value of the descriptionAsJsonNode record component
    • headerAsJsonNode

      public com.fasterxml.jackson.databind.JsonNode headerAsJsonNode()
      Returns the value of the headerAsJsonNode record component.
      Returns:
      the value of the headerAsJsonNode record component
    • bodyAsJsonNode

      public com.fasterxml.jackson.databind.JsonNode bodyAsJsonNode()
      Returns the value of the bodyAsJsonNode record component.
      Returns:
      the value of the bodyAsJsonNode record component