<s> '''<STR_LIT>''' <EOL> from . . request_base import RequestBase <EOL> from . . model . thumbnail import Thumbnail <EOL> import json <EOL> class ThumbnailRequest ( RequestBase ) : <EOL> """<STR_LIT>""" <EOL> def __init__ ( self , request_url , client , options ) : <EOL> """<STR_LIT>""" <EOL> super ( ThumbnailRequest , self ) . __init__ ( request_url , client , options ) <EOL> def delete ( self ) : <EOL> """<STR_LIT>""" <EOL> self . method = "<STR_LIT>" <EOL> self . send ( ) <EOL> def get ( self ) : <EOL> """<STR_LIT>""" <EOL> self . method = "<STR_LIT:GET>" <EOL> entity = Thumbnail ( json . loads ( self . send ( ) . content ) ) <EOL> self . _initialize_collection_properties ( entity ) <EOL> return entity <EOL> def update ( self , thumbnail ) : <EOL> """<STR_LIT>""" <EOL> self . content_type = "<STR_LIT:application/json>" <EOL> self . method = "<STR_LIT>" <EOL> entity = Thumbnail ( json . loads ( self . send ( thumbnail ) . content ) ) <EOL> self . _initialize_collection_properties ( entity ) <EOL> return entity </s>
