CreatePublicationDetails

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

Bases: object

Publication Creation Details

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 to create the resource within.

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. Acknowledgement that invoker has the right and authority to share this Community Image in accordance with their agreement with Oracle applicable to the Services and the related Service Specifications

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

[Required] Gets the listing_type of this CreatePublicationDetails. In which catalog the listing should exist.

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. short description of the catalog listing

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

[Required] Gets the name of this CreatePublicationDetails. The name of 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. short description of the catalog listing

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

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

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