Lead¶
- class oci.marketplace_publisher.models.Lead(**kwargs)¶
Bases:
objectDetails of Lead
Attributes:
A constant which can be used with the lifecycle_state property of a Lead.
A constant which can be used with the lifecycle_state property of a Lead.
Gets the additional_info of this Lead.
[Required] Gets the compartment_id of this Lead.
[Required] Gets the id of this Lead.
[Required] Gets the lifecycle_state of this Lead.
[Required] Gets the listing_id of this Lead.
[Required] Gets the listing_name of this Lead.
Gets the time_created of this Lead.
Methods:
__init__(**kwargs)Initializes a new Lead object with values from keyword arguments.
- LIFECYCLE_STATE_ACTIVE = 'ACTIVE'¶
A constant which can be used with the lifecycle_state property of a Lead. This constant has a value of “ACTIVE”
- LIFECYCLE_STATE_DELETED = 'DELETED'¶
A constant which can be used with the lifecycle_state property of a Lead. This constant has a value of “DELETED”
- __init__(**kwargs)¶
Initializes a new Lead object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
- Parameters
id (str) – The value to assign to the id property of this Lead.
listing_id (str) – The value to assign to the listing_id property of this Lead.
listing_name (str) – The value to assign to the listing_name property of this Lead.
compartment_id (str) – The value to assign to the compartment_id property of this Lead.
lifecycle_state (str) – The value to assign to the lifecycle_state property of this Lead. Allowed values for this property are: “ACTIVE”, “DELETED”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
time_created (datetime) – The value to assign to the time_created property of this Lead.
additional_info (oci.marketplace_publisher.models.AdditionalInfo) – The value to assign to the additional_info property of this Lead.
- property additional_info¶
Gets the additional_info of this Lead.
- Returns
The additional_info of this Lead.
- Return type
- property compartment_id¶
[Required] Gets the compartment_id of this Lead. The OCID for the compartment.
- Returns
The compartment_id of this Lead.
- Return type
str
- property id¶
[Required] Gets the id of this Lead. Unique OCID identifier for the lead.
- Returns
The id of this Lead.
- Return type
str
- property lifecycle_state¶
[Required] Gets the lifecycle_state of this Lead. The state for the listing.
Allowed values for this property are: “ACTIVE”, “DELETED”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
- Returns
The lifecycle_state of this Lead.
- Return type
str
- property listing_id¶
[Required] Gets the listing_id of this Lead. The OCID for the listing.
- Returns
The listing_id of this Lead.
- Return type
str
- property listing_name¶
[Required] Gets the listing_name of this Lead. The Name for the listing.
- Returns
The listing_name of this Lead.
- Return type
str