📂 Advanced File Manager
Multi-Root Navigation System
⚡ Quick Jump
Server (/)
Home (/home)
Var_www (/var/www)
Current (/home4/shelley/public_html/shelleycutler.com/wp-content/mu-plugins)
📍 Go
⬆ Ke Atas
🏠 Root Server
🏠 Root App
🔄 Refresh
📀 /
›
usr
›
lib
›
python3.9
›
site-packages
›
oci
›
core
›
models
›
📁 __pycache__
📍
Lokasi:
/usr/lib/python3.9/site-packages/oci/core/models/__pycache__
💾
Free:
45.8 GB
⚠️ Direktori ini
tidak writable
.
✏️ Mengedit: update_service_gateway_details.cpython-39.pyc
a ���fr) � @ 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 )�UpdateServiceGatewayDetailsz, UpdateServiceGatewayDetails model. c K sP ddddddd�| _ ddd d ddd�| _d | _d | _d | _d | _d | _d | _d S )a� Initializes a new UpdateServiceGatewayDetails object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class): :param block_traffic: The value to assign to the block_traffic property of this UpdateServiceGatewayDetails. :type block_traffic: bool :param defined_tags: The value to assign to the defined_tags property of this UpdateServiceGatewayDetails. :type defined_tags: dict(str, dict(str, object)) :param display_name: The value to assign to the display_name property of this UpdateServiceGatewayDetails. :type display_name: str :param freeform_tags: The value to assign to the freeform_tags property of this UpdateServiceGatewayDetails. :type freeform_tags: dict(str, str) :param route_table_id: The value to assign to the route_table_id property of this UpdateServiceGatewayDetails. :type route_table_id: str :param services: The value to assign to the services property of this UpdateServiceGatewayDetails. :type services: list[oci.core.models.ServiceIdRequestDetails] �boolzdict(str, dict(str, object))�strzdict(str, str)zlist[ServiceIdRequestDetails])� block_traffic�defined_tags�display_name� freeform_tags�route_table_id�servicesZblockTrafficZdefinedTagsZdisplayNameZfreeformTagsZrouteTableIdr N)Z swagger_typesZ attribute_map�_block_traffic� _defined_tags� _display_name�_freeform_tags�_route_table_id� _services)�self�kwargs� r �R/usr/lib/python3.9/site-packages/oci/core/models/update_service_gateway_details.py�__init__ s( � � z$UpdateServiceGatewayDetails.__init__c C s | j S )a Gets the block_traffic of this UpdateServiceGatewayDetails. Whether the service gateway blocks all traffic through it. The default is `false`. When this is `true`, traffic is not routed to any services, regardless of route rules. Example: `true` :return: The block_traffic of this UpdateServiceGatewayDetails. :rtype: bool �r �r r r r r I s z)UpdateServiceGatewayDetails.block_trafficc C s || _ dS )a� Sets the block_traffic of this UpdateServiceGatewayDetails. Whether the service gateway blocks all traffic through it. The default is `false`. When this is `true`, traffic is not routed to any services, regardless of route rules. Example: `true` :param block_traffic: The block_traffic of this UpdateServiceGatewayDetails. :type: bool Nr )r r r r r r X s c C s | j S )a� Gets the defined_tags of this UpdateServiceGatewayDetails. Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see `Resource Tags`__. Example: `{"Operations": {"CostCenter": "42"}}` __ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm :return: The defined_tags of this UpdateServiceGatewayDetails. :rtype: dict(str, dict(str, object)) �r r r r r r g s z(UpdateServiceGatewayDetails.defined_tagsc C s || _ dS )a� Sets the defined_tags of this UpdateServiceGatewayDetails. Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see `Resource Tags`__. Example: `{"Operations": {"CostCenter": "42"}}` __ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm :param defined_tags: The defined_tags of this UpdateServiceGatewayDetails. :type: dict(str, dict(str, object)) Nr )r r r r r r x s c C s | j S )a) Gets the display_name of this UpdateServiceGatewayDetails. A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information. :return: The display_name of this UpdateServiceGatewayDetails. :rtype: str �r r r r r r � s z(UpdateServiceGatewayDetails.display_namec C s || _ dS )a4 Sets the display_name of this UpdateServiceGatewayDetails. A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information. :param display_name: The display_name of this UpdateServiceGatewayDetails. :type: str Nr )r r r r r r � s c C s | j S )a� Gets the freeform_tags of this UpdateServiceGatewayDetails. Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see `Resource Tags`__. Example: `{"Department": "Finance"}` __ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm :return: The freeform_tags of this UpdateServiceGatewayDetails. :rtype: dict(str, str) �r r r r r r � s z)UpdateServiceGatewayDetails.freeform_tagsc C s || _ dS )a� Sets the freeform_tags of this UpdateServiceGatewayDetails. Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see `Resource Tags`__. Example: `{"Department": "Finance"}` __ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm :param freeform_tags: The freeform_tags of this UpdateServiceGatewayDetails. :type: dict(str, str) Nr )r r r r r r � s c C s | j S )aP Gets the route_table_id of this UpdateServiceGatewayDetails. The `OCID`__ of the route table the service gateway will use. For information about why you would associate a route table with a service gateway, see `Transit Routing: Private Access to Oracle Services`__. __ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm __ https://docs.cloud.oracle.com/iaas/Content/Network/Tasks/transitroutingoracleservices.htm :return: The route_table_id of this UpdateServiceGatewayDetails. :rtype: str �r r r r r r � s z*UpdateServiceGatewayDetails.route_table_idc C s || _ dS )a] Sets the route_table_id of this UpdateServiceGatewayDetails. The `OCID`__ of the route table the service gateway will use. For information about why you would associate a route table with a service gateway, see `Transit Routing: Private Access to Oracle Services`__. __ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm __ https://docs.cloud.oracle.com/iaas/Content/Network/Tasks/transitroutingoracleservices.htm :param route_table_id: The route_table_id of this UpdateServiceGatewayDetails. :type: str Nr )r r r r r r � s c C s | j S )a' Gets the services of this UpdateServiceGatewayDetails. List of all the `Service` objects you want enabled on this service gateway. Sending an empty list means you want to disable all services. Omitting this parameter entirely keeps the existing list of services intact. You can also enable or disable a particular `Service` by using :func:`attach_service_id` or :func:`detach_service_id`. For each enabled `Service`, make sure there's a route rule with the `Service` object's `cidrBlock` as the rule's destination and the service gateway as the rule's target. See :class:`RouteTable`. :return: The services of this UpdateServiceGatewayDetails. :rtype: list[oci.core.models.ServiceIdRequestDetails] �r r r r r r � s z$UpdateServiceGatewayDetails.servicesc C s || _ dS )a. Sets the services of this UpdateServiceGatewayDetails. List of all the `Service` objects you want enabled on this service gateway. Sending an empty list means you want to disable all services. Omitting this parameter entirely keeps the existing list of services intact. You can also enable or disable a particular `Service` by using :func:`attach_service_id` or :func:`detach_service_id`. For each enabled `Service`, make sure there's a route rule with the `Service` object's `cidrBlock` as the rule's destination and the service gateway as the rule's target. See :class:`RouteTable`. :param services: The services of this UpdateServiceGatewayDetails. :type: list[oci.core.models.ServiceIdRequestDetails] Nr )r r r r r r � s c C s t | �S �N)r r r r r �__repr__ s z$UpdateServiceGatewayDetails.__repr__c C s |d u rdS | j |j kS )NF)�__dict__�r �otherr r r �__eq__ s z"UpdateServiceGatewayDetails.__eq__c C s | |k S r! r r$ r r r �__ne__ s z"UpdateServiceGatewayDetails.__ne__N)�__name__� __module__�__qualname__�__doc__r �propertyr �setterr r r r r r"