Class AdultInfo


  • public class AdultInfo
    extends Object
    An object describing whether the image contains adult-oriented content and/or is racy.
    • Constructor Detail

      • AdultInfo

        public AdultInfo()
    • Method Detail

      • isAdultContent

        public boolean isAdultContent()
        Get the isAdultContent value.
        Returns:
        the isAdultContent value
      • withIsAdultContent

        public AdultInfo withIsAdultContent​(boolean isAdultContent)
        Set the isAdultContent value.
        Parameters:
        isAdultContent - the isAdultContent value to set
        Returns:
        the AdultInfo object itself.
      • isRacyContent

        public boolean isRacyContent()
        Get the isRacyContent value.
        Returns:
        the isRacyContent value
      • withIsRacyContent

        public AdultInfo withIsRacyContent​(boolean isRacyContent)
        Set the isRacyContent value.
        Parameters:
        isRacyContent - the isRacyContent value to set
        Returns:
        the AdultInfo object itself.
      • isGoryContent

        public boolean isGoryContent()
        Get the isGoryContent value.
        Returns:
        the isGoryContent value
      • withIsGoryContent

        public AdultInfo withIsGoryContent​(boolean isGoryContent)
        Set the isGoryContent value.
        Parameters:
        isGoryContent - the isGoryContent value to set
        Returns:
        the AdultInfo object itself.
      • adultScore

        public double adultScore()
        Get the adultScore value.
        Returns:
        the adultScore value
      • withAdultScore

        public AdultInfo withAdultScore​(double adultScore)
        Set the adultScore value.
        Parameters:
        adultScore - the adultScore value to set
        Returns:
        the AdultInfo object itself.
      • racyScore

        public double racyScore()
        Get the racyScore value.
        Returns:
        the racyScore value
      • withRacyScore

        public AdultInfo withRacyScore​(double racyScore)
        Set the racyScore value.
        Parameters:
        racyScore - the racyScore value to set
        Returns:
        the AdultInfo object itself.
      • goreScore

        public double goreScore()
        Get the goreScore value.
        Returns:
        the goreScore value
      • withGoreScore

        public AdultInfo withGoreScore​(double goreScore)
        Set the goreScore value.
        Parameters:
        goreScore - the goreScore value to set
        Returns:
        the AdultInfo object itself.