MessageDetails

class oci.ons.models.MessageDetails(**kwargs)

Bases: object

The content of the message to be published.

Methods:

__init__(**kwargs)

Initializes a new MessageDetails object with values from keyword arguments.

Attributes:

body

[Required] Gets the body of this MessageDetails.

title

Gets the title of this MessageDetails.

__init__(**kwargs)

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

Parameters
  • title (str) – The value to assign to the title property of this MessageDetails.

  • body (str) – The value to assign to the body property of this MessageDetails.

property body

[Required] Gets the body of this MessageDetails. The body of the message to be published. Avoid entering confidential information.

Returns

The body of this MessageDetails.

Return type

str

property title

Gets the title of this MessageDetails. The title of the message to be published. Avoid entering confidential information.

Returns

The title of this MessageDetails.

Return type

str