ResolveSubscriptionDetails

class oci.self.models.ResolveSubscriptionDetails(**kwargs)

Bases: object

Request model used to resolve and retrieve subscription details for a customer subscription, given a selfToken and the productId.

Methods

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

Attributes

defined_tags Gets the defined_tags of this ResolveSubscriptionDetails.
freeform_tags Gets the freeform_tags of this ResolveSubscriptionDetails.
product_id [Required] Gets the product_id of this ResolveSubscriptionDetails.
self_token [Required] Gets the self_token of this ResolveSubscriptionDetails.
__init__(**kwargs)

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

Parameters:
  • self_token (str) – The value to assign to the self_token property of this ResolveSubscriptionDetails.
  • product_id (str) – The value to assign to the product_id property of this ResolveSubscriptionDetails.
  • freeform_tags (dict(str, str)) – The value to assign to the freeform_tags property of this ResolveSubscriptionDetails.
  • defined_tags (dict(str, dict(str, object))) – The value to assign to the defined_tags property of this ResolveSubscriptionDetails.
defined_tags

Gets the defined_tags of this ResolveSubscriptionDetails. Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags.

Example: {“Operations”: {“CostCenter”: “42”}}

Returns:The defined_tags of this ResolveSubscriptionDetails.
Return type:dict(str, dict(str, object))
freeform_tags

Gets the freeform_tags of this ResolveSubscriptionDetails. Free-form tags for this resource. 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 ResolveSubscriptionDetails.
Return type:dict(str, str)
product_id

[Required] Gets the product_id of this ResolveSubscriptionDetails. The OCID of the marketplace product listing.

Returns:The product_id of this ResolveSubscriptionDetails.
Return type:str
self_token

[Required] Gets the self_token of this ResolveSubscriptionDetails. The base 64 encoded JWT token which is mapped to a particular subscription

Returns:The self_token of this ResolveSubscriptionDetails.
Return type:str