gdata.apps.organization.data | index /home/afshar/wrk/gdata-python-client/src/gdata/apps/organization/data.py

`Data model classes for the Organization Unit Provisioning API.`

Modules
`` |  |
gdata |  |  |

Classes
`` |  | gdata.apps.apps_property_entry.AppsPropertyEntry(gdata.data.GDEntry) CustomerIdEntry OrgUnitEntry OrgUserEntry gdata.data.GDFeed(atom.data.Feed, gdata.data.LinkFinder) OrgUnitFeed OrgUserFeed
class CustomerIdEntry(gdata.apps.apps_property_entry.AppsPropertyEntry)
`` | `Represents a customerId entry in object form.`
| Method resolution order: CustomerIdEntry gdata.apps.apps_property_entry.AppsPropertyEntry gdata.data.GDEntry atom.data.Entry atom.data.FeedEntryParent atom.core.XmlElement gdata.data.LinkFinder atom.data.LinkFinder __builtin__.object Methods defined here: GetCustomerId(self) `Get the customer ID of the customerId object. Returns: The customer ID of this customerId object as a string or None.` GetCustomerOrgUnitDescription(self) `Get the Customer Organization Unit Description of the customerId object. Returns: The Customer Organization Unit Description of this customerId object as a string or None.` GetCustomerOrgUnitName(self) `Get the Customer Organization Unit name of the customerId object. Returns: The Customer Organization unit name of this customerId object as a string or None.` GetOrgUnitDescription(self) `Get the Organization Unit Description of the customerId object. Returns: The Organization Unit Description of this customerId object as a string or None.` GetOrgUnitName(self) `Get the Organization Unit name of the customerId object. Returns: The Organization unit name of this customerId object as a string or None.` Data descriptors defined here: customer_id `Get the customer ID of the customerId object. Returns: The customer ID of this customerId object as a string or None.` customer_org_unit_description `Get the Customer Organization Unit Description of the customerId object. Returns: The Customer Organization Unit Description of this customerId object as a string or None.` customer_org_unit_name `Get the Customer Organization Unit name of the customerId object. Returns: The Customer Organization unit name of this customerId object as a string or None.` org_unit_description `Get the Organization Unit Description of the customerId object. Returns: The Organization Unit Description of this customerId object as a string or None.` org_unit_name `Get the Organization Unit name of the customerId object. Returns: The Organization unit name of this customerId object as a string or None.` Data and other attributes inherited from gdata.apps.apps_property_entry.AppsPropertyEntry: property = [<class 'gdata.apps_property.AppsProperty'>] Methods inherited from gdata.data.GDEntry: FindMediaLink = find_media_link(self) `Returns the URL to the media content, if the entry is a media entry. Otherwise returns None.` GetId = get_id(self) IsMedia = is_media(self) find_media_link(self) `Returns the URL to the media content, if the entry is a media entry. Otherwise returns None.` get_id(self) is_media(self) Data and other attributes inherited from gdata.data.GDEntry: etag = '{http://schemas.google.com/g/2005}etag' Data and other attributes inherited from atom.data.Entry: content = <class 'atom.data.Content'> `The atom:content element.` control = <class 'atom.data.Control'> `The app:control element indicating restrictions on publication. The APP control element may contain a draft element indicating whether or not this entry should be publicly available.` published = <class 'atom.data.Published'> `The atom:published element.` source = <class 'atom.data.Source'> `The atom:source element.` summary = <class 'atom.data.Summary'> `The atom:summary element.` Methods inherited from atom.data.FeedEntryParent: __init__(self, atom_id=None, text=None, *args, **kwargs) Data and other attributes inherited from atom.data.FeedEntryParent: author = [<class 'atom.data.Author'>] category = [<class 'atom.data.Category'>] contributor = [<class 'atom.data.Contributor'>] id = <class 'atom.data.Id'> `The atom:id element.` link = [<class 'atom.data.Link'>] rights = <class 'atom.data.Rights'> `The atom:rights element.` title = <class 'atom.data.Title'> `The atom:title element.` updated = <class 'atom.data.Updated'> `The atom:updated element.` Methods inherited from atom.core.XmlElement: FindChildren = get_elements(self, tag=None, namespace=None, version=1) `Find all sub elements which match the tag and namespace. To find all elements in this object, call get_elements with the tag and namespace both set to None (the default). This method searches through the object's members and the elements stored in _other_elements which did not match any of the XML parsing rules for this class. Args: tag: str namespace: str version: int Specifies the version of the XML rules to be used when searching for matching elements. Returns: A list of the matching XmlElements.` FindExtensions = get_elements(self, tag=None, namespace=None, version=1) `Find all sub elements which match the tag and namespace. To find all elements in this object, call get_elements with the tag and namespace both set to None (the default). This method searches through the object's members and the elements stored in _other_elements which did not match any of the XML parsing rules for this class. Args: tag: str namespace: str version: int Specifies the version of the XML rules to be used when searching for matching elements. Returns: A list of the matching XmlElements.` GetAttributes = get_attributes(self, tag=None, namespace=None, version=1) `Find all attributes which match the tag and namespace. To find all attributes in this object, call get_attributes with the tag and namespace both set to None (the default). This method searches through the object's members and the attributes stored in _other_attributes which did not fit any of the XML parsing rules for this class. Args: tag: str namespace: str version: int Specifies the version of the XML rules to be used when searching for matching attributes. Returns: A list of XmlAttribute objects for the matching attributes.` GetElements = get_elements(self, tag=None, namespace=None, version=1) `Find all sub elements which match the tag and namespace. To find all elements in this object, call get_elements with the tag and namespace both set to None (the default). This method searches through the object's members and the elements stored in _other_elements which did not match any of the XML parsing rules for this class. Args: tag: str namespace: str version: int Specifies the version of the XML rules to be used when searching for matching elements. Returns: A list of the matching XmlElements.` ToString = to_string(self, version=1, encoding=None, pretty_print=None) `Converts this object to XML.` __str__(self) get_attributes(self, tag=None, namespace=None, version=1) `Find all attributes which match the tag and namespace. To find all attributes in this object, call get_attributes with the tag and namespace both set to None (the default). This method searches through the object's members and the attributes stored in _other_attributes which did not fit any of the XML parsing rules for this class. Args: tag: str namespace: str version: int Specifies the version of the XML rules to be used when searching for matching attributes. Returns: A list of XmlAttribute objects for the matching attributes.` get_elements(self, tag=None, namespace=None, version=1) `Find all sub elements which match the tag and namespace. To find all elements in this object, call get_elements with the tag and namespace both set to None (the default). This method searches through the object's members and the elements stored in _other_elements which did not match any of the XML parsing rules for this class. Args: tag: str namespace: str version: int Specifies the version of the XML rules to be used when searching for matching elements. Returns: A list of the matching XmlElements.` to_string(self, version=1, encoding=None, pretty_print=None) `Converts this object to XML.` Data descriptors inherited from atom.core.XmlElement: __dict__ `dictionary for instance variables (if defined)` __weakref__ `list of weak references to the object (if defined)` attributes children extension_attributes extension_elements namespace tag Data and other attributes inherited from atom.core.XmlElement: text = None Methods inherited from gdata.data.LinkFinder: FindAclLink = find_acl_link(self) FindFeedLink = find_feed_link(self) FindHtmlLink = find_html_link(self) `Finds the first link with rel of alternate and type of text/html.` FindPostLink = find_post_link(self) `Get the URL to which new entries should be POSTed. The POST target URL is used to insert new entries. Returns: A str for the URL in the link with a rel matching the POST type.` FindPreviousLink = find_previous_link(self) GetAclLink = get_acl_link(self) `Searches for a link or feed_link (if present) with the rel for ACL.` GetFeedLink = get_feed_link(self) GetHtmlLink = get_html_link(self) GetPostLink = get_post_link(self) GetPreviousLink = get_previous_link(self) find_acl_link(self) find_feed_link(self) find_html_link(self) `Finds the first link with rel of alternate and type of text/html.` find_post_link(self) `Get the URL to which new entries should be POSTed. The POST target URL is used to insert new entries. Returns: A str for the URL in the link with a rel matching the POST type.` find_previous_link(self) get_acl_link(self) `Searches for a link or feed_link (if present) with the rel for ACL.` get_feed_link(self) get_html_link(self) get_post_link(self) get_previous_link(self) Methods inherited from atom.data.LinkFinder: FindAlternateLink = find_alternate_link(self) FindEditLink = find_edit_link(self) FindEditMediaLink = find_edit_media_link(self) FindLicenseLink = find_license_link(self) FindNextLink = find_next_link(self) FindSelfLink = find_self_link(self) `Find the first link with rel set to 'self' Returns: A str containing the link's href or None if none of the links had rel equal to 'self'` FindUrl = find_url(self, rel) `Returns the URL (as a string) in a link with the desired rel value.` GetAlternateLink = get_alternate_link(self) GetEditLink = get_edit_link(self) GetEditMediaLink = get_edit_media_link(self) GetLicenseLink = get_license_link(self) GetLink = get_link(self, rel) `Returns a link object which has the desired rel value. If you are interested in the URL instead of the link object, consider using find_url instead.` GetNextLink = get_next_link(self) GetSelfLink = get_self_link(self) find_alternate_link(self) find_edit_link(self) find_edit_media_link(self) find_license_link(self) find_next_link(self) find_self_link(self) `Find the first link with rel set to 'self' Returns: A str containing the link's href or None if none of the links had rel equal to 'self'` find_url(self, rel) `Returns the URL (as a string) in a link with the desired rel value.` get_alternate_link(self) get_edit_link(self) get_edit_media_link(self) get_license_link(self) get_link(self, rel) `Returns a link object which has the desired rel value. If you are interested in the URL instead of the link object, consider using find_url instead.` get_next_link(self) get_self_link(self)
class OrgUnitEntry(gdata.apps.apps_property_entry.AppsPropertyEntry)
`` | `Represents an OrganizationUnit in object form.`
| Method resolution order: OrgUnitEntry gdata.apps.apps_property_entry.AppsPropertyEntry gdata.data.GDEntry atom.data.Entry atom.data.FeedEntryParent atom.core.XmlElement gdata.data.LinkFinder atom.data.LinkFinder __builtin__.object Methods defined here: GetMovedUsers(self) `Get the moved users of the OrganizationUnit object. Returns: The the moved users of this OrganizationUnit object as a string or None.` GetOrgUnitBlockInheritance(self) `Get the block_inheritance flag of the OrganizationUnit object. Returns: The the block_inheritance flag of this OrganizationUnit object as a string or None.` GetOrgUnitDescription(self) `Get the Organization Unit Description of the OrganizationUnit object. Returns: The Organization Unit Description of this OrganizationUnit object as a string or None.` GetOrgUnitName(self) `Get the Organization Unit name of the OrganizationUnit object. Returns: The Organization unit name of this OrganizationUnit object as a string or None.` GetOrgUnitPath(self) `Get the Organization Unit Path of the OrganizationUnit object. Returns: The Organization Unit Path of this OrganizationUnit object as a string or None.` GetParentOrgUnitPath(self) `Get the Parent Organization Unit Path of the OrganizationUnit object. Returns: The Parent Organization Unit Path of this OrganizationUnit object as a string or None.` SetOrgUnitBlockInheritance(self, value) `Set the block_inheritance flag of the OrganizationUnit object. Args: value: [string] The new block_inheritance flag to give this object.` SetOrgUnitDescription(self, value) `Set the Organization Unit Description of the OrganizationUnit object. Args: value: [string] The new Organization Unit Description to give this object.` SetOrgUnitName(self, value) `Set the Organization Unit name of the OrganizationUnit object. Args: value: [string] The new Organization Unit name to give this object.` SetOrgUnitPath(self, value) `Set the Organization Unit path of the OrganizationUnit object. Args: value: [string] The new Organization Unit path to give this object.` SetParentOrgUnitPath(self, value) `Set the Parent Organization Unit path of the OrganizationUnit object. Args: value: [string] The new Parent Organization Unit path to give this object.` SetUsersToMove(self, value) `Set the Users to Move of the OrganizationUnit object. Args: value: [string] The comma seperated list of users to move to give this object.` __init__(self, org_unit_name=None, org_unit_path=None, parent_org_unit_path=None, org_unit_description=None, org_unit_block_inheritance=None, move_users=None, *args, **kwargs) `Constructs a new OrganizationUnit object with the given arguments. Args: org_unit_name: string (optional) The organization unit name for the object. org_unit_path: string (optional) The organization unit path for the object. parent_org_unit_path: string (optional) The parent organization unit path for the object. org_unit_description: string (optional) The organization unit description for the object. org_unit_block_inheritance: boolean (optional) weather or not inheritance from the organization unit is blocked. move_users: string (optional) comma seperated list of users to move. args: The other parameters to pass to gdata.entry.GDEntry constructor. kwargs: The other parameters to pass to gdata.entry.GDEntry constructor.` Data descriptors defined here: move_users `Get the moved users of the OrganizationUnit object. Returns: The the moved users of this OrganizationUnit object as a string or None.` org_unit_block_inheritance `Get the block_inheritance flag of the OrganizationUnit object. Returns: The the block_inheritance flag of this OrganizationUnit object as a string or None.` org_unit_description `Get the Organization Unit Description of the OrganizationUnit object. Returns: The Organization Unit Description of this OrganizationUnit object as a string or None.` org_unit_name `Get the Organization Unit name of the OrganizationUnit object. Returns: The Organization unit name of this OrganizationUnit object as a string or None.` org_unit_path `Get the Organization Unit Path of the OrganizationUnit object. Returns: The Organization Unit Path of this OrganizationUnit object as a string or None.` parent_org_unit_path `Get the Parent Organization Unit Path of the OrganizationUnit object. Returns: The Parent Organization Unit Path of this OrganizationUnit object as a string or None.` Data and other attributes inherited from gdata.apps.apps_property_entry.AppsPropertyEntry: property = [<class 'gdata.apps_property.AppsProperty'>] Methods inherited from gdata.data.GDEntry: FindMediaLink = find_media_link(self) `Returns the URL to the media content, if the entry is a media entry. Otherwise returns None.` GetId = get_id(self) IsMedia = is_media(self) find_media_link(self) `Returns the URL to the media content, if the entry is a media entry. Otherwise returns None.` get_id(self) is_media(self) Data and other attributes inherited from gdata.data.GDEntry: etag = '{http://schemas.google.com/g/2005}etag' Data and other attributes inherited from atom.data.Entry: content = <class 'atom.data.Content'> `The atom:content element.` control = <class 'atom.data.Control'> `The app:control element indicating restrictions on publication. The APP control element may contain a draft element indicating whether or not this entry should be publicly available.` published = <class 'atom.data.Published'> `The atom:published element.` source = <class 'atom.data.Source'> `The atom:source element.` summary = <class 'atom.data.Summary'> `The atom:summary element.` Data and other attributes inherited from atom.data.FeedEntryParent: author = [<class 'atom.data.Author'>] category = [<class 'atom.data.Category'>] contributor = [<class 'atom.data.Contributor'>] id = <class 'atom.data.Id'> `The atom:id element.` link = [<class 'atom.data.Link'>] rights = <class 'atom.data.Rights'> `The atom:rights element.` title = <class 'atom.data.Title'> `The atom:title element.` updated = <class 'atom.data.Updated'> `The atom:updated element.` Methods inherited from atom.core.XmlElement: FindChildren = get_elements(self, tag=None, namespace=None, version=1) `Find all sub elements which match the tag and namespace. To find all elements in this object, call get_elements with the tag and namespace both set to None (the default). This method searches through the object's members and the elements stored in _other_elements which did not match any of the XML parsing rules for this class. Args: tag: str namespace: str version: int Specifies the version of the XML rules to be used when searching for matching elements. Returns: A list of the matching XmlElements.` FindExtensions = get_elements(self, tag=None, namespace=None, version=1) `Find all sub elements which match the tag and namespace. To find all elements in this object, call get_elements with the tag and namespace both set to None (the default). This method searches through the object's members and the elements stored in _other_elements which did not match any of the XML parsing rules for this class. Args: tag: str namespace: str version: int Specifies the version of the XML rules to be used when searching for matching elements. Returns: A list of the matching XmlElements.` GetAttributes = get_attributes(self, tag=None, namespace=None, version=1) `Find all attributes which match the tag and namespace. To find all attributes in this object, call get_attributes with the tag and namespace both set to None (the default). This method searches through the object's members and the attributes stored in _other_attributes which did not fit any of the XML parsing rules for this class. Args: tag: str namespace: str version: int Specifies the version of the XML rules to be used when searching for matching attributes. Returns: A list of XmlAttribute objects for the matching attributes.` GetElements = get_elements(self, tag=None, namespace=None, version=1) `Find all sub elements which match the tag and namespace. To find all elements in this object, call get_elements with the tag and namespace both set to None (the default). This method searches through the object's members and the elements stored in _other_elements which did not match any of the XML parsing rules for this class. Args: tag: str namespace: str version: int Specifies the version of the XML rules to be used when searching for matching elements. Returns: A list of the matching XmlElements.` ToString = to_string(self, version=1, encoding=None, pretty_print=None) `Converts this object to XML.` __str__(self) get_attributes(self, tag=None, namespace=None, version=1) `Find all attributes which match the tag and namespace. To find all attributes in this object, call get_attributes with the tag and namespace both set to None (the default). This method searches through the object's members and the attributes stored in _other_attributes which did not fit any of the XML parsing rules for this class. Args: tag: str namespace: str version: int Specifies the version of the XML rules to be used when searching for matching attributes. Returns: A list of XmlAttribute objects for the matching attributes.` get_elements(self, tag=None, namespace=None, version=1) `Find all sub elements which match the tag and namespace. To find all elements in this object, call get_elements with the tag and namespace both set to None (the default). This method searches through the object's members and the elements stored in _other_elements which did not match any of the XML parsing rules for this class. Args: tag: str namespace: str version: int Specifies the version of the XML rules to be used when searching for matching elements. Returns: A list of the matching XmlElements.` to_string(self, version=1, encoding=None, pretty_print=None) `Converts this object to XML.` Data descriptors inherited from atom.core.XmlElement: __dict__ `dictionary for instance variables (if defined)` __weakref__ `list of weak references to the object (if defined)` attributes children extension_attributes extension_elements namespace tag Data and other attributes inherited from atom.core.XmlElement: text = None Methods inherited from gdata.data.LinkFinder: FindAclLink = find_acl_link(self) FindFeedLink = find_feed_link(self) FindHtmlLink = find_html_link(self) `Finds the first link with rel of alternate and type of text/html.` FindPostLink = find_post_link(self) `Get the URL to which new entries should be POSTed. The POST target URL is used to insert new entries. Returns: A str for the URL in the link with a rel matching the POST type.` FindPreviousLink = find_previous_link(self) GetAclLink = get_acl_link(self) `Searches for a link or feed_link (if present) with the rel for ACL.` GetFeedLink = get_feed_link(self) GetHtmlLink = get_html_link(self) GetPostLink = get_post_link(self) GetPreviousLink = get_previous_link(self) find_acl_link(self) find_feed_link(self) find_html_link(self) `Finds the first link with rel of alternate and type of text/html.` find_post_link(self) `Get the URL to which new entries should be POSTed. The POST target URL is used to insert new entries. Returns: A str for the URL in the link with a rel matching the POST type.` find_previous_link(self) get_acl_link(self) `Searches for a link or feed_link (if present) with the rel for ACL.` get_feed_link(self) get_html_link(self) get_post_link(self) get_previous_link(self) Methods inherited from atom.data.LinkFinder: FindAlternateLink = find_alternate_link(self) FindEditLink = find_edit_link(self) FindEditMediaLink = find_edit_media_link(self) FindLicenseLink = find_license_link(self) FindNextLink = find_next_link(self) FindSelfLink = find_self_link(self) `Find the first link with rel set to 'self' Returns: A str containing the link's href or None if none of the links had rel equal to 'self'` FindUrl = find_url(self, rel) `Returns the URL (as a string) in a link with the desired rel value.` GetAlternateLink = get_alternate_link(self) GetEditLink = get_edit_link(self) GetEditMediaLink = get_edit_media_link(self) GetLicenseLink = get_license_link(self) GetLink = get_link(self, rel) `Returns a link object which has the desired rel value. If you are interested in the URL instead of the link object, consider using find_url instead.` GetNextLink = get_next_link(self) GetSelfLink = get_self_link(self) find_alternate_link(self) find_edit_link(self) find_edit_media_link(self) find_license_link(self) find_next_link(self) find_self_link(self) `Find the first link with rel set to 'self' Returns: A str containing the link's href or None if none of the links had rel equal to 'self'` find_url(self, rel) `Returns the URL (as a string) in a link with the desired rel value.` get_alternate_link(self) get_edit_link(self) get_edit_media_link(self) get_license_link(self) get_link(self, rel) `Returns a link object which has the desired rel value. If you are interested in the URL instead of the link object, consider using find_url instead.` get_next_link(self) get_self_link(self)
class OrgUnitFeed(gdata.data.GDFeed)
`` | `Represents a feed of OrgUnitEntry objects.`
| Method resolution order: OrgUnitFeed gdata.data.GDFeed atom.data.Feed atom.data.Source atom.data.FeedEntryParent atom.core.XmlElement gdata.data.LinkFinder atom.data.LinkFinder __builtin__.object Data and other attributes defined here: entry = [<class 'gdata.apps.organization.data.OrgUnitEntry'>] Methods inherited from gdata.data.GDFeed: GetId = get_id(self) get_generator(self) get_id(self) Data and other attributes inherited from gdata.data.GDFeed: etag = '{http://schemas.google.com/g/2005}etag' items_per_page = <class 'gdata.data.ItemsPerPage'> `The opensearch:itemsPerPage element in GData feed.` start_index = <class 'gdata.data.StartIndex'> `The opensearch:startIndex element in GData feed.` total_results = <class 'gdata.data.TotalResults'> `opensearch:TotalResults for a GData feed.` Data and other attributes inherited from atom.data.Source: generator = <class 'atom.data.Generator'> `The atom:generator element.` icon = <class 'atom.data.Icon'> `The atom:icon element.` logo = <class 'atom.data.Logo'> `The atom:logo element.` subtitle = <class 'atom.data.Subtitle'> `The atom:subtitle element.` Methods inherited from atom.data.FeedEntryParent: __init__(self, atom_id=None, text=None, *args, **kwargs) Data and other attributes inherited from atom.data.FeedEntryParent: author = [<class 'atom.data.Author'>] category = [<class 'atom.data.Category'>] contributor = [<class 'atom.data.Contributor'>] id = <class 'atom.data.Id'> `The atom:id element.` link = [<class 'atom.data.Link'>] rights = <class 'atom.data.Rights'> `The atom:rights element.` title = <class 'atom.data.Title'> `The atom:title element.` updated = <class 'atom.data.Updated'> `The atom:updated element.` Methods inherited from atom.core.XmlElement: FindChildren = get_elements(self, tag=None, namespace=None, version=1) `Find all sub elements which match the tag and namespace. To find all elements in this object, call get_elements with the tag and namespace both set to None (the default). This method searches through the object's members and the elements stored in _other_elements which did not match any of the XML parsing rules for this class. Args: tag: str namespace: str version: int Specifies the version of the XML rules to be used when searching for matching elements. Returns: A list of the matching XmlElements.` FindExtensions = get_elements(self, tag=None, namespace=None, version=1) `Find all sub elements which match the tag and namespace. To find all elements in this object, call get_elements with the tag and namespace both set to None (the default). This method searches through the object's members and the elements stored in _other_elements which did not match any of the XML parsing rules for this class. Args: tag: str namespace: str version: int Specifies the version of the XML rules to be used when searching for matching elements. Returns: A list of the matching XmlElements.` GetAttributes = get_attributes(self, tag=None, namespace=None, version=1) `Find all attributes which match the tag and namespace. To find all attributes in this object, call get_attributes with the tag and namespace both set to None (the default). This method searches through the object's members and the attributes stored in _other_attributes which did not fit any of the XML parsing rules for this class. Args: tag: str namespace: str version: int Specifies the version of the XML rules to be used when searching for matching attributes. Returns: A list of XmlAttribute objects for the matching attributes.` GetElements = get_elements(self, tag=None, namespace=None, version=1) `Find all sub elements which match the tag and namespace. To find all elements in this object, call get_elements with the tag and namespace both set to None (the default). This method searches through the object's members and the elements stored in _other_elements which did not match any of the XML parsing rules for this class. Args: tag: str namespace: str version: int Specifies the version of the XML rules to be used when searching for matching elements. Returns: A list of the matching XmlElements.` ToString = to_string(self, version=1, encoding=None, pretty_print=None) `Converts this object to XML.` __str__(self) get_attributes(self, tag=None, namespace=None, version=1) `Find all attributes which match the tag and namespace. To find all attributes in this object, call get_attributes with the tag and namespace both set to None (the default). This method searches through the object's members and the attributes stored in _other_attributes which did not fit any of the XML parsing rules for this class. Args: tag: str namespace: str version: int Specifies the version of the XML rules to be used when searching for matching attributes. Returns: A list of XmlAttribute objects for the matching attributes.` get_elements(self, tag=None, namespace=None, version=1) `Find all sub elements which match the tag and namespace. To find all elements in this object, call get_elements with the tag and namespace both set to None (the default). This method searches through the object's members and the elements stored in _other_elements which did not match any of the XML parsing rules for this class. Args: tag: str namespace: str version: int Specifies the version of the XML rules to be used when searching for matching elements. Returns: A list of the matching XmlElements.` to_string(self, version=1, encoding=None, pretty_print=None) `Converts this object to XML.` Data descriptors inherited from atom.core.XmlElement: __dict__ `dictionary for instance variables (if defined)` __weakref__ `list of weak references to the object (if defined)` attributes children extension_attributes extension_elements namespace tag Data and other attributes inherited from atom.core.XmlElement: text = None Methods inherited from gdata.data.LinkFinder: FindAclLink = find_acl_link(self) FindFeedLink = find_feed_link(self) FindHtmlLink = find_html_link(self) `Finds the first link with rel of alternate and type of text/html.` FindPostLink = find_post_link(self) `Get the URL to which new entries should be POSTed. The POST target URL is used to insert new entries. Returns: A str for the URL in the link with a rel matching the POST type.` FindPreviousLink = find_previous_link(self) GetAclLink = get_acl_link(self) `Searches for a link or feed_link (if present) with the rel for ACL.` GetFeedLink = get_feed_link(self) GetHtmlLink = get_html_link(self) GetPostLink = get_post_link(self) GetPreviousLink = get_previous_link(self) find_acl_link(self) find_feed_link(self) find_html_link(self) `Finds the first link with rel of alternate and type of text/html.` find_post_link(self) `Get the URL to which new entries should be POSTed. The POST target URL is used to insert new entries. Returns: A str for the URL in the link with a rel matching the POST type.` find_previous_link(self) get_acl_link(self) `Searches for a link or feed_link (if present) with the rel for ACL.` get_feed_link(self) get_html_link(self) get_post_link(self) get_previous_link(self) Methods inherited from atom.data.LinkFinder: FindAlternateLink = find_alternate_link(self) FindEditLink = find_edit_link(self) FindEditMediaLink = find_edit_media_link(self) FindLicenseLink = find_license_link(self) FindNextLink = find_next_link(self) FindSelfLink = find_self_link(self) `Find the first link with rel set to 'self' Returns: A str containing the link's href or None if none of the links had rel equal to 'self'` FindUrl = find_url(self, rel) `Returns the URL (as a string) in a link with the desired rel value.` GetAlternateLink = get_alternate_link(self) GetEditLink = get_edit_link(self) GetEditMediaLink = get_edit_media_link(self) GetLicenseLink = get_license_link(self) GetLink = get_link(self, rel) `Returns a link object which has the desired rel value. If you are interested in the URL instead of the link object, consider using find_url instead.` GetNextLink = get_next_link(self) GetSelfLink = get_self_link(self) find_alternate_link(self) find_edit_link(self) find_edit_media_link(self) find_license_link(self) find_next_link(self) find_self_link(self) `Find the first link with rel set to 'self' Returns: A str containing the link's href or None if none of the links had rel equal to 'self'` find_url(self, rel) `Returns the URL (as a string) in a link with the desired rel value.` get_alternate_link(self) get_edit_link(self) get_edit_media_link(self) get_license_link(self) get_link(self, rel) `Returns a link object which has the desired rel value. If you are interested in the URL instead of the link object, consider using find_url instead.` get_next_link(self) get_self_link(self)
class OrgUserEntry(gdata.apps.apps_property_entry.AppsPropertyEntry)
`` | `Represents an OrgUser in object form.`
| Method resolution order: OrgUserEntry gdata.apps.apps_property_entry.AppsPropertyEntry gdata.data.GDEntry atom.data.Entry atom.data.FeedEntryParent atom.core.XmlElement gdata.data.LinkFinder atom.data.LinkFinder __builtin__.object Methods defined here: GetOldOrgUnitPath(self) `Get the Old Organization Unit Path of the OrgUser object. Returns: The Old Organization Unit Path of this OrgUser object as a string or None.` GetOrgUnitPath(self) `Get the Organization Unit Path of the OrgUser object. Returns: The Organization Unit Path of this OrgUser object as a string or None.` GetUserEmail(self) `Get the user email address of the OrgUser object. Returns: The user email address of this OrgUser object as a string or None.` SetOldOrgUnitPath(self, value) `Set the Old Organization Unit path of the OrgUser object. Args: value: [string] The new Old Organization Unit path to give this object.` SetOrgUnitPath(self, value) `Set the Organization Unit path of the OrgUser object. Args: value: [string] The new Organization Unit path to give this object.` SetUserEmail(self, value) `Set the user email address of this OrgUser object. Args: value: string The new user email address to give this object.` __init__(self, user_email=None, org_unit_path=None, old_org_unit_path=None, *args, **kwargs) `Constructs a new OrgUser object with the given arguments. Args: user_email: string (optional) The user email address for the object. org_unit_path: string (optional) The organization unit path for the object. old_org_unit_path: string (optional) The old organization unit path for the object. args: The other parameters to pass to gdata.entry.GDEntry constructor. kwargs: The other parameters to pass to gdata.entry.GDEntry constructor.` Data descriptors defined here: old_org_unit_path `Get the Old Organization Unit Path of the OrgUser object. Returns: The Old Organization Unit Path of this OrgUser object as a string or None.` org_unit_path `Get the Organization Unit Path of the OrgUser object. Returns: The Organization Unit Path of this OrgUser object as a string or None.` user_email `Get the user email address of the OrgUser object. Returns: The user email address of this OrgUser object as a string or None.` Data and other attributes inherited from gdata.apps.apps_property_entry.AppsPropertyEntry: property = [<class 'gdata.apps_property.AppsProperty'>] Methods inherited from gdata.data.GDEntry: FindMediaLink = find_media_link(self) `Returns the URL to the media content, if the entry is a media entry. Otherwise returns None.` GetId = get_id(self) IsMedia = is_media(self) find_media_link(self) `Returns the URL to the media content, if the entry is a media entry. Otherwise returns None.` get_id(self) is_media(self) Data and other attributes inherited from gdata.data.GDEntry: etag = '{http://schemas.google.com/g/2005}etag' Data and other attributes inherited from atom.data.Entry: content = <class 'atom.data.Content'> `The atom:content element.` control = <class 'atom.data.Control'> `The app:control element indicating restrictions on publication. The APP control element may contain a draft element indicating whether or not this entry should be publicly available.` published = <class 'atom.data.Published'> `The atom:published element.` source = <class 'atom.data.Source'> `The atom:source element.` summary = <class 'atom.data.Summary'> `The atom:summary element.` Data and other attributes inherited from atom.data.FeedEntryParent: author = [<class 'atom.data.Author'>] category = [<class 'atom.data.Category'>] contributor = [<class 'atom.data.Contributor'>] id = <class 'atom.data.Id'> `The atom:id element.` link = [<class 'atom.data.Link'>] rights = <class 'atom.data.Rights'> `The atom:rights element.` title = <class 'atom.data.Title'> `The atom:title element.` updated = <class 'atom.data.Updated'> `The atom:updated element.` Methods inherited from atom.core.XmlElement: FindChildren = get_elements(self, tag=None, namespace=None, version=1) `Find all sub elements which match the tag and namespace. To find all elements in this object, call get_elements with the tag and namespace both set to None (the default). This method searches through the object's members and the elements stored in _other_elements which did not match any of the XML parsing rules for this class. Args: tag: str namespace: str version: int Specifies the version of the XML rules to be used when searching for matching elements. Returns: A list of the matching XmlElements.` FindExtensions = get_elements(self, tag=None, namespace=None, version=1) `Find all sub elements which match the tag and namespace. To find all elements in this object, call get_elements with the tag and namespace both set to None (the default). This method searches through the object's members and the elements stored in _other_elements which did not match any of the XML parsing rules for this class. Args: tag: str namespace: str version: int Specifies the version of the XML rules to be used when searching for matching elements. Returns: A list of the matching XmlElements.` GetAttributes = get_attributes(self, tag=None, namespace=None, version=1) `Find all attributes which match the tag and namespace. To find all attributes in this object, call get_attributes with the tag and namespace both set to None (the default). This method searches through the object's members and the attributes stored in _other_attributes which did not fit any of the XML parsing rules for this class. Args: tag: str namespace: str version: int Specifies the version of the XML rules to be used when searching for matching attributes. Returns: A list of XmlAttribute objects for the matching attributes.` GetElements = get_elements(self, tag=None, namespace=None, version=1) `Find all sub elements which match the tag and namespace. To find all elements in this object, call get_elements with the tag and namespace both set to None (the default). This method searches through the object's members and the elements stored in _other_elements which did not match any of the XML parsing rules for this class. Args: tag: str namespace: str version: int Specifies the version of the XML rules to be used when searching for matching elements. Returns: A list of the matching XmlElements.` ToString = to_string(self, version=1, encoding=None, pretty_print=None) `Converts this object to XML.` __str__(self) get_attributes(self, tag=None, namespace=None, version=1) `Find all attributes which match the tag and namespace. To find all attributes in this object, call get_attributes with the tag and namespace both set to None (the default). This method searches through the object's members and the attributes stored in _other_attributes which did not fit any of the XML parsing rules for this class. Args: tag: str namespace: str version: int Specifies the version of the XML rules to be used when searching for matching attributes. Returns: A list of XmlAttribute objects for the matching attributes.` get_elements(self, tag=None, namespace=None, version=1) `Find all sub elements which match the tag and namespace. To find all elements in this object, call get_elements with the tag and namespace both set to None (the default). This method searches through the object's members and the elements stored in _other_elements which did not match any of the XML parsing rules for this class. Args: tag: str namespace: str version: int Specifies the version of the XML rules to be used when searching for matching elements. Returns: A list of the matching XmlElements.` to_string(self, version=1, encoding=None, pretty_print=None) `Converts this object to XML.` Data descriptors inherited from atom.core.XmlElement: __dict__ `dictionary for instance variables (if defined)` __weakref__ `list of weak references to the object (if defined)` attributes children extension_attributes extension_elements namespace tag Data and other attributes inherited from atom.core.XmlElement: text = None Methods inherited from gdata.data.LinkFinder: FindAclLink = find_acl_link(self) FindFeedLink = find_feed_link(self) FindHtmlLink = find_html_link(self) `Finds the first link with rel of alternate and type of text/html.` FindPostLink = find_post_link(self) `Get the URL to which new entries should be POSTed. The POST target URL is used to insert new entries. Returns: A str for the URL in the link with a rel matching the POST type.` FindPreviousLink = find_previous_link(self) GetAclLink = get_acl_link(self) `Searches for a link or feed_link (if present) with the rel for ACL.` GetFeedLink = get_feed_link(self) GetHtmlLink = get_html_link(self) GetPostLink = get_post_link(self) GetPreviousLink = get_previous_link(self) find_acl_link(self) find_feed_link(self) find_html_link(self) `Finds the first link with rel of alternate and type of text/html.` find_post_link(self) `Get the URL to which new entries should be POSTed. The POST target URL is used to insert new entries. Returns: A str for the URL in the link with a rel matching the POST type.` find_previous_link(self) get_acl_link(self) `Searches for a link or feed_link (if present) with the rel for ACL.` get_feed_link(self) get_html_link(self) get_post_link(self) get_previous_link(self) Methods inherited from atom.data.LinkFinder: FindAlternateLink = find_alternate_link(self) FindEditLink = find_edit_link(self) FindEditMediaLink = find_edit_media_link(self) FindLicenseLink = find_license_link(self) FindNextLink = find_next_link(self) FindSelfLink = find_self_link(self) `Find the first link with rel set to 'self' Returns: A str containing the link's href or None if none of the links had rel equal to 'self'` FindUrl = find_url(self, rel) `Returns the URL (as a string) in a link with the desired rel value.` GetAlternateLink = get_alternate_link(self) GetEditLink = get_edit_link(self) GetEditMediaLink = get_edit_media_link(self) GetLicenseLink = get_license_link(self) GetLink = get_link(self, rel) `Returns a link object which has the desired rel value. If you are interested in the URL instead of the link object, consider using find_url instead.` GetNextLink = get_next_link(self) GetSelfLink = get_self_link(self) find_alternate_link(self) find_edit_link(self) find_edit_media_link(self) find_license_link(self) find_next_link(self) find_self_link(self) `Find the first link with rel set to 'self' Returns: A str containing the link's href or None if none of the links had rel equal to 'self'` find_url(self, rel) `Returns the URL (as a string) in a link with the desired rel value.` get_alternate_link(self) get_edit_link(self) get_edit_media_link(self) get_license_link(self) get_link(self, rel) `Returns a link object which has the desired rel value. If you are interested in the URL instead of the link object, consider using find_url instead.` get_next_link(self) get_self_link(self)
class OrgUserFeed(gdata.data.GDFeed)
`` | `Represents a feed of OrgUserEntry objects.`
| Method resolution order: OrgUserFeed gdata.data.GDFeed atom.data.Feed atom.data.Source atom.data.FeedEntryParent atom.core.XmlElement gdata.data.LinkFinder atom.data.LinkFinder __builtin__.object Data and other attributes defined here: entry = [<class 'gdata.apps.organization.data.OrgUserEntry'>] Methods inherited from gdata.data.GDFeed: GetId = get_id(self) get_generator(self) get_id(self) Data and other attributes inherited from gdata.data.GDFeed: etag = '{http://schemas.google.com/g/2005}etag' items_per_page = <class 'gdata.data.ItemsPerPage'> `The opensearch:itemsPerPage element in GData feed.` start_index = <class 'gdata.data.StartIndex'> `The opensearch:startIndex element in GData feed.` total_results = <class 'gdata.data.TotalResults'> `opensearch:TotalResults for a GData feed.` Data and other attributes inherited from atom.data.Source: generator = <class 'atom.data.Generator'> `The atom:generator element.` icon = <class 'atom.data.Icon'> `The atom:icon element.` logo = <class 'atom.data.Logo'> `The atom:logo element.` subtitle = <class 'atom.data.Subtitle'> `The atom:subtitle element.` Methods inherited from atom.data.FeedEntryParent: __init__(self, atom_id=None, text=None, *args, **kwargs) Data and other attributes inherited from atom.data.FeedEntryParent: author = [<class 'atom.data.Author'>] category = [<class 'atom.data.Category'>] contributor = [<class 'atom.data.Contributor'>] id = <class 'atom.data.Id'> `The atom:id element.` link = [<class 'atom.data.Link'>] rights = <class 'atom.data.Rights'> `The atom:rights element.` title = <class 'atom.data.Title'> `The atom:title element.` updated = <class 'atom.data.Updated'> `The atom:updated element.` Methods inherited from atom.core.XmlElement: FindChildren = get_elements(self, tag=None, namespace=None, version=1) `Find all sub elements which match the tag and namespace. To find all elements in this object, call get_elements with the tag and namespace both set to None (the default). This method searches through the object's members and the elements stored in _other_elements which did not match any of the XML parsing rules for this class. Args: tag: str namespace: str version: int Specifies the version of the XML rules to be used when searching for matching elements. Returns: A list of the matching XmlElements.` FindExtensions = get_elements(self, tag=None, namespace=None, version=1) `Find all sub elements which match the tag and namespace. To find all elements in this object, call get_elements with the tag and namespace both set to None (the default). This method searches through the object's members and the elements stored in _other_elements which did not match any of the XML parsing rules for this class. Args: tag: str namespace: str version: int Specifies the version of the XML rules to be used when searching for matching elements. Returns: A list of the matching XmlElements.` GetAttributes = get_attributes(self, tag=None, namespace=None, version=1) `Find all attributes which match the tag and namespace. To find all attributes in this object, call get_attributes with the tag and namespace both set to None (the default). This method searches through the object's members and the attributes stored in _other_attributes which did not fit any of the XML parsing rules for this class. Args: tag: str namespace: str version: int Specifies the version of the XML rules to be used when searching for matching attributes. Returns: A list of XmlAttribute objects for the matching attributes.` GetElements = get_elements(self, tag=None, namespace=None, version=1) `Find all sub elements which match the tag and namespace. To find all elements in this object, call get_elements with the tag and namespace both set to None (the default). This method searches through the object's members and the elements stored in _other_elements which did not match any of the XML parsing rules for this class. Args: tag: str namespace: str version: int Specifies the version of the XML rules to be used when searching for matching elements. Returns: A list of the matching XmlElements.` ToString = to_string(self, version=1, encoding=None, pretty_print=None) `Converts this object to XML.` __str__(self) get_attributes(self, tag=None, namespace=None, version=1) `Find all attributes which match the tag and namespace. To find all attributes in this object, call get_attributes with the tag and namespace both set to None (the default). This method searches through the object's members and the attributes stored in _other_attributes which did not fit any of the XML parsing rules for this class. Args: tag: str namespace: str version: int Specifies the version of the XML rules to be used when searching for matching attributes. Returns: A list of XmlAttribute objects for the matching attributes.` get_elements(self, tag=None, namespace=None, version=1) `Find all sub elements which match the tag and namespace. To find all elements in this object, call get_elements with the tag and namespace both set to None (the default). This method searches through the object's members and the elements stored in _other_elements which did not match any of the XML parsing rules for this class. Args: tag: str namespace: str version: int Specifies the version of the XML rules to be used when searching for matching elements. Returns: A list of the matching XmlElements.` to_string(self, version=1, encoding=None, pretty_print=None) `Converts this object to XML.` Data descriptors inherited from atom.core.XmlElement: __dict__ `dictionary for instance variables (if defined)` __weakref__ `list of weak references to the object (if defined)` attributes children extension_attributes extension_elements namespace tag Data and other attributes inherited from atom.core.XmlElement: text = None Methods inherited from gdata.data.LinkFinder: FindAclLink = find_acl_link(self) FindFeedLink = find_feed_link(self) FindHtmlLink = find_html_link(self) `Finds the first link with rel of alternate and type of text/html.` FindPostLink = find_post_link(self) `Get the URL to which new entries should be POSTed. The POST target URL is used to insert new entries. Returns: A str for the URL in the link with a rel matching the POST type.` FindPreviousLink = find_previous_link(self) GetAclLink = get_acl_link(self) `Searches for a link or feed_link (if present) with the rel for ACL.` GetFeedLink = get_feed_link(self) GetHtmlLink = get_html_link(self) GetPostLink = get_post_link(self) GetPreviousLink = get_previous_link(self) find_acl_link(self) find_feed_link(self) find_html_link(self) `Finds the first link with rel of alternate and type of text/html.` find_post_link(self) `Get the URL to which new entries should be POSTed. The POST target URL is used to insert new entries. Returns: A str for the URL in the link with a rel matching the POST type.` find_previous_link(self) get_acl_link(self) `Searches for a link or feed_link (if present) with the rel for ACL.` get_feed_link(self) get_html_link(self) get_post_link(self) get_previous_link(self) Methods inherited from atom.data.LinkFinder: FindAlternateLink = find_alternate_link(self) FindEditLink = find_edit_link(self) FindEditMediaLink = find_edit_media_link(self) FindLicenseLink = find_license_link(self) FindNextLink = find_next_link(self) FindSelfLink = find_self_link(self) `Find the first link with rel set to 'self' Returns: A str containing the link's href or None if none of the links had rel equal to 'self'` FindUrl = find_url(self, rel) `Returns the URL (as a string) in a link with the desired rel value.` GetAlternateLink = get_alternate_link(self) GetEditLink = get_edit_link(self) GetEditMediaLink = get_edit_media_link(self) GetLicenseLink = get_license_link(self) GetLink = get_link(self, rel) `Returns a link object which has the desired rel value. If you are interested in the URL instead of the link object, consider using find_url instead.` GetNextLink = get_next_link(self) GetSelfLink = get_self_link(self) find_alternate_link(self) find_edit_link(self) find_edit_media_link(self) find_license_link(self) find_next_link(self) find_self_link(self) `Find the first link with rel set to 'self' Returns: A str containing the link's href or None if none of the links had rel equal to 'self'` find_url(self, rel) `Returns the URL (as a string) in a link with the desired rel value.` get_alternate_link(self) get_edit_link(self) get_edit_media_link(self) get_license_link(self) get_link(self, rel) `Returns a link object which has the desired rel value. If you are interested in the URL instead of the link object, consider using find_url instead.` get_next_link(self) get_self_link(self)

Data
`` |  | CUSTOMER_ID = 'customerId' CUSTOMER_ORG_UNIT_DESCRIPTION = 'customerOrgUnitDescription' CUSTOMER_ORG_UNIT_NAME = 'customerOrgUnitName' MOVED_USERS = 'usersMoved' OLD_ORG_UNIT_PATH = 'oldOrgUnitPath' ORG_UNIT_BLOCK_INHERITANCE = 'blockInheritance' ORG_UNIT_DESCRIPTION = 'description' ORG_UNIT_NAME = 'name' ORG_UNIT_PATH = 'orgUnitPath' PARENT_ORG_UNIT_PATH = 'parentOrgUnitPath' USERS_TO_MOVE = 'usersToMove' USER_EMAIL = 'orgUserEmail' __author__ = 'Gunjan Sharma <gunjansharma@google.com>'

Author
`` |  | Gunjan Sharma <gunjansharma@google.com>