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 ddZddZddZdS)CreateDeploymentDetailsz/ The information about new deployment. cKsFdddddd|_ddddd d|_d |_d |_d |_d |_d |_d S) a  Initializes a new CreateDeploymentDetails 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.CreateDeployPipelineRedeploymentDetails` * :class:`~oci.devops.models.CreateDeployPipelineDeploymentDetails` * :class:`~oci.devops.models.CreateSingleDeployStageDeploymentDetails` * :class:`~oci.devops.models.CreateSingleDeployStageRedeploymentDetails` The following keyword arguments are supported (corresponding to the getters/setters of this class): :param deploy_pipeline_id: The value to assign to the deploy_pipeline_id property of this CreateDeploymentDetails. :type deploy_pipeline_id: str :param deployment_type: The value to assign to the deployment_type property of this CreateDeploymentDetails. :type deployment_type: str :param display_name: The value to assign to the display_name property of this CreateDeploymentDetails. :type display_name: str :param freeform_tags: The value to assign to the freeform_tags property of this CreateDeploymentDetails. :type freeform_tags: dict(str, str) :param defined_tags: The value to assign to the defined_tags property of this CreateDeploymentDetails. :type defined_tags: dict(str, dict(str, object)) strzdict(str, str)zdict(str, dict(str, object)))deploy_pipeline_iddeployment_type display_name freeform_tags defined_tagsdeployPipelineIddeploymentType displayName freeformTags definedTagsN) swagger_types attribute_map_deploy_pipeline_id_deployment_type _display_name_freeform_tags _defined_tags)selfkwargsr/sparta/input/_build_configuration/image_build+validate/lib/bmcenv/lib64/python3.9/site-packages/oci/devops/models/create_deployment_details.py__init__s"" z CreateDeploymentDetails.__init__cCs@|d}|dkrdS|dkr dS|dkr,dS|dkr8d Sd Sd S) z Given the hash representation of a subtype of this class, use the info in the hash to return the class of the subtype. rPIPELINE_REDEPLOYMENT'CreateDeployPipelineRedeploymentDetailsPIPELINE_DEPLOYMENT%CreateDeployPipelineDeploymentDetailsSINGLE_STAGE_DEPLOYMENT(CreateSingleDeployStageDeploymentDetailsSINGLE_STAGE_REDEPLOYMENT*CreateSingleDeployStageRedeploymentDetailsrNr)object_dictionarytyperrr get_subtypeGsz#CreateDeploymentDetails.get_subtypecCs|jS)z **[Required]** Gets the deploy_pipeline_id of this CreateDeploymentDetails. The OCID of a pipeline. :return: The deploy_pipeline_id of this CreateDeploymentDetails. :rtype: str rrrrrr]s z*CreateDeploymentDetails.deploy_pipeline_idcCs ||_dS)z Sets the deploy_pipeline_id of this CreateDeploymentDetails. The OCID of a pipeline. :param deploy_pipeline_id: The deploy_pipeline_id of this CreateDeploymentDetails. :type: str Nr))rrrrrris cCs|jS)z **[Required]** Gets the deployment_type of this CreateDeploymentDetails. Specifies type for this deployment. :return: The deployment_type of this CreateDeploymentDetails. :rtype: str rr*rrrr us z'CreateDeploymentDetails.deployment_typecCs ||_dS)z Sets the deployment_type of this CreateDeploymentDetails. Specifies type for this deployment. :param deployment_type: The deployment_type of this CreateDeploymentDetails. :type: str Nr+)rr rrrr s cCs|jS)z Gets the display_name of this CreateDeploymentDetails. Deployment display name. Avoid entering confidential information. :return: The display_name of this CreateDeploymentDetails. :rtype: str rr*rrrr s z$CreateDeploymentDetails.display_namecCs ||_dS)z Sets the display_name of this CreateDeploymentDetails. Deployment display name. Avoid entering confidential information. :param display_name: The display_name of this CreateDeploymentDetails. :type: str Nr,)rr rrrr s cCs|jS)a Gets the freeform_tags of this CreateDeploymentDetails. 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 CreateDeploymentDetails. :rtype: dict(str, str) rr*rrrr s z%CreateDeploymentDetails.freeform_tagscCs ||_dS)a Sets the freeform_tags of this CreateDeploymentDetails. 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 CreateDeploymentDetails. :type: dict(str, str) Nr-)rr rrrr s cCs|jS)a Gets the defined_tags of this CreateDeploymentDetails. 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 CreateDeploymentDetails. :rtype: dict(str, dict(str, object)) rr*rrrr s z$CreateDeploymentDetails.defined_tagscCs ||_dS)a Sets the defined_tags of this CreateDeploymentDetails. 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 CreateDeploymentDetails. :type: dict(str, dict(str, object)) Nr.)rr rrrr s cCst|SN)rr*rrr__repr__sz CreateDeploymentDetails.__repr__cCs|dur dS|j|jkS)NF)__dict__rotherrrr__eq__szCreateDeploymentDetails.__eq__cCs ||k Sr/rr2rrr__ne__szCreateDeploymentDetails.__ne__N)__name__ __module__ __qualname____doc__r staticmethodr(propertyrsetterr r r r r0r4r5rrrrr s67           rN)oci.utilrrroci.decoratorsrobjectrrrrrs