Principal

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

Bases: object

An authorized principal.

Methods:

__init__(**kwargs)

Initializes a new Principal object with values from keyword arguments.

Attributes:

display_name

[Required] Gets the display_name 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.

property display_name

[Required] Gets the display_name of this Principal. The name of the principal.

Returns

The display_name 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