User

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

Bases: object

Details about the user.

Attributes

PROBLEM_TYPE_ACCOUNT A constant which can be used with the problem_type property of a User.
PROBLEM_TYPE_LEGACY_LIMIT A constant which can be used with the problem_type property of a User.
PROBLEM_TYPE_LIMIT A constant which can be used with the problem_type property of a User.
PROBLEM_TYPE_TAXONOMY A constant which can be used with the problem_type property of a User.
PROBLEM_TYPE_TECH A constant which can be used with the problem_type property of a User.
compartment_id Gets the compartment_id of this User.
contact_email Gets the contact_email of this User.
country Gets the country of this User.
csi Gets the csi of this User.
first_name Gets the first_name of this User.
key [Required] Gets the key of this User.
last_name Gets the last_name of this User.
organization_name Gets the organization_name of this User.
phone Gets the phone of this User.
problem_type Gets the problem_type of this User.
timezone Gets the timezone of this User.

Methods

__init__(**kwargs) Initializes a new User object with values from keyword arguments.
PROBLEM_TYPE_ACCOUNT = 'ACCOUNT'

A constant which can be used with the problem_type property of a User. This constant has a value of “ACCOUNT”

PROBLEM_TYPE_LEGACY_LIMIT = 'LEGACY_LIMIT'

A constant which can be used with the problem_type property of a User. This constant has a value of “LEGACY_LIMIT”

PROBLEM_TYPE_LIMIT = 'LIMIT'

A constant which can be used with the problem_type property of a User. This constant has a value of “LIMIT”

PROBLEM_TYPE_TAXONOMY = 'TAXONOMY'

A constant which can be used with the problem_type property of a User. This constant has a value of “TAXONOMY”

PROBLEM_TYPE_TECH = 'TECH'

A constant which can be used with the problem_type property of a User. This constant has a value of “TECH”

__init__(**kwargs)

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

Parameters:
  • key (str) – The value to assign to the key property of this User.
  • first_name (str) – The value to assign to the first_name property of this User.
  • last_name (str) – The value to assign to the last_name property of this User.
  • country (str) – The value to assign to the country property of this User.
  • csi (str) – The value to assign to the csi property of this User.
  • phone (str) – The value to assign to the phone property of this User.
  • timezone (str) – The value to assign to the timezone property of this User.
  • organization_name (str) – The value to assign to the organization_name property of this User.
  • compartment_id (str) – The value to assign to the compartment_id property of this User.
  • contact_email (str) – The value to assign to the contact_email property of this User.
  • problem_type (str) – The value to assign to the problem_type property of this User. Allowed values for this property are: “LIMIT”, “LEGACY_LIMIT”, “TECH”, “ACCOUNT”, “TAXONOMY”
compartment_id

Gets the compartment_id of this User. The OCID of the tenancy.

Returns:The compartment_id of this User.
Return type:str
contact_email

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

Returns:The contact_email of this User.
Return type:str
country

Gets the country of this User. The country of the user.

Returns:The country of this User.
Return type:str
csi

Gets the csi of this User. The CSI associated with the user.

Returns:The csi of this User.
Return type:str
first_name

Gets the first_name of this User. The user’s first name.

Returns:The first_name of this User.
Return type:str
key

[Required] Gets the key of this User. A unique identifier for the user.

Returns:The key of this User.
Return type:str
last_name

Gets the last_name of this User. The user’s last name.

Returns:The last_name of this User.
Return type:str
organization_name

Gets the organization_name of this User. The company that the user belongs to.

Returns:The organization_name of this User.
Return type:str
phone

Gets the phone of this User. The user’s contact phone number.

Returns:The phone of this User.
Return type:str
problem_type

Gets the problem_type of this User. The kind of support ticket, such as a technical support request or a limit increase request.

Allowed values for this property are: “LIMIT”, “LEGACY_LIMIT”, “TECH”, “ACCOUNT”, “TAXONOMY”

Returns:The problem_type of this User.
Return type:str
timezone

Gets the timezone of this User. The timezone of the user.

Returns:The timezone of this User.
Return type:str