CreatePublicationDetails

class oci.marketplace.models.CreatePublicationDetails(**kwargs)

Bases: object

The model for the parameters needed to create a publication.

Attributes

LISTING_TYPE_COMMUNITY A constant which can be used with the listing_type property of a CreatePublicationDetails.
LISTING_TYPE_PARTNER A constant which can be used with the listing_type property of a CreatePublicationDetails.
LISTING_TYPE_PRIVATE A constant which can be used with the listing_type property of a CreatePublicationDetails.
compartment_id [Required] Gets the compartment_id of this CreatePublicationDetails.
defined_tags Gets the defined_tags of this CreatePublicationDetails.
freeform_tags Gets the freeform_tags of this CreatePublicationDetails.
is_agreement_acknowledged [Required] Gets the is_agreement_acknowledged of this CreatePublicationDetails.
listing_type [Required] Gets the listing_type of this CreatePublicationDetails.
long_description Gets the long_description of this CreatePublicationDetails.
name [Required] Gets the name of this CreatePublicationDetails.
package_details [Required] Gets the package_details of this CreatePublicationDetails.
short_description [Required] Gets the short_description of this CreatePublicationDetails.
support_contacts [Required] Gets the support_contacts of this CreatePublicationDetails.

Methods

__init__(**kwargs) Initializes a new CreatePublicationDetails object with values from keyword arguments.
LISTING_TYPE_COMMUNITY = 'COMMUNITY'

A constant which can be used with the listing_type property of a CreatePublicationDetails. This constant has a value of “COMMUNITY”

LISTING_TYPE_PARTNER = 'PARTNER'

A constant which can be used with the listing_type property of a CreatePublicationDetails. This constant has a value of “PARTNER”

LISTING_TYPE_PRIVATE = 'PRIVATE'

A constant which can be used with the listing_type property of a CreatePublicationDetails. This constant has a value of “PRIVATE”

__init__(**kwargs)

Initializes a new CreatePublicationDetails object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):

Parameters:
  • listing_type (str) – The value to assign to the listing_type property of this CreatePublicationDetails. Allowed values for this property are: “COMMUNITY”, “PARTNER”, “PRIVATE”
  • name (str) – The value to assign to the name property of this CreatePublicationDetails.
  • short_description (str) – The value to assign to the short_description property of this CreatePublicationDetails.
  • long_description (str) – The value to assign to the long_description property of this CreatePublicationDetails.
  • support_contacts (list[oci.marketplace.models.SupportContact]) – The value to assign to the support_contacts property of this CreatePublicationDetails.
  • compartment_id (str) – The value to assign to the compartment_id property of this CreatePublicationDetails.
  • package_details (oci.marketplace.models.CreatePublicationPackage) – The value to assign to the package_details property of this CreatePublicationDetails.
  • is_agreement_acknowledged (bool) – The value to assign to the is_agreement_acknowledged property of this CreatePublicationDetails.
  • defined_tags (dict(str, dict(str, object))) – The value to assign to the defined_tags property of this CreatePublicationDetails.
  • freeform_tags (dict(str, str)) – The value to assign to the freeform_tags property of this CreatePublicationDetails.
compartment_id

[Required] Gets the compartment_id of this CreatePublicationDetails. The OCID of the compartment where you want to create the publication.

Returns:The compartment_id of this CreatePublicationDetails.
Return type:str
defined_tags

Gets the defined_tags of this CreatePublicationDetails. 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”}}

Returns:The defined_tags of this CreatePublicationDetails.
Return type:dict(str, dict(str, object))
freeform_tags

Gets the freeform_tags of this CreatePublicationDetails. 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”}

Returns:The freeform_tags of this CreatePublicationDetails.
Return type:dict(str, str)
is_agreement_acknowledged

[Required] Gets the is_agreement_acknowledged of this CreatePublicationDetails. 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.

Returns:The is_agreement_acknowledged of this CreatePublicationDetails.
Return type:bool
listing_type

[Required] Gets the listing_type of this CreatePublicationDetails. The publisher category to which the publication belongs. The publisher category informs where the listing appears for use.

Allowed values for this property are: “COMMUNITY”, “PARTNER”, “PRIVATE”

Returns:The listing_type of this CreatePublicationDetails.
Return type:str
long_description

Gets the long_description of this CreatePublicationDetails. A long description of the publication to use in the listing.

Returns:The long_description of this CreatePublicationDetails.
Return type:str
name

[Required] Gets the name of this CreatePublicationDetails. The name of the publication, which is also used in the listing.

Returns:The name of this CreatePublicationDetails.
Return type:str
package_details

[Required] Gets the package_details of this CreatePublicationDetails.

Returns:The package_details of this CreatePublicationDetails.
Return type:oci.marketplace.models.CreatePublicationPackage
short_description

[Required] Gets the short_description of this CreatePublicationDetails. A short description of the publication to use in the listing.

Returns:The short_description of this CreatePublicationDetails.
Return type:str
support_contacts

[Required] Gets the support_contacts of this CreatePublicationDetails. Contact information for getting support from the publisher for the listing.

Returns:The support_contacts of this CreatePublicationDetails.
Return type:list[oci.marketplace.models.SupportContact]