a Nf?@s8ddlmZmZmZddlmZeGdddeZdS))formatted_flat_dict NONE_SENTINEL#value_allowed_none_or_none_sentinel)init_model_state_from_kwargsc@seZdZdZddZeddZeddZej ddZed d Z e j d d Z ed d Z e j dd Z eddZ e j ddZ eddZ e j ddZ eddZej ddZeddZej ddZeddZej ddZeddZej d dZed!d"Zej d#d"Zed$d%Zej d&d%Zed'd(Zej d)d(Zed*d+Zej d,d+Zd-d.Zd/d0Zd1d2Zd3S)4TriggerSummaryz! Summary of the trigger. cKsdddddddddddddd |_dddd d d d d dddddd |_d|_d|_d|_d|_d|_d|_d|_d|_ d|_ d|_ d|_ d|_ d|_dS)a Initializes a new TriggerSummary object with values from keyword arguments. This class has the following subclasses and if you are using this class as input to a service operations then you should favor using a subclass over the base class: * :class:`~oci.devops.models.BitbucketCloudTriggerSummary` * :class:`~oci.devops.models.GitlabTriggerSummary` * :class:`~oci.devops.models.GitlabServerTriggerSummary` * :class:`~oci.devops.models.GithubTriggerSummary` * :class:`~oci.devops.models.DevopsCodeRepositoryTriggerSummary` * :class:`~oci.devops.models.BitbucketServerTriggerSummary` * :class:`~oci.devops.models.VbsTriggerSummary` 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 TriggerSummary. :type id: str :param display_name: The value to assign to the display_name property of this TriggerSummary. :type display_name: str :param description: The value to assign to the description property of this TriggerSummary. :type description: str :param project_id: The value to assign to the project_id property of this TriggerSummary. :type project_id: str :param compartment_id: The value to assign to the compartment_id property of this TriggerSummary. :type compartment_id: str :param trigger_source: The value to assign to the trigger_source property of this TriggerSummary. :type trigger_source: str :param time_created: The value to assign to the time_created property of this TriggerSummary. :type time_created: datetime :param time_updated: The value to assign to the time_updated property of this TriggerSummary. :type time_updated: datetime :param lifecycle_state: The value to assign to the lifecycle_state property of this TriggerSummary. :type lifecycle_state: str :param lifecycle_details: The value to assign to the lifecycle_details property of this TriggerSummary. :type lifecycle_details: str :param freeform_tags: The value to assign to the freeform_tags property of this TriggerSummary. :type freeform_tags: dict(str, str) :param defined_tags: The value to assign to the defined_tags property of this TriggerSummary. :type defined_tags: dict(str, dict(str, object)) :param system_tags: The value to assign to the system_tags property of this TriggerSummary. :type system_tags: dict(str, dict(str, object)) strdatetimezdict(str, str)zdict(str, dict(str, object))) id display_name description project_idcompartment_idtrigger_source time_created time_updatedlifecycle_statelifecycle_details freeform_tags defined_tags system_tagsr displayNamer projectId compartmentId triggerSource timeCreated timeUpdatedlifecycleStatelifecycleDetails freeformTags definedTags systemTagsN) swagger_types attribute_map_id _display_name _description _project_id_compartment_id_trigger_source _time_created _time_updated_lifecycle_state_lifecycle_details_freeform_tags _defined_tags _system_tags)selfkwargsr2/sparta/input/_build_configuration/image_build+validate/lib/bmcenv/lib64/python3.9/site-packages/oci/devops/models/trigger_summary.py__init__sREzTriggerSummary.__init__cCsd|d}|dkrdS|dkr dS|dkr,dS|dkr8d S|d krDd S|d krPd S|dkr\dSdSdS)z Given the hash representation of a subtype of this class, use the info in the hash to return the class of the subtype. rBITBUCKET_CLOUDBitbucketCloudTriggerSummaryGITLABGitlabTriggerSummary GITLAB_SERVERGitlabServerTriggerSummaryGITHUBGithubTriggerSummaryDEVOPS_CODE_REPOSITORY"DevopsCodeRepositoryTriggerSummaryBITBUCKET_SERVERBitbucketServerTriggerSummaryVBSVbsTriggerSummaryrNr2)object_dictionarytyper2r2r3 get_subtypes zTriggerSummary.get_subtypecCs|jS)z **[Required]** Gets the id of this TriggerSummary. Unique identifier that is immutable on creation. :return: The id of this TriggerSummary. :rtype: str r#r0r2r2r3r s zTriggerSummary.idcCs ||_dS)z Sets the id of this TriggerSummary. Unique identifier that is immutable on creation. :param id: The id of this TriggerSummary. :type: str NrF)r0r r2r2r3r s cCs|jS)z Gets the display_name of this TriggerSummary. Trigger display name. Avoid entering confidential information. :return: The display_name of this TriggerSummary. :rtype: str r$rGr2r2r3r s zTriggerSummary.display_namecCs ||_dS)z Sets the display_name of this TriggerSummary. Trigger display name. Avoid entering confidential information. :param display_name: The display_name of this TriggerSummary. :type: str NrH)r0r r2r2r3r s cCs|jS)z Gets the description of this TriggerSummary. Description about the trigger. :return: The description of this TriggerSummary. :rtype: str r%rGr2r2r3r s zTriggerSummary.descriptioncCs ||_dS)z Sets the description of this TriggerSummary. Description about the trigger. :param description: The description of this TriggerSummary. :type: str NrI)r0r r2r2r3r s cCs|jS)z **[Required]** Gets the project_id of this TriggerSummary. The OCID of the DevOps project to which the trigger belongs to. :return: The project_id of this TriggerSummary. :rtype: str r&rGr2r2r3r s zTriggerSummary.project_idcCs ||_dS)z Sets the project_id of this TriggerSummary. The OCID of the DevOps project to which the trigger belongs to. :param project_id: The project_id of this TriggerSummary. :type: str NrJ)r0r r2r2r3r s cCs|jS)z **[Required]** Gets the compartment_id of this TriggerSummary. The OCID of the compartment that contains the trigger. :return: The compartment_id of this TriggerSummary. :rtype: str r'rGr2r2r3r s zTriggerSummary.compartment_idcCs ||_dS)z Sets the compartment_id of this TriggerSummary. The OCID of the compartment that contains the trigger. :param compartment_id: The compartment_id of this TriggerSummary. :type: str NrK)r0r r2r2r3r s cCs|jS)z **[Required]** Gets the trigger_source of this TriggerSummary. Source of the trigger. Allowed values are, GITHUB and GITLAB. :return: The trigger_source of this TriggerSummary. :rtype: str r(rGr2r2r3rs zTriggerSummary.trigger_sourcecCs ||_dS)z Sets the trigger_source of this TriggerSummary. Source of the trigger. Allowed values are, GITHUB and GITLAB. :param trigger_source: The trigger_source of this TriggerSummary. :type: str NrL)r0rr2r2r3r%s cCs|jS)a Gets the time_created of this TriggerSummary. The time the trigger was created. Format defined by `RFC3339`__. __ https://datatracker.ietf.org/doc/html/rfc3339 :return: The time_created of this TriggerSummary. :rtype: datetime r)rGr2r2r3r1s zTriggerSummary.time_createdcCs ||_dS)a" Sets the time_created of this TriggerSummary. The time the trigger was created. Format defined by `RFC3339`__. __ https://datatracker.ietf.org/doc/html/rfc3339 :param time_created: The time_created of this TriggerSummary. :type: datetime NrM)r0rr2r2r3r?s cCs|jS)a Gets the time_updated of this TriggerSummary. The time the trigger was updated. Format defined by `RFC3339`__. __ https://datatracker.ietf.org/doc/html/rfc3339 :return: The time_updated of this TriggerSummary. :rtype: datetime r*rGr2r2r3rMs zTriggerSummary.time_updatedcCs ||_dS)a" Sets the time_updated of this TriggerSummary. The time the trigger was updated. Format defined by `RFC3339`__. __ https://datatracker.ietf.org/doc/html/rfc3339 :param time_updated: The time_updated of this TriggerSummary. :type: datetime NrN)r0rr2r2r3r[s cCs|jS)z Gets the lifecycle_state of this TriggerSummary. The current state of the trigger. :return: The lifecycle_state of this TriggerSummary. :rtype: str r+rGr2r2r3ris zTriggerSummary.lifecycle_statecCs ||_dS)z Sets the lifecycle_state of this TriggerSummary. The current state of the trigger. :param lifecycle_state: The lifecycle_state of this TriggerSummary. :type: str NrO)r0rr2r2r3rus cCs|jS)a3 Gets the lifecycle_details of this TriggerSummary. A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state. :return: The lifecycle_details of this TriggerSummary. :rtype: str r,rGr2r2r3rs z TriggerSummary.lifecycle_detailscCs ||_dS)aC Sets the lifecycle_details of this TriggerSummary. A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state. :param lifecycle_details: The lifecycle_details of this TriggerSummary. :type: str NrP)r0rr2r2r3rs cCs|jS)a Gets the freeform_tags of this TriggerSummary. 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 TriggerSummary. :rtype: dict(str, str) r-rGr2r2r3rs zTriggerSummary.freeform_tagscCs ||_dS)a Sets the freeform_tags of this TriggerSummary. 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 TriggerSummary. :type: dict(str, str) NrQ)r0rr2r2r3rs cCs|jS)a Gets the defined_tags of this TriggerSummary. 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 TriggerSummary. :rtype: dict(str, dict(str, object)) r.rGr2r2r3rs zTriggerSummary.defined_tagscCs ||_dS)a Sets the defined_tags of this TriggerSummary. 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 TriggerSummary. :type: dict(str, dict(str, object)) NrR)r0rr2r2r3rs cCs|jS)a Gets the system_tags of this TriggerSummary. 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 TriggerSummary. :rtype: dict(str, dict(str, object)) r/rGr2r2r3rs zTriggerSummary.system_tagscCs ||_dS)a Sets the system_tags of this TriggerSummary. 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 TriggerSummary. :type: dict(str, dict(str, object)) NrS)r0rr2r2r3rs cCst|SN)rrGr2r2r3__repr__szTriggerSummary.__repr__cCs|dur dS|j|jkS)NF)__dict__r0otherr2r2r3__eq__szTriggerSummary.__eq__cCs ||k SrTr2rWr2r2r3__ne__szTriggerSummary.__ne__N)__name__ __module__ __qualname____doc__r4 staticmethodrEpropertyr setterr r r r rrrrrrrrrUrYrZr2r2r2r3r svr                           rN)oci.utilrrroci.decoratorsrobjectrr2r2r2r3s