def __init__(self, monolithe_config, api_info):
super(APIVersionWriter, self).__init__(package="<STR_LIT>")<EOL>self.api_version = api_info["<STR_LIT:version>"]<EOL>self._api_version_string = SDKUtils.get_string_version(self.api_version)<EOL>self.api_root = api_info["<STR_LIT:root>"]<EOL>self.api_prefix = api_info["<STR_LIT>"]<EOL>self.monolithe_config = monolithe_config<EOL>self._output = self.monolithe_config.get_option("<STR_LIT>", "<STR_LIT>")<EOL>self._name = self.monolithe_config.get_option("<STR_LIT:name>", "<STR_LIT>")<EOL>self._class_prefix = "<STR_LIT>"<EOL>self._product_accronym = self.monolithe_config.get_option("<STR_LIT>")<EOL>self._product_name = self.monolithe_config.get_option("<STR_LIT>")<EOL>self._url = self.monolithe_config.get_option("<STR_LIT:url>", "<STR_LIT>")<EOL>self._package_prefix = self._get_package_prefix(self._url)<EOL>self._package_name = self._package_prefix + "<STR_LIT>" + self._name<EOL>self._package_subdir = self._package_name.replace('<STR_LIT:.>', '<STR_LIT:/>')<EOL>self.output_directory = "<STR_LIT>" % (self._output)<EOL>self.override_folder = os.path.normpath("<STR_LIT>" % self.output_directory)<EOL>self.fetchers_path = "<STR_LIT>"<EOL>self.enums_path = "<STR_LIT>"<EOL>self.attrs_defaults = RawConfigParser()<EOL>path = "<STR_LIT>" % self._output<EOL>self.attrs_defaults.optionxform = str<EOL>self.attrs_defaults.read(path)<EOL>self.inventory_entities = RawConfigParser()<EOL>path = "<STR_LIT>" % self._output<EOL>self.inventory_entities.optionxform = str<EOL>self.inventory_entities.read(path)<EOL>self.workflow_attrs = RawConfigParser()<EOL>path = "<STR_LIT>" % self._output<EOL>self.workflow_attrs.optionxform = str<EOL>self.workflow_attrs.read(path)<EOL>self.attrs_types = RawConfigParser()<EOL>path = "<STR_LIT>" % self._output<EOL>self.attrs_types.optionxform = str<EOL>self.attrs_types.read(path)<EOL>self.plugin_version = self.monolithe_config.get_option("<STR_LIT:version>", "<STR_LIT>")<EOL>self.workflow_version = self.monolithe_config.get_option("<STR_LIT:version>", "<STR_LIT>")<EOL>with open("<STR_LIT>" % self._output, "<STR_LIT:r>") as f:<EOL><INDENT>self.header_content = f.read()<EOL><DEDENT>
Initializes a _JavaSDKAPIVersionFileWriter