Class PhotoAutoReasons


  • @Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
               comments="Generator version: 7.9.0")
    public class PhotoAutoReasons
    extends Object
    PhotoAutoReasons
    • Constructor Detail

      • PhotoAutoReasons

        public PhotoAutoReasons()
    • Method Detail

      • getDigitalTampering

        @Nullable
        public String getDigitalTampering()
        Flags when evidence is found that the image was manipulated by Photoshop, or other software.
        Returns:
        digitalTampering
      • setDigitalTampering

        public void setDigitalTampering​(String digitalTampering)
      • getFakeWebcam

        @Nullable
        public String getFakeWebcam()
        Flags when evidence is found that a fake webcam was used.
        Returns:
        fakeWebcam
      • setFakeWebcam

        public void setFakeWebcam​(String fakeWebcam)
      • getTimeOfCapture

        @Nullable
        public String getTimeOfCapture()
        Flags when evidence is found that the live photo was taken more than 24 hours before live photo upload.
        Returns:
        timeOfCapture
      • setTimeOfCapture

        public void setTimeOfCapture​(String timeOfCapture)
      • getEmulator

        @Nullable
        public String getEmulator()
        Flags when evidence is found that an Android emulator was used.
        Returns:
        emulator
      • setEmulator

        public void setEmulator​(String emulator)
      • getReasons

        @Nullable
        public String getReasons()
        Additional comma separated details such as the exact digital tampering software used, or the name of the fake webcam.
        Returns:
        reasons
      • setReasons

        public void setReasons​(String reasons)
      • putAdditionalProperty

        public PhotoAutoReasons putAdditionalProperty​(String key,
                                                      Object value)
        Set the additional (undeclared) property with the specified name and value. If the property does not already exist, create it otherwise replace it.
        Parameters:
        key - name of the property
        value - value of the property
        Returns:
        the PhotoAutoReasons instance itself
      • getAdditionalProperties

        public Map<String,​Object> getAdditionalProperties()
        Return the additional (undeclared) property.
        Returns:
        a map of objects
      • getAdditionalProperty

        public Object getAdditionalProperty​(String key)
        Return the additional (undeclared) property with the specified name.
        Parameters:
        key - name of the property
        Returns:
        an object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object
      • validateJsonElement

        public static void validateJsonElement​(com.google.gson.JsonElement jsonElement)
                                        throws IOException
        Validates the JSON Element and throws an exception if issues found
        Parameters:
        jsonElement - JSON Element
        Throws:
        IOException - if the JSON Element is invalid with respect to PhotoAutoReasons
      • fromJson

        public static PhotoAutoReasons fromJson​(String jsonString)
                                         throws IOException
        Create an instance of PhotoAutoReasons given an JSON string
        Parameters:
        jsonString - JSON string
        Returns:
        An instance of PhotoAutoReasons
        Throws:
        IOException - if the JSON string is invalid with respect to PhotoAutoReasons
      • toJson

        public String toJson()
        Convert an instance of PhotoAutoReasons to an JSON string
        Returns:
        JSON string