Show / Hide Table of Contents

Class PublicationPackage

A base object for all types of publication packages.

Inheritance
object
PublicationPackage
ImagePublicationPackage
OrchestrationPublicationPackage
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
[JsonConverter(typeof(PublicationPackageModelConverter))]
public class PublicationPackage

Properties

Description

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

A description of the package.

ListingId

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

The ID of the listing that the specified package belongs to.

Remarks

Required

OperatingSystem

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

ResourceId

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

The unique identifier for the package resource.

TimeCreated

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

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

Version

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

The package version.

Remarks

Required

In this article
Back to top