Class LengthUnit

java.lang.Object
com.azure.core.util.ExpandableStringEnum<LengthUnit>
com.azure.ai.formrecognizer.models.LengthUnit

public final class LengthUnit extends com.azure.core.util.ExpandableStringEnum<LengthUnit>
Defines values for LengthUnit.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final LengthUnit
    Static value inch for LengthUnit.
    static final LengthUnit
    Static value pixel for LengthUnit.
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static LengthUnit
    Creates or finds a LengthUnit from its string representation.
     

    Methods inherited from class com.azure.core.util.ExpandableStringEnum

    equals, fromString, hashCode, toString, values

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait
  • Field Details

    • PIXEL

      public static final LengthUnit PIXEL
      Static value pixel for LengthUnit.
    • INCH

      public static final LengthUnit INCH
      Static value inch for LengthUnit.
  • Constructor Details

    • LengthUnit

      public LengthUnit()
  • Method Details

    • fromString

      public static LengthUnit fromString(String name)
      Creates or finds a LengthUnit from its string representation.
      Parameters:
      name - a name to look for.
      Returns:
      the corresponding LengthUnit.
    • values

      public static Collection<LengthUnit> values()
      Returns:
      known LengthUnit values.