code: def new(self, version):
          # type: () -> None
          '''
          A method to create a new UDF NSR Volume Structure.
  
          Parameters:
           None.
          Returns:
           Nothing.
          '''
          if self._initialized:
              raise pycdlibexception.PyCdlibInternalError('UDF NSR Volume Structure already initialized')
  
          if version == 2:
              self.standard_ident = b'NSR02'
          elif version == 3:
              self.standard_ident = b'NSR03'
          else:
              raise pycdlibexception.PyCdlibInternalError('Invalid NSR version requested')
  
          self._initialized = Truf new(self, version):
          # type: () -> None
          '''
          A method to create a new UDF NSR Volume Structure.
  
          Parameters:
           None.
          Returns:
           Nothing.
          '''
          if self._initialized:
              raise pycdlibexception.PyCdlibInternalError('UDF NSR Volume Structure already initialized')
  
          if version == 2:
              self.standard_ident = b'NSR02'
          elif version == 3:
              self.standard_ident = b'NSR03'
          else:
              raise pycdlibexception.PyCdlibInternalError('Invalid NSR version requested')
  
          self._initialized = True
docs: A method to create a new UDF NSR Volume Structure.
  
          Parameters:
           None.
          Returns:
           Nothing.