Contact

class oci.cims.models.Contact(**kwargs)

Bases: object

Contact details for the customer. Avoid entering confidential information.

Attributes:

CONTACT_TYPE_ADMIN

A constant which can be used with the contact_type property of a Contact.

CONTACT_TYPE_ALTERNATE

A constant which can be used with the contact_type property of a Contact.

CONTACT_TYPE_MANAGER

A constant which can be used with the contact_type property of a Contact.

CONTACT_TYPE_PRIMARY

A constant which can be used with the contact_type property of a Contact.

CONTACT_TYPE_SECONDARY

A constant which can be used with the contact_type property of a Contact.

contact_email

Gets the contact_email of this Contact.

contact_name

Gets the contact_name of this Contact.

contact_phone

Gets the contact_phone of this Contact.

contact_type

Gets the contact_type of this Contact.

email

Gets the email of this Contact.

Methods:

__init__(**kwargs)

Initializes a new Contact object with values from keyword arguments.

CONTACT_TYPE_ADMIN = 'ADMIN'

A constant which can be used with the contact_type property of a Contact. This constant has a value of “ADMIN”

CONTACT_TYPE_ALTERNATE = 'ALTERNATE'

A constant which can be used with the contact_type property of a Contact. This constant has a value of “ALTERNATE”

CONTACT_TYPE_MANAGER = 'MANAGER'

A constant which can be used with the contact_type property of a Contact. This constant has a value of “MANAGER”

CONTACT_TYPE_PRIMARY = 'PRIMARY'

A constant which can be used with the contact_type property of a Contact. This constant has a value of “PRIMARY”

CONTACT_TYPE_SECONDARY = 'SECONDARY'

A constant which can be used with the contact_type property of a Contact. This constant has a value of “SECONDARY”

__init__(**kwargs)

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

Parameters
  • contact_name (str) – The value to assign to the contact_name property of this Contact.

  • contact_email (str) – The value to assign to the contact_email property of this Contact.

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

  • contact_phone (str) – The value to assign to the contact_phone property of this Contact.

  • contact_type (str) – The value to assign to the contact_type property of this Contact. Allowed values for this property are: “PRIMARY”, “ALTERNATE”, “SECONDARY”, “ADMIN”, “MANAGER”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

property contact_email

Gets the contact_email of this Contact. The email of the contact person.

Returns

The contact_email of this Contact.

Return type

str

property contact_name

Gets the contact_name of this Contact. The name of the contact person.

Returns

The contact_name of this Contact.

Return type

str

property contact_phone

Gets the contact_phone of this Contact. The phone number of the contact person.

Returns

The contact_phone of this Contact.

Return type

str

property contact_type

Gets the contact_type of this Contact. The type of contact, such as primary or alternate.

Allowed values for this property are: “PRIMARY”, “ALTERNATE”, “SECONDARY”, “ADMIN”, “MANAGER”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

Returns

The contact_type of this Contact.

Return type

str

property email

Gets the email of this Contact. The email of the contact person.

Returns

The email of this Contact.

Return type

str