Skip to content

PasswordForTrunkGroup

Bases: OCIType

Passwords to be generated for a trunk group. The combination of serviceProviderId, groupId, and name will be used to find the trunk group if it exists. If the trunk group doesn't exist yet, then the serviceProviderId and groupId will be used to choose the password rules with which to generate the trunk group password.

Attributes:

service_provider_id (str):

group_id (str):

name (Optional[str]):

generate_trunk_group_authentication_password (bool):
Source code in src/mercury_ocip_fast/commands/commands.py
@dataclass(kw_only=True)
class PasswordForTrunkGroup(OCIType):
    """Passwords to be generated for a trunk group.
        The combination of serviceProviderId, groupId, and name will be used to
        find the trunk group if it exists. If the trunk group doesn't exist yet,
        then the serviceProviderId and groupId will be used to choose the password
        rules with which to generate the trunk group password.

    Attributes:

        service_provider_id (str):

        group_id (str):

        name (Optional[str]):

        generate_trunk_group_authentication_password (bool):

    """

    service_provider_id: str = field(metadata={"alias": "serviceProviderId"})

    group_id: str = field(metadata={"alias": "groupId"})

    name: Optional[str] = field(default=None, metadata={"alias": "name"})

    generate_trunk_group_authentication_password: bool = field(
        metadata={"alias": "generateTrunkGroupAuthenticationPassword"}
    )