CreateUserDetails

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

Bases: object

Details for creating a new user.

Attributes:

PROBLEM_TYPE_ACCOUNT

A constant which can be used with the problem_type property of a CreateUserDetails.

PROBLEM_TYPE_LEGACY_LIMIT

A constant which can be used with the problem_type property of a CreateUserDetails.

PROBLEM_TYPE_LIMIT

A constant which can be used with the problem_type property of a CreateUserDetails.

PROBLEM_TYPE_TAXONOMY

A constant which can be used with the problem_type property of a CreateUserDetails.

PROBLEM_TYPE_TECH

A constant which can be used with the problem_type property of a CreateUserDetails.

compartment_id

[Required] Gets the compartment_id of this CreateUserDetails.

first_name

[Required] Gets the first_name of this CreateUserDetails.

last_name

[Required] Gets the last_name of this CreateUserDetails.

organization_name

Gets the organization_name of this CreateUserDetails.

phone

Gets the phone of this CreateUserDetails.

problem_type

[Required] Gets the problem_type of this CreateUserDetails.

timezone

Gets the timezone of this CreateUserDetails.

Methods:

__init__(**kwargs)

Initializes a new CreateUserDetails object with values from keyword arguments.

PROBLEM_TYPE_ACCOUNT = 'ACCOUNT'

A constant which can be used with the problem_type property of a CreateUserDetails. 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 CreateUserDetails. 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 CreateUserDetails. This constant has a value of “LIMIT”

PROBLEM_TYPE_TAXONOMY = 'TAXONOMY'

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

PROBLEM_TYPE_TECH = 'TECH'

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

__init__(**kwargs)

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

Parameters
  • compartment_id (str) – The value to assign to the compartment_id property of this CreateUserDetails.

  • first_name (str) – The value to assign to the first_name property of this CreateUserDetails.

  • last_name (str) – The value to assign to the last_name property of this CreateUserDetails.

  • phone (str) – The value to assign to the phone property of this CreateUserDetails.

  • timezone (str) – The value to assign to the timezone property of this CreateUserDetails.

  • organization_name (str) – The value to assign to the organization_name property of this CreateUserDetails.

  • problem_type (str) – The value to assign to the problem_type property of this CreateUserDetails. Allowed values for this property are: “LIMIT”, “LEGACY_LIMIT”, “TECH”, “ACCOUNT”, “TAXONOMY”

property compartment_id

[Required] Gets the compartment_id of this CreateUserDetails. The OCID of the tenancy.

Returns

The compartment_id of this CreateUserDetails.

Return type

str

property first_name

[Required] Gets the first_name of this CreateUserDetails. First name of the user.

Returns

The first_name of this CreateUserDetails.

Return type

str

property last_name

[Required] Gets the last_name of this CreateUserDetails. Last name of the user.

Returns

The last_name of this CreateUserDetails.

Return type

str

property organization_name

Gets the organization_name of this CreateUserDetails. Organization of the user.

Returns

The organization_name of this CreateUserDetails.

Return type

str

property phone

Gets the phone of this CreateUserDetails. Contact number of the user.

Returns

The phone of this CreateUserDetails.

Return type

str

property problem_type

[Required] Gets the problem_type of this CreateUserDetails. 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 CreateUserDetails.

Return type

str

property timezone

Gets the timezone of this CreateUserDetails. Timezone of the user.

Returns

The timezone of this CreateUserDetails.

Return type

str