Class Response

java.lang.Object
com.basistech.rosette.apimodel.Response
Direct Known Subclasses:
AddressSimilarityResponse, AdmResponse, BatchResponse, BatchStatusResponse, CategoriesResponse, ConfigurationResponse, ConstantsResponse, EntitiesResponse, ErrorResponse, EventsResponse, GenericResponse, InfoResponse, LanguageResponse, MorphologyResponse, NameDeduplicationResponse, NameSimilarityResponse, NameTranslationResponse, PingResponse, RelationshipsResponse, SemanticVectorsResponse, SentencesResponse, SentimentResponse, SimilarTermsResponse, SupportedLanguagePairsResponse, SupportedLanguagesResponse, SyntaxDependenciesResponse, TextEmbeddingResponse, TokensResponse, TopicsResponse, TransliterationResponse

public abstract class Response extends Object
Base class for all responses. In this version, they have nothing in common.
  • Field Details

  • Constructor Details

    • Response

      public Response()
  • Method Details

    • addExtendedInformation

      public void addExtendedInformation(String key, Object value)
      add more extended information to the response
      Parameters:
      key -
      value -
    • getExtendedInformation

      public Map<String,Object> getExtendedInformation()
      Returns:
      extended information
    • equals

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

      protected boolean canEqual(Object other)
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object