ruạṛ
a ���fZC � @ 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 ZdZdZdZdZdZdZdZ dd � Z ed d� �Zej dd� �Zed d� �Zej dd� �Zedd� �Zej dd� �Zedd� �Zej dd� �Zedd� �Zej dd� �Zedd� �Zej dd� �Zedd� �Zej dd� �Zedd � �Zej d!d � �Zed"d#� �Zej d$d#� �Zed%d&� �Zej d'd&� �Zed(d)� �Zej d*d)� �Zed+d,� �Zej d-d,� �Zed.d/� �Zej d0d/� �Zd1d2� Zd3d4� Zd5d6� Zd7S )8� Deploymentz� A deployment deploys an API on a gateway. Avoid entering confidential information. For more information, see `API Gateway Concepts`__. __ https://docs.cloud.oracle.com/iaas/Content/APIGateway/Concepts/apigatewayconcepts.htm �CREATING�ACTIVE�UPDATING�DELETING�DELETED�FAILEDc K s� dddddddddddddd� | _ ddd d ddd ddddddd� | _d| _d| _d| _d| _d| _d| _d| _d| _ d| _ d| _d| _d| _ d| _dS )a8 Initializes a new Deployment 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 Deployment. :type id: str :param gateway_id: The value to assign to the gateway_id property of this Deployment. :type gateway_id: str :param display_name: The value to assign to the display_name property of this Deployment. :type display_name: str :param compartment_id: The value to assign to the compartment_id property of this Deployment. :type compartment_id: str :param path_prefix: The value to assign to the path_prefix property of this Deployment. :type path_prefix: str :param endpoint: The value to assign to the endpoint property of this Deployment. :type endpoint: str :param specification: The value to assign to the specification property of this Deployment. :type specification: oci.apigateway.models.ApiSpecification :param time_created: The value to assign to the time_created property of this Deployment. :type time_created: datetime :param time_updated: The value to assign to the time_updated property of this Deployment. :type time_updated: datetime :param lifecycle_state: The value to assign to the lifecycle_state property of this Deployment. Allowed values for this property are: "CREATING", "ACTIVE", "UPDATING", "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 lifecycle_details: The value to assign to the lifecycle_details property of this Deployment. :type lifecycle_details: str :param freeform_tags: The value to assign to the freeform_tags property of this Deployment. :type freeform_tags: dict(str, str) :param defined_tags: The value to assign to the defined_tags property of this Deployment. :type defined_tags: dict(str, dict(str, object)) �strZApiSpecificationZdatetimezdict(str, str)zdict(str, dict(str, object))) �id� gateway_id�display_name�compartment_id�path_prefix�endpoint� specification�time_created�time_updated�lifecycle_state�lifecycle_details� freeform_tags�defined_tagsr Z gatewayIdZdisplayNameZ compartmentIdZ pathPrefixr r ZtimeCreatedZtimeUpdatedZlifecycleStateZlifecycleDetailsZfreeformTagsZdefinedTagsN)Z swagger_typesZ attribute_map�_id�_gateway_id� _display_name�_compartment_id�_path_prefix� _endpoint�_specification� _time_created� _time_updated�_lifecycle_state�_lifecycle_details�_freeform_tags� _defined_tags)�self�kwargs� r* �D/usr/lib/python3.9/site-packages/oci/apigateway/models/deployment.py�__init__. sR =��zDeployment.__init__c C s | j S )z� **[Required]** Gets the id of this Deployment. The `OCID`__ of the resource. __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm :return: The id of this Deployment. :rtype: str �r �r( r* r* r+ r � s z Deployment.idc C s || _ dS )z� Sets the id of this Deployment. The `OCID`__ of the resource. __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm :param id: The id of this Deployment. :type: str Nr- )r( r r* r* r+ r � s c C s | j S )a **[Required]** Gets the gateway_id of this Deployment. The `OCID`__ of the resource. __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm :return: The gateway_id of this Deployment. :rtype: str �r r. r* r* r+ r � s zDeployment.gateway_idc C s || _ dS )a Sets the gateway_id of this Deployment. The `OCID`__ of the resource. __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm :param gateway_id: The gateway_id of this Deployment. :type: str Nr/ )r( r r* r* r+ r � s c C s | j S )a+ Gets the display_name of this Deployment. A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information. Example: `My new resource` :return: The display_name of this Deployment. :rtype: str �r r. r* r* r+ r � s zDeployment.display_namec C s || _ dS )a6 Sets the display_name of this Deployment. A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information. Example: `My new resource` :param display_name: The display_name of this Deployment. :type: str Nr0 )r( r r* r* r+ r � s c C s | j S )a? **[Required]** Gets the compartment_id of this Deployment. The `OCID`__ of the compartment in which the resource is created. __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm :return: The compartment_id of this Deployment. :rtype: str �r r. r* r* r+ r � s zDeployment.compartment_idc C s || _ dS )a= Sets the compartment_id of this Deployment. The `OCID`__ of the compartment in which the resource is created. __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm :param compartment_id: The compartment_id of this Deployment. :type: str Nr1 )r( r r* r* r+ r � s c C s | j S )a� **[Required]** Gets the path_prefix of this Deployment. A path on which to deploy all routes contained in the API deployment specification. For more information, see `Deploying an API on an API Gateway by Creating an API Deployment`__. __ https://docs.cloud.oracle.com/iaas/Content/APIGateway/Tasks/apigatewaycreatingdeployment.htm :return: The path_prefix of this Deployment. :rtype: str �r r. r* r* r+ r s zDeployment.path_prefixc C s || _ dS )a� Sets the path_prefix of this Deployment. A path on which to deploy all routes contained in the API deployment specification. For more information, see `Deploying an API on an API Gateway by Creating an API Deployment`__. __ https://docs.cloud.oracle.com/iaas/Content/APIGateway/Tasks/apigatewaycreatingdeployment.htm :param path_prefix: The path_prefix of this Deployment. :type: str Nr2 )r( r r* r* r+ r s c C s | j S )z� **[Required]** Gets the endpoint of this Deployment. The endpoint to access this deployment on the gateway. :return: The endpoint of this Deployment. :rtype: str �r r. r* r* r+ r . s zDeployment.endpointc C s || _ dS )z� Sets the endpoint of this Deployment. The endpoint to access this deployment on the gateway. :param endpoint: The endpoint of this Deployment. :type: str Nr3 )r( r r* r* r+ r : s c C s | j S )z� **[Required]** Gets the specification of this Deployment. :return: The specification of this Deployment. :rtype: oci.apigateway.models.ApiSpecification �r! r. r* r* r+ r F s zDeployment.specificationc C s || _ dS )z� Sets the specification of this Deployment. :param specification: The specification of this Deployment. :type: oci.apigateway.models.ApiSpecification Nr4 )r( r r* r* r+ r P s c C s | j S )z� Gets the time_created of this Deployment. The time this resource was created. An RFC3339 formatted datetime string. :return: The time_created of this Deployment. :rtype: datetime �r"