Show / Hide Table of Contents

Class AdminListingRevisionAttachment

A attachment for the listing revision. User can provide an external URL/upload a file

Inheritance
object
AdminListingRevisionAttachment
AdminCustomerSuccessAttachment
AdminRelatedDocumentAttachment
AdminReviewSupportDocumentAttachment
AdminScreenShotAttachment
AdminSupportedServiceAttachment
AdminVideoAttachment
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Oci.MarketplacepublisherService.Models
Assembly: OCI.DotNetSDK.Marketplacepublisher.dll
Syntax
[JsonConverter(typeof(AdminListingRevisionAttachmentModelConverter))]
public class AdminListingRevisionAttachment

Properties

CompartmentId

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

The unique identifier for the compartment.

Remarks

Required

DefinedTags

Declaration
[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"}}

Description

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

Description of the listing revision attachment.

DisplayName

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

Name of the listing revision attachment.

Remarks

Required

FreeformTags

Declaration
[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"}

Id

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

Unique OCID identifier for the listing revision attachment.

Remarks

Required

LifecycleState

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

The current state of the attachment.

Remarks

Required

ListingRevisionId

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

The unique identifier of the listing revision that the specified attachment belongs to.

Remarks

Required

SourceType

Declaration
[JsonProperty(PropertyName = "sourceType")]
[JsonConverter(typeof(StringEnumConverter))]
public ListingRevisionAttachment.SourceTypeEnum? SourceType { get; set; }
Property Value
Type Description
ListingRevisionAttachment.SourceTypeEnum?

Possible values for the publisher listing revision attachments. The source type informs whether the type of attachment for the listing revision is external or internal.

SystemTags

Declaration
[JsonProperty(PropertyName = "systemTags")]
public Dictionary<string, Dictionary<string, object>> SystemTags { get; set; }
Property Value
Type Description
Dictionary<string, Dictionary<string, object>>

System tags for this resource. Each key is predefined and scoped to a namespace. Example: {"orcl-cloud": {"free-tier-retained": "true"}}

TimeCreated

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

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

Remarks

Required

TimeUpdated

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

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

Remarks

Required

In this article
Back to top