protected static function getReferencedEnums()
 {
     $ref_enums = array();
     $ref_enums['Standard'] = ProductCatalogHotelRoomsBatchStandardValues::getInstance()->getValues();
     return $ref_enums;
 }
 public function createHotelRoomsBatch(array $fields = array(), array $params = array(), $pending = false)
 {
     $this->assureId();
     $param_types = array('file' => 'file', 'password' => 'string', 'standard' => 'standard_enum', 'update_only' => 'bool', 'url' => 'string', 'username' => 'string');
     $enums = array('standard_enum' => ProductCatalogHotelRoomsBatchStandardValues::getInstance()->getValues());
     $request = new ApiRequest($this->api, $this->data['id'], RequestInterface::METHOD_POST, '/hotel_rooms_batch', new ProductCatalogHotelRoomsBatch(), 'EDGE', ProductCatalogHotelRoomsBatch::getFieldsEnum()->getValues(), new TypeChecker($param_types, $enums));
     $request->addParams($params);
     $request->addFields($fields);
     return $pending ? $request : $request->execute();
 }