Class CreatePublicationDetails
The model for the parameters needed to create a publication.
Inherited Members
Namespace: Oci.MarketplaceService.Models
Assembly: OCI.DotNetSDK.Marketplace.dll
Syntax
public class CreatePublicationDetails
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 you want to create the publication. |
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"} |
IsAgreementAcknowledged
Declaration
[Required(ErrorMessage = "IsAgreementAcknowledged is required.")]
[JsonProperty(PropertyName = "isAgreementAcknowledged")]
public bool? IsAgreementAcknowledged { get; set; }
Property Value
Type | Description |
---|---|
bool? | Whether the publisher acknowledged that they have the right and authority to share the contents of the publication and that they accepted the Oracle terms of use agreements required to create a publication. |
Remarks
Required
ListingType
Declaration
[Required(ErrorMessage = "ListingType is required.")]
[JsonProperty(PropertyName = "listingType")]
[JsonConverter(typeof(StringEnumConverter))]
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
PackageDetails
Declaration
[Required(ErrorMessage = "PackageDetails is required.")]
[JsonProperty(PropertyName = "packageDetails")]
public CreatePublicationPackage PackageDetails { get; set; }
Property Value
Type | Description |
---|---|
CreatePublicationPackage |
Remarks
Required
ShortDescription
Declaration
[Required(ErrorMessage = "ShortDescription is required.")]
[JsonProperty(PropertyName = "shortDescription")]
public string ShortDescription { get; set; }
Property Value
Type | Description |
---|---|
string | A short description of the publication to use in the listing. |
Remarks
Required
SupportContacts
Declaration
[Required(ErrorMessage = "SupportContacts is required.")]
[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. |
Remarks
Required