CommonPrincipal¶
-
class
oci.identity_data_plane.models.
CommonPrincipal
(**kwargs)¶ Bases:
object
CommonPrincipal model.
Methods
__init__
(**kwargs)Initializes a new CommonPrincipal object with values from keyword arguments. Attributes
tenant
[Required] Gets the tenant of this CommonPrincipal. user
[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.
-
tenant
¶ [Required] Gets the tenant of this CommonPrincipal. The tenant.
Returns: The tenant of this CommonPrincipal. Return type: oci.identity_data_plane.models.Tenant
-
user
¶ [Required] Gets the user of this CommonPrincipal. The user.
Returns: The user of this CommonPrincipal. Return type: oci.identity_data_plane.models.User
-