Class OcrSettings

java.lang.Object
com.microsoft.graph.security.models.OcrSettings
All Implemented Interfaces:
com.microsoft.graph.serializer.IJsonBackedObject

public class OcrSettings extends Object implements com.microsoft.graph.serializer.IJsonBackedObject
The class for the Ocr Settings.
  • Field Details

    • oDataType

      @SerializedName("@odata.type") @Expose @Nullable public String oDataType
      the OData type of the object as returned by the service
    • isEnabled

      @SerializedName(value="isEnabled", alternate="IsEnabled") @Expose @Nullable public Boolean isEnabled
      The Is Enabled. Indicates whether or not OCR is enabled for the case.
    • maxImageSize

      @SerializedName(value="maxImageSize", alternate="MaxImageSize") @Expose @Nullable public Integer maxImageSize
      The Max Image Size. Maximum image size that will be processed in KB).
    • timeout

      @SerializedName(value="timeout", alternate="Timeout") @Expose @Nullable public Duration timeout
      The Timeout. The timeout duration for the OCR engine. A longer timeout might increase success of OCR, but might add to the total processing time.
  • Constructor Details

    • OcrSettings

      public OcrSettings()
  • Method Details

    • additionalDataManager

      @Nonnull public final com.microsoft.graph.serializer.AdditionalDataManager additionalDataManager()
      Specified by:
      additionalDataManager in interface com.microsoft.graph.serializer.IJsonBackedObject
    • setRawObject

      public void setRawObject(@Nonnull com.microsoft.graph.serializer.ISerializer serializer, @Nonnull com.google.gson.JsonObject json)
      Sets the raw JSON object
      Specified by:
      setRawObject in interface com.microsoft.graph.serializer.IJsonBackedObject
      Parameters:
      serializer - the serializer
      json - the JSON object to set this object to