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
Deprecated in v1.0.0
name
(str) - name of this organization
remaining_seats
Deprecated in v1.0.0
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.
All of the members and admins.
Gets the number of seats remaining in this Organization (total_seats - # of users).
items
()keys
()pop
(k[,d])If the key is not found, return the default if given; otherwise, raise a KeyError.
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
()