class_docstr: Validator for length.
class_docstr_tok: ["Validator","for","length","."]
docstr: Init.
  
  Note that if no `minimum_value` neither `maximum_value` will be
  specified, `ValueError` will be raised.
  
  :param int minimum_value: Minimum value (optional).
  :param int maximum_value: Maximum value (optional).
docstr_tok: ["Init",".","Note","that","if","no","`","minimum_value","`","neither","`","maximum_value","`","will","be","specified",",","`","ValueError","`","will","be","raised",".",":","param","int","minimum_value",":","Minimum","value","(","optional",")",".",":","param","int","maximum_value",":","Maximum","value","(","optional",")","."]
code: def __init__(self, minimum_value=None, maximum_value=None):
      """Init.
  
      Note that if no `minimum_value` neither `maximum_value` will be
      specified, `ValueError` will be raised.
  
      :param int minimum_value: Minimum value (optional).
      :param int maximum_value: Maximum value (optional).
  
      """
      if minimum_value is None and maximum_value is None:
          raise ValueError(
              "Either 'minimum_value' or 'maximum_value' must be specified."
          )
  
      self.minimum_value = minimum_value
      self.maximum_value = maximum_value
  
imports: import re
  from six.moves import reduce
  from .errors import ValidationError
  from .None import utilities
label_desc: Use image node_id 1 to create a new Length object from inherited base classes: object with example: obj = Length(minimum_value, maximum_value)