a NfK@s8ddlmZmZmZddlmZeGdddeZdS))formatted_flat_dict NONE_SENTINEL#value_allowed_none_or_none_sentinel)init_model_state_from_kwargsc@seZdZdZdZdZdZdZdZdZ dZ d Z d Z d Z d d ZeddZejddZeddZejddZeddZejddZeddZejddZeddZejddZeddZejddZed d!Zejd"d!Zed#d$Zejd%d$Zed&d'Zejd(d'Zed)d*Zejd+d*Zed,d-Zejd.d-Zed/d0Zejd1d0Zed2d3Zejd4d3Zed5d6Zejd7d6Zd8d9Zd:d;Z dS)? DataSourcez Details of Data source LOGGINGQUERYENABLEDDISABLEDCREATINGUPDATINGACTIVEINACTIVEDELETINGDELETEDFAILEDcKsddddddddddddddd|_d d d d d dddddddddd|_d|_d|_d|_d|_d|_d|_d|_d|_ d|_ d|_ d|_ d|_ d|_d|_dS)aE Initializes a new DataSource 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 DataSource. :type id: str :param display_name: The value to assign to the display_name property of this DataSource. :type display_name: str :param data_source_feed_provider: The value to assign to the data_source_feed_provider property of this DataSource. Allowed values for this property are: "LOGGINGQUERY", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :type data_source_feed_provider: str :param compartment_id: The value to assign to the compartment_id property of this DataSource. :type compartment_id: str :param data_source_details: The value to assign to the data_source_details property of this DataSource. :type data_source_details: oci.cloud_guard.models.DataSourceDetails :param time_created: The value to assign to the time_created property of this DataSource. :type time_created: datetime :param time_updated: The value to assign to the time_updated property of this DataSource. :type time_updated: datetime :param status: The value to assign to the status property of this DataSource. Allowed values for this property are: "ENABLED", "DISABLED", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :type status: str :param data_source_detector_mapping_info: The value to assign to the data_source_detector_mapping_info property of this DataSource. :type data_source_detector_mapping_info: list[oci.cloud_guard.models.DataSourceMappingInfo] :param region_status_detail: The value to assign to the region_status_detail property of this DataSource. :type region_status_detail: list[oci.cloud_guard.models.RegionStatusDetail] :param lifecycle_state: The value to assign to the lifecycle_state property of this DataSource. Allowed values for this property are: "CREATING", "UPDATING", "ACTIVE", "INACTIVE", "DELETING", "DELETED", "FAILED", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :type lifecycle_state: str :param freeform_tags: The value to assign to the freeform_tags property of this DataSource. :type freeform_tags: dict(str, str) :param defined_tags: The value to assign to the defined_tags property of this DataSource. :type defined_tags: dict(str, dict(str, object)) :param system_tags: The value to assign to the system_tags property of this DataSource. :type system_tags: dict(str, dict(str, object)) strDataSourceDetailsdatetimezlist[DataSourceMappingInfo]zlist[RegionStatusDetail]zdict(str, str)zdict(str, dict(str, object)))id display_namedata_source_feed_providercompartment_iddata_source_details time_created time_updatedstatus!data_source_detector_mapping_inforegion_status_detaillifecycle_state freeform_tags defined_tags system_tagsr displayNamedataSourceFeedProvider compartmentIddataSourceDetails timeCreated timeUpdatedrdataSourceDetectorMappingInforegionStatusDetaillifecycleState freeformTags definedTags systemTagsN) swagger_types attribute_map_id _display_name_data_source_feed_provider_compartment_id_data_source_details _time_created _time_updated_status"_data_source_detector_mapping_info_region_status_detail_lifecycle_state_freeform_tags _defined_tags _system_tags)selfkwargsr@/sparta/input/_build_configuration/image_build+validate/lib/bmcenv/lib64/python3.9/site-packages/oci/cloud_guard/models/data_source.py__init__8sXEzDataSource.__init__cCs|jS)z **[Required]** Gets the id of this DataSource. Ocid for Data source :return: The id of this DataSource. :rtype: str r0r>r@r@rArs z DataSource.idcCs ||_dS)z Sets the id of this DataSource. Ocid for Data source :param id: The id of this DataSource. :type: str NrC)r>rr@r@rArs cCs|jS)z **[Required]** Gets the display_name of this DataSource. DisplayName of Data source. :return: The display_name of this DataSource. :rtype: str r1rDr@r@rArs zDataSource.display_namecCs ||_dS)z Sets the display_name of this DataSource. DisplayName of Data source. :param display_name: The display_name of this DataSource. :type: str NrE)r>rr@r@rArs cCs|jS)a **[Required]** Gets the data_source_feed_provider of this DataSource. Possible type of dataSourceFeed Provider(LoggingQuery) Allowed values for this property are: "LOGGINGQUERY", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :return: The data_source_feed_provider of this DataSource. :rtype: str )r2rDr@r@rArs z$DataSource.data_source_feed_providercCsdg}t||sd}||_dS)z Sets the data_source_feed_provider of this DataSource. Possible type of dataSourceFeed Provider(LoggingQuery) :param data_source_feed_provider: The data_source_feed_provider of this DataSource. :type: str rUNKNOWN_ENUM_VALUEN)rr2)r>rallowed_valuesr@r@rArs  cCs|jS)z **[Required]** Gets the compartment_id of this DataSource. CompartmentId of Data source. :return: The compartment_id of this DataSource. :rtype: str r3rDr@r@rArs zDataSource.compartment_idcCs ||_dS)z Sets the compartment_id of this DataSource. CompartmentId of Data source. :param compartment_id: The compartment_id of this DataSource. :type: str NrH)r>rr@r@rArs cCs|jS)z Gets the data_source_details of this DataSource. :return: The data_source_details of this DataSource. :rtype: oci.cloud_guard.models.DataSourceDetails r4rDr@r@rArszDataSource.data_source_detailscCs ||_dS)z Sets the data_source_details of this DataSource. :param data_source_details: The data_source_details of this DataSource. :type: oci.cloud_guard.models.DataSourceDetails NrI)r>rr@r@rArscCs|jS)z Gets the time_created of this DataSource. The date and time the Data source was created. Format defined by RFC3339. :return: The time_created of this DataSource. :rtype: datetime r5rDr@r@rAr's zDataSource.time_createdcCs ||_dS)z Sets the time_created of this DataSource. The date and time the Data source was created. Format defined by RFC3339. :param time_created: The time_created of this DataSource. :type: datetime NrJ)r>rr@r@rAr3s cCs|jS)z Gets the time_updated of this DataSource. The date and time the Data source was updated. Format defined by RFC3339. :return: The time_updated of this DataSource. :rtype: datetime r6rDr@r@rAr?s zDataSource.time_updatedcCs ||_dS)z Sets the time_updated of this DataSource. The date and time the Data source was updated. Format defined by RFC3339. :param time_updated: The time_updated of this DataSource. :type: datetime NrK)r>rr@r@rArKs cCs|jS)aS Gets the status of this DataSource. Status of data Source Allowed values for this property are: "ENABLED", "DISABLED", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :return: The status of this DataSource. :rtype: str )r7rDr@r@rArWs zDataSource.statuscCs ddg}t||sd}||_dS)z Sets the status of this DataSource. Status of data Source :param status: The status of this DataSource. :type: str rr rFN)rr7)r>rrGr@r@rArfs  cCs|jS)a  Gets the data_source_detector_mapping_info of this DataSource. Information about the detector recipe and rule attached :return: The data_source_detector_mapping_info of this DataSource. :rtype: list[oci.cloud_guard.models.DataSourceMappingInfo] r8rDr@r@rArus z,DataSource.data_source_detector_mapping_infocCs ||_dS)a@ Sets the data_source_detector_mapping_info of this DataSource. Information about the detector recipe and rule attached :param data_source_detector_mapping_info: The data_source_detector_mapping_info of this DataSource. :type: list[oci.cloud_guard.models.DataSourceMappingInfo] NrL)r>rr@r@rArs cCs|jS)a Gets the region_status_detail of this DataSource. Information about the region and status of query replication :return: The region_status_detail of this DataSource. :rtype: list[oci.cloud_guard.models.RegionStatusDetail] r9rDr@r@rArs zDataSource.region_status_detailcCs ||_dS)a Sets the region_status_detail of this DataSource. Information about the region and status of query replication :param region_status_detail: The region_status_detail of this DataSource. :type: list[oci.cloud_guard.models.RegionStatusDetail] NrM)r>rr@r@rArs cCs|jS)a Gets the lifecycle_state of this DataSource. The current state of the resource. Allowed values for this property are: "CREATING", "UPDATING", "ACTIVE", "INACTIVE", "DELETING", "DELETED", "FAILED", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :return: The lifecycle_state of this DataSource. :rtype: str )r:rDr@r@rArs zDataSource.lifecycle_statecCs gd}t||sd}||_dS)z Sets the lifecycle_state of this DataSource. The current state of the resource. :param lifecycle_state: The lifecycle_state of this DataSource. :type: str )r r r r rrrrFN)rr:)r>rrGr@r@rArs  cCs|jS)am Gets the freeform_tags of this DataSource. Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}` Avoid entering confidential information. :return: The freeform_tags of this DataSource. :rtype: dict(str, str) r;rDr@r@rArs zDataSource.freeform_tagscCs ||_dS)ay Sets the freeform_tags of this DataSource. Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}` Avoid entering confidential information. :param freeform_tags: The freeform_tags of this DataSource. :type: dict(str, str) NrN)r>rr@r@rArs cCs|jS)a5 Gets the defined_tags of this DataSource. Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"foo-namespace": {"bar-key": "value"}}` :return: The defined_tags of this DataSource. :rtype: dict(str, dict(str, object)) r<rDr@r@rAr s zDataSource.defined_tagscCs ||_dS)a@ Sets the defined_tags of this DataSource. Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"foo-namespace": {"bar-key": "value"}}` :param defined_tags: The defined_tags of this DataSource. :type: dict(str, dict(str, object)) NrO)r>r r@r@rAr s cCs|jS)a Gets the system_tags of this DataSource. System tags for this resource. Each key is predefined and scoped to a namespace. For more information, see `Resource Tags`__. System tags can be viewed by users, but can only be created by the system. Example: `{"orcl-cloud": {"free-tier-retained": "true"}}` __ https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm :return: The system_tags of this DataSource. :rtype: dict(str, dict(str, object)) r=rDr@r@rAr!szDataSource.system_tagscCs ||_dS)a  Sets the system_tags of this DataSource. System tags for this resource. Each key is predefined and scoped to a namespace. For more information, see `Resource Tags`__. System tags can be viewed by users, but can only be created by the system. Example: `{"orcl-cloud": {"free-tier-retained": "true"}}` __ https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm :param system_tags: The system_tags of this DataSource. :type: dict(str, dict(str, object)) NrP)r>r!r@r@rAr! scCst|SN)rrDr@r@rA__repr__szDataSource.__repr__cCs|dur dS|j|jkS)NF)__dict__r>otherr@r@rA__eq__"szDataSource.__eq__cCs ||k SrQr@rTr@r@rA__ne__(szDataSource.__ne__N)"__name__ __module__ __qualname____doc__&DATA_SOURCE_FEED_PROVIDER_LOGGINGQUERYSTATUS_ENABLEDSTATUS_DISABLEDLIFECYCLE_STATE_CREATINGLIFECYCLE_STATE_UPDATINGLIFECYCLE_STATE_ACTIVELIFECYCLE_STATE_INACTIVELIFECYCLE_STATE_DELETINGLIFECYCLE_STATE_DELETEDLIFECYCLE_STATE_FAILEDrBpropertyrsetterrrrrrrrrrrrr r!rRrVrWr@r@r@rAr su                            rN)oci.utilrrroci.decoratorsrobjectrr@r@r@rAs