AdminListingRevision

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

Bases: object

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

Attributes:

LISTING_TYPE_LEAD_GENERATION

A constant which can be used with the listing_type property of a AdminListingRevision.

LISTING_TYPE_OCI_APPLICATION

A constant which can be used with the listing_type property of a AdminListingRevision.

LISTING_TYPE_SERVICE

A constant which can be used with the listing_type property of a AdminListingRevision.

PACKAGE_TYPE_CONTAINER_IMAGE

A constant which can be used with the package_type property of a AdminListingRevision.

PACKAGE_TYPE_HELM_CHART

A constant which can be used with the package_type property of a AdminListingRevision.

PACKAGE_TYPE_MACHINE_IMAGE

A constant which can be used with the package_type property of a AdminListingRevision.

PACKAGE_TYPE_NONE

A constant which can be used with the package_type property of a AdminListingRevision.

PACKAGE_TYPE_STACK

A constant which can be used with the package_type property of a AdminListingRevision.

approver_email

Gets the approver_email of this AdminListingRevision.

approver_id

Gets the approver_id of this AdminListingRevision.

banner

Gets the banner of this AdminListingRevision.

compartment_id

Gets the compartment_id of this AdminListingRevision.

content_language

Gets the content_language of this AdminListingRevision.

defined_tags

Gets the defined_tags of this AdminListingRevision.

display_name

[Required] Gets the display_name of this AdminListingRevision.

extended_metadata

Gets the extended_metadata of this AdminListingRevision.

freeform_tags

Gets the freeform_tags of this AdminListingRevision.

headline

[Required] Gets the headline of this AdminListingRevision.

icon

Gets the icon of this AdminListingRevision.

id

[Required] Gets the id of this AdminListingRevision.

keywords

Gets the keywords of this AdminListingRevision.

legacy_id

Gets the legacy_id of this AdminListingRevision.

lifecycle_state

[Required] Gets the lifecycle_state of this AdminListingRevision.

listing_id

[Required] Gets the listing_id of this AdminListingRevision.

listing_type

[Required] Gets the listing_type of this AdminListingRevision.

long_description

Gets the long_description of this AdminListingRevision.

package_type

[Required] Gets the package_type of this AdminListingRevision.

publisher_id

[Required] Gets the publisher_id of this AdminListingRevision.

revision_number

Gets the revision_number of this AdminListingRevision.

short_description

Gets the short_description of this AdminListingRevision.

status

[Required] Gets the status of this AdminListingRevision.

status_notes

Gets the status_notes of this AdminListingRevision.

support_contacts

Gets the support_contacts of this AdminListingRevision.

support_links

Gets the support_links of this AdminListingRevision.

supportedlanguages

Gets the supportedlanguages of this AdminListingRevision.

system_tags

Gets the system_tags of this AdminListingRevision.

tagline

Gets the tagline of this AdminListingRevision.

time_created

[Required] Gets the time_created of this AdminListingRevision.

time_updated

[Required] Gets the time_updated of this AdminListingRevision.

usage_information

Gets the usage_information of this AdminListingRevision.

Methods:

__init__(**kwargs)

Initializes a new AdminListingRevision object with values from keyword arguments.

get_subtype(object_dictionary)

Given the hash representation of a subtype of this class, use the info in the hash to return the class of the subtype.

LISTING_TYPE_LEAD_GENERATION = 'LEAD_GENERATION'

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

LISTING_TYPE_OCI_APPLICATION = 'OCI_APPLICATION'

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

LISTING_TYPE_SERVICE = 'SERVICE'

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

PACKAGE_TYPE_CONTAINER_IMAGE = 'CONTAINER_IMAGE'

A constant which can be used with the package_type property of a AdminListingRevision. This constant has a value of “CONTAINER_IMAGE”

PACKAGE_TYPE_HELM_CHART = 'HELM_CHART'

A constant which can be used with the package_type property of a AdminListingRevision. This constant has a value of “HELM_CHART”

PACKAGE_TYPE_MACHINE_IMAGE = 'MACHINE_IMAGE'

A constant which can be used with the package_type property of a AdminListingRevision. This constant has a value of “MACHINE_IMAGE”

PACKAGE_TYPE_NONE = 'NONE'

A constant which can be used with the package_type property of a AdminListingRevision. This constant has a value of “NONE”

PACKAGE_TYPE_STACK = 'STACK'

A constant which can be used with the package_type property of a AdminListingRevision. This constant has a value of “STACK”

__init__(**kwargs)

Initializes a new AdminListingRevision object with values from keyword arguments. This class has the following subclasses and if you are using this class as input to a service operations then you should favor using a subclass over the base class:

The following keyword arguments are supported (corresponding to the getters/setters of this class):

Parameters
  • id (str) – The value to assign to the id property of this AdminListingRevision.

  • legacy_id (str) – The value to assign to the legacy_id property of this AdminListingRevision.

  • listing_id (str) – The value to assign to the listing_id property of this AdminListingRevision.

  • compartment_id (str) – The value to assign to the compartment_id property of this AdminListingRevision.

  • publisher_id (str) – The value to assign to the publisher_id property of this AdminListingRevision.

  • approver_id (str) – The value to assign to the approver_id property of this AdminListingRevision.

  • approver_email (str) – The value to assign to the approver_email property of this AdminListingRevision.

  • display_name (str) – The value to assign to the display_name property of this AdminListingRevision.

  • listing_type (str) – The value to assign to the listing_type property of this AdminListingRevision. Allowed values for this property are: “OCI_APPLICATION”, “LEAD_GENERATION”, “SERVICE”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

  • revision_number (str) – The value to assign to the revision_number property of this AdminListingRevision.

  • headline (str) – The value to assign to the headline property of this AdminListingRevision.

  • tagline (str) – The value to assign to the tagline property of this AdminListingRevision.

  • keywords (str) – The value to assign to the keywords property of this AdminListingRevision.

  • short_description (str) – The value to assign to the short_description property of this AdminListingRevision.

  • usage_information (str) – The value to assign to the usage_information property of this AdminListingRevision.

  • long_description (str) – The value to assign to the long_description property of this AdminListingRevision.

  • time_created (datetime) – The value to assign to the time_created property of this AdminListingRevision.

  • time_updated (datetime) – The value to assign to the time_updated property of this AdminListingRevision.

  • content_language (oci.marketplace_publisher.models.LanguageItem) – The value to assign to the content_language property of this AdminListingRevision.

  • supportedlanguages (list[oci.marketplace_publisher.models.LanguageItem]) – The value to assign to the supportedlanguages property of this AdminListingRevision.

  • support_contacts (list[oci.marketplace_publisher.models.SupportContact]) – The value to assign to the support_contacts property of this AdminListingRevision.

  • support_links (list[oci.marketplace_publisher.models.NamedLink]) – The value to assign to the support_links property of this AdminListingRevision.

  • icon (oci.marketplace_publisher.models.ListingRevisionIconAttachment) – The value to assign to the icon property of this AdminListingRevision.

  • banner (oci.marketplace_publisher.models.ListingRevisionBannerAttachment) – The value to assign to the banner property of this AdminListingRevision.

  • status (str) – The value to assign to the status property of this AdminListingRevision.

  • status_notes (str) – The value to assign to the status_notes property of this AdminListingRevision.

  • lifecycle_state (str) – The value to assign to the lifecycle_state property of this AdminListingRevision.

  • package_type (str) – The value to assign to the package_type property of this AdminListingRevision. Allowed values for this property are: “CONTAINER_IMAGE”, “HELM_CHART”, “MACHINE_IMAGE”, “STACK”, “NONE”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

  • extended_metadata (dict(str, str)) – The value to assign to the extended_metadata property of this AdminListingRevision.

  • freeform_tags (dict(str, str)) – The value to assign to the freeform_tags property of this AdminListingRevision.

  • defined_tags (dict(str, dict(str, object))) – The value to assign to the defined_tags property of this AdminListingRevision.

  • system_tags (dict(str, dict(str, object))) – The value to assign to the system_tags property of this AdminListingRevision.

property approver_email

Gets the approver_email of this AdminListingRevision. The email address of the administrator who approved the listing revision.

Returns

The approver_email of this AdminListingRevision.

Return type

str

property approver_id

Gets the approver_id of this AdminListingRevision. The user OCID of the administrator who approved the listing revision.

Returns

The approver_id of this AdminListingRevision.

Return type

str

property banner

Gets the banner of this AdminListingRevision.

Returns

The banner of this AdminListingRevision.

Return type

oci.marketplace_publisher.models.ListingRevisionBannerAttachment

property compartment_id

Gets the compartment_id of this AdminListingRevision. The unique identifier for the compartment.

Returns

The compartment_id of this AdminListingRevision.

Return type

str

property content_language

Gets the content_language of this AdminListingRevision.

Returns

The content_language of this AdminListingRevision.

Return type

oci.marketplace_publisher.models.LanguageItem

property defined_tags

Gets the defined_tags of this AdminListingRevision. 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 AdminListingRevision.

Return type

dict(str, dict(str, object))

property display_name

[Required] Gets the display_name of this AdminListingRevision. The name for the listing revision.

Returns

The display_name of this AdminListingRevision.

Return type

str

property extended_metadata

Gets the extended_metadata of this AdminListingRevision. Additional metadata key/value pairs for the listing revision.

For example:

{“oracleStandardTermVersionId”: “1234”}

Returns

The extended_metadata of this AdminListingRevision.

Return type

dict(str, str)

property freeform_tags

Gets the freeform_tags of this AdminListingRevision. 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 AdminListingRevision.

Return type

dict(str, str)

static get_subtype(object_dictionary)

Given the hash representation of a subtype of this class, use the info in the hash to return the class of the subtype.

property headline

[Required] Gets the headline of this AdminListingRevision. Single line introduction for the listing revision.

Returns

The headline of this AdminListingRevision.

Return type

str

property icon

Gets the icon of this AdminListingRevision.

Returns

The icon of this AdminListingRevision.

Return type

oci.marketplace_publisher.models.ListingRevisionIconAttachment

property id

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

Returns

The id of this AdminListingRevision.

Return type

str

property keywords

Gets the keywords of this AdminListingRevision. Keywords associated with the listing revision.

Returns

The keywords of this AdminListingRevision.

Return type

str

property legacy_id

Gets the legacy_id of this AdminListingRevision. The unique legacy identifier for the listing.

Returns

The legacy_id of this AdminListingRevision.

Return type

str

property lifecycle_state

[Required] Gets the lifecycle_state of this AdminListingRevision. The current state of the listing revision.

Returns

The lifecycle_state of this AdminListingRevision.

Return type

str

property listing_id

[Required] Gets the listing_id of this AdminListingRevision. The unique identifier for the listing this revision belongs to.

Returns

The listing_id of this AdminListingRevision.

Return type

str

property listing_type

[Required] Gets the listing_type of this AdminListingRevision. The listing’s type. Populated from the listing.

Allowed values for this property are: “OCI_APPLICATION”, “LEAD_GENERATION”, “SERVICE”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

Returns

The listing_type of this AdminListingRevision.

Return type

str

property long_description

Gets the long_description of this AdminListingRevision. A long description for the listing revision.

Returns

The long_description of this AdminListingRevision.

Return type

str

property package_type

[Required] Gets the package_type of this AdminListingRevision. The listing’s package type. Populated from the listing.

Allowed values for this property are: “CONTAINER_IMAGE”, “HELM_CHART”, “MACHINE_IMAGE”, “STACK”, “NONE”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

Returns

The package_type of this AdminListingRevision.

Return type

str

property publisher_id

[Required] Gets the publisher_id of this AdminListingRevision. The OCID for the publisher in Marketplace Publisher.

Returns

The publisher_id of this AdminListingRevision.

Return type

str

property revision_number

Gets the revision_number of this AdminListingRevision. The revision number of the listing revision. This is an internal attribute

Returns

The revision_number of this AdminListingRevision.

Return type

str

property short_description

Gets the short_description of this AdminListingRevision. A short description of the listing revision.

Returns

The short_description of this AdminListingRevision.

Return type

str

property status

[Required] Gets the status of this AdminListingRevision. The current status for the listing revision.

Returns

The status of this AdminListingRevision.

Return type

str

property status_notes

Gets the status_notes of this AdminListingRevision. Status notes for the listing revision.

Returns

The status_notes of this AdminListingRevision.

Return type

str

property support_contacts

Gets the support_contacts of this AdminListingRevision. Contact information to use to get support from the publisher for the listing revision.

Returns

The support_contacts of this AdminListingRevision.

Return type

list[oci.marketplace_publisher.models.SupportContact]

Gets the support_links of this AdminListingRevision. Links to support resources for the listing revision.

Returns

The support_links of this AdminListingRevision.

Return type

list[oci.marketplace_publisher.models.NamedLink]

property supportedlanguages

Gets the supportedlanguages of this AdminListingRevision. Languages supported by the publisher for the listing revision.

Returns

The supportedlanguages of this AdminListingRevision.

Return type

list[oci.marketplace_publisher.models.LanguageItem]

property system_tags

Gets the system_tags of this AdminListingRevision. System tags for this resource. Each key is predefined and scoped to a namespace. Example: {“orcl-cloud”: {“free-tier-retained”: “true”}}

Returns

The system_tags of this AdminListingRevision.

Return type

dict(str, dict(str, object))

property tagline

Gets the tagline of this AdminListingRevision. The tagline for the listing revision.

Returns

The tagline of this AdminListingRevision.

Return type

str

property time_created

[Required] Gets the time_created of this AdminListingRevision. The time the listing revision was created. An RFC3339 formatted datetime string.

Returns

The time_created of this AdminListingRevision.

Return type

datetime

property time_updated

[Required] Gets the time_updated of this AdminListingRevision. The time the listing revision was updated. An RFC3339 formatted datetime string.

Returns

The time_updated of this AdminListingRevision.

Return type

datetime

property usage_information

Gets the usage_information of this AdminListingRevision. Usage information for the listing revision.

Returns

The usage_information of this AdminListingRevision.

Return type

str