Class SafetyTipInfo


  • @Beta
    public class SafetyTipInfo
    extends java.lang.Object
    • Constructor Summary

      Constructors 
      Constructor Description
      SafetyTipInfo​(SafetyTipStatus safetyTipStatus, java.util.Optional<java.lang.String> safeUrl)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      SafetyTipStatus getSafetyTipStatus()
      Describes whether the page triggers any safety tips or reputation warnings.
      java.util.Optional<java.lang.String> getSafeUrl()
      The URL the safety tip suggested ("Did you mean?").
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • SafetyTipInfo

        public SafetyTipInfo​(SafetyTipStatus safetyTipStatus,
                             java.util.Optional<java.lang.String> safeUrl)
    • Method Detail

      • getSafetyTipStatus

        public SafetyTipStatus getSafetyTipStatus()
        Describes whether the page triggers any safety tips or reputation warnings. Default is unknown.
      • getSafeUrl

        public java.util.Optional<java.lang.String> getSafeUrl()
        The URL the safety tip suggested ("Did you mean?"). Only filled in for lookalike matches.