Show / Hide Table of Contents

Class Publication

The model for an Oracle Cloud Infrastructure Marketplace publication.

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

Properties

CompartmentId

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

The OCID of the compartment where the publication exists.

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>>

The defined tags associated with this resource, if any. Each key is predefined and scoped to namespaces. For more information, see Resource Tags. Example: {"Operations": {"CostCenter": "42"}}

FreeformTags

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

The freeform tags associated with this resource, if any. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example: {"Department": "Finance"}

Icon

Declaration
[JsonProperty(PropertyName = "icon")]
public UploadData Icon { get; set; }
Property Value
Type Description
UploadData

Id

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

The unique identifier for the publication in Marketplace.

Remarks

Required

LifecycleState

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

The lifecycle state of the publication.

ListingType

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

The publisher category to which the publication belongs. The publisher category informs where the listing appears for use.

Remarks

Required

LongDescription

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

A long description of the publication to use in the listing.

Name

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

The name of the publication, which is also used in the listing.

Remarks

Required

PackageType

Declaration
[JsonProperty(PropertyName = "packageType")]
[JsonConverter(typeof(ResponseEnumConverter))]
public PackageTypeEnum? PackageType { get; set; }
Property Value
Type Description
PackageTypeEnum?

The listing's package type.

ShortDescription

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

A short description of the publication to use in the listing.

SupportContacts

Declaration
[JsonProperty(PropertyName = "supportContacts")]
public List<SupportContact> SupportContacts { get; set; }
Property Value
Type Description
List<SupportContact>

Contact information for getting support from the publisher for the listing.

SupportedOperatingSystems

Declaration
[JsonProperty(PropertyName = "supportedOperatingSystems")]
public List<OperatingSystem> SupportedOperatingSystems { get; set; }
Property Value
Type Description
List<OperatingSystem>

The list of operating systems supprted by the listing.

SystemTags

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

The system tags associated with this resource, if any. The system tags are set by Oracle Cloud Infrastructure services. Each key is predefined and scoped to namespaces. For more information, see Resource Tags. Example: {orcl-cloud: {free-tier-retain: true}}

TimeCreated

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

The date and time the publication was created, expressed in RFC 3339 timestamp format.
Example: 2016-08-25T21:10:29.600Z

In this article
Back to top