RetentionRuleSummary¶
-
class
oci.object_storage.models.
RetentionRuleSummary
(**kwargs)¶ Bases:
object
The summary of a retention rule.
Methods
__init__
(**kwargs)Initializes a new RetentionRuleSummary object with values from keyword arguments. Attributes
display_name
[Required] Gets the display_name of this RetentionRuleSummary. duration
Gets the duration of this RetentionRuleSummary. etag
[Required] Gets the etag of this RetentionRuleSummary. id
[Required] Gets the id of this RetentionRuleSummary. time_created
[Required] Gets the time_created of this RetentionRuleSummary. time_modified
[Required] Gets the time_modified of this RetentionRuleSummary. time_rule_locked
Gets the time_rule_locked of this RetentionRuleSummary. -
__init__
(**kwargs)¶ Initializes a new RetentionRuleSummary 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 RetentionRuleSummary.
- display_name (str) – The value to assign to the display_name property of this RetentionRuleSummary.
- duration (oci.object_storage.models.Duration) – The value to assign to the duration property of this RetentionRuleSummary.
- etag (str) – The value to assign to the etag property of this RetentionRuleSummary.
- time_rule_locked (datetime) – The value to assign to the time_rule_locked property of this RetentionRuleSummary.
- time_created (datetime) – The value to assign to the time_created property of this RetentionRuleSummary.
- time_modified (datetime) – The value to assign to the time_modified property of this RetentionRuleSummary.
-
display_name
¶ [Required] Gets the display_name of this RetentionRuleSummary. User specified name for the retention rule.
Returns: The display_name of this RetentionRuleSummary. Return type: str
-
duration
¶ Gets the duration of this RetentionRuleSummary.
Returns: The duration of this RetentionRuleSummary. Return type: oci.object_storage.models.Duration
-
etag
¶ [Required] Gets the etag of this RetentionRuleSummary. The entity tag (ETag) for the retention rule.
Returns: The etag of this RetentionRuleSummary. Return type: str
-
id
¶ [Required] Gets the id of this RetentionRuleSummary. Unique identifier for the retention rule.
Returns: The id of this RetentionRuleSummary. Return type: str
-
time_created
¶ [Required] Gets the time_created of this RetentionRuleSummary. The date and time that the retention rule was created as per RFC3339.
Returns: The time_created of this RetentionRuleSummary. Return type: datetime
-