#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 ( r , '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 , 'Name' ) : #NEWLINE# #INDENT# self . m_name = ( None if ( Util . get_by_path ( r , 'Name' ) is None ) else str ( Util . get_by_path ( r , 'Name' ) ) ) #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# self . m_name = None #NEWLINE# self . is_incomplete = True #NEWLINE# #UNINDENT# self . n_name = False #NEWLINE# if Util . exists_path ( r , 'Description' ) : #NEWLINE# #INDENT# self . m_description = ( None if ( Util . get_by_path ( self , 'Description' ) is None ) else str ( Util . get_by_path ( r , 'Description' ) ) ) #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# self . m_description = None #NEWLINE# self . is_incomplete = True #NEWLINE# #UNINDENT# self . n_description = False #NEWLINE# if Util . exists_path ( r , 'Region' ) : #NEWLINE# #INDENT# self . m_region = ( None if ( Util . get_by_path ( r , 'Region' ) is None ) else Region ( self . _client , Util . get_by_path ( r , 'Region' ) ) ) #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# self . m_region = None #NEWLINE# self . is_incomplete = True #NEWLINE# #UNINDENT# self . n_region = False