Publisher

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

Bases: object

The model for a publisher details.

Attributes

PUBLISHER_STATUS_APPROVED A constant which can be used with the publisher_status property of a Publisher.
PUBLISHER_STATUS_CONTACTED A constant which can be used with the publisher_status property of a Publisher.
PUBLISHER_STATUS_NEW A constant which can be used with the publisher_status property of a Publisher.
PUBLISHER_STATUS_REJECTED A constant which can be used with the publisher_status property of a Publisher.
PUBLISHER_STATUS_REMOVED A constant which can be used with the publisher_status property of a Publisher.
PUBLISHER_STATUS_SUSPENDED A constant which can be used with the publisher_status property of a Publisher.
PUBLISHER_TYPE_EXTERNAL A constant which can be used with the publisher_type property of a Publisher.
PUBLISHER_TYPE_INTERNAL A constant which can be used with the publisher_type property of a Publisher.
compartment_id [Required] Gets the compartment_id of this Publisher.
contact_email [Required] Gets the contact_email of this Publisher.
contact_phone [Required] Gets the contact_phone of this Publisher.
defined_tags Gets the defined_tags of this Publisher.
description Gets the description of this Publisher.
display_name [Required] Gets the display_name of this Publisher.
facebook_url Gets the facebook_url of this Publisher.
freeform_tags Gets the freeform_tags of this Publisher.
hq_address Gets the hq_address of this Publisher.
id [Required] Gets the id of this Publisher.
legacy_id Gets the legacy_id of this Publisher.
linkedin_url Gets the linkedin_url of this Publisher.
logo Gets the logo of this Publisher.
notification_email Gets the notification_email of this Publisher.
opn_membership Gets the opn_membership of this Publisher.
private_offer_account_details Gets the private_offer_account_details of this Publisher.
publisher_status [Required] Gets the publisher_status of this Publisher.
publisher_type [Required] Gets the publisher_type of this Publisher.
registry_namespace [Required] Gets the registry_namespace of this Publisher.
system_tags Gets the system_tags of this Publisher.
time_created [Required] Gets the time_created of this Publisher.
time_updated [Required] Gets the time_updated of this Publisher.
twitter_url Gets the twitter_url of this Publisher.
website_url Gets the website_url of this Publisher.
year_founded Gets the year_founded of this Publisher.

Methods

__init__(**kwargs) Initializes a new Publisher object with values from keyword arguments.
PUBLISHER_STATUS_APPROVED = 'APPROVED'

A constant which can be used with the publisher_status property of a Publisher. This constant has a value of “APPROVED”

PUBLISHER_STATUS_CONTACTED = 'CONTACTED'

A constant which can be used with the publisher_status property of a Publisher. This constant has a value of “CONTACTED”

PUBLISHER_STATUS_NEW = 'NEW'

A constant which can be used with the publisher_status property of a Publisher. This constant has a value of “NEW”

PUBLISHER_STATUS_REJECTED = 'REJECTED'

A constant which can be used with the publisher_status property of a Publisher. This constant has a value of “REJECTED”

PUBLISHER_STATUS_REMOVED = 'REMOVED'

A constant which can be used with the publisher_status property of a Publisher. This constant has a value of “REMOVED”

PUBLISHER_STATUS_SUSPENDED = 'SUSPENDED'

A constant which can be used with the publisher_status property of a Publisher. This constant has a value of “SUSPENDED”

PUBLISHER_TYPE_EXTERNAL = 'EXTERNAL'

A constant which can be used with the publisher_type property of a Publisher. This constant has a value of “EXTERNAL”

PUBLISHER_TYPE_INTERNAL = 'INTERNAL'

A constant which can be used with the publisher_type property of a Publisher. This constant has a value of “INTERNAL”

__init__(**kwargs)

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

Parameters:
  • publisher_status (str) – The value to assign to the publisher_status property of this Publisher. Allowed values for this property are: “NEW”, “APPROVED”, “SUSPENDED”, “REMOVED”, “REJECTED”, “CONTACTED”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
  • notification_email (str) – The value to assign to the notification_email property of this Publisher.
  • opn_membership (oci.marketplace_publisher.models.OpnMembership) – The value to assign to the opn_membership property of this Publisher.
  • private_offer_account_details (oci.marketplace_publisher.models.PrivateOfferAccountDetails) – The value to assign to the private_offer_account_details property of this Publisher.
  • id (str) – The value to assign to the id property of this Publisher.
  • compartment_id (str) – The value to assign to the compartment_id property of this Publisher.
  • registry_namespace (str) – The value to assign to the registry_namespace property of this Publisher.
  • legacy_id (str) – The value to assign to the legacy_id property of this Publisher.
  • display_name (str) – The value to assign to the display_name property of this Publisher.
  • description (str) – The value to assign to the description property of this Publisher.
  • year_founded (int) – The value to assign to the year_founded property of this Publisher.
  • website_url (str) – The value to assign to the website_url property of this Publisher.
  • contact_email (str) – The value to assign to the contact_email property of this Publisher.
  • contact_phone (str) – The value to assign to the contact_phone property of this Publisher.
  • hq_address (str) – The value to assign to the hq_address property of this Publisher.
  • logo (oci.marketplace_publisher.models.UploadData) – The value to assign to the logo property of this Publisher.
  • facebook_url (str) – The value to assign to the facebook_url property of this Publisher.
  • twitter_url (str) – The value to assign to the twitter_url property of this Publisher.
  • linkedin_url (str) – The value to assign to the linkedin_url property of this Publisher.
  • publisher_type (str) – The value to assign to the publisher_type property of this Publisher. Allowed values for this property are: “INTERNAL”, “EXTERNAL”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
  • time_created (datetime) – The value to assign to the time_created property of this Publisher.
  • time_updated (datetime) – The value to assign to the time_updated property of this Publisher.
  • freeform_tags (dict(str, str)) – The value to assign to the freeform_tags property of this Publisher.
  • defined_tags (dict(str, dict(str, object))) – The value to assign to the defined_tags property of this Publisher.
  • system_tags (dict(str, dict(str, object))) – The value to assign to the system_tags property of this Publisher.
compartment_id

[Required] Gets the compartment_id of this Publisher. The root compartment of the Publisher.

Returns:The compartment_id of this Publisher.
Return type:str
contact_email

[Required] Gets the contact_email of this Publisher. The public email address of the publisher for customers.

Returns:The contact_email of this Publisher.
Return type:str
contact_phone

[Required] Gets the contact_phone of this Publisher. The phone number of the publisher in E.164 format.

Returns:The contact_phone of this Publisher.
Return type:str
defined_tags

Gets the defined_tags of this Publisher. 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 Publisher.
Return type:dict(str, dict(str, object))
description

Gets the description of this Publisher. A description of the publisher.

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

[Required] Gets the display_name of this Publisher. The name of the publisher.

Returns:The display_name of this Publisher.
Return type:str
facebook_url

Gets the facebook_url of this Publisher. Publisher’s Facebook URL

Returns:The facebook_url of this Publisher.
Return type:str
freeform_tags

Gets the freeform_tags of this Publisher. 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 Publisher.
Return type:dict(str, str)
hq_address

Gets the hq_address of this Publisher. The address of the publisher’s headquarters.

Returns:The hq_address of this Publisher.
Return type:str
id

[Required] Gets the id of this Publisher. Unique OCID identifier for the publisher.

Returns:The id of this Publisher.
Return type:str
legacy_id

Gets the legacy_id of this Publisher. Unique legacy service identifier for the publisher.

Returns:The legacy_id of this Publisher.
Return type:str
linkedin_url

Gets the linkedin_url of this Publisher. Publisher’s LinkedIn URL

Returns:The linkedin_url of this Publisher.
Return type:str

Gets the logo of this Publisher.

Returns:The logo of this Publisher.
Return type:oci.marketplace_publisher.models.UploadData
notification_email

Gets the notification_email of this Publisher. The private email address of the publisher product team.

Returns:The notification_email of this Publisher.
Return type:str
opn_membership

Gets the opn_membership of this Publisher.

Returns:The opn_membership of this Publisher.
Return type:oci.marketplace_publisher.models.OpnMembership
private_offer_account_details

Gets the private_offer_account_details of this Publisher.

Returns:The private_offer_account_details of this Publisher.
Return type:oci.marketplace_publisher.models.PrivateOfferAccountDetails
publisher_status

[Required] Gets the publisher_status of this Publisher. publisher status.

Allowed values for this property are: “NEW”, “APPROVED”, “SUSPENDED”, “REMOVED”, “REJECTED”, “CONTACTED”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

Returns:The publisher_status of this Publisher.
Return type:str
publisher_type

[Required] Gets the publisher_type of this Publisher. publisher type.

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

Returns:The publisher_type of this Publisher.
Return type:str
registry_namespace

[Required] Gets the registry_namespace of this Publisher. The namespace for the publisher registry to persist artifacts.

Returns:The registry_namespace of this Publisher.
Return type:str
system_tags

Gets the system_tags of this Publisher. 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 Publisher.
Return type:dict(str, dict(str, object))
time_created

[Required] Gets the time_created of this Publisher. The time the publisher was created. An RFC3339 formatted datetime string.

Returns:The time_created of this Publisher.
Return type:datetime
time_updated

[Required] Gets the time_updated of this Publisher. The time the publisher was updated. An RFC3339 formatted datetime string.

Returns:The time_updated of this Publisher.
Return type:datetime
twitter_url

Gets the twitter_url of this Publisher. Publisher’s Twitter URL

Returns:The twitter_url of this Publisher.
Return type:str
website_url

Gets the website_url of this Publisher. The publisher’s website.

Returns:The website_url of this Publisher.
Return type:str
year_founded

Gets the year_founded of this Publisher. The year the publisher’s company or organization was founded.

Returns:The year_founded of this Publisher.
Return type:int