Class APIParameterListProperties

All Implemented Interfaces:
Serializable
Direct Known Subclasses:
APIParameterListRequestBody

public class APIParameterListProperties extends ComplexSchemaTypeProperties
APIParameterListProperties is a class for representing the list of parameters for an API operation's header, request or response payload.
See Also:
  • Constructor Details

    • APIParameterListProperties

      public APIParameterListProperties()
      Default constructor
    • APIParameterListProperties

      public APIParameterListProperties(APIParameterListProperties template)
      Copy/clone constructor.
      Parameters:
      template - object to copy
  • Method Details

    • getRequired

      public boolean getRequired()
      Return if this is a mandatory parameter.
      Returns:
      boolean flag
    • setRequired

      public void setRequired(boolean required)
      Set up if this is a mandatory parameter.
      Parameters:
      required - boolean flag
    • toString

      public String toString()
      Standard toString method.
      Overrides:
      toString in class ComplexSchemaTypeProperties
      Returns:
      print out of variables in a JSON-style
    • equals

      public boolean equals(Object objectToCompare)
      Compare the values of the supplied object with those stored in the current object.
      Overrides:
      equals in class SchemaTypeProperties
      Parameters:
      objectToCompare - supplied object
      Returns:
      boolean result of comparison
    • hashCode

      public int hashCode()
      Create a hash code for this element type.
      Overrides:
      hashCode in class SchemaTypeProperties
      Returns:
      int hash code