ruạṛ
a ���f�C � @ s8 d dl mZmZmZ d dlmZ eG dd� de��ZdS )� )�formatted_flat_dict� NONE_SENTINEL�#value_allowed_none_or_none_sentinel)�init_model_state_from_kwargsc @ s� e Zd ZdZdZdZdZdZdZdZ dZ d Zd ZdZ dd � Zedd� �Zejdd� �Zedd� �Zejdd� �Zedd� �Zejdd� �Zedd� �Zejdd� �Zedd� �Zejdd� �Zedd� �Zejdd� �Zed d!� �Zejd"d!� �Zed#d$� �Zejd%d$� �Zed&d'� �Zejd(d'� �Zed)d*� �Zejd+d*� �Zed,d-� �Zejd.d-� �Zed/d0� �Zejd1d0� �Zd2d3� Zd4d5� Zd6d7� Zd8S )9�SchedulingPolicyz) Details of a Scheduling Policy. �CREATING�NEEDS_ATTENTION� AVAILABLE�UPDATING�FAILED�DELETING�DELETED� HALFYEARLY� QUARTERLY�MONTHLYc K s� ddddddddddddd�| _ ddd d ddd dddddd�| _d| _d| _d| _d| _d| _d| _d| _d| _ d| _ d| _d| _d| _ dS )a Initializes a new SchedulingPolicy object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class): :param id: The value to assign to the id property of this SchedulingPolicy. :type id: str :param compartment_id: The value to assign to the compartment_id property of this SchedulingPolicy. :type compartment_id: str :param display_name: The value to assign to the display_name property of this SchedulingPolicy. :type display_name: str :param lifecycle_state: The value to assign to the lifecycle_state property of this SchedulingPolicy. Allowed values for this property are: "CREATING", "NEEDS_ATTENTION", "AVAILABLE", "UPDATING", "FAILED", "DELETING", "DELETED", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :type lifecycle_state: str :param lifecycle_details: The value to assign to the lifecycle_details property of this SchedulingPolicy. :type lifecycle_details: str :param time_created: The value to assign to the time_created property of this SchedulingPolicy. :type time_created: datetime :param time_updated: The value to assign to the time_updated property of this SchedulingPolicy. :type time_updated: datetime :param cadence: The value to assign to the cadence property of this SchedulingPolicy. Allowed values for this property are: "HALFYEARLY", "QUARTERLY", "MONTHLY", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :type cadence: str :param cadence_start_month: The value to assign to the cadence_start_month property of this SchedulingPolicy. :type cadence_start_month: oci.database.models.Month :param time_next_window_starts: The value to assign to the time_next_window_starts property of this SchedulingPolicy. :type time_next_window_starts: datetime :param freeform_tags: The value to assign to the freeform_tags property of this SchedulingPolicy. :type freeform_tags: dict(str, str) :param defined_tags: The value to assign to the defined_tags property of this SchedulingPolicy. :type defined_tags: dict(str, dict(str, object)) �strZdatetimeZMonthzdict(str, str)zdict(str, dict(str, object)))�id�compartment_id�display_name�lifecycle_state�lifecycle_details�time_created�time_updated�cadence�cadence_start_month�time_next_window_starts� freeform_tags�defined_tagsr Z compartmentIdZdisplayNameZlifecycleStateZlifecycleDetailsZtimeCreatedZtimeUpdatedr ZcadenceStartMonthZtimeNextWindowStartsZfreeformTagsZdefinedTagsN)Z swagger_typesZ attribute_map�_id�_compartment_id� _display_name�_lifecycle_state�_lifecycle_details� _time_created� _time_updated�_cadence�_cadence_start_month�_time_next_window_starts�_freeform_tags� _defined_tags)�self�kwargs� r, �I/usr/lib/python3.9/site-packages/oci/database/models/scheduling_policy.py�__init__: sL ;��zSchedulingPolicy.__init__c C s | j S )a **[Required]** Gets the id of this SchedulingPolicy. The `OCID`__ of the Scheduling Policy. __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm :return: The id of this SchedulingPolicy. :rtype: str �r �r* r, r, r- r � s zSchedulingPolicy.idc C s || _ dS )a Sets the id of this SchedulingPolicy. The `OCID`__ of the Scheduling Policy. __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm :param id: The id of this SchedulingPolicy. :type: str Nr/ )r* r r, r, r- r � s c C s | j S )a" **[Required]** Gets the compartment_id of this SchedulingPolicy. The `OCID`__ of the compartment. __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm :return: The compartment_id of this SchedulingPolicy. :rtype: str �r r0 r, r, r- r � s zSchedulingPolicy.compartment_idc C s || _ dS )a Sets the compartment_id of this SchedulingPolicy. The `OCID`__ of the compartment. __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm :param compartment_id: The compartment_id of this SchedulingPolicy. :type: str Nr1 )r* r r, r, r- r � s c C s | j S )a **[Required]** Gets the display_name of this SchedulingPolicy. The user-friendly name for the Scheduling Policy. The name does not need to be unique. :return: The display_name of this SchedulingPolicy. :rtype: str �r r0 r, r, r- r � s zSchedulingPolicy.display_namec C s || _ dS )z� Sets the display_name of this SchedulingPolicy. The user-friendly name for the Scheduling Policy. The name does not need to be unique. :param display_name: The display_name of this SchedulingPolicy. :type: str Nr2 )r* r r, r, r- r � s c C s | j S )a4 **[Required]** Gets the lifecycle_state of this SchedulingPolicy. The current state of the Scheduling Policy. Valid states are CREATING, NEEDS_ATTENTION, ACTIVE, UPDATING, FAILED, DELETING and DELETED. Allowed values for this property are: "CREATING", "NEEDS_ATTENTION", "AVAILABLE", "UPDATING", "FAILED", "DELETING", "DELETED", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :return: The lifecycle_state of this SchedulingPolicy. :rtype: str )r! r0 r, r, r- r � s z SchedulingPolicy.lifecycle_statec C s g d�}t ||�sd}|| _dS )a7 Sets the lifecycle_state of this SchedulingPolicy. The current state of the Scheduling Policy. Valid states are CREATING, NEEDS_ATTENTION, ACTIVE, UPDATING, FAILED, DELETING and DELETED. :param lifecycle_state: The lifecycle_state of this SchedulingPolicy. :type: str )r r r r r r r �UNKNOWN_ENUM_VALUEN)r r! )r* r �allowed_valuesr, r, r- r � s c C s | j S )z� Gets the lifecycle_details of this SchedulingPolicy. Additional information about the current lifecycle state. :return: The lifecycle_details of this SchedulingPolicy. :rtype: str �r"