OfferSummary¶
-
class
oci.marketplace_publisher.models.
OfferSummary
(**kwargs)¶ Bases:
object
Summary of the Offers.
Methods
__init__
(**kwargs)Initializes a new OfferSummary object with values from keyword arguments. Attributes
buyer_compartment_id
[Required] Gets the buyer_compartment_id of this OfferSummary. buyer_information
Gets the buyer_information of this OfferSummary. defined_tags
[Required] Gets the defined_tags of this OfferSummary. display_name
[Required] Gets the display_name of this OfferSummary. freeform_tags
[Required] Gets the freeform_tags of this OfferSummary. id
[Required] Gets the id of this OfferSummary. lifecycle_details
Gets the lifecycle_details of this OfferSummary. lifecycle_state
[Required] Gets the lifecycle_state of this OfferSummary. offer_status
Gets the offer_status of this OfferSummary. pricing
Gets the pricing of this OfferSummary. seller_compartment_id
[Required] Gets the seller_compartment_id of this OfferSummary. seller_information
Gets the seller_information of this OfferSummary. time_accept_by
Gets the time_accept_by of this OfferSummary. time_accepted
Gets the time_accepted of this OfferSummary. time_created
[Required] Gets the time_created of this OfferSummary. time_offer_end
Gets the time_offer_end of this OfferSummary. time_start_date
Gets the time_start_date of this OfferSummary. time_updated
Gets the time_updated of this OfferSummary. -
__init__
(**kwargs)¶ Initializes a new OfferSummary 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 OfferSummary.
- display_name (str) – The value to assign to the display_name property of this OfferSummary.
- buyer_compartment_id (str) – The value to assign to the buyer_compartment_id property of this OfferSummary.
- seller_compartment_id (str) – The value to assign to the seller_compartment_id property of this OfferSummary.
- time_created (datetime) – The value to assign to the time_created property of this OfferSummary.
- time_updated (datetime) – The value to assign to the time_updated property of this OfferSummary.
- time_accept_by (datetime) – The value to assign to the time_accept_by property of this OfferSummary.
- time_accepted (datetime) – The value to assign to the time_accepted property of this OfferSummary.
- time_start_date (datetime) – The value to assign to the time_start_date property of this OfferSummary.
- time_offer_end (datetime) – The value to assign to the time_offer_end property of this OfferSummary.
- lifecycle_state (str) – The value to assign to the lifecycle_state property of this OfferSummary.
- lifecycle_details (str) – The value to assign to the lifecycle_details property of this OfferSummary.
- offer_status (str) – The value to assign to the offer_status property of this OfferSummary.
- buyer_information (oci.marketplace_publisher.models.BuyerInformation) – The value to assign to the buyer_information property of this OfferSummary.
- seller_information (oci.marketplace_publisher.models.SellerInformation) – The value to assign to the seller_information property of this OfferSummary.
- pricing (oci.marketplace_publisher.models.Pricing) – The value to assign to the pricing property of this OfferSummary.
- freeform_tags (dict(str, str)) – The value to assign to the freeform_tags property of this OfferSummary.
- defined_tags (dict(str, dict(str, object))) – The value to assign to the defined_tags property of this OfferSummary.
-
buyer_compartment_id
¶ [Required] Gets the buyer_compartment_id of this OfferSummary. Ocid of the buyer tenancy.
Returns: The buyer_compartment_id of this OfferSummary. Return type: str
-
buyer_information
¶ Gets the buyer_information of this OfferSummary.
Returns: The buyer_information of this OfferSummary. Return type: oci.marketplace_publisher.models.BuyerInformation
[Required] Gets the defined_tags of this OfferSummary. 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 OfferSummary. Return type: dict(str, dict(str, object))
-
display_name
¶ [Required] Gets the display_name of this OfferSummary. Offer Identifier, can be renamed
Returns: The display_name of this OfferSummary. Return type: str
[Required] Gets the freeform_tags of this OfferSummary. 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 OfferSummary. Return type: dict(str, str)
-
id
¶ [Required] Gets the id of this OfferSummary. Unique identifier that is immutable on creation
Returns: The id of this OfferSummary. Return type: str
-
lifecycle_details
¶ Gets the lifecycle_details of this OfferSummary. A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.
Returns: The lifecycle_details of this OfferSummary. Return type: str
-
lifecycle_state
¶ [Required] Gets the lifecycle_state of this OfferSummary. The current state of the Offer.
Returns: The lifecycle_state of this OfferSummary. Return type: str
-
offer_status
¶ Gets the offer_status of this OfferSummary. The human readable representation of where the offer is at in it’s contract lifecycle.
Returns: The offer_status of this OfferSummary. Return type: str
-
pricing
¶ Gets the pricing of this OfferSummary.
Returns: The pricing of this OfferSummary. Return type: oci.marketplace_publisher.models.Pricing
-
seller_compartment_id
¶ [Required] Gets the seller_compartment_id of this OfferSummary. Ocid of the seller tenancy.
Returns: The seller_compartment_id of this OfferSummary. Return type: str
-
seller_information
¶ Gets the seller_information of this OfferSummary.
Returns: The seller_information of this OfferSummary. Return type: oci.marketplace_publisher.models.SellerInformation
-
time_accept_by
¶ Gets the time_accept_by of this OfferSummary. The time the Offer must be accepted by the Buyer before the Offer becomes invalid. An RFC3339 formatted datetime string
Returns: The time_accept_by of this OfferSummary. Return type: datetime
-
time_accepted
¶ Gets the time_accepted of this OfferSummary. The time the Offer was accepted by the Buyer of the Offer. An RFC3339 formatted datetime string
Returns: The time_accepted of this OfferSummary. Return type: datetime
-
time_created
¶ [Required] Gets the time_created of this OfferSummary. The time the the Offer was created. An RFC3339 formatted datetime string
Returns: The time_created of this OfferSummary. Return type: datetime
-
time_offer_end
¶ Gets the time_offer_end of this OfferSummary. The time the accepted Offer will end. An RFC3339 formatted datetime string
Returns: The time_offer_end of this OfferSummary. Return type: datetime
-
time_start_date
¶ Gets the time_start_date of this OfferSummary. The time the Offer will become active after it has been accepted by the Buyer. An RFC3339 formatted datetime string
Returns: The time_start_date of this OfferSummary. Return type: datetime
-
time_updated
¶ Gets the time_updated of this OfferSummary. The time the Offer was updated. An RFC3339 formatted datetime string
Returns: The time_updated of this OfferSummary. Return type: datetime
-