ruạṛ
a ���ftD � @ 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 Zdd� Z ed d� �Zejdd� �Zedd� �Zejdd� �Zedd� �Zejdd� �Zedd� �Zejdd� �Zedd� �Zejdd� �Zedd� �Zejdd� �Zedd � �Zejd!d � �Zed"d#� �Zejd$d#� �Zed%d&� �Zejd'd&� �Zed(d)� �Zejd*d)� �Zed+d,� �Zejd-d,� �Zed.d/� �Zejd0d/� �Zd1d2� Zd3d4� Zd5d6� Zd7S )8� ExportSettingz% Export settings of a fleet. �LAST_30_DAYS�LAST_60_DAYS�LAST_90_DAYS�MANAGED_INSTANCE�"MANAGED_INSTANCE_PLUS_JAVA_RUNTIME�3MANAGED_INSTANCE_PLUS_JAVA_RUNTIME_PLUS_APPLICATION�DAILY�WEEKLY�MONTHLYc K s� ddddddddddddd�| _ ddddd d ddd dddd�| _d| _d| _d| _d| _d| _d| _d| _d| _ d| _ d| _d| _d| _ dS )a Initializes a new ExportSetting object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class): :param export_setting_key: The value to assign to the export_setting_key property of this ExportSetting. :type export_setting_key: str :param fleet_id: The value to assign to the fleet_id property of this ExportSetting. :type fleet_id: str :param export_duration: The value to assign to the export_duration property of this ExportSetting. Allowed values for this property are: "LAST_30_DAYS", "LAST_60_DAYS", "LAST_90_DAYS", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :type export_duration: str :param export_resources: The value to assign to the export_resources property of this ExportSetting. Allowed values for this property are: "MANAGED_INSTANCE", "MANAGED_INSTANCE_PLUS_JAVA_RUNTIME", "MANAGED_INSTANCE_PLUS_JAVA_RUNTIME_PLUS_APPLICATION", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :type export_resources: str :param is_cross_region_acknowledged: The value to assign to the is_cross_region_acknowledged property of this ExportSetting. :type is_cross_region_acknowledged: bool :param target_bucket_name: The value to assign to the target_bucket_name property of this ExportSetting. :type target_bucket_name: str :param target_bucket_namespace: The value to assign to the target_bucket_namespace property of this ExportSetting. :type target_bucket_namespace: str :param target_bucket_region: The value to assign to the target_bucket_region property of this ExportSetting. :type target_bucket_region: str :param export_frequency: The value to assign to the export_frequency property of this ExportSetting. Allowed values for this property are: "DAILY", "WEEKLY", "MONTHLY", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :type export_frequency: str :param is_enabled: The value to assign to the is_enabled property of this ExportSetting. :type is_enabled: bool :param time_created: The value to assign to the time_created property of this ExportSetting. :type time_created: datetime :param time_last_modified: The value to assign to the time_last_modified property of this ExportSetting. :type time_last_modified: datetime �str�boolZdatetime)�export_setting_key�fleet_id�export_duration�export_resources�is_cross_region_acknowledged�target_bucket_name�target_bucket_namespace�target_bucket_region�export_frequency� is_enabled�time_created�time_last_modifiedZexportSettingKeyZfleetIdZexportDurationZexportResourcesZisCrossRegionAcknowledgedZtargetBucketNameZtargetBucketNamespaceZtargetBucketRegionZexportFrequencyZ isEnabledZtimeCreatedZtimeLastModifiedN)Z swagger_typesZ attribute_map�_export_setting_key� _fleet_id�_export_duration�_export_resources�_is_cross_region_acknowledged�_target_bucket_name�_target_bucket_namespace�_target_bucket_region�_export_frequency�_is_enabled� _time_created�_time_last_modified)�self�kwargs� r, �A/usr/lib/python3.9/site-packages/oci/jms/models/export_setting.py�__init__6 sL =��zExportSetting.__init__c C s | j S )z� Gets the export_setting_key of this ExportSetting. The internal identifier of the export setting. :return: The export_setting_key of this ExportSetting. :rtype: str �r �r* r, r, r- r � s z ExportSetting.export_setting_keyc C s || _ dS )z� Sets the export_setting_key of this ExportSetting. The internal identifier of the export setting. :param export_setting_key: The export_setting_key of this ExportSetting. :type: str Nr/ )r* r r, r, r- r � s c C s | j S )z� Gets the fleet_id of this ExportSetting. The `OCID`__ of the fleet. __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm :return: The fleet_id of this ExportSetting. :rtype: str �r r0 r, r, r- r � s zExportSetting.fleet_idc C s || _ dS )a Sets the fleet_id of this ExportSetting. The `OCID`__ of the fleet. __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm :param fleet_id: The fleet_id of this ExportSetting. :type: str Nr1 )r* r r, r, r- r � s c C s | j S )a� Gets the export_duration of this ExportSetting. The duration of data to be exported for fleets. Allowed values for this property are: "LAST_30_DAYS", "LAST_60_DAYS", "LAST_90_DAYS", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :return: The export_duration of this ExportSetting. :rtype: str )r r0 r, r, r- r � s zExportSetting.export_durationc C s g d�}t ||�sd}|| _dS )z� Sets the export_duration of this ExportSetting. The duration of data to be exported for fleets. :param export_duration: The export_duration of this ExportSetting. :type: str )r r r �UNKNOWN_ENUM_VALUEN)r r )r* r �allowed_valuesr, r, r- r � s c C s | j S )a� Gets the export_resources of this ExportSetting. Resource to export data associated from the fleets. Allowed values for this property are: "MANAGED_INSTANCE", "MANAGED_INSTANCE_PLUS_JAVA_RUNTIME", "MANAGED_INSTANCE_PLUS_JAVA_RUNTIME_PLUS_APPLICATION", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :return: The export_resources of this ExportSetting. :rtype: str )r! r0 r, r, r- r � s zExportSetting.export_resourcesc C s g d�}t ||�sd}|| _dS )z� Sets the export_resources of this ExportSetting. Resource to export data associated from the fleets. :param export_resources: The export_resources of this ExportSetting. :type: str )r r r r2 N)r r! )r* r r3 r, r, r- r � s c C s | j S )z� Gets the is_cross_region_acknowledged of this ExportSetting. Acknowledgement for cross region target bucket configuration. :return: The is_cross_region_acknowledged of this ExportSetting. :rtype: bool �r"