Class ParameterId

java.lang.Object
org.springdoc.core.models.ParameterId

public class ParameterId extends Object
The type Parameter Id.
Author:
bnasslahsen
  • Constructor Details

    • ParameterId

      public ParameterId(io.swagger.v3.oas.models.parameters.Parameter parameter)
      Instantiates a new Parameter id.
      Parameters:
      parameter - the parameter
    • ParameterId

      public ParameterId(io.swagger.v3.oas.annotations.Parameter parameter)
      Instantiates a new Parameter id.
      Parameters:
      parameter - the parameter
    • ParameterId

      public ParameterId(String pName, String paramType)
      Instantiates a new Parameter id.
      Parameters:
      pName - the p name
      paramType - the param type
  • Method Details

    • getpName

      public String getpName()
      Gets name.
      Returns:
      the name
    • setpName

      public void setpName(String pName)
      Sets name.
      Parameters:
      pName - the p name
    • getParamType

      public String getParamType()
      Gets param type.
      Returns:
      the param type
    • setParamType

      public void setParamType(String paramType)
      Sets param type.
      Parameters:
      paramType - the param type
    • get$ref

      public String get$ref()
      Get ref string.
      Returns:
      the string
    • set$ref

      public void set$ref(String $ref)
      Set ref.
      Parameters:
      $ref - the ref
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object