Module Mal4J

Interface NSFW<T>

Type Parameters:
T - this
All Known Implementing Classes:
AnimeRankingQuery, AnimeSearchQuery, AnimeSeasonQuery, AnimeSuggestionQuery, MangaRankingQuery, MangaSearchQuery, NSFWSearchQuery, UserAnimeListQuery, UserMangaListQuery

public interface NSFW<T>
Indicates that the query accepts a NSFW parameter
Since:
1.0.0
Version:
1.0.0
Author:
Katsute
See Also:
  • Method Summary

    Modifier and Type
    Method
    Description
    Sets query to also return NSFW results.
    includeNSFW(boolean nsfw)
    Sets if the query will return NSFW results.
  • Method Details

    • includeNSFW

      T includeNSFW()
      Sets query to also return NSFW results.
      Returns:
      query
      Since:
      1.0.0
      See Also:
    • includeNSFW

      T includeNSFW(boolean nsfw)
      Sets if the query will return NSFW results.
      Parameters:
      nsfw - nsfw
      Returns:
      query
      Since:
      1.0.0
      See Also: