Class Message.ModerationV2Response

  • Enclosing class:
    Message

    public static class Message.ModerationV2Response
    extends java.lang.Object
    • Constructor Detail

      • ModerationV2Response

        public ModerationV2Response()
    • Method Detail

      • getAction

        @Nullable
        public @Nullable java.lang.String getAction()
      • getOriginalText

        @Nullable
        public @Nullable java.lang.String getOriginalText()
      • getTextHarms

        @Nullable
        public @Nullable java.util.List<java.lang.String> getTextHarms()
      • getImageHarms

        @Nullable
        public @Nullable java.util.List<java.lang.String> getImageHarms()
      • getBlocklistMatched

        @Deprecated
        @Nullable
        public @Nullable java.lang.String getBlocklistMatched()
        Deprecated.
        Use blocklistsMatched instead. Kept for backward compatibility.
      • getBlocklistsMatched

        @Nullable
        public @Nullable java.util.List<java.lang.String> getBlocklistsMatched()
      • getSemanticFilterMatched

        @Nullable
        public @Nullable java.lang.String getSemanticFilterMatched()
      • getPlatformCircumvented

        @Nullable
        public @Nullable java.lang.Boolean getPlatformCircumvented()
      • setAction

        public void setAction​(@Nullable
                              @Nullable java.lang.String action)
      • setOriginalText

        public void setOriginalText​(@Nullable
                                    @Nullable java.lang.String originalText)
      • setTextHarms

        public void setTextHarms​(@Nullable
                                 @Nullable java.util.List<java.lang.String> textHarms)
      • setImageHarms

        public void setImageHarms​(@Nullable
                                  @Nullable java.util.List<java.lang.String> imageHarms)
      • setBlocklistMatched

        @Deprecated
        public void setBlocklistMatched​(@Nullable
                                        @Nullable java.lang.String blocklistMatched)
        Deprecated.
        Use blocklistsMatched instead. Kept for backward compatibility.
      • setBlocklistsMatched

        public void setBlocklistsMatched​(@Nullable
                                         @Nullable java.util.List<java.lang.String> blocklistsMatched)
      • setSemanticFilterMatched

        public void setSemanticFilterMatched​(@Nullable
                                             @Nullable java.lang.String semanticFilterMatched)
      • setPlatformCircumvented

        public void setPlatformCircumvented​(@Nullable
                                            @Nullable java.lang.Boolean platformCircumvented)
      • equals

        public boolean equals​(java.lang.Object o)
        Overrides:
        equals in class java.lang.Object
      • canEqual

        protected boolean canEqual​(java.lang.Object other)
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object