a OfI@s8ddlmZmZmZddlmZeGdddeZdS))formatted_flat_dict NONE_SENTINEL#value_allowed_none_or_none_sentinel)init_model_state_from_kwargsc@seZdZdZdZdZdZdZddZe dd Z e j d d Z e d d Z e j d d Z e ddZ e j ddZ e ddZej ddZe ddZej ddZe ddZej ddZe ddZej ddZe ddZej ddZe d d!Zej d"d!Ze d#d$Zej d%d$Ze d&d'Zej d(d'Ze d)d*Zej d+d*Ze d,d-Zej d.d-Ze d/d0Zej d1d0Ze d2d3Zej d4d3Ze d5d6Zej d7d6Zd8d9Zd:d;ZdS)?Schedulez The schedule. CSVPDFACTIVEINACTIVEcKsddddddddddddddddd|_dd d d d d ddddddddddd|_d|_d|_d|_d|_d|_d|_d|_d|_ d|_ d|_ d|_ d|_ d|_d|_d|_d|_dS)a Initializes a new Schedule 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 Schedule. :type id: str :param name: The value to assign to the name property of this Schedule. :type name: str :param compartment_id: The value to assign to the compartment_id property of this Schedule. :type compartment_id: str :param result_location: The value to assign to the result_location property of this Schedule. :type result_location: oci.usage_api.models.ResultLocation :param description: The value to assign to the description property of this Schedule. :type description: str :param time_next_run: The value to assign to the time_next_run property of this Schedule. :type time_next_run: datetime :param output_file_format: The value to assign to the output_file_format property of this Schedule. Allowed values for this property are: "CSV", "PDF", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :type output_file_format: str :param saved_report_id: The value to assign to the saved_report_id property of this Schedule. :type saved_report_id: str :param schedule_recurrences: The value to assign to the schedule_recurrences property of this Schedule. :type schedule_recurrences: str :param time_scheduled: The value to assign to the time_scheduled property of this Schedule. :type time_scheduled: datetime :param query_properties: The value to assign to the query_properties property of this Schedule. :type query_properties: oci.usage_api.models.QueryProperties :param time_created: The value to assign to the time_created property of this Schedule. :type time_created: datetime :param lifecycle_state: The value to assign to the lifecycle_state property of this Schedule. Allowed values for this property are: "ACTIVE", "INACTIVE", '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 Schedule. :type freeform_tags: dict(str, str) :param defined_tags: The value to assign to the defined_tags property of this Schedule. :type defined_tags: dict(str, dict(str, object)) :param system_tags: The value to assign to the system_tags property of this Schedule. :type system_tags: dict(str, dict(str, object)) strResultLocationdatetimeQueryPropertieszdict(str, str)zdict(str, dict(str, object)))idnamecompartment_idresult_location description time_next_runoutput_file_formatsaved_report_idschedule_recurrencestime_scheduledquery_properties time_createdlifecycle_state freeform_tags defined_tags system_tagsrr compartmentIdresultLocationr timeNextRunoutputFileFormat savedReportIdscheduleRecurrences timeScheduledqueryProperties timeCreatedlifecycleState freeformTags definedTags systemTagsN) swagger_types attribute_map_id_name_compartment_id_result_location _description_time_next_run_output_file_format_saved_report_id_schedule_recurrences_time_scheduled_query_properties _time_created_lifecycle_state_freeform_tags _defined_tags _system_tags)selfkwargsr@/sparta/input/_build_configuration/image_build+validate/lib/bmcenv/lib64/python3.9/site-packages/oci/usage_api/models/schedule.py__init__ sdKzSchedule.__init__cCs|jS)z **[Required]** Gets the id of this Schedule. The OCID representing a unique shedule. :return: The id of this Schedule. :rtype: str r.r>r@r@rArs z Schedule.idcCs ||_dS)z Sets the id of this Schedule. The OCID representing a unique shedule. :param id: The id of this Schedule. :type: str NrC)r>rr@r@rArs cCs|jS)z **[Required]** Gets the name of this Schedule. The unique name of the schedule created by the user. :return: The name of this Schedule. :rtype: str r/rDr@r@rArs z Schedule.namecCs ||_dS)z Sets the name of this Schedule. The unique name of the schedule created by the user. :param name: The name of this Schedule. :type: str NrE)r>rr@r@rArs cCs|jS)z **[Required]** Gets the compartment_id of this Schedule. The customer tenancy. :return: The compartment_id of this Schedule. :rtype: str r0rDr@r@rArs zSchedule.compartment_idcCs ||_dS)z Sets the compartment_id of this Schedule. The customer tenancy. :param compartment_id: The compartment_id of this Schedule. :type: str NrF)r>rr@r@rArs cCs|jS)z **[Required]** Gets the result_location of this Schedule. :return: The result_location of this Schedule. :rtype: oci.usage_api.models.ResultLocation r1rDr@r@rArszSchedule.result_locationcCs ||_dS)z Sets the result_location of this Schedule. :param result_location: The result_location of this Schedule. :type: oci.usage_api.models.ResultLocation NrG)r>rr@r@rArscCs|jS)z Gets the description of this Schedule. The description of the schedule. :return: The description of this Schedule. :rtype: str r2rDr@r@rArs zSchedule.descriptioncCs ||_dS)z Sets the description of this Schedule. The description of the schedule. :param description: The description of this Schedule. :type: str NrH)r>rr@r@rAr s cCs|jS)z Gets the time_next_run of this Schedule. The date and time of the next job execution. :return: The time_next_run of this Schedule. :rtype: datetime r3rDr@r@rArs zSchedule.time_next_runcCs ||_dS)z Sets the time_next_run of this Schedule. The date and time of the next job execution. :param time_next_run: The time_next_run of this Schedule. :type: datetime NrI)r>rr@r@rAr!s cCs|jS)ap Gets the output_file_format of this Schedule. Specifies supported output file format. Allowed values for this property are: "CSV", "PDF", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :return: The output_file_format of this Schedule. :rtype: str )r4rDr@r@rAr-s zSchedule.output_file_formatcCs ddg}t||sd}||_dS)z Sets the output_file_format of this Schedule. Specifies supported output file format. :param output_file_format: The output_file_format of this Schedule. :type: str rrUNKNOWN_ENUM_VALUEN)rr4)r>rallowed_valuesr@r@rAr<s  cCs|jS)z Gets the saved_report_id of this Schedule. The saved report id which can also be used to generate query. :return: The saved_report_id of this Schedule. :rtype: str r5rDr@r@rArKs zSchedule.saved_report_idcCs ||_dS)z Sets the saved_report_id of this Schedule. The saved report id which can also be used to generate query. :param saved_report_id: The saved_report_id of this Schedule. :type: str NrL)r>rr@r@rArWs cCs|jS)a **[Required]** Gets the schedule_recurrences of this Schedule. Specifies the frequency according to when the schedule will be run, in the x-obmcs-recurring-time format described in `RFC 5545 section 3.3.10`__. Supported values are : ONE_TIME, DAILY, WEEKLY and MONTHLY. __ https://datatracker.ietf.org/doc/html/rfc5545#section-3.3.10 :return: The schedule_recurrences of this Schedule. :rtype: str r6rDr@r@rArcszSchedule.schedule_recurrencescCs ||_dS)a Sets the schedule_recurrences of this Schedule. Specifies the frequency according to when the schedule will be run, in the x-obmcs-recurring-time format described in `RFC 5545 section 3.3.10`__. Supported values are : ONE_TIME, DAILY, WEEKLY and MONTHLY. __ https://datatracker.ietf.org/doc/html/rfc5545#section-3.3.10 :param schedule_recurrences: The schedule_recurrences of this Schedule. :type: str NrM)r>rr@r@rArsscCs|jS)z **[Required]** Gets the time_scheduled of this Schedule. The date and time of the first time job execution. :return: The time_scheduled of this Schedule. :rtype: datetime r7rDr@r@rArs zSchedule.time_scheduledcCs ||_dS)z Sets the time_scheduled of this Schedule. The date and time of the first time job execution. :param time_scheduled: The time_scheduled of this Schedule. :type: datetime NrN)r>rr@r@rArs cCs|jS)z Gets the query_properties of this Schedule. :return: The query_properties of this Schedule. :rtype: oci.usage_api.models.QueryProperties r8rDr@r@rArszSchedule.query_propertiescCs ||_dS)z Sets the query_properties of this Schedule. :param query_properties: The query_properties of this Schedule. :type: oci.usage_api.models.QueryProperties NrO)r>rr@r@rArscCs|jS)z **[Required]** Gets the time_created of this Schedule. The date and time the schedule was created. :return: The time_created of this Schedule. :rtype: datetime r9rDr@r@rArs zSchedule.time_createdcCs ||_dS)z Sets the time_created of this Schedule. The date and time the schedule was created. :param time_created: The time_created of this Schedule. :type: datetime NrP)r>rr@r@rArs cCs|jS)aw **[Required]** Gets the lifecycle_state of this Schedule. The schedule lifecycle state. Allowed values for this property are: "ACTIVE", "INACTIVE", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :return: The lifecycle_state of this Schedule. :rtype: str )r:rDr@r@rArs zSchedule.lifecycle_statecCs ddg}t||sd}||_dS)z Sets the lifecycle_state of this Schedule. The schedule lifecycle state. :param lifecycle_state: The lifecycle_state of this Schedule. :type: str r r rJN)rr:)r>rrKr@r@rArs  cCs|jS)a Gets the freeform_tags of this Schedule. Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. See `Resource Tags`__. Example: `{"bar-key": "value"}` __ https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm :return: The freeform_tags of this Schedule. :rtype: dict(str, str) r;rDr@r@rArs zSchedule.freeform_tagscCs ||_dS)a Sets the freeform_tags of this Schedule. Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. See `Resource Tags`__. Example: `{"bar-key": "value"}` __ https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm :param freeform_tags: The freeform_tags of this Schedule. :type: dict(str, str) NrQ)r>rr@r@rArs cCs|jS)a Gets the defined_tags of this Schedule. Defined tags for this resource. Each key is predefined and scoped to a namespace. See `Resource Tags`__. Example: `{"foo-namespace": {"bar-key": "value"}}` __ https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm :return: The defined_tags of this Schedule. :rtype: dict(str, dict(str, object)) r<rDr@r@rArs zSchedule.defined_tagscCs ||_dS)a Sets the defined_tags of this Schedule. Defined tags for this resource. Each key is predefined and scoped to a namespace. See `Resource Tags`__. Example: `{"foo-namespace": {"bar-key": "value"}}` __ https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm :param defined_tags: The defined_tags of this Schedule. :type: dict(str, dict(str, object)) NrR)r>rr@r@rArs cCs|jS)a Gets the system_tags of this Schedule. Usage of system tag keys. These predefined keys are scoped to namespaces. See `Resource Tags`__. Example: `{"orcl-cloud": {"free-tier-retained": "true"}}` __ https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm :return: The system_tags of this Schedule. :rtype: dict(str, dict(str, object)) r=rDr@r@rArs zSchedule.system_tagscCs ||_dS)a Sets the system_tags of this Schedule. Usage of system tag keys. These predefined keys are scoped to namespaces. See `Resource Tags`__. 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 Schedule. :type: dict(str, dict(str, object)) NrS)r>rr@r@rAr-s cCst|SN)rrDr@r@rA__repr__;szSchedule.__repr__cCs|dur dS|j|jkS)NF)__dict__r>otherr@r@rA__eq__>szSchedule.__eq__cCs ||k SrTr@rWr@r@rA__ne__DszSchedule.__ne__N)__name__ __module__ __qualname____doc__OUTPUT_FILE_FORMAT_CSVOUTPUT_FILE_FORMAT_PDFLIFECYCLE_STATE_ACTIVELIFECYCLE_STATE_INACTIVErBpropertyrsetterrrrrrrrrrrrrrrrrUrYrZr@r@r@rAr s                                rN)oci.utilrrroci.decoratorsrobjectrr@r@r@rAs