Class Attachment
Description of Attachment.
Inherited Members
Namespace: Oci.MarketplaceprivateofferService.Models
Assembly: OCI.DotNetSDK.Marketplaceprivateoffer.dll
Syntax
public class AttachmentProperties
BuyerCompartmentId
Declaration
[JsonProperty(PropertyName = "buyerCompartmentId")]
public string BuyerCompartmentId { get; set; }Property Value
| Type | Description | 
|---|---|
| string | OCID of the buyer's tenancy (root compartment). | 
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
DisplayName
Declaration
[Required(ErrorMessage = "DisplayName is required.")]
[JsonProperty(PropertyName = "displayName")]
public string DisplayName { get; set; }Property Value
| Type | Description | 
|---|---|
| string | The name used to refer to the uploaded data. | 
Remarks
Required
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
LifecycleState
Declaration
[Required(ErrorMessage = "LifecycleState is required.")]
[JsonProperty(PropertyName = "lifecycleState")]
[JsonConverter(typeof(ResponseEnumConverter))]
public Attachment.LifecycleStateEnum? LifecycleState { get; set; }Property Value
| Type | Description | 
|---|---|
| Attachment.LifecycleStateEnum? | The current state of the Offer. | 
Remarks
Required
MimeType
Declaration
[JsonProperty(PropertyName = "mimeType")]
public string MimeType { get; set; }Property Value
| Type | Description | 
|---|---|
| string | The MIME type of the uploaded data. | 
OfferId
Declaration
[Required(ErrorMessage = "OfferId is required.")]
[JsonProperty(PropertyName = "offerId")]
public string OfferId { get; set; }Property Value
| Type | Description | 
|---|---|
| string | Unique identifier of the associated offer that is immutable on creation | 
Remarks
Required
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
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
Type
Declaration
[Required(ErrorMessage = "Type is required.")]
[JsonProperty(PropertyName = "type")]
[JsonConverter(typeof(ResponseEnumConverter))]
public Attachment.TypeEnum? Type { get; set; }Property Value
| Type | Description | 
|---|---|
| Attachment.TypeEnum? | The type of offer attachment. | 
Remarks
Required