Module Expr Str ImportFrom alias ImportFrom alias ClassDef bases NameLoad body Expr Str Assign NameStore Str FunctionDef arguments args NameParam NameParam NameParam defaults body Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str If Call NameLoad AttributeLoad NameLoad attr NameLoad body Assign AttributeStore NameLoad attr Call NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr TryExcept body For TupleStore NameStore NameStore Call NameLoad AttributeLoad NameLoad attr body If Call NameLoad NameLoad NameLoad body Assign SubscriptStore AttributeLoad NameLoad attr Index NameLoad Call NameLoad AttributeLoad NameLoad attr NameLoad handlers ExceptHandler type TupleLoad NameLoad NameLoad body Pass 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 Expr 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 Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad kwarg body Expr Str Assign NameStore Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr NameLoad NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad kwarg body Expr Str Assign NameStore Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr NameLoad NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Expr 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 Expr 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 Expr Call AttributeLoad NameLoad attr decorator_list decorator_list
N/A N/A 
Representation of an Album object
 trovebox_object TroveboxObject photo Photo Album N/A TroveboxObject N/A N/A  Representation of an Album object  N/A _type album __init__ N/A N/A self client json_dict N/A N/A N/A N/A self photos None N/A N/A self cover None N/A N/A N/A TroveboxObject __init__ self client json_dict N/A N/A N/A self _update_fields_with_objects N/A _update_fields_with_objects N/A N/A self N/A N/A N/A  Convert dict fields into objects, where appropriate  N/A N/A isinstance N/A self cover dict N/A N/A N/A self cover N/A Photo N/A self _client N/A self cover N/A N/A N/A N/A i photo N/A enumerate N/A self photos N/A N/A N/A isinstance photo dict N/A N/A N/A N/A self photos N/A i N/A Photo N/A self _client photo N/A N/A N/A N/A AttributeError TypeError N/A N/A N/A cover_update N/A N/A self photo N/A kwds N/A N/A 
        Endpoint: /album/<album_id>/cover/<photo_id>/update.json

        Update the cover photo of this album.
         N/A result N/A N/A N/A N/A self _client album cover_update self photo kwds N/A N/A N/A self _replace_fields N/A N/A result get_fields N/A N/A N/A self _update_fields_with_objects N/A delete N/A N/A self N/A kwds N/A N/A 
        Endpoint: /album/<id>/delete.json

        Deletes this album.
        Returns True if successful.
        Raises a TroveboxError if not.
         N/A result N/A N/A N/A N/A self _client album delete self kwds N/A N/A N/A self _delete_fields N/A result N/A add N/A N/A self objects object_type N/A None kwds N/A N/A 
        Endpoint: /album/<id>/<type>/add.json

        Add objects (eg. Photos) to this album.
        The objects are a list of either IDs or Trovebox objects.
        If Trovebox objects are used, the object type is inferred
        automatically.
        Updates the album's fields with the response.
         N/A result N/A N/A N/A N/A self _client album add self objects object_type kwds N/A N/A N/A self _replace_fields N/A N/A result get_fields N/A N/A N/A self _update_fields_with_objects N/A remove N/A N/A self objects object_type N/A None kwds N/A N/A 
        Endpoint: /album/<id>/<type>/remove.json

        Remove objects (eg. Photos) from this album.
        The objects are a list of either IDs or Trovebox objects.
        If Trovebox objects are used, the object type is inferred
        automatically.
        Updates the album's fields with the response.
         N/A result N/A N/A N/A N/A self _client album remove self objects object_type kwds N/A N/A N/A self _replace_fields N/A N/A result get_fields N/A N/A N/A self _update_fields_with_objects N/A update N/A N/A self N/A kwds N/A N/A 
        Endpoint: /album/<id>/update.json

        Updates this album with the specified parameters.
         N/A result N/A N/A N/A N/A self _client album update self kwds N/A N/A N/A self _replace_fields N/A N/A result get_fields N/A N/A N/A self _update_fields_with_objects N/A view N/A N/A self N/A kwds N/A N/A 
        Endpoint: /album/<id>/view.json

        Requests all properties of an album.
        Updates the album's fields with the response.
         N/A result N/A N/A N/A N/A self _client album view self kwds N/A N/A N/A self _replace_fields N/A N/A result get_fields N/A N/A N/A self _update_fields_with_objects N/A N/A