InternalOccmDemandSignalDelivery

class oci.capacity_management.models.InternalOccmDemandSignalDelivery(**kwargs)

Bases: object

An internal model that contains information about the demand signal item delivery from OCI to customers.

Attributes:

LIFECYCLE_DETAILS_ACCEPTED

A constant which can be used with the lifecycle_details property of a InternalOccmDemandSignalDelivery.

LIFECYCLE_DETAILS_DECLINED

A constant which can be used with the lifecycle_details property of a InternalOccmDemandSignalDelivery.

LIFECYCLE_DETAILS_DELIVERED

A constant which can be used with the lifecycle_details property of a InternalOccmDemandSignalDelivery.

LIFECYCLE_DETAILS_IN_REVIEW

A constant which can be used with the lifecycle_details property of a InternalOccmDemandSignalDelivery.

LIFECYCLE_DETAILS_SUBMITTED

A constant which can be used with the lifecycle_details property of a InternalOccmDemandSignalDelivery.

LIFECYCLE_STATE_ACTIVE

A constant which can be used with the lifecycle_state property of a InternalOccmDemandSignalDelivery.

LIFECYCLE_STATE_CREATING

A constant which can be used with the lifecycle_state property of a InternalOccmDemandSignalDelivery.

LIFECYCLE_STATE_DELETED

A constant which can be used with the lifecycle_state property of a InternalOccmDemandSignalDelivery.

LIFECYCLE_STATE_DELETING

A constant which can be used with the lifecycle_state property of a InternalOccmDemandSignalDelivery.

LIFECYCLE_STATE_FAILED

A constant which can be used with the lifecycle_state property of a InternalOccmDemandSignalDelivery.

LIFECYCLE_STATE_UPDATING

A constant which can be used with the lifecycle_state property of a InternalOccmDemandSignalDelivery.

accepted_quantity

[Required] Gets the accepted_quantity of this InternalOccmDemandSignalDelivery.

compartment_id

[Required] Gets the compartment_id of this InternalOccmDemandSignalDelivery.

defined_tags

Gets the defined_tags of this InternalOccmDemandSignalDelivery.

demand_signal_id

[Required] Gets the demand_signal_id of this InternalOccmDemandSignalDelivery.

demand_signal_item_id

[Required] Gets the demand_signal_item_id of this InternalOccmDemandSignalDelivery.

freeform_tags

Gets the freeform_tags of this InternalOccmDemandSignalDelivery.

id

[Required] Gets the id of this InternalOccmDemandSignalDelivery.

justification

Gets the justification of this InternalOccmDemandSignalDelivery.

lifecycle_details

[Required] Gets the lifecycle_details of this InternalOccmDemandSignalDelivery.

lifecycle_state

[Required] Gets the lifecycle_state of this InternalOccmDemandSignalDelivery.

notes

Gets the notes of this InternalOccmDemandSignalDelivery.

occ_customer_group_id

[Required] Gets the occ_customer_group_id of this InternalOccmDemandSignalDelivery.

system_tags

Gets the system_tags of this InternalOccmDemandSignalDelivery.

time_delivered

Gets the time_delivered of this InternalOccmDemandSignalDelivery.

Methods:

__init__(**kwargs)

Initializes a new InternalOccmDemandSignalDelivery object with values from keyword arguments.

LIFECYCLE_DETAILS_ACCEPTED = 'ACCEPTED'

A constant which can be used with the lifecycle_details property of a InternalOccmDemandSignalDelivery. This constant has a value of “ACCEPTED”

LIFECYCLE_DETAILS_DECLINED = 'DECLINED'

A constant which can be used with the lifecycle_details property of a InternalOccmDemandSignalDelivery. This constant has a value of “DECLINED”

LIFECYCLE_DETAILS_DELIVERED = 'DELIVERED'

A constant which can be used with the lifecycle_details property of a InternalOccmDemandSignalDelivery. This constant has a value of “DELIVERED”

LIFECYCLE_DETAILS_IN_REVIEW = 'IN_REVIEW'

A constant which can be used with the lifecycle_details property of a InternalOccmDemandSignalDelivery. This constant has a value of “IN_REVIEW”

LIFECYCLE_DETAILS_SUBMITTED = 'SUBMITTED'

A constant which can be used with the lifecycle_details property of a InternalOccmDemandSignalDelivery. This constant has a value of “SUBMITTED”

LIFECYCLE_STATE_ACTIVE = 'ACTIVE'

A constant which can be used with the lifecycle_state property of a InternalOccmDemandSignalDelivery. This constant has a value of “ACTIVE”

LIFECYCLE_STATE_CREATING = 'CREATING'

A constant which can be used with the lifecycle_state property of a InternalOccmDemandSignalDelivery. This constant has a value of “CREATING”

LIFECYCLE_STATE_DELETED = 'DELETED'

A constant which can be used with the lifecycle_state property of a InternalOccmDemandSignalDelivery. This constant has a value of “DELETED”

LIFECYCLE_STATE_DELETING = 'DELETING'

A constant which can be used with the lifecycle_state property of a InternalOccmDemandSignalDelivery. This constant has a value of “DELETING”

LIFECYCLE_STATE_FAILED = 'FAILED'

A constant which can be used with the lifecycle_state property of a InternalOccmDemandSignalDelivery. This constant has a value of “FAILED”

LIFECYCLE_STATE_UPDATING = 'UPDATING'

A constant which can be used with the lifecycle_state property of a InternalOccmDemandSignalDelivery. This constant has a value of “UPDATING”

__init__(**kwargs)

Initializes a new InternalOccmDemandSignalDelivery 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 InternalOccmDemandSignalDelivery.

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

  • occ_customer_group_id (str) – The value to assign to the occ_customer_group_id property of this InternalOccmDemandSignalDelivery.

  • demand_signal_id (str) – The value to assign to the demand_signal_id property of this InternalOccmDemandSignalDelivery.

  • demand_signal_item_id (str) – The value to assign to the demand_signal_item_id property of this InternalOccmDemandSignalDelivery.

  • accepted_quantity (int) – The value to assign to the accepted_quantity property of this InternalOccmDemandSignalDelivery.

  • lifecycle_state (str) – The value to assign to the lifecycle_state property of this InternalOccmDemandSignalDelivery. Allowed values for this property are: “CREATING”, “ACTIVE”, “UPDATING”, “DELETED”, “DELETING”, “FAILED”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

  • lifecycle_details (str) – The value to assign to the lifecycle_details property of this InternalOccmDemandSignalDelivery. Allowed values for this property are: “SUBMITTED”, “IN_REVIEW”, “ACCEPTED”, “DECLINED”, “DELIVERED”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

  • justification (str) – The value to assign to the justification property of this InternalOccmDemandSignalDelivery.

  • time_delivered (datetime) – The value to assign to the time_delivered property of this InternalOccmDemandSignalDelivery.

  • notes (str) – The value to assign to the notes property of this InternalOccmDemandSignalDelivery.

  • freeform_tags (dict(str, str)) – The value to assign to the freeform_tags property of this InternalOccmDemandSignalDelivery.

  • defined_tags (dict(str, dict(str, object))) – The value to assign to the defined_tags property of this InternalOccmDemandSignalDelivery.

  • system_tags (dict(str, dict(str, object))) – The value to assign to the system_tags property of this InternalOccmDemandSignalDelivery.

property accepted_quantity

[Required] Gets the accepted_quantity of this InternalOccmDemandSignalDelivery. The quantity of the resource that OCI will supply to the customer.

Returns

The accepted_quantity of this InternalOccmDemandSignalDelivery.

Return type

int

property compartment_id

[Required] Gets the compartment_id of this InternalOccmDemandSignalDelivery. The OCID of the tenancy from which the demand signal delivery resource is created.

Returns

The compartment_id of this InternalOccmDemandSignalDelivery.

Return type

str

property defined_tags

Gets the defined_tags of this InternalOccmDemandSignalDelivery. Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {“foo-namespace”: {“bar-key”: “value”}}

Returns

The defined_tags of this InternalOccmDemandSignalDelivery.

Return type

dict(str, dict(str, object))

property demand_signal_id

[Required] Gets the demand_signal_id of this InternalOccmDemandSignalDelivery. The OCID of the demand signal under which this delivery will be grouped.

Returns

The demand_signal_id of this InternalOccmDemandSignalDelivery.

Return type

str

property demand_signal_item_id

[Required] Gets the demand_signal_item_id of this InternalOccmDemandSignalDelivery. The OCID of the demand signal item corresponding to which this delivery is made.

Returns

The demand_signal_item_id of this InternalOccmDemandSignalDelivery.

Return type

str

property freeform_tags

Gets the freeform_tags of this InternalOccmDemandSignalDelivery. Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {“bar-key”: “value”}

Returns

The freeform_tags of this InternalOccmDemandSignalDelivery.

Return type

dict(str, str)

property id

[Required] Gets the id of this InternalOccmDemandSignalDelivery. The OCID of this demand signal delivery resource.

Returns

The id of this InternalOccmDemandSignalDelivery.

Return type

str

property justification

Gets the justification of this InternalOccmDemandSignalDelivery. This field could be used by OCI to communicate the reason for accepting or declining the request.

Returns

The justification of this InternalOccmDemandSignalDelivery.

Return type

str

property lifecycle_details

[Required] Gets the lifecycle_details of this InternalOccmDemandSignalDelivery. The enum values corresponding to the various states associated with the delivery resource.

SUBMITTED -> The state where operators have started working and thinking on the quantity that OCI can delivery for the corresponding demand signal item. IN_REVIEW -> The operators are waiting on approvals from different teams/folks in this state. ACCEPTED -> OCI has accepted your resource request and will deliver the quantity as specified by acceptance quantity of this resource. DECLINED -> OCI has declined you resource request. DELIVERED -> OCI has delivered the accepted quantity to the customers.

NOTE: The resource becomes visible to customers in ACCEPTED, DECLINED or DELIVERED state.

Allowed values for this property are: “SUBMITTED”, “IN_REVIEW”, “ACCEPTED”, “DECLINED”, “DELIVERED”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

Returns

The lifecycle_details of this InternalOccmDemandSignalDelivery.

Return type

str

property lifecycle_state

[Required] Gets the lifecycle_state of this InternalOccmDemandSignalDelivery. The current lifecycle state of the resource.

Allowed values for this property are: “CREATING”, “ACTIVE”, “UPDATING”, “DELETED”, “DELETING”, “FAILED”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

Returns

The lifecycle_state of this InternalOccmDemandSignalDelivery.

Return type

str

property notes

Gets the notes of this InternalOccmDemandSignalDelivery. This field acts as a notes section for operators.

Returns

The notes of this InternalOccmDemandSignalDelivery.

Return type

str

property occ_customer_group_id

[Required] Gets the occ_customer_group_id of this InternalOccmDemandSignalDelivery. The OCID of the corresponding customer group to which this demand signal delivery resource belongs to.

Returns

The occ_customer_group_id of this InternalOccmDemandSignalDelivery.

Return type

str

property system_tags

Gets the system_tags of this InternalOccmDemandSignalDelivery. System tags for this resource. Each key is predefined and scoped to a namespace. Example: {“orcl-cloud”: {“free-tier-retained”: “true”}}

Returns

The system_tags of this InternalOccmDemandSignalDelivery.

Return type

dict(str, dict(str, object))

property time_delivered

Gets the time_delivered of this InternalOccmDemandSignalDelivery. The date on which the OCI delivered the resource to the customers. The default value for this will be the corresponding demand signal item resource’s need by date.

Returns

The time_delivered of this InternalOccmDemandSignalDelivery.

Return type

datetime