Skip to content

Child

Source code in docs_src/capo_organizations/types/child.py
class Child(TypedDict, closed=True):
    id: NotRequired["capo_organizations.types.child_id.ChildId"]
    """<p>The unique identifier (ID) of this child entity.</p> <p>The <a href="http://wikipedia.org/wiki/regex">regex pattern</a> for a child ID string requires one of the following:</p> <ul> <li> <p> <b>Account</b> - A string that consists of exactly 12 digits.</p> </li> <li> <p> <b>Organizational unit (OU)</b> - A string that begins with "ou-" followed by from 4 to 32 lowercase letters or digits (the ID of the root that contains the OU). This string is followed by a second "-" dash and from 8 to 32 additional lowercase letters or digits.</p> </li> </ul>"""
    type: NotRequired["capo_organizations.types.child_type.ChildType"]
    """<p>The type of this child entity.</p>"""

id instance-attribute

id: NotRequired[ChildId]

The unique identifier (ID) of this child entity.

The regex pattern for a child ID string requires one of the following:

  • Account - A string that consists of exactly 12 digits.

  • Organizational unit (OU) - A string that begins with "ou-" followed by from 4 to 32 lowercase letters or digits (the ID of the root that contains the OU). This string is followed by a second "-" dash and from 8 to 32 additional lowercase letters or digits.

type instance-attribute

type: NotRequired[ChildType]

The type of this child entity.