java.lang.Object
org.springframework.ai.huggingface.model.Token

@Generated(value="io.swagger.codegen.v3.generators.java.JavaClientCodegen", date="2024-03-12T15:00:59.645979611-04:00[America/New_York]") public class Token extends Object
Token
  • Constructor Details

    • Token

      public Token()
  • Method Details

    • id

      public Token id(Integer id)
    • getId

      public Integer getId()
      Get id minimum: 0
      Returns:
      id
    • setId

      public void setId(Integer id)
    • logprob

      public Token logprob(Float logprob)
    • getLogprob

      public Float getLogprob()
      Get logprob
      Returns:
      logprob
    • setLogprob

      public void setLogprob(Float logprob)
    • special

      public Token special(Boolean special)
    • isSpecial

      public Boolean isSpecial()
      Get special
      Returns:
      special
    • setSpecial

      public void setSpecial(Boolean special)
    • text

      public Token text(String text)
    • getText

      public String getText()
      Get text
      Returns:
      text
    • setText

      public void setText(String text)
    • equals

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

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object