code: def order(self, order):
          
          if order is None:
              raise ValueError("Invalid value for `order`, must not be `None`")
          allowed_values = ["ASC", "DESC"]
          if order not in allowed_values:
              raise ValueError(
                  "Invalid value for `order` ({0}), must be one of {1}"
                  .format(order, allowed_values)
              )
  
          self._order = order
docs: Sets the order of this EnrollmentIdentities.
  
          :param order: The order of this EnrollmentIdentities.
          :type: str