Skip to content

ReplacementConsolidatedUserServiceAssignmentList

Bases: OCIType

A list of user services that replaces existing user services assigned to the user. If a service is not authorized to the group, the service will be authorized. The authorizedQuantity will be used if provided; otherwise, the service quantity will be set to unlimited. The command will fail if the authorized Quantity set at the service provider is insufficient. If a service is already authorized to the group, the service quantity will be ignored if included.

Attributes:

user_service_service_name (List[ConsolidatedUserServiceAssignment]):
Source code in src/mercury_ocip/commands/commands.py
@dataclass(kw_only=True)
class ReplacementConsolidatedUserServiceAssignmentList(OCIType):
    """A list of user services that replaces existing user services assigned to the user.
        If a service is not authorized to the group, the service will be authorized. The authorizedQuantity will be used if provided; otherwise, the service quantity will be set to unlimited. The command will fail if the authorized Quantity set at the service provider is insufficient.
        If a service is already authorized to the group, the service quantity will be ignored if included.

    Attributes:

        user_service_service_name (List[ConsolidatedUserServiceAssignment]):

    """

    user_service_service_name: List[ConsolidatedUserServiceAssignment] = field(
        metadata={"alias": "userServiceServiceName"}
    )