Module Import alias Import alias ImportFrom alias Assign NameStore Call AttributeLoad NameLoad attr Str ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad body Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str If CompareIs AttributeLoad NameLoad attr NameLoad body Raise Call NameLoad Str Assign NameStore Dict Assign SubscriptStore NameLoad Index Str NameLoad Assign SubscriptStore NameLoad Index Str NameLoad Assign SubscriptStore NameLoad Index Str AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad Call AttributeLoad NameLoad attr Dict Str Str Str NameLoad NameLoad AttributeLoad NameLoad attr attr Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str NameLoad AttributeLoad NameLoad attr Str keyword Num Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str Assign NameStore Dict Assign SubscriptStore NameLoad Index Str NameLoad Assign SubscriptStore NameLoad Index Str NameLoad If CompareIsNot AttributeLoad NameLoad attr NameLoad body Assign SubscriptStore NameLoad Index Str AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad Call AttributeLoad NameLoad attr NameLoad attr Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str NameLoad AttributeLoad NameLoad attr Str keyword Num Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str NameLoad AttributeLoad NameLoad attr Str keyword Num keyword Dict Str AttributeLoad NameLoad attr Return Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam defaults NameLoad NameLoad NameLoad body Expr Str Assign NameStore Dict If CompareIsNot AttributeLoad NameLoad attr NameLoad body Assign NameStore Dict Str AttributeLoad NameLoad attr orelse Raise Call NameLoad Str Assign SubscriptStore NameLoad Index Str NameLoad If CompareIsNot NameLoad NameLoad body If CompareIsNot NameLoad NameLoad body Raise Call NameLoad Str Assign SubscriptStore NameLoad Index Str Dict NameLoad NameLoad If CompareIsNot NameLoad NameLoad body If CompareIsNot NameLoad NameLoad body Raise Call NameLoad Str Assign SubscriptStore NameLoad Index Str Dict NameLoad NameLoad If CompareIsNot NameLoad NameLoad body Assign SubscriptStore NameLoad Index Str Dict NameLoad NameLoad If BoolOpAnd UnaryOpNot NameLoad UnaryOpNot NameLoad UnaryOpNot NameLoad body Raise Call NameLoad Str Assign NameStore Call AttributeLoad Call AttributeLoad NameLoad attr NameLoad attr Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str NameLoad AttributeLoad NameLoad attr Str keyword Num Return Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str For NameStore NameLoad body Expr Call NameLoad NameLoad NameLoad SubscriptLoad NameLoad Index NameLoad Return NameLoad decorator_list NameLoad decorator_list ClassDef bases NameLoad body Expr Str Assign NameStore NameLoad Assign NameStore NameLoad Assign NameStore NameLoad Assign NameStore NameLoad FunctionDef arguments args NameParam NameParam defaults body Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call NameLoad TupleLoad decorator_list FunctionDef arguments args NameParam defaults body Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body TryExcept body Return Call AttributeLoad NameLoad attr Call NameLoad AttributeLoad NameLoad attr handlers ExceptHandler type NameLoad body Expr Call AttributeLoad NameLoad attr Return Call AttributeLoad NameLoad attr Call NameLoad AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Return Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body If AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr Str decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr keyword Str keyword NameLoad keyword NameLoad keyword Num Assign AttributeStore NameLoad attr NameStore Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call NameLoad SubscriptLoad NameLoad Index Str decorator_list decorator_list
N/A N/A json N/A logging urbanairship common N/A logger N/A N/A logging getLogger urbanairship NamedUser N/A object N/A N/A Perform various operations on a named user object __init__ N/A N/A self airship named_user_id N/A None N/A N/A N/A self _airship airship N/A N/A self named_user_id named_user_id N/A associate N/A N/A self channel_id device_type N/A N/A N/A Associate a channel with a named user ID

        :param channel_id: The ID of the channel you would like to associate
            with the named user
        :param device_type: The device type of the channel
        :return:
         N/A N/A N/A self named_user_id None N/A N/A N/A ValueError named_user_id is required for association N/A payload N/A N/A N/A payload N/A channel_id channel_id N/A N/A payload N/A device_type device_type N/A N/A payload N/A named_user_id N/A self named_user_id N/A body N/A N/A N/A N/A json dumps N/A channel_id device_type named_user_id channel_id device_type N/A self named_user_id encode utf-8 N/A response N/A N/A N/A self _airship _request POST body N/A common NAMED_USER_ASSOCIATE_URL application/json version 3 N/A response N/A disassociate N/A N/A self channel_id device_type N/A N/A N/A Disassociate a channel with a named user ID

        :param channel_id: The ID of the channel you would like to disassociate
        :param device_type: The device type of the channel
        :return:
         N/A payload N/A N/A N/A payload N/A channel_id channel_id N/A N/A payload N/A device_type device_type N/A N/A N/A self named_user_id None N/A N/A N/A payload N/A named_user_id N/A self named_user_id N/A body N/A N/A N/A N/A json dumps payload encode utf-8 N/A response N/A N/A N/A self _airship _request POST body N/A common NAMED_USER_DISASSOCIATE_URL application/json version 3 N/A response N/A lookup N/A N/A self N/A N/A N/A Lookup a single named user

        :return: The named user payload for the named user ID
         N/A response N/A N/A N/A self _airship _request GET None N/A common NAMED_USER_URL application/json version 3 params N/A id N/A self named_user_id N/A N/A N/A response json N/A tag N/A N/A self group add remove set N/A None None None N/A N/A Add, remove, or set tags on a named user
        :param add: A list of tags to add
        :param remove: A list of tags to remove
        :param set: A list of tags to set
        :param group: The Tag group for the add, remove, and set operations
         N/A payload N/A N/A N/A N/A self named_user_id None N/A N/A audience N/A named_user_id N/A self named_user_id N/A N/A N/A ValueError A named user ID is required for modifying tags N/A N/A payload N/A audience audience N/A N/A add None N/A N/A N/A set None N/A N/A N/A ValueError A tag request can only contain an add or remove field, both, or a single set field N/A N/A payload N/A add N/A group add N/A N/A remove None N/A N/A N/A set None N/A N/A N/A ValueError A tag request can only contain an add or remove field, both, or a single set field N/A N/A payload N/A remove N/A group remove N/A N/A set None N/A N/A N/A payload N/A set N/A group set N/A N/A N/A add N/A remove N/A set N/A N/A N/A ValueError An add, remove, or set field was not set N/A body N/A N/A N/A N/A json dumps payload encode utf-8 N/A response N/A N/A N/A self _airship _request POST body N/A common NAMED_USER_TAG_URL application/json version 3 N/A N/A N/A response json N/A from_payload N/A N/A cls payload N/A N/A N/A 
        Create NamedUser object based on results from a NamedUserList iterator.

         N/A key payload N/A N/A N/A setattr cls key N/A payload N/A key N/A cls N/A classmethod N/A NamedUserList N/A object N/A N/A Retrieves a list of NamedUsers N/A start_url None N/A next_url None N/A airship None N/A data None __init__ N/A N/A self airship N/A N/A N/A N/A self _airship airship N/A N/A self start_url N/A common NAMED_USER_URL N/A N/A self next_url N/A self start_url N/A N/A self _token_iter N/A iter N/A N/A __iter__ N/A N/A self N/A N/A N/A self N/A __next__ N/A N/A self N/A N/A N/A N/A N/A N/A N/A NamedUser from_payload N/A next N/A self _token_iter N/A N/A N/A StopIteration N/A N/A N/A N/A self _fetch_next_page N/A N/A N/A NamedUser from_payload N/A next N/A self _token_iter N/A next N/A N/A self N/A N/A N/A  Necessary for iteration to work with Python 2.*. N/A N/A N/A self __next__ N/A _fetch_next_page N/A N/A self N/A N/A N/A N/A self next_url N/A N/A N/A N/A self _load_page N/A self next_url N/A N/A self next_url N/A N/A N/A self _page get next_page N/A _load_page N/A N/A self url N/A N/A N/A response N/A N/A N/A self _airship _request method GET body None url url version 3 N/A N/A self _page page N/A N/A response json N/A N/A self _token_iter N/A iter N/A page N/A named_users N/A N/A