ThirdPartyPaidListingEligibility

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

Bases: object

Tenant eligibility for using third party paid listings

Attributes

ELIGIBILITY_REASON_ELIGIBLE A constant which can be used with the eligibility_reason property of a ThirdPartyPaidListingEligibility.
ELIGIBILITY_REASON_INELIGIBLE_ACCOUNT_BLACKLISTED A constant which can be used with the eligibility_reason property of a ThirdPartyPaidListingEligibility.
ELIGIBILITY_REASON_INELIGIBLE_ACCOUNT_COUNTRY A constant which can be used with the eligibility_reason property of a ThirdPartyPaidListingEligibility.
ELIGIBILITY_REASON_INELIGIBLE_ACCOUNT_CURRENCY A constant which can be used with the eligibility_reason property of a ThirdPartyPaidListingEligibility.
ELIGIBILITY_REASON_INELIGIBLE_ACCOUNT_FEATURE_DISABLED A constant which can be used with the eligibility_reason property of a ThirdPartyPaidListingEligibility.
ELIGIBILITY_REASON_INELIGIBLE_ACCOUNT_GOV_SUBSCRIPTION A constant which can be used with the eligibility_reason property of a ThirdPartyPaidListingEligibility.
ELIGIBILITY_REASON_INELIGIBLE_ACCOUNT_INTERNAL A constant which can be used with the eligibility_reason property of a ThirdPartyPaidListingEligibility.
ELIGIBILITY_REASON_INELIGIBLE_ACCOUNT_NOT_PAID A constant which can be used with the eligibility_reason property of a ThirdPartyPaidListingEligibility.
ELIGIBILITY_REASON_INELIGIBLE_REGION A constant which can be used with the eligibility_reason property of a ThirdPartyPaidListingEligibility.
ELIGIBILITY_REASON_NOT_AUTHORIZED A constant which can be used with the eligibility_reason property of a ThirdPartyPaidListingEligibility.
eligibility_reason [Required] Gets the eligibility_reason of this ThirdPartyPaidListingEligibility.
is_paid_listing_eligible [Required] Gets the is_paid_listing_eligible of this ThirdPartyPaidListingEligibility.
is_paid_listing_throttled [Required] Gets the is_paid_listing_throttled of this ThirdPartyPaidListingEligibility.

Methods

__init__(**kwargs) Initializes a new ThirdPartyPaidListingEligibility object with values from keyword arguments.
ELIGIBILITY_REASON_ELIGIBLE = 'ELIGIBLE'

A constant which can be used with the eligibility_reason property of a ThirdPartyPaidListingEligibility. This constant has a value of “ELIGIBLE”

ELIGIBILITY_REASON_INELIGIBLE_ACCOUNT_BLACKLISTED = 'INELIGIBLE_ACCOUNT_BLACKLISTED'

A constant which can be used with the eligibility_reason property of a ThirdPartyPaidListingEligibility. This constant has a value of “INELIGIBLE_ACCOUNT_BLACKLISTED”

ELIGIBILITY_REASON_INELIGIBLE_ACCOUNT_COUNTRY = 'INELIGIBLE_ACCOUNT_COUNTRY'

A constant which can be used with the eligibility_reason property of a ThirdPartyPaidListingEligibility. This constant has a value of “INELIGIBLE_ACCOUNT_COUNTRY”

ELIGIBILITY_REASON_INELIGIBLE_ACCOUNT_CURRENCY = 'INELIGIBLE_ACCOUNT_CURRENCY'

A constant which can be used with the eligibility_reason property of a ThirdPartyPaidListingEligibility. This constant has a value of “INELIGIBLE_ACCOUNT_CURRENCY”

ELIGIBILITY_REASON_INELIGIBLE_ACCOUNT_FEATURE_DISABLED = 'INELIGIBLE_ACCOUNT_FEATURE_DISABLED'

A constant which can be used with the eligibility_reason property of a ThirdPartyPaidListingEligibility. This constant has a value of “INELIGIBLE_ACCOUNT_FEATURE_DISABLED”

ELIGIBILITY_REASON_INELIGIBLE_ACCOUNT_GOV_SUBSCRIPTION = 'INELIGIBLE_ACCOUNT_GOV_SUBSCRIPTION'

A constant which can be used with the eligibility_reason property of a ThirdPartyPaidListingEligibility. This constant has a value of “INELIGIBLE_ACCOUNT_GOV_SUBSCRIPTION”

ELIGIBILITY_REASON_INELIGIBLE_ACCOUNT_INTERNAL = 'INELIGIBLE_ACCOUNT_INTERNAL'

A constant which can be used with the eligibility_reason property of a ThirdPartyPaidListingEligibility. This constant has a value of “INELIGIBLE_ACCOUNT_INTERNAL”

ELIGIBILITY_REASON_INELIGIBLE_ACCOUNT_NOT_PAID = 'INELIGIBLE_ACCOUNT_NOT_PAID'

A constant which can be used with the eligibility_reason property of a ThirdPartyPaidListingEligibility. This constant has a value of “INELIGIBLE_ACCOUNT_NOT_PAID”

ELIGIBILITY_REASON_INELIGIBLE_REGION = 'INELIGIBLE_REGION'

A constant which can be used with the eligibility_reason property of a ThirdPartyPaidListingEligibility. This constant has a value of “INELIGIBLE_REGION”

ELIGIBILITY_REASON_NOT_AUTHORIZED = 'NOT_AUTHORIZED'

A constant which can be used with the eligibility_reason property of a ThirdPartyPaidListingEligibility. This constant has a value of “NOT_AUTHORIZED”

__init__(**kwargs)

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

Parameters:
  • is_paid_listing_eligible (bool) – The value to assign to the is_paid_listing_eligible property of this ThirdPartyPaidListingEligibility.
  • is_paid_listing_throttled (bool) – The value to assign to the is_paid_listing_throttled property of this ThirdPartyPaidListingEligibility.
  • eligibility_reason (str) – The value to assign to the eligibility_reason property of this ThirdPartyPaidListingEligibility. Allowed values for this property are: “ELIGIBLE”, “INELIGIBLE_ACCOUNT_COUNTRY”, “INELIGIBLE_REGION”, “INELIGIBLE_ACCOUNT_BLACKLISTED”, “INELIGIBLE_ACCOUNT_FEATURE_DISABLED”, “INELIGIBLE_ACCOUNT_CURRENCY”, “INELIGIBLE_ACCOUNT_NOT_PAID”, “INELIGIBLE_ACCOUNT_INTERNAL”, “INELIGIBLE_ACCOUNT_GOV_SUBSCRIPTION”, “NOT_AUTHORIZED”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
eligibility_reason

[Required] Gets the eligibility_reason of this ThirdPartyPaidListingEligibility. Reason the account is ineligible to launch paid listings

Allowed values for this property are: “ELIGIBLE”, “INELIGIBLE_ACCOUNT_COUNTRY”, “INELIGIBLE_REGION”, “INELIGIBLE_ACCOUNT_BLACKLISTED”, “INELIGIBLE_ACCOUNT_FEATURE_DISABLED”, “INELIGIBLE_ACCOUNT_CURRENCY”, “INELIGIBLE_ACCOUNT_NOT_PAID”, “INELIGIBLE_ACCOUNT_INTERNAL”, “INELIGIBLE_ACCOUNT_GOV_SUBSCRIPTION”, “NOT_AUTHORIZED”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

Returns:The eligibility_reason of this ThirdPartyPaidListingEligibility.
Return type:str
is_paid_listing_eligible

[Required] Gets the is_paid_listing_eligible of this ThirdPartyPaidListingEligibility. Whether the tenant is permitted to use paid listings

Returns:The is_paid_listing_eligible of this ThirdPartyPaidListingEligibility.
Return type:bool
is_paid_listing_throttled

[Required] Gets the is_paid_listing_throttled of this ThirdPartyPaidListingEligibility. Whether the tenant is currently prevented from using paid listings because of throttling

Returns:The is_paid_listing_throttled of this ThirdPartyPaidListingEligibility.
Return type:bool