User¶
- class oci.cims.models.User(**kwargs)¶
Bases:
objectDetails about the user.
Attributes:
A constant which can be used with the problem_type property of a User.
A constant which can be used with the problem_type property of a User.
A constant which can be used with the problem_type property of a User.
A constant which can be used with the problem_type property of a User.
A constant which can be used with the problem_type property of a User.
Gets the compartment_id of this User.
Gets the contact_email of this User.
Gets the country of this User.
Gets the first_name of this User.
[Required] Gets the key of this User.
Gets the last_name of this User.
Gets the organization_name of this User.
Gets the phone of this User.
Gets the problem_type of this User.
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.
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”
- property compartment_id¶
Gets the compartment_id of this User. The OCID of the tenancy.
- Returns
The compartment_id of this User.
- Return type
str
- property 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
- property country¶
Gets the country of this User. The country of the user.
- Returns
The country of this User.
- Return type
str
- property first_name¶
Gets the first_name of this User. The user’s first name.
- Returns
The first_name of this User.
- Return type
str
- property key¶
[Required] Gets the key of this User. A unique identifier for the user.
- Returns
The key of this User.
- Return type
str
- property last_name¶
Gets the last_name of this User. The user’s last name.
- Returns
The last_name of this User.
- Return type
str
- property 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
- property phone¶
Gets the phone of this User. The user’s contact phone number.
- Returns
The phone of this User.
- Return type
str
- property problem_type¶
Gets the problem_type of this User. The kind of support request (type of support request). For information about ACCOUNT support requests, see Creating a Billing Support Request. For information about LIMIT support requests, see Creating a Service Limit Increase Request. For information about TECH support requests, see Creating a Technical Support Request.
Allowed values for this property are: “LIMIT”, “LEGACY_LIMIT”, “TECH”, “ACCOUNT”, “TAXONOMY”
- Returns
The problem_type of this User.
- Return type
str
- property timezone¶
Gets the timezone of this User. The timezone of the user.
- Returns
The timezone of this User.
- Return type
str