LoaExtensionData

class oci.core.models.LoaExtensionData(**kwargs)

Bases: object

Data related to the extension of the Expiry date of the LOA. It gives you number of remaining extensions along with a history of past extensions made on the LOA.

Methods

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

Attributes

history Gets the history of this LoaExtensionData.
remaining_extensions Gets the remaining_extensions of this LoaExtensionData.
__init__(**kwargs)

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

Parameters:
  • remaining_extensions (int) – The value to assign to the remaining_extensions property of this LoaExtensionData.
  • history (list[str]) – The value to assign to the history property of this LoaExtensionData.
history

Gets the history of this LoaExtensionData. Chronologically sorted list of date and time when the Letter of Authority’s expiration was last updated, most recent first, in the format defined by RFC3339. List is empty if the LOA’s expiration date has never been extended.

Returns:The history of this LoaExtensionData.
Return type:list[str]
remaining_extensions

Gets the remaining_extensions of this LoaExtensionData. The maximum number of times this LOA’s expiry can be extended.

Returns:The remaining_extensions of this LoaExtensionData.
Return type:int