OrganizationSubscriptionSummary

class oci.onesubscription.models.OrganizationSubscriptionSummary(**kwargs)

Bases: object

Subscription summary.

Methods:

__init__(**kwargs)

Initializes a new OrganizationSubscriptionSummary object with values from keyword arguments.

Attributes:

currency

Gets the currency of this OrganizationSubscriptionSummary.

id

[Required] Gets the id of this OrganizationSubscriptionSummary.

service_name

Gets the service_name of this OrganizationSubscriptionSummary.

status

Gets the status of this OrganizationSubscriptionSummary.

time_end

Gets the time_end of this OrganizationSubscriptionSummary.

time_start

Gets the time_start of this OrganizationSubscriptionSummary.

total_value

Gets the total_value of this OrganizationSubscriptionSummary.

type

Gets the type of this OrganizationSubscriptionSummary.

__init__(**kwargs)

Initializes a new OrganizationSubscriptionSummary object with values from keyword arguments. 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 OrganizationSubscriptionSummary.

  • service_name (str) – The value to assign to the service_name property of this OrganizationSubscriptionSummary.

  • type (str) – The value to assign to the type property of this OrganizationSubscriptionSummary.

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

  • time_start (datetime) – The value to assign to the time_start property of this OrganizationSubscriptionSummary.

  • time_end (datetime) – The value to assign to the time_end property of this OrganizationSubscriptionSummary.

  • currency (oci.onesubscription.models.OrgnizationSubsCurrency) – The value to assign to the currency property of this OrganizationSubscriptionSummary.

  • total_value (str) – The value to assign to the total_value property of this OrganizationSubscriptionSummary.

property currency

Gets the currency of this OrganizationSubscriptionSummary.

Returns

The currency of this OrganizationSubscriptionSummary.

Return type

oci.onesubscription.models.OrgnizationSubsCurrency

property id

[Required] Gets the id of this OrganizationSubscriptionSummary. SPM (Subscription Plan Management) internal subscription ID.

Returns

The id of this OrganizationSubscriptionSummary.

Return type

str

property service_name

Gets the service_name of this OrganizationSubscriptionSummary. Customer-friendly service name provided by the PRG (Product Release Group).

Returns

The service_name of this OrganizationSubscriptionSummary.

Return type

str

property status

Gets the status of this OrganizationSubscriptionSummary. Plan status.

Returns

The status of this OrganizationSubscriptionSummary.

Return type

str

property time_end

Gets the time_end of this OrganizationSubscriptionSummary. The date when the last service of the subscription ends.

Returns

The time_end of this OrganizationSubscriptionSummary.

Return type

datetime

property time_start

Gets the time_start of this OrganizationSubscriptionSummary. The date when the first service of the subscription was activated.

Returns

The time_start of this OrganizationSubscriptionSummary.

Return type

datetime

property total_value

Gets the total_value of this OrganizationSubscriptionSummary. Total aggregate TCLV of all lines for the subscription, including expired, active, and signed.

Returns

The total_value of this OrganizationSubscriptionSummary.

Return type

str

property type

Gets the type of this OrganizationSubscriptionSummary. Subscription type, whether IaaS, SaaS, PaaS.

Returns

The type of this OrganizationSubscriptionSummary.

Return type

str