#NEWLINE# def __init__( self , data = None , id = None ) : #NEWLINE# #INDENT# self . id = None #NEWLINE# self . strategy = None #NEWLINE# if ( data is not None ) : #NEWLINE# #INDENT# if ( id is not None ) : #NEWLINE# #INDENT# raise APIDescriptionException ( 'id attribute must be None when the data field is provided' ) #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# init_field ( self , data , ID , True ) #NEWLINE# init_field ( self , data , STRATEGY ) #NEWLINE# #UNINDENT# #UNINDENT# else : #NEWLINE# #INDENT# if ( self is not None ) : #NEWLINE# #INDENT# raise APIDescriptionException ( 'id attribute must not be None when the data field is not provided' ) #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# self . id = id