Organization#
- class geodesic.account.organizations.Organization(**organization)[source]#
The Organization class to manage groups users
- Parameters:
**organization – metadata about a particular Organization
Attributes
alias
(str) - alias for this organization
description
(str) - description of this organization
homepage
(str) - homepage for this organization
members
All of the members and admins
name
(str) - name of this organization
remaining_seats
Gets the number of seats remaining in this Organization (total_seats - # of users)
total_seats
(int) - total number of user seats for this organization
Methods
add_members
([members, admins])Add members to this Organization
clear
()copy
()create
()Creates a new Organization
delete
()Deletes an Organization
fromkeys
([value])Create a new dictionary with keys from iterable and values set to value.
get
(key[, default])Return the value for key if key is in the dictionary, else default.
items
()keys
()pop
(k[,d])If key is not found, default is returned if given, otherwise KeyError is raised
popitem
()Remove and return a (key, value) pair as a 2-tuple.
Remove a member from this Organization
save
()Updates an existing Organization
setdefault
(key[, default])Insert key with a value of default if key is not in the dictionary.
update
(*mapping, **kwargs)values
()