#NEWLINE# def write( self , ostream ) : #NEWLINE# #INDENT# tstream = BytearrayStream ( ) #NEWLINE# self . private_key_uuid . write ( tstream ) #NEWLINE# self . public_key_uuid . write ( tstream ) #NEWLINE# if ( self . private_key_template_attribute is not None ) : #NEWLINE# #INDENT# self . private_key_template_attribute . write ( tstream ) #NEWLINE# #UNINDENT# if ( self . public_key_template_attribute is not None ) : #NEWLINE# #INDENT# self . public_key_template_attribute . write ( ostream ) #NEWLINE# #UNINDENT# self . length = tstream . length ( ) #NEWLINE# super ( CreateKeyPairResponsePayload , self ) . write ( ostream ) #NEWLINE# ostream . write ( tstream . buffer )