CreateListingRevisionPackageDetails

class oci.marketplace_publisher.models.CreateListingRevisionPackageDetails(**kwargs)

Bases: object

The model for an Oracle Cloud Infrastructure Marketplace Publisher listing revision package.

Methods

__init__(**kwargs) Initializes a new CreateListingRevisionPackageDetails object with values from keyword arguments.

Attributes

are_security_upgrades_provided [Required] Gets the are_security_upgrades_provided of this CreateListingRevisionPackageDetails.
artifact_id [Required] Gets the artifact_id of this CreateListingRevisionPackageDetails.
defined_tags Gets the defined_tags of this CreateListingRevisionPackageDetails.
description Gets the description of this CreateListingRevisionPackageDetails.
display_name Gets the display_name of this CreateListingRevisionPackageDetails.
freeform_tags Gets the freeform_tags of this CreateListingRevisionPackageDetails.
is_default Gets the is_default of this CreateListingRevisionPackageDetails.
listing_revision_id [Required] Gets the listing_revision_id of this CreateListingRevisionPackageDetails.
package_version [Required] Gets the package_version of this CreateListingRevisionPackageDetails.
term_id [Required] Gets the term_id of this CreateListingRevisionPackageDetails.
__init__(**kwargs)

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

Parameters:
  • listing_revision_id (str) – The value to assign to the listing_revision_id property of this CreateListingRevisionPackageDetails.
  • package_version (str) – The value to assign to the package_version property of this CreateListingRevisionPackageDetails.
  • display_name (str) – The value to assign to the display_name property of this CreateListingRevisionPackageDetails.
  • description (str) – The value to assign to the description property of this CreateListingRevisionPackageDetails.
  • artifact_id (str) – The value to assign to the artifact_id property of this CreateListingRevisionPackageDetails.
  • term_id (str) – The value to assign to the term_id property of this CreateListingRevisionPackageDetails.
  • is_default (bool) – The value to assign to the is_default property of this CreateListingRevisionPackageDetails.
  • are_security_upgrades_provided (bool) – The value to assign to the are_security_upgrades_provided property of this CreateListingRevisionPackageDetails.
  • freeform_tags (dict(str, str)) – The value to assign to the freeform_tags property of this CreateListingRevisionPackageDetails.
  • defined_tags (dict(str, dict(str, object))) – The value to assign to the defined_tags property of this CreateListingRevisionPackageDetails.
are_security_upgrades_provided

[Required] Gets the are_security_upgrades_provided of this CreateListingRevisionPackageDetails. Identifies whether security upgrades will be provided for this package.

Returns:The are_security_upgrades_provided of this CreateListingRevisionPackageDetails.
Return type:bool
artifact_id

[Required] Gets the artifact_id of this CreateListingRevisionPackageDetails. The unique identifier for the artifact.

Returns:The artifact_id of this CreateListingRevisionPackageDetails.
Return type:str
defined_tags

Gets the defined_tags of this CreateListingRevisionPackageDetails. Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {“foo-namespace”: {“bar-key”: “value”}}

Returns:The defined_tags of this CreateListingRevisionPackageDetails.
Return type:dict(str, dict(str, object))
description

Gets the description of this CreateListingRevisionPackageDetails. Description for this package.

Returns:The description of this CreateListingRevisionPackageDetails.
Return type:str
display_name

Gets the display_name of this CreateListingRevisionPackageDetails. The name for the listing revision package.

Returns:The display_name of this CreateListingRevisionPackageDetails.
Return type:str
freeform_tags

Gets the freeform_tags of this CreateListingRevisionPackageDetails. Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {“bar-key”: “value”}

Returns:The freeform_tags of this CreateListingRevisionPackageDetails.
Return type:dict(str, str)
is_default

Gets the is_default of this CreateListingRevisionPackageDetails. Identifies that this will be default package for the listing revision.

Returns:The is_default of this CreateListingRevisionPackageDetails.
Return type:bool
listing_revision_id

[Required] Gets the listing_revision_id of this CreateListingRevisionPackageDetails. The OCID for the listing revision in Marketplace Publisher.

Returns:The listing_revision_id of this CreateListingRevisionPackageDetails.
Return type:str
package_version

[Required] Gets the package_version of this CreateListingRevisionPackageDetails. The version for the package.

Returns:The package_version of this CreateListingRevisionPackageDetails.
Return type:str
term_id

[Required] Gets the term_id of this CreateListingRevisionPackageDetails. The unique identifier for the term.

Returns:The term_id of this CreateListingRevisionPackageDetails.
Return type:str