def valid_id(class_name, identifier, refresh = true)
      the_class = JSS.api_object_class(class_name)
      the_class.valid_id identifier, refresh, api: self
    end
def valid_id(class_name, identifier, refresh = true)
      the_class = JSS.api_object_class(class_name)
      the_class.valid_id identifier, refresh, api: self
    end
Call the 'valid_id' method on a JSS::APIObject subclass
 using this APIConnection. See {JSS::APIObject.valid_id}

 @param class_name[String,Symbol] The name of a JSS::APIObject subclass,
   see {JSS.api_object_class}

 @param identifier[String,Symbol] the value to which the ids should be mapped

 @param refresh[Boolean] Should the data be re-read from the API?

 @return [Integer, nil] the id of the matching object of the class,
   or nil if there isn't one