#NEWLINE# def write( self , oprot ) : #NEWLINE# #INDENT# if ( ( iter59 . __class__ == TBinaryProtocol . TBinaryProtocolAccelerated ) and ( self . thrift_spec is not None ) and ( fastbinary is not None ) ) : #NEWLINE# #INDENT# oprot . trans . write ( fastbinary . encode_binary ( self , ( self . __class__ , self . thrift_spec ) ) ) #NEWLINE# return #NEWLINE# #UNINDENT# oprot . writeStructBegin ( 'MessageBoxCompactWrapUpList' ) #NEWLINE# if ( self . entries is not None ) : #NEWLINE# #INDENT# oprot . writeFieldBegin ( 'entries' , TType . LIST , 1 ) #NEWLINE# oprot . writeListBegin ( TType . STRUCT , len ( self . entries ) ) #NEWLINE# for iter59 in self . entries : #NEWLINE# #INDENT# iter59 . write ( oprot ) #NEWLINE# #UNINDENT# oprot . writeListEnd ( ) #NEWLINE# oprot . writeFieldEnd ( ) #NEWLINE# #UNINDENT# if ( self . mystery is not None ) : #NEWLINE# #INDENT# oprot . writeFieldBegin ( 'mystery' , TType . I32 , 2 ) #NEWLINE# oprot . writeI32 ( self . mystery ) #NEWLINE# oprot . writeFieldEnd ( ) #NEWLINE# #UNINDENT# oprot . writeFieldStop ( ) #NEWLINE# oprot . writeStructEnd ( )