Principal

class oci.jms_java_downloads.models.Principal(**kwargs)

Bases: object

An authorized principal.

Methods:

__init__(**kwargs)

Initializes a new Principal object with values from keyword arguments.

Attributes:

display_name

Gets the display_name of this Principal.

email

Gets the email of this Principal.

id

[Required] Gets the id of this Principal.

__init__(**kwargs)

Initializes a new Principal object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):

Parameters
  • id (str) – The value to assign to the id property of this Principal.

  • display_name (str) – The value to assign to the display_name property of this Principal.

  • email (str) – The value to assign to the email property of this Principal.

property display_name

Gets the display_name of this Principal. The name of the principal.

Returns

The display_name of this Principal.

Return type

str

property email

Gets the email of this Principal. The email of the principal.

Returns

The email of this Principal.

Return type

str

property id

[Required] Gets the id of this Principal. The OCID of the principal.

Returns

The id of this Principal.

Return type

str