Module Expr Str ImportFrom alias ClassDef bases NameLoad body Expr Str Assign NameStore Str FunctionDef arguments args NameParam defaults kwarg body Expr Str Assign NameStore Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Return NameLoad decorator_list FunctionDef arguments args NameParam defaults kwarg body Expr Str Return Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults kwarg body Expr Str Assign NameStore Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults kwarg body Expr Str Assign NameStore Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults kwarg body Expr Str Assign NameStore Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults kwarg body Expr Str Assign NameStore Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults NameLoad kwarg body Expr Str Assign NameStore Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults NameLoad kwarg body Expr Str Return Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults kwarg body Expr Str Assign NameStore Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr decorator_list decorator_list
N/A N/A 
Representation of a Photo object
 trovebox_object TroveboxObject Photo N/A TroveboxObject N/A N/A  Representation of a Photo object  N/A _type photo delete N/A N/A self N/A kwds N/A N/A 
        Endpoint: /photo/<id>/delete.json

        Deletes this photo.
        Returns True if successful.
        Raises a TroveboxError if not.
         N/A result N/A N/A N/A N/A self _client photo delete self kwds N/A N/A N/A self _delete_fields N/A result N/A delete_source N/A N/A self N/A kwds N/A N/A 
        Endpoint: /photo/<id>/source/delete.json

        Deletes the source files of this photo.
        Returns True if successful.
        Raises a TroveboxError if not.
         N/A N/A N/A N/A N/A self _client photo delete_source self kwds N/A replace N/A N/A self photo_file N/A kwds N/A N/A 
        Endpoint: /photo/<id>/replace.json

        Uploads the specified photo file to replace this photo.
         N/A result N/A N/A N/A N/A self _client photo replace self photo_file kwds N/A N/A N/A self _replace_fields N/A N/A result get_fields N/A replace_encoded N/A N/A self photo_file N/A kwds N/A N/A 
        Endpoint: /photo/<id>/replace.json

        Base64-encodes and uploads the specified photo file to
        replace this photo.
         N/A result N/A N/A N/A N/A self _client photo replace_encoded self photo_file kwds N/A N/A N/A self _replace_fields N/A N/A result get_fields N/A replace_from_url N/A N/A self url N/A kwds N/A N/A 
        Endpoint: /photo/<id>replace.json

        Import a photo from the specified URL to replace this photo.
         N/A result N/A N/A N/A N/A self _client photo replace_from_url self url kwds N/A N/A N/A self _replace_fields N/A N/A result get_fields N/A update N/A N/A self N/A kwds N/A N/A 
        Endpoint: /photo/<id>/update.json

        Updates this photo with the specified parameters.
         N/A result N/A N/A N/A N/A self _client photo update self kwds N/A N/A N/A self _replace_fields N/A N/A result get_fields N/A view N/A N/A self options N/A None kwds N/A N/A 
        Endpoint: /photo/<id>[/<options>]/view.json

        Requests all properties of this photo.
        Can be used to obtain URLs for the photo at a particular size,
          by using the "returnSizes" parameter.
        Updates the photo's fields with the response.
        The options parameter can be used to pass in additional options.
        Eg: options={"token": <token_data>}
         N/A result N/A N/A N/A N/A self _client photo view self options kwds N/A N/A N/A self _replace_fields N/A N/A result get_fields N/A next_previous N/A N/A self options N/A None kwds N/A N/A 
        Endpoint: /photo/<id>/nextprevious[/<options>].json

        Returns a dict containing the next and previous photo lists
        (there may be more than one next/previous photo returned).
         N/A N/A N/A N/A N/A self _client photo next_previous self options kwds N/A transform N/A N/A self N/A kwds N/A N/A 
        Endpoint: /photo/<id>/transform.json

        Performs the specified transformations.
          eg. transform(photo, rotate=90)
        Updates the photo's fields with the response.
         N/A result N/A N/A N/A N/A self _client photo transform self kwds N/A N/A N/A self _replace_fields N/A N/A result get_fields N/A N/A