Module Mal4J

Class Fields

java.lang.Object
dev.katsute.mal4j.Fields

public abstract class Fields extends Object
The fields class holds all possible fields for a request. Usable in any methods that ask for fields.
Since:
1.1.0
Version:
3.4.0
Author:
Katsute
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Class
    Description
    static class 
    All possible fields for an Anime.
    static class 
    All possible fields for a character.
    static class 
    All possible fields for a Manga.
    static class 
    All possible fields for a person.
    static class 
    All possible fields for a User.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final String
    Returns all Anime fields as a comma separated string.
    static final String
    Returns all character fields as a comma separated string.
    static final String
    Indicates that all fields except the ones supplied should be returned.
    static final String
    Returns all Manga fields as a comma separated string.
    static final String[]
    Indicates that only default fields should be returned.
    static final String
    Returns all people fields as a comma separated string.
    static final String
    Returns all user fields as a comma separated string.
  • Method Summary

    Methods inherited from class java.lang.Object

    equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • NO_FIELDS

      public static final String[] NO_FIELDS
      Indicates that only default fields should be returned.
      Since:
      1.1.0
    • INVERTED

      public static final String INVERTED
      Indicates that all fields except the ones supplied should be returned. Add this to the fields parameter.
      Since:
      2.2.0
      See Also:
    • anime

      public static final String anime
      Returns all Anime fields as a comma separated string.
      Since:
      1.1.0
      See Also:
    • manga

      public static final String manga
      Returns all Manga fields as a comma separated string.
      Since:
      1.1.0
      See Also:
    • character

      public static final String character
      Returns all character fields as a comma separated string.
      Since:
      3.1.0
      See Also:
    • people

      public static final String people
      Returns all people fields as a comma separated string.
      Since:
      3.2.0
      See Also:
    • user

      public static final String user
      Returns all user fields as a comma separated string.
      Since:
      1.1.0
      See Also: