Class Listing
The model for the Marketplace Publisher listing.
Inherited Members
Namespace: Oci.MarketplacepublisherService.Models
Assembly: OCI.DotNetSDK.Marketplacepublisher.dll
Syntax
public class Listing
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"}} |
ExtendedMetadata
Declaration
[JsonProperty(PropertyName = "extendedMetadata")]
public Dictionary<string, string> ExtendedMetadata { get; set; }
Property Value
Type | Description |
---|---|
Dictionary<string, string> | Additional metadata key/value pairs for the listing summary.
|
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. |
Remarks
Required
LifecycleState
Declaration
[JsonProperty(PropertyName = "lifecycleState")]
[JsonConverter(typeof(ResponseEnumConverter))]
public Listing.LifecycleStateEnum? LifecycleState { get; set; }
Property Value
Type | Description |
---|---|
Listing.LifecycleStateEnum? | The current state of the Listing. |
ListingType
Declaration
[Required(ErrorMessage = "ListingType is required.")]
[JsonProperty(PropertyName = "listingType")]
[JsonConverter(typeof(ResponseEnumConverter))]
public ListingType? ListingType { get; set; }
Property Value
Type | Description |
---|---|
ListingType? | The listing type for the listing. |
Remarks
Required
Name
Declaration
[Required(ErrorMessage = "Name is required.")]
[JsonProperty(PropertyName = "name")]
public string Name { get; set; }
Property Value
Type | Description |
---|---|
string | Name for the listing. |
Remarks
Required
PackageType
Declaration
[Required(ErrorMessage = "PackageType is required.")]
[JsonProperty(PropertyName = "packageType")]
[JsonConverter(typeof(ResponseEnumConverter))]
public PackageType? PackageType { get; set; }
Property Value
Type | Description |
---|---|
PackageType? | The package type for the listing. |
Remarks
Required
PublisherId
Declaration
[Required(ErrorMessage = "PublisherId is required.")]
[JsonProperty(PropertyName = "publisherId")]
public string PublisherId { get; set; }
Property Value
Type | Description |
---|---|
string | The unique identifier for the publisher. |
Remarks
Required
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 date and time the listing was created, in the format defined by RFC3339.
|
Remarks
Required
TimeUpdated
Declaration
[Required(ErrorMessage = "TimeUpdated is required.")]
[JsonProperty(PropertyName = "timeUpdated")]
public DateTime? TimeUpdated { get; set; }
Property Value
Type | Description |
---|---|
DateTime? | The date and time the listing was updated, in the format defined by RFC3339.
|
Remarks
Required