Class CreateListingDetails
Details to create a new listing.
Inherited Members
Namespace: Oci.MarketplacepublisherService.Models
Assembly: OCI.DotNetSDK.Marketplacepublisher.dll
Syntax
public class CreateListingDetails
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"}} |
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"} |
ListingType
Declaration
[Required(ErrorMessage = "ListingType is required.")]
[JsonProperty(PropertyName = "listingType")]
[JsonConverter(typeof(StringEnumConverter))]
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 | The name for the listing. |
Remarks
Required
PackageType
Declaration
[Required(ErrorMessage = "PackageType is required.")]
[JsonProperty(PropertyName = "packageType")]
[JsonConverter(typeof(StringEnumConverter))]
public PackageType? PackageType { get; set; }
Property Value
Type | Description |
---|---|
PackageType? | The package type for the listing. |
Remarks
Required