ruạṛ
a ���fc � @ 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 d d� Z dd� Zdd� ZdS )�ExternalDownstreamz� External downstream nameserver for the zone. This field is currently not supported when `zoneType` is `SECONDARY` or `scope` is `PRIVATE`. c K s2 dddd�| _ dddd�| _d| _d| _d| _dS )ai Initializes a new ExternalDownstream object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class): :param address: The value to assign to the address property of this ExternalDownstream. :type address: str :param port: The value to assign to the port property of this ExternalDownstream. :type port: int :param tsig_key_id: The value to assign to the tsig_key_id property of this ExternalDownstream. :type tsig_key_id: str �str�int)�address�port�tsig_key_idr r Z tsigKeyIdN)Z swagger_typesZ attribute_map�_address�_port�_tsig_key_id)�self�kwargs� r �F/usr/lib/python3.9/site-packages/oci/dns/models/external_downstream.py�__init__ s ��zExternalDownstream.__init__c C s | j S )z� **[Required]** Gets the address of this ExternalDownstream. The server's IP address (IPv4 or IPv6). :return: The address of this ExternalDownstream. :rtype: str �r �r r r r r 5 s zExternalDownstream.addressc C s || _ dS )z� Sets the address of this ExternalDownstream. The server's IP address (IPv4 or IPv6). :param address: The address of this ExternalDownstream. :type: str Nr )r r r r r r A s c C s | j S )z� Gets the port of this ExternalDownstream. The server's port. Port value must be a value of 53, otherwise omit the port value. :return: The port of this ExternalDownstream. :rtype: int �r r r r r r M s zExternalDownstream.portc C s || _ dS )z� Sets the port of this ExternalDownstream. The server's port. Port value must be a value of 53, otherwise omit the port value. :param port: The port of this ExternalDownstream. :type: int Nr )r r r r r r Z s c C s | j S )a@ Gets the tsig_key_id of this ExternalDownstream. The OCID of the TSIG key. A TSIG key is used to secure DNS messages (in this case, zone transfers) between two systems that both have the (shared) secret. :return: The tsig_key_id of this ExternalDownstream. :rtype: str �r r r r r r g s zExternalDownstream.tsig_key_idc C s || _ dS )aJ Sets the tsig_key_id of this ExternalDownstream. The OCID of the TSIG key. A TSIG key is used to secure DNS messages (in this case, zone transfers) between two systems that both have the (shared) secret. :param tsig_key_id: The tsig_key_id of this ExternalDownstream. :type: str Nr )r r r r r r t s c C s t | �S �N)r r r r r �__repr__� s zExternalDownstream.__repr__c C s |d u rdS | j |j kS )NF)�__dict__�r �otherr r r �__eq__� s zExternalDownstream.__eq__c C s | |k S r r r r r r �__ne__� s zExternalDownstream.__ne__N) �__name__� __module__�__qualname__�__doc__r �propertyr �setterr r r r r r r r r r s"