BlobIndexerPdfTextRotationAlgorithm.java

  1. // Copyright (c) Microsoft Corporation. All rights reserved.
  2. // Licensed under the MIT License.
  3. //
  4. // Code generated by Microsoft (R) AutoRest Code Generator.
  5. // Changes may cause incorrect behavior and will be lost if the code is
  6. // regenerated.

  7. package com.azure.search.documents.indexes.models;

  8. import com.azure.core.util.ExpandableStringEnum;
  9. import com.fasterxml.jackson.annotation.JsonCreator;
  10. import java.util.Collection;

  11. /** Defines values for BlobIndexerPdfTextRotationAlgorithm. */
  12. public final class BlobIndexerPdfTextRotationAlgorithm
  13.         extends ExpandableStringEnum<BlobIndexerPdfTextRotationAlgorithm> {
  14.     /** Static value none for BlobIndexerPdfTextRotationAlgorithm. */
  15.     public static final BlobIndexerPdfTextRotationAlgorithm NONE = fromString("none");

  16.     /** Static value detectAngles for BlobIndexerPdfTextRotationAlgorithm. */
  17.     public static final BlobIndexerPdfTextRotationAlgorithm DETECT_ANGLES = fromString("detectAngles");

  18.     /**
  19.      * Creates or finds a BlobIndexerPdfTextRotationAlgorithm from its string representation.
  20.      *
  21.      * @param name a name to look for.
  22.      * @return the corresponding BlobIndexerPdfTextRotationAlgorithm.
  23.      */
  24.     @JsonCreator
  25.     public static BlobIndexerPdfTextRotationAlgorithm fromString(String name) {
  26.         return fromString(name, BlobIndexerPdfTextRotationAlgorithm.class);
  27.     }

  28.     /** @return known BlobIndexerPdfTextRotationAlgorithm values. */
  29.     public static Collection<BlobIndexerPdfTextRotationAlgorithm> values() {
  30.         return values(BlobIndexerPdfTextRotationAlgorithm.class);
  31.     }
  32. }