#NEWLINE# def api_deserialize_impl( self , r ) : #NEWLINE# #INDENT# self . is_new = ( r is None ) #NEWLINE# if self . is_new : #NEWLINE# #INDENT# r = { #NEWLINE# #INDENT# #NEWLINE# #UNINDENT# } #NEWLINE# #UNINDENT# self . is_incomplete = False #NEWLINE# if Util . exists_path ( r , 'ID' ) : #NEWLINE# #INDENT# self . m_id = ( None if ( Util . get_by_path ( r , 'ID' ) is None ) else str ( Util . get_by_path ( self , 'ID' ) ) ) #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# self . m_id = None #NEWLINE# self . is_incomplete = True #NEWLINE# #UNINDENT# self . n_id = False #NEWLINE# if Util . exists_path ( r , 'IPv6Prefix' ) : #NEWLINE# #INDENT# self . m_prefix = ( None if ( Util . get_by_path ( r , 'IPv6Prefix' ) is None ) else str ( Util . get_by_path ( r , 'IPv6Prefix' ) ) ) #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# self . m_prefix = None #NEWLINE# self . is_incomplete = True #NEWLINE# #UNINDENT# self . n_prefix = False #NEWLINE# if Util . exists_path ( r , 'IPv6PrefixLen' ) : #NEWLINE# #INDENT# self . m_prefix_len = ( None if ( Util . get_by_path ( r , 'IPv6PrefixLen' ) is None ) else int ( str ( Util . get_by_path ( r , 'IPv6PrefixLen' ) ) ) ) #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# self . m_prefix_len = None #NEWLINE# self . is_incomplete = True #NEWLINE# #UNINDENT# self . n_prefix_len = False #NEWLINE# if Util . exists_path ( r , 'IPv6PrefixTail' ) : #NEWLINE# #INDENT# self . m_prefix_tail = ( None if ( Util . get_by_path ( r , 'IPv6PrefixTail' ) is None ) else str ( Util . get_by_path ( r , 'IPv6PrefixTail' ) ) ) #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# self . m_prefix_tail = None #NEWLINE# self . is_incomplete = True #NEWLINE# #UNINDENT# self . n_prefix_tail = False