Show / Hide Table of Contents

Class Offer

Description of Offer.

Inheritance
object
Offer
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Oci.MarketplaceprivateofferService.Models
Assembly: OCI.DotNetSDK.Marketplaceprivateoffer.dll
Syntax
public class Offer

Properties

BuyerCompartmentId

Declaration
[JsonProperty(PropertyName = "buyerCompartmentId")]
public string BuyerCompartmentId { get; set; }
Property Value
Type Description
string

OCID of the buyer's tenancy (root compartment).

BuyerInformation

Declaration
[JsonProperty(PropertyName = "buyerInformation")]
public BuyerInformation BuyerInformation { get; set; }
Property Value
Type Description
BuyerInformation

DefinedTags

Declaration
[Required(ErrorMessage = "DefinedTags is required.")]
[JsonProperty(PropertyName = "definedTags")]
public Dictionary<string, Dictionary<string, object>> DefinedTags { get; set; }
Property Value
Type Description
Dictionary<string, Dictionary<string, object>>

Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace": {"bar-key": "value"}}

Remarks

Required

Description

Declaration
[JsonProperty(PropertyName = "description")]
public string Description { get; set; }
Property Value
Type Description
string

The description of the offer

DisplayName

Declaration
[Required(ErrorMessage = "DisplayName is required.")]
[JsonProperty(PropertyName = "displayName")]
public string DisplayName { get; set; }
Property Value
Type Description
string

Offer Identifier, can be renamed

Remarks

Required

Duration

Declaration
[JsonProperty(PropertyName = "duration")]
public string Duration { get; set; }
Property Value
Type Description
string

Duration the Offer will be active after its start date. An ISO8601 extended formatted string.

FreeformTags

Declaration
[Required(ErrorMessage = "FreeformTags is required.")]
[JsonProperty(PropertyName = "freeformTags")]
public Dictionary<string, string> FreeformTags { get; set; }
Property Value
Type Description
Dictionary<string, string>

Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}

Remarks

Required

Id

Declaration
[Required(ErrorMessage = "Id is required.")]
[JsonProperty(PropertyName = "id")]
public string Id { get; set; }
Property Value
Type Description
string

Unique identifier that is immutable on creation

Remarks

Required

LifecycleDetails

Declaration
[JsonProperty(PropertyName = "lifecycleDetails")]
public string LifecycleDetails { get; set; }
Property Value
Type Description
string

A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.

LifecycleState

Declaration
[Required(ErrorMessage = "LifecycleState is required.")]
[JsonProperty(PropertyName = "lifecycleState")]
[JsonConverter(typeof(ResponseEnumConverter))]
public Offer.LifecycleStateEnum? LifecycleState { get; set; }
Property Value
Type Description
Offer.LifecycleStateEnum?

The current state of the Offer.

Remarks

Required

OfferStatus

Declaration
[JsonProperty(PropertyName = "offerStatus")]
[JsonConverter(typeof(ResponseEnumConverter))]
public Offer.OfferStatusEnum? OfferStatus { get; set; }
Property Value
Type Description
Offer.OfferStatusEnum?

A substate for lifeCycleStatus to give a more human readable version of the offer

Pricing

Declaration
[JsonProperty(PropertyName = "pricing")]
public Pricing Pricing { get; set; }
Property Value
Type Description
Pricing

PublisherSummary

Declaration
[JsonProperty(PropertyName = "publisherSummary")]
public PublisherSummary PublisherSummary { get; set; }
Property Value
Type Description
PublisherSummary

ResourceBundles

Declaration
[JsonProperty(PropertyName = "resourceBundles")]
public List<ResourceBundle> ResourceBundles { get; set; }
Property Value
Type Description
List<ResourceBundle>

A list of Resource Bundles associated with an Offer.

SellerCompartmentId

Declaration
[Required(ErrorMessage = "SellerCompartmentId is required.")]
[JsonProperty(PropertyName = "sellerCompartmentId")]
public string SellerCompartmentId { get; set; }
Property Value
Type Description
string

OCID of the seller's tenancy (root compartment).

Remarks

Required

SellerInformation

Declaration
[JsonProperty(PropertyName = "sellerInformation")]
public SellerInformation SellerInformation { get; set; }
Property Value
Type Description
SellerInformation

TimeAcceptBy

Declaration
[JsonProperty(PropertyName = "timeAcceptBy")]
public DateTime? TimeAcceptBy { get; set; }
Property Value
Type Description
DateTime?

The time the Offer must be accepted by the Buyer before the Offer becomes invalid. An RFC3339 formatted datetime string

TimeAccepted

Declaration
[JsonProperty(PropertyName = "timeAccepted")]
public DateTime? TimeAccepted { get; set; }
Property Value
Type Description
DateTime?

The time the Offer was accepted by the Buyer of the Offer. An RFC3339 formatted datetime string

TimeCreated

Declaration
[Required(ErrorMessage = "TimeCreated is required.")]
[JsonProperty(PropertyName = "timeCreated")]
public DateTime? TimeCreated { get; set; }
Property Value
Type Description
DateTime?

The time the the Offer was created. An RFC3339 formatted datetime string

Remarks

Required

TimeOfferEnd

Declaration
[JsonProperty(PropertyName = "timeOfferEnd")]
public DateTime? TimeOfferEnd { get; set; }
Property Value
Type Description
DateTime?

The time the accepted Offer will end. An RFC3339 formatted datetime string

TimeStartDate

Declaration
[JsonProperty(PropertyName = "timeStartDate")]
public DateTime? TimeStartDate { get; set; }
Property Value
Type Description
DateTime?

The time the Offer will become active after it has been accepted by the Buyer. An RFC3339 formatted datetime string

TimeUpdated

Declaration
[JsonProperty(PropertyName = "timeUpdated")]
public DateTime? TimeUpdated { get; set; }
Property Value
Type Description
DateTime?

The time the Offer was updated. An RFC3339 formatted datetime string

In this article
Back to top