CommonPrincipal¶
- class oci.identity_data_plane.models.CommonPrincipal(**kwargs)¶
Bases:
objectCommonPrincipal model.
Methods:
__init__(**kwargs)Initializes a new CommonPrincipal object with values from keyword arguments.
Attributes:
[Required] Gets the tenant of this CommonPrincipal.
[Required] Gets the user of this CommonPrincipal.
- __init__(**kwargs)¶
Initializes a new CommonPrincipal object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
- Parameters
tenant (oci.identity_data_plane.models.Tenant) – The value to assign to the tenant property of this CommonPrincipal.
user (oci.identity_data_plane.models.User) – The value to assign to the user property of this CommonPrincipal.
- property tenant¶
[Required] Gets the tenant of this CommonPrincipal. The tenant.
- Returns
The tenant of this CommonPrincipal.
- Return type
- property user¶
[Required] Gets the user of this CommonPrincipal. The user.
- Returns
The user of this CommonPrincipal.
- Return type