File: //lib/python3.9/site-packages/oci/devops/models/__pycache__/create_project_details.cpython-39.pyc
a
���ft � @ 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 ZdZdd� Zedd� �Zejdd� �Zedd� �Zejd d� �Zed
d� �Z e jdd� �Z ed
d� �Z
e
jdd� �Z
edd� �Zejdd� �Zedd� �Zejdd� �Zdd� Z
dd� Zdd� ZdS )�CreateProjectDetailsz:
The information about new project to be created.
c K sP ddddddd�| _ dddd d
dd�| _d| _d| _d| _d| _d| _d| _dS )
a�
Initializes a new CreateProjectDetails object with values from keyword arguments.
The following keyword arguments are supported (corresponding to the getters/setters of this class):
:param name:
The value to assign to the name property of this CreateProjectDetails.
:type name: str
:param description:
The value to assign to the description property of this CreateProjectDetails.
:type description: str
:param notification_config:
The value to assign to the notification_config property of this CreateProjectDetails.
:type notification_config: oci.devops.models.NotificationConfig
:param compartment_id:
The value to assign to the compartment_id property of this CreateProjectDetails.
:type compartment_id: str
:param freeform_tags:
The value to assign to the freeform_tags property of this CreateProjectDetails.
:type freeform_tags: dict(str, str)
:param defined_tags:
The value to assign to the defined_tags property of this CreateProjectDetails.
:type defined_tags: dict(str, dict(str, object))
�strZNotificationConfigzdict(str, str)zdict(str, dict(str, object)))�name�description�notification_config�compartment_id�
freeform_tags�defined_tagsr r ZnotificationConfigZ
compartmentIdZfreeformTagsZdefinedTagsN)Z
swagger_typesZ
attribute_map�_name�_description�_notification_config�_compartment_id�_freeform_tags�
_defined_tags)�self�kwargs� r �L/usr/lib/python3.9/site-packages/oci/devops/models/create_project_details.py�__init__ s( �
� zCreateProjectDetails.__init__c C s | j S )z�
**[Required]** Gets the name of this CreateProjectDetails.
Project name (case-sensitive).
:return: The name of this CreateProjectDetails.
:rtype: str
�r �r r r r r I s
zCreateProjectDetails.namec C s
|| _ dS )z�
Sets the name of this CreateProjectDetails.
Project name (case-sensitive).
:param name: The name of this CreateProjectDetails.
:type: str
Nr )r r r r r r U s
c C s | j S )z�
Gets the description of this CreateProjectDetails.
Project description.
:return: The description of this CreateProjectDetails.
:rtype: str
�r r r r r r a s
z CreateProjectDetails.descriptionc C s
|| _ dS )z�
Sets the description of this CreateProjectDetails.
Project description.
:param description: The description of this CreateProjectDetails.
:type: str
Nr )r r r r r r m s
c C s | j S )z�
**[Required]** Gets the notification_config of this CreateProjectDetails.
:return: The notification_config of this CreateProjectDetails.
:rtype: oci.devops.models.NotificationConfig
�r r r r r r
y s z(CreateProjectDetails.notification_configc C s
|| _ dS )z�
Sets the notification_config of this CreateProjectDetails.
:param notification_config: The notification_config of this CreateProjectDetails.
:type: oci.devops.models.NotificationConfig
Nr )r r
r r r r
� s c C s | j S )z�
**[Required]** Gets the compartment_id of this CreateProjectDetails.
The OCID of the compartment where the project is created.
:return: The compartment_id of this CreateProjectDetails.
:rtype: str
�r r r r r r � s
z#CreateProjectDetails.compartment_idc C s
|| _ dS )z�
Sets the compartment_id of this CreateProjectDetails.
The OCID of the compartment where the project is created.
:param compartment_id: The compartment_id of this CreateProjectDetails.
:type: str
Nr )r r r r r r � s
c C s | j S )a�
Gets the freeform_tags of this CreateProjectDetails.
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 CreateProjectDetails.
:rtype: dict(str, str)
�r r r r r r � s z"CreateProjectDetails.freeform_tagsc C s
|| _ dS )a�
Sets the freeform_tags of this CreateProjectDetails.
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 CreateProjectDetails.
:type: dict(str, str)
Nr )r r r r r r � s c C s | j S )a�
Gets the defined_tags of this CreateProjectDetails.
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 CreateProjectDetails.
:rtype: dict(str, dict(str, object))
�r r r r r r
� s z!CreateProjectDetails.defined_tagsc C s
|| _ dS )a�
Sets the defined_tags of this CreateProjectDetails.
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 CreateProjectDetails.
:type: dict(str, dict(str, object))
Nr )r r
r r r r
� s c C s t | �S �N)r r r r r �__repr__� s zCreateProjectDetails.__repr__c C s |d u rdS | j |j kS )NF)�__dict__�r �otherr r r �__eq__� s zCreateProjectDetails.__eq__c C s
| |k S r r r# r r r �__ne__� s zCreateProjectDetails.__ne__N)�__name__�
__module__�__qualname__�__doc__r �propertyr �setterr r
r r r
r! r% r&