OccCustomer¶
- class oci.capacity_management.models.OccCustomer(**kwargs)¶
Bases:
objectThe details about the customer.
Attributes:
A constant which can be used with the status property of a OccCustomer.
A constant which can be used with the status property of a OccCustomer.
Gets the description of this OccCustomer.
[Required] Gets the display_name of this OccCustomer.
[Required] Gets the occ_customer_group_id of this OccCustomer.
[Required] Gets the status of this OccCustomer.
[Required] Gets the tenancy_id of this OccCustomer.
Methods:
__init__(**kwargs)Initializes a new OccCustomer object with values from keyword arguments.
- STATUS_DISABLED = 'DISABLED'¶
A constant which can be used with the status property of a OccCustomer. This constant has a value of “DISABLED”
- STATUS_ENABLED = 'ENABLED'¶
A constant which can be used with the status property of a OccCustomer. This constant has a value of “ENABLED”
- __init__(**kwargs)¶
Initializes a new OccCustomer object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
- Parameters
occ_customer_group_id (str) – The value to assign to the occ_customer_group_id property of this OccCustomer.
tenancy_id (str) – The value to assign to the tenancy_id property of this OccCustomer.
display_name (str) – The value to assign to the display_name property of this OccCustomer.
description (str) – The value to assign to the description property of this OccCustomer.
status (str) – The value to assign to the status property of this OccCustomer. Allowed values for this property are: “ENABLED”, “DISABLED”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
- property description¶
Gets the description of this OccCustomer. The description about the customer group.
- Returns
The description of this OccCustomer.
- Return type
str
- property display_name¶
[Required] Gets the display_name of this OccCustomer. The display name for the customer
- Returns
The display_name of this OccCustomer.
- Return type
str
- property occ_customer_group_id¶
[Required] Gets the occ_customer_group_id of this OccCustomer. The OCID of the customer group.
- Returns
The occ_customer_group_id of this OccCustomer.
- Return type
str
- property status¶
[Required] Gets the status of this OccCustomer. To determine whether the customer is enabled/disabled.`
Allowed values for this property are: “ENABLED”, “DISABLED”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
- Returns
The status of this OccCustomer.
- Return type
str
- property tenancy_id¶
[Required] Gets the tenancy_id of this OccCustomer. The OCID of the tenancy belonging to the customer.
- Returns
The tenancy_id of this OccCustomer.
- Return type
str